powerpc: Fix write-after-destroy in lock elision [BZ #20822]
[glibc.git] / ChangeLog
blob1e78a0752418b462c133da77ff29412fe6b39c53
1 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2             Steven Munroe  <sjmunroe@us.ibm.com>
3             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5         [BZ #20822]
6         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7         (__lll_lock_elision): Access adapt_count via C11 atomics.
8         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9         (__lll_trylock_elision): Likewise.
10         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
11         (__lll_unlock_elision):  Update adapt_count variable inside the
12         critical section using C11 atomics.
14 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
16         * math/test-fenvinline.c (do_test): Disable tests of raised
17         exceptions if !EXCEPTION_TESTS (FLOAT).
19 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21         [BZ #19390]
22         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
23         maximum string size.
24         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
25         in pointer addition.
26         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
27         Likewise.
29 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
31         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
32         passed to tst-ldconfig-X.sh.
34 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
36         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
38 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
40         [BZ #21019]
41         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
42         New syscall entry.
43         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
44         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
45         lseek.
47         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
48         power4 glibc for powerpc-linux-gnu.
50 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
52         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
53         semctl.
55 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
57         * math/test-nearbyint-except.c: Include <stdbool.h>.
58         (any_supported): New variable.
59         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
60         set any_supported.
61         (do_test): Return 77 if no floating-point type supported
62         exceptions.
64         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
65         condition on [__mips_hard_float].
67 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
69         [BZ #21014]
70         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
71         in pointer addition.
72         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
74 2017-01-02  Torvald Riegel  <triegel@redhat.com>
76         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
77         new condvar.
79 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
81         * scripts/build-many-glibcs.py (Context.checkout): Default
82         binutils version to 2.28 branch.
84 2017-01-01  Florian Weimer  <fweimer@redhat.com>
86         * support/support_format_netent.c (support_format_netent): Work
87         around alpha struct netent definition difference.
89 2017-01-01  Florian Weimer  <fweimer@redhat.com>
91         * support/xwrite.c (xwrite): Use %td for pointer difference.
93 2017-01-01  Florian Weimer  <fweimer@redhat.com>
95         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
96         have-tunables only.
97         (tests-static): Add tst-malloc-usable-static-tunables for
98         have-tunables only.
100 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
102         * scripts/config.guess: Update to version 2017-01-01.
103         * scripts/config.sub: Update to version 2017-01-01.
105         * NEWS: Update copyright dates.
106         * catgets/gencat.c (print_version): Likewise.
107         * csu/version.c (banner): Likewise.
108         * debug/catchsegv.sh: Likewise.
109         * debug/pcprofiledump.c (print_version): Likewise.
110         * debug/xtrace.sh (do_version): Likewise.
111         * elf/ldconfig.c (print_version): Likewise.
112         * elf/ldd.bash.in: Likewise.
113         * elf/pldd.c (print_version): Likewise.
114         * elf/sotruss.sh: Likewise.
115         * elf/sprof.c (print_version): Likewise.
116         * iconv/iconv_prog.c (print_version): Likewise.
117         * iconv/iconvconfig.c (print_version): Likewise.
118         * locale/programs/locale.c (print_version): Likewise.
119         * locale/programs/localedef.c (print_version): Likewise.
120         * login/programs/pt_chown.c (print_version): Likewise.
121         * malloc/memusage.sh (do_version): Likewise.
122         * malloc/memusagestat.c (print_version): Likewise.
123         * malloc/mtrace.pl: Likewise.
124         * manual/libc.texinfo: Likewise.
125         * nptl/version.c (banner): Likewise.
126         * nscd/nscd.c (print_version): Likewise.
127         * nss/getent.c (print_version): Likewise.
128         * nss/makedb.c (print_version): Likewise.
129         * posix/getconf.c (main): Likewise.
130         * scripts/test-installation.pl: Likewise.
131         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
133         * All files with FSF copyright notices: Update copyright dates
134         using scripts/update-copyrights.
135         * intl/plural.c: Regenerated.
136         * locale/programs/charmap-kw.h: Likewise.
137         * locale/programs/locfile-kw.h: Likewise.
139 2016-12-31  Florian Weimer  <fweimer@redhat.com>
141         [BZ #20593]
142         Update DNS RR type definitions.
143         * scripts/gen-rrtypes.py: New file.
144         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
145         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
146         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
147         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
148         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
149         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
150         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
151         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
152         ns_t_ta, ns_t_dlv.
153         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
154         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
155         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
156         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
157         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
158         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
159         Define.
160         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
161         entry for ns_t_zxfr.
163 2016-12-31  Florian Weimer  <fweimer@redhat.com>
165         [BZ #18784]
166         CVE-2015-5180
167         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
168         T_UNSPEC.  Adjust value.
169         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
170         * resolv/res_query.c (__libc_res_nquery): Likewise.
171         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
172         QTYPEs.
173         * resolv/tst-resolv-qtypes.c: New file.
174         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
175         (tst-resolv-qtypes): Link against libresolv and libpthread.
177 2016-12-31  Florian Weimer  <fweimer@redhat.com>
179         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
181 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
183         * manual/tunables.texi: New chapter.
184         * manual/Makefile (chapters): Add it.
185         * manual/probes.texi (@node): Point to the Tunables chapter.
187         * Makeconfig (have-tunables): Check for non-negative instead
188         of positive.
189         * configure.ac: Add 'valstring' as a valid value for
190         --enable-tunables.
191         * configure: Regenerate.
192         * elf/Makefile (have-tunables): Check for non-negative instead
193         of positive.
194         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
195         dl-tunables.c.
196         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
197         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
198         (tunables_strdup): Likewise.
199         (disable_tunables): Likewise.
200         (parse_tunables): Likewise.
201         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
202         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
203         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
204         (TUNABLES_FRONTEND_yes): New macro, define as
205         TUNABLES_FRONTEND_valstring by default.
206         * manual/install.texi: Document new acceptable values for
207         --enable-tunables.
208         * INSTALL: Regenerate.
210         * config.make.in (have-loop-to-function): Define.
211         * elf/Makefile (CFLAGS-dl-tunables.c): Add
212         -fno-tree-loop-distribute-patterns.
213         * elf/dl-tunables.c: Include libc-internals.h.
214         (GLIBC_TUNABLES): New macro.
215         (tunables_strdup): New function.
216         (parse_tunables): New function.
217         (min_strlen): New function.
218         (__tunables_init): Use the new functions and macro.
219         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
220         * malloc/tst-malloc-usable-tunables.c: New test case.
221         * malloc/tst-malloc-usable-static-tunables.c: New test case.
222         * malloc/Makefile (tests, tests-static): Add tests.
224         * manual/install.texi: Add --enable-tunables option.
225         * INSTALL: Regenerate.
226         * README.tunables: New file.
227         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
228         (before-compile): Generate dl-tunable-list.h early.
229         * config.h.in: Add HAVE_TUNABLES.
230         * config.make.in: Add have-tunables.
231         * configure.ac: Add --enable-tunables option.
232         * configure: Regenerate.
233         * csu/init-first.c (__libc_init_first): Move
234         __libc_init_secure earlier...
235         * csu/init-first.c (LIBC_START_MAIN):... to here.
236         Include dl-tunables.h, libc-internal.h.
237         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
238         binaries.
239         * elf/Makefile (dl-routines): Add dl-tunables.
240         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
241         namespace.
242         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
243         only when !HAVE_TUNABLES.
244         * elf/rtld.c (process_envvars): Likewise.
245         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
246         (_dl_sysdep_start): Call __tunables_init.
247         * elf/dl-tunable-types.h: New file.
248         * elf/dl-tunables.c: New file.
249         * elf/dl-tunables.h: New file.
250         * elf/dl-tunables.list: New file.
251         * malloc/tst-malloc-usable-static.c: New test case.
252         * malloc/Makefile (tests-static): Add it.
253         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
254         Define TUNABLE_NAMESPACE.
255         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
256         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
257         callback functions.
258         (ptmalloc_init): Set tunable values.
259         * scripts/gen-tunables.awk: New file.
260         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
261         (_dl_sysdep_start): Call __tunables_init.
263 2016-12-31  Florian Weimer  <fweimer@redhat.com>
265         * resolv/resolv.h (RES_BLAST): Deprecate.
266         * resolv/res_debug.c (p_option): Remove RES_BLAST.
267         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
268         to RES_BLAST.
270 2016-12-27  Florian Weimer  <fweimer@redhat.com>
272         [BZ #19582]
273         Deprecate RES_USE_INET6.
274         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
275         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
276         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
277         RES_USE_INET6.
278         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
279         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
280         (_nss_nisplus_gethostbyaddr_r): Likewise.
281         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
282         of res_use_inet6.
283         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
284         instead of RES_USE_INET6.
285         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
286         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
287         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
288         Likewise.
289         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
290         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
291         Likewise.
292         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
293         (_nss_dns_gethostbyname_r): Likewise.
294         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
295         alternate RES_USE_INET6 handling.
296         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
297         instead of RES_USE_INET6.
298         * resolv/res_init.c (res_setoptions): Likewise.
299         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
300         * resolv/resolv-internal.h: New file.
301         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
302         make the deprecation warning non-fatal.
303         * resolv/README (Using the resolver in multi-threaded code): Drop
304         reference to RES_USE_INET6.
305         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
306         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
308 2016-12-31  Florian Weimer  <fweimer@redhat.com>
310         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
311         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
312         tst-resolv-search.
313         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
314         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
315         with libresolv and libpthread.
316         * resolv/tst-bug18665.c: New file.
317         * resolv/tst-bug18665-tcp: Likewise.
318         * resolv/tst-res_use_inet6: Likewise.
319         * resolv/tst-resolv-basic: Likewise.
320         * resolv/tst-resolv-network: Likewise.
321         * resolv/tst-resolv-search: Likewise.
322         * support/Makefile (libsupport-routines): Add check_addrinfo,
323         check_dns_packet, check_hostent, check_netent, resolv_test,
324         support_format_address_family, support_format_addrinfo,
325         support_format_dns_packet, support_format_herrno,
326         support_format_hostent, support_format_netent, support_run_diff,
327         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
328         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
329         xstrdup, xwrite.
330         * support/check_addrinfo.c: New file.
331         * support/check_dns_packet.c: Likewise.
332         * support/check_hostent.c: Likewise.
333         * support/check_netent.c: Likewise.
334         * support/check_nss.h: Likewise.
335         * support/format_nss.h: Likewise.
336         * support/resolv_test.c: Likewise.
337         * support/resolv_test.h: Likewise.
338         * support/run_diff.h: Likewise.
339         * support/support_format_address_family.c: Likewise.
340         * support/support_format_addrinfo.c: Likewise.
341         * support/support_format_dns_packet.c: Likewise.
342         * support/support_format_herrno.c: Likewise.
343         * support/support_format_hostent.c: Likewise.
344         * support/support_format_netent.c: Likewise.
345         * support/support_run_diff.c: Likewise.
346         * support/xaccept.c: Likewise.
347         * support/xbind.c: Likewise.
348         * support/xconnect.c: Likewise.
349         * support/xfclose.c: Likewise.
350         * support/xfopen.c: Likewise.
351         * support/xgetsockname.c: Likewise.
352         * support/xlisten.c: Likewise.
353         * support/xmemstream.c: Likewise.
354         * support/xmemstream.h: Likewise.
355         * support/xpoll.c: Likewise.
356         * support/xpthread_once.c: Likewise.
357         * support/xrecvfrom.c: Likewise.
358         * support/xsendto.c: Likewise.
359         * support/xsetsockopt.c: Likewise.
360         * support/xstdio.h: Likewise.
361         * support/xstrdup.c: Likewise.
362         * support/support.h (xstrdup): Declare.
363         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
364         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
365         * support/xthread.h (xpthread_once): Likwise.
366         * support/xunistd.h (xwrite): Declare.
368 2016-12-31  Florian Weimer  <fweimer@redhat.com>
370         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
371         (test_verbose): Declare.
372         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
373         * support/support_test_main.c (default_options): Likewise.
374         (usage, support_test_main): Handle 'v'.
375         (test_verbose): Define.
376         * support/tst-support_record_failure.c (do_test): Use
377         test_verbose.
378         * support/tst-support_record_failure-2.sh (different_status): Add
379         --verbose test.
381 2016-12-31  Florian Weimer  <fweimer@redhat.com>
383         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
384         test failures are recorded.
385         * support/check.c (support_print_failure_impl): Call
386         support_record_failure.
387         (support_exit_failure_impl): Call support_record_failure if status
388         indicates failure.
389         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
390         * support/xasprintf.c (xasprintf): Likewise.
391         * support/xfork.c (xfork): Likewise.
392         * support/xpthread_check_return.c (xpthread_check_return):
393         Likewise.
394         * support/xsocket.c (xsocket): Likeweise.
395         * support/xwaitpid.c (xwaitpid): Likewise.
396         * support/support_record_failure.c (struct test_failures): Adjust
397         to coding style.
398         * support/support_test_verify_impl.c (support_test_verify_impl):
399         Adjust error messages.
400         * support/tst-support_record_failure-2.sh (different_status):
401         Adjust error messages.
403 2016-12-31  Florian Weimer  <fweimer@redhat.com>
405         * support/namespace.h: New file.
406         * support/support_become_root.c: Likewise.
407         * support/support_enter_network_namespace.c: Likewise.
408         * support/tst-support-namespace.c: Likewise.
409         * support/xsocket.c: Likewise.
410         * support/xsocket.h: Likewise.
411         * support/Makefile (libsupport-routines): Add support_become_root,
412         support_enter_network_namespace, xsocket.
413         (tests): Add tst-support-namespace.
415 2016-12-31  Florian Weimer  <fweimer@redhat.com>
417         [BZ #17252]
418         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
419         __USE_GNU.
421 2016-12-31  Torvald Riegel  <triegel@redhat.com>
423         [BZ #13165]
424         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
425         use new algorithm.
426         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
427         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
428         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
429         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
430         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
431         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
432         __condvar_cleanup_waiting, __condvar_dec_grefs,
433         __pthread_cond_wait_common): New.
434         (__condvar_cleanup): Remove.
435         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
436         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
437         Likewise.
438         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
439         Likewise.
440         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
441         * nptl/tst-cond1.c: Add comment.
442         * nptl/tst-cond20.c (do_test): Adapt.
443         * nptl/tst-cond22.c (do_test): Likewise.
444         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
445         structure.
446         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
447         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
448         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
449         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
450         Likewise.
451         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
452         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
453         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
454         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
455         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
456         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
457         Likewise.
458         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
459         Likewise.
460         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
461         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
462         (COND_CLOCK_BITS): Adapt.
463         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
464         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
465         __PTHREAD_COND_SHARED_MASK): New.
466         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
467         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
468         * nptl/nptl_lock_constants.pysym: Adapt.
469         * nptl/test-cond-printers.py: Adapt.
470         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
471         cond_compat_check_and_clear): Adapt.
472         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
473         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
474         (__pthread_cond_timedwait): ... and move here.
475         * nptl/DESIGN-condvar.txt: Remove file.
476         * nptl/lowlevelcond.sym: Likewise.
477         * nptl/pthread_cond_timedwait.c: Likewise.
478         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
479         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
480         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
481         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
482         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
483         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
484         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
485         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
486         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
487         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
488         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
489         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
490         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
491         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
492         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
493         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
495 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
497         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
498         (fromfp): New declaration.
499         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
500         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
501         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
502         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
503         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
504         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
505         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
506         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
507         * math/math.h: Include <bits/types.h>.
508         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
509         constant and macro.
510         (FP_INT_DOWNWARD): Likewise.
511         (FP_INT_TOWARDZERO): Likewise.
512         (FP_INT_TONEARESTFROMZERO): Likewise.
513         (FP_INT_TONEAREST): Likewise.
514         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
515         (fromfpf): Likewise.
516         (fromfpl): Likewise.
517         (ufromfp): Likewise.
518         (ufromfpf): Likewise.
519         (ufromfpl): Likewise.
520         (fromfpx): Likewise.
521         (fromfpxf): Likewise.
522         (fromfpxl): Likewise.
523         (ufromfpx): Likewise.
524         (ufromfpxf): Likewise.
525         (ufromfpxl): Likewise.
526         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
527         s_fromfpxF and s_ufromfpxF.
528         * math/gen-fromfp-tests.py: New file.
529         * math/gen-fromfp-tests-inputs: Likewise.
530         * math/libm-test.inc: Include <stdint.h>
531         (check_intmax_t): New function.
532         (check_uintmax_t): Likewise.
533         (struct test_fiu_M_data): New type.
534         (struct test_fiu_U_data): Likewise.
535         (RUN_TEST_fiu_M): New macro.
536         (RUN_TEST_LOOP_fiu_M): Likewise.
537         (RUN_TEST_fiu_U): Likewise.
538         (RUN_TEST_LOOP_fiu_U): Likewise.
539         (fromfp_test_data): New array.
540         (fromfp_test): New function.
541         (fromfpx_test_data): New array.
542         (fromfpx_test): New function.
543         (ufromfp_test_data): New array.
544         (ufromfp_test): New function.
545         (ufromfpx_test_data): New array.
546         (ufromfpx_test): New function.
547         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
548         ufromfpx_test.
549         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
550         characters.
551         * math/test-tgmath-ret.c: Include <stdint.h>.
552         (rm): New variable.
553         (width): Likewise.
554         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
555         called function.
556         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
557         CHECK_RET_CONST_TYPE.
558         (CHECK_RET_CONST_DOUBLE): Likewise.
559         (CHECK_RET_CONST_LDOUBLE): Likewise.
560         (CHECK_RET_CONST): Take extra arguments and pass them to calls
561         macros.
562         (fromfp): New CHECK_RET_CONST call.
563         (ufromfp): Likewise.
564         (fromfpx): Likewise.
565         (ufromfpx): Likewise.
566         (do_test): Call check_return_fromfp, check_return_ufromfp,
567         check_return_fromfpx and check_return_ufromfpx.
568         * math/test-tgmath.c: Include <stdint.h>
569         (NCALLS): Increase to 138.
570         (F(compile_test)): Initialize i.  Call fromfp functions.
571         (F(fromfp)): New function.
572         (F(fromfpx)): Likewise.
573         (F(ufromfp)): Likewise.
574         (F(ufromfpx)): Likewise.
575         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
576         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
577         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
578         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
579         ufromfpxl.
580         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
581         ufromfp and ufromfpx.
582         * math/fromfp.h: New file.
583         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
584         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
585         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
586         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
587         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
588         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
589         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
590         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
591         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
592         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
593         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
594         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
595         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
596         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
597         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
598         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
599         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
600         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
601         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
602         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
603         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
604         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
605         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
606         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
607         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
608         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
609         ufromfp, fromfpx and ufromfpx.
610         (CFLAGS-nldbl-fromfp.c): New variable.
611         (CFLAGS-nldbl-fromfpx.c): Likewise.
612         (CFLAGS-nldbl-ufromfp.c): Likewise.
613         (CFLAGS-nldbl-ufromfpx.c): Likewise.
614         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
615         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
616         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
617         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
618         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
619         * sysdeps/nacl/libm.abilist: Update.
620         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
621         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
622         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
623         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
624         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
625         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
626         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
627         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
628         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
629         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
630         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
631         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
633         Likewise.
634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
635         Likewise.
636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
637         Likewise.
638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
639         Likewise.
640         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
641         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
642         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
643         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
644         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
646         Likewise.
647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
648         Likewise.
649         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
650         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
651         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
653 2016-12-30  Florian Weimer  <fweimer@redhat.com>
655         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
656         compat-gethnamaddr.
657         (CPPFLAGS): Remove.
658         * resolv/gethnamaddr.c: Rename ...
659         * resolv/compat-gethnamaddr.c: ... to this file.
660         (_endhtent): Make static.
661         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
662         symbol.
663         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
664         compat symbol.
665         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
666         symbol.
667         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
668         Turn into compat symbol.
669         * include/resolv.h (_endhtent): Remove declaration.
671 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
673         * bits/types.h (__intmax_t): New typedef.
674         (__uintmax_t): Likewise.
675         * sysdeps/generic/stdint.h: Include <bits/types.h>.
676         (intmax_t): Define using __intmax_t.
677         (uintmax_t): Define using __uintmax_t.
679         * support/Makefile (tests-special): Make definition conditional on
680         [$(run-built-tests) = yes].
681         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
682         on [$(run-built-tests) = yes].
684 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
686         * Rules (tests): Add tests-printers-programs to tests to be
687         built.
689 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
691         * sysvipc/Makefile (tests): Add test-sysvshm.
692         * sysvipc/test-sysvshm.c: New file.
694         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
695         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
696         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
697         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
698         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
699         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
700         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
701         Likewise.
702         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
703         Likewise.
704         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
705         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
706         is defined.
708         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
709         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
710         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
711         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
712         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
713         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
714         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
715         Likewise.
716         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
717         Likewise.
718         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
719         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
720         defined.
722         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
723         oldshmctl.
724         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
725         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
726         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
727         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
728         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
729         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
730         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
731         Likewise.
732         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
733         Likewise.
734         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
735         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
736         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
737         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
738         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
739         implementation.
740         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
741         if it is defined.
743         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
744         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
745         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
746         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
747         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
748         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
749         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
750         Likewise.
751         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
752         Likewise.
753         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
754         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
755         Define to __NR_osf_shmat.
756         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
757         defined.
759         * sysvipc/Makefile (tests): Add test-sysvsem.
760         * sysvipc/test-sysvsem.c: New file.
762         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
763         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
764         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
765         Likewise.
766         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
767         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
768         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
769         Likewise.
770         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
771         Likewise.
772         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
773         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
774         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
775         add a comment about s390 syscall difference from default one.
776         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
777         syscall if it is defined.
779         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
780         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
781         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
782         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
783         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
784         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
785         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
786         Likewise.
787         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
788         Likewise.
789         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
790         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
791         defined.
793         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
794         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
795         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
796         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
797         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
798         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
799         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
800         Likewise.
801         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
802         Likewise.
803         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
804         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
805         if it is defined.
807         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
808         oldsemctl.
809         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
810         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
811         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
812         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
813         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
814         implementation.
815         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
816         syscall if it is defined.
817         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
818         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
819         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
820         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
821         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
822         Likewise.
823         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
825         * sysvipc/Makefile (tests): Add test-sysvmsg.
826         * sysvipc/test-sysvmsg.c: New file.
827         * support/check.h (FAIL_UNSUPPORTED): New define.
829         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
830         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
831         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
832         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
833         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
834         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
835         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
836         Likewise.
837         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
838         Likewise.
839         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
840         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
841         define.
843         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
844         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
845         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
846         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
847         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
848         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
849         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
850         Likewise.
851         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
852         Likewise.
853         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
854         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
855         if defined.
857         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
858         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
859         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
860         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
861         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
862         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
863         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
864         Likewise.
865         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
866         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
867         Likewise.
868         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
869         if defined.
870         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
872         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
873         oldmsgctl.
874         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
875         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
876         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
877         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
878         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
879         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
880         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
881         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
882         Likewise.
883         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
884         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
885         implementation.
886         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
887         if defined.
889         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
890         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
891         definition and define its own.
892         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
893         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
894         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
895         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
896         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
897         definitions to common header.
898         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
899         operation from ipc_ops.h.
901         * sysdeps/unix/sysv/linux/kernel-features.h
902         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
903         * sysdeps/unix/sysv/linux/i386/kernel-features.h
904         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
905         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
906         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
907         * sysdeps/unix/sysv/linux/mips/kernel-features.h
908         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
909         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
910         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
911         * sysdeps/unix/sysv/linux/s390/kernel-features.h
912         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
913         * sysdeps/unix/sysv/linux/sh/kernel-features.h
914         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
915         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
916         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
918 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
920         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
921         overflow in pointer addition.
923 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
925         * sysdeps/powerpc/powerpc64/multiarch/Makefile
926         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
927         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
928         (strchr): Add __strchr_power8 to list of strchr functions.
929         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
930         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
931         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
932         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
933         (strchr): Add __strchr_power8 to ifunc list.
934         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
935         (__strchrnul): Add __strchrnul_power8 to ifunc list.
936         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
937         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
939 2016-12-28  Florian Weimer  <fweimer@redhat.com>
941         * support/Makefile (libsupport-routines): Add
942         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
943         (tests): Add tst-support_record_failure.
944         (tests-special): tst-support_record_failure-2.
945         (tst-support_record_failure-2.out): Depend on
946         tst-support_record_failure-2.sh and tst-support_record_failure.
947         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
948         (support_test_verify_impl, support_record_failure)
949         (support_report_failure, support_report_failure_reset): Declare.
950         * support/support_test_main.c (adjust_exit_status): New function.
951         (support_test_main): Call it to incorporate record test failures.
952         * support/support_test_verify_impl.c: New file.
953         * support/support_record_failure.c: Likewise.
954         * support/tst-support_record_failure.c: Likewise.
955         * support/tst-support_record_failure-2.sh: Likewise.
956         * support/xunistd.h: Likewise.
957         * support/xfork.c: Likewise.
958         * support/xwaitpid.c: Likewise.
960 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
962         * scripts/check-c++-types.sh: Add comments.
964 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
966         [BZ #19514]
967         * resolv/res_send.c: Fix typo in comment.
968         * sysdeps/i386/i386-mcount.S: Likewise.
969         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
970         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
971         * sysdeps/sparc/sparc-mcount.S: Likewise.
973 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
975         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
976         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
977         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
978         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
979         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
980         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
981         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
982         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
984 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
986         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
988 2016-12-27  Florian Weimer  <fweimer@redhat.com>
990         [BZ #17252]
991         * posix/unistd.h (getentropy): Declare.
993 2016-12-27  Florian Weimer  <fweimer@redhat.com>
995         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
996         Remove.
997         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
998         (cmd): Remove spoof, nospoof, spoofalert.
999         (parse_line): Ignore spoof-related lines.
1000         (do_init): Do not process RESOLV_SPOOF_CHECK.
1002 2016-12-27  Florian Weimer  <fweimer@redhat.com>
1004         [BZ #20964]
1005         sunrpc: Always obtain AF_INET addresses from NSS.
1006         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
1007         * sunrpc/rpc_gethostbyname.c: New file.
1008         * sunrpc/Makefile (routines): Add it.
1009         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
1010         * sunrpc/clnt_simp.c (callrpc): Likewise.
1011         * sunrpc/getrpcport.c (getrpcport): Likewise.
1013 2016-12-27  Florian Weimer  <fweimer@redhat.com>
1015         * sunrpc/rpcinfo.c: Remove.
1016         * sunrpc/Makefile: Remove comments referring to rpcinfo.
1018 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1020         [BZ# 19387]
1021         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
1022         addition.
1023         * string/test-memchr.c (do_test): Remove alignment limitation.
1024         (test_main): Add test that trigger BZ# 19387.
1026 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1028         [BZ #7065]
1029         Enable stack protectore if requested by ./configure.
1030         * Makeconfig (+stack-protector): New variable.
1031         (+cflags): Use it.
1033 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1035         [BZ #7065]
1036         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
1037         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
1038         (__rt_sigreturn_stub): Use inhibit_stack_protector.
1039         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1040         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
1042 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1044         [BZ #7065]
1045         * login/Makefile (pt_chown-cflags): Remove.
1046         * nscd/Makefile (CFLAGS-nscd): Likewise.
1047         * resolv/Makefile (CFLAGS-libresolv): Likewise.
1049 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1051         [BZ #7065]
1052         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
1053         non-libc-linking testcase.
1055 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1056             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1057             Florian Weimer  <fweimer@redhat.com>
1059         [BZ #7065]
1060         PLT avoidance for __stack_chk_fail*.
1061         * debug/Makefile (CFLAGS-stack_chk_fail.c)
1062         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
1063         * debug/stack_chk_fail.c (__stack_chk_fail): Add
1064         __stack_chk_fail_local alias.
1065         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
1066         (__stack_chk_fail): Turn into hidden reference to
1067         __stack_chk_fail_local.
1069 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1071         [BZ #7065]
1072         * configure.ac: Add check for unsupported stack-protection level.
1073         (libc_cv_predef_stack_protector): Remove.
1074         (no_ssp): New variable.
1075         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
1076         (stack_protector): Set to -fno-stack-protector similarly.
1077         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
1078         (libc_cv_asm_set_directive): Likewise.
1079         (libc_cv_protected_data): Likewise.
1080         (libc_cv_z_combreloc): Likewise.
1081         (libc_cv_hashstyle): Likewise.
1082         (libc_cv_has_glob_dat): Likewise.
1083         (libc_cv_output_format): Likewise.
1084         (libc_cv_output_format): Likewise.
1085         (libc_cv_ehdr_start): Likewise.
1086         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
1087         (LIBC_LINKER_FEATURE): Likewise.
1088         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
1090 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1092         [BZ #7065]
1093         * elf/Makefile (dummy-stack-chk-fail): New.
1094         (librtld.map): Use it.
1096 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1098         [BZ #7065]
1099         Compile the dynamic linker without stack protection.
1100         * elf/Makefile (elide-stack-protector): New.
1101         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
1102         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
1103         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
1104         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
1106 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1108         [BZ #7065]
1109         * config.make.in (have-ssp, no-stack-protector): New.
1110         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
1111         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
1112         (CFLAGS-sbrk.op): Likewise.
1113         (CFLAGS-brk.o): Likewise.
1114         (CFLAGS-brk.op): Likewise.
1115         * string/Makefile (CFLAGS-memcpy.c): Likewise.
1116         (CFLAGS-wordcopy.c): Likewise.
1118 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1120         [BZ #7065]
1121         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
1122         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
1123         * include/libc-symbols.h (inhibit_stack_protector): New macro.
1124         (__ifunc_resolver): Use it.
1125         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
1126         inhibit_stack_protector.
1127         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
1128         * elf/ifuncmain7.c (foo_ifunc): Likewise.
1129         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
1130         (foo_protected_ifunc): Likewise.
1131         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
1132         (foo_protected_ifunc): Likewise.
1133         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1134         * sysdeps/nacl/nacl_interface_query.c
1135         (nacl_interface_query_ifunc): Likewise.
1136         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1137         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
1138         Likewise.
1139         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
1140         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
1141         the generated vDSO syscall resolver.
1143 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1144             Florian Weimer  <fweimer@redhat.com>
1146         [BZ #7065]
1147         Initialize the stack guard earlier when linking statically.
1148         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
1149         (__pthread_initialize_minimal): Declare.
1150         * csu/libc-start.c (__pthread_initialize_minimal): Remove
1151         declaration.
1152         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
1153         stack canary and apply_irel initialization up.  Call
1154         __pthread_initialize_minimal only if linked in.
1155         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
1156         constant values.
1157         (__pthread_initialize_minimal): Remove.
1158         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
1159         (__pthread_initialize_minimal_internal): Do not call
1160         __libc_setup_tls.
1162 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1164         [BZ #7065]
1165         * configure.ac (libc_cv_ssp): Move up.
1166         (libc_cv_ssp_strong): Likewise.
1167         (libc_cv_ssp_all): New.
1168         (stack_protector): Augment, adding -fstack-protector-all.
1169         (no_stack_protector): New.
1170         (STACK_PROTECTOR_LEVEL): New.
1171         (AC_ARG_ENABLE(stack-protector)): New configure flag.
1172         * manual/install.texi (--enable-stack-protector): Document it.
1173         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
1175 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
1177         * README.pretty-printers: Must specify CPPFLAGS-* also.
1178         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
1179         (CPPFLAGS-test-mutex-printers.c): Define.
1180         (CPPFLAGS-test-condattr-printers.c): Define.
1181         (CPPFLAGS-test-cond-printers.c): Define.
1182         (CPPFLAGS-test-rwlockattr-printers.c): Define.
1183         (CPPFLAGS-test-rwlock-printers.c): Define.
1185         * nss/Makefile [ifeq (yes,$(have-thread-library))]
1186         (tests): Add tst-cancel-getpwuid_r.
1187         * nss/tst-cancel-getpwuid_r.c: New file.
1189         [BZ #11941]
1190         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
1191         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
1192         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
1193         tst-nodelete-dlclose.
1194         (modules-names): Add tst-nodelete-dlclose-dso and
1195         tst-nodelete-dlclose-plugin.
1196         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
1197         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
1198         ($(objpfx)tst-nodelete-dlclose): Define.
1199         ($(objpfx)tst-nodelete-dlclose.out): Define.
1201 2016-12-23  Florian Weimer  <fweimer@redhat.com>
1203         * scripts/test_printers_common.py: Log GDB output in case of
1204         Python detection failure.
1206 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1208         * configure.ac: Check for python3 or python.
1209         * configure: Regenerated.
1210         * config.make.in (PYTHON): New variable.
1211         * benchtests/Makefile: Don't define PYTHON.
1212         (bench): Define target only if PYTHON was defined.
1213         * Rules: Don't define PYTHON.
1214         Define pretty printer targets only if PYTHON was defined.
1215         (tests-printers): Add to tests-unsupported if PYTHON is not
1216         found.
1217         (python-flags, python-invoke): Remove.
1218         (tests-printers-out): Use PYTHON instead of python-invoke.
1220 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
1222         [BZ #20978]
1223         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
1224         Compare name == NULL, not name != NULL.
1226         * manual/texinfo.tex: Update to version 2016-09-18.18 with
1227         trailing whitespace removed.
1228         * scripts/config.guess: Update to version 2016-10-02.
1229         * scripts/config.sub: Update to version 2016-11-19.
1230         * scripts/install-sh: Update to version 2016-01-11.22.
1231         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
1232         * scripts/move-if-change: Update to version 2016-01-11 22:04.
1234 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
1236         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
1237         (do_one_test) Restore original string so iteration works.
1238         * string/string-inlines.c (do_test): Create better input strings.
1239         (test_main) Reduce number of testruns.
1240         * string/string-inlines.c (__old_strsep_1c): New function.
1241         (__old_strsep_2c): Likewise.
1242         (__old_strsep_3c): Likewise.
1243         * string/strsep.c (__strsep): Remove case of small delim string.
1244         Call strcspn directly rather than strpbrk.
1245         * string/bits/string2.h (__strsep): Remove define.
1246         (__strsep_1c): Remove.
1247         (__strsep_2c): Remove.
1248         (__strsep_3c): Remove.
1249         (strsep): Remove.
1250         * sysdeps/unix/sysv/linux/internal_statvfs.c
1251         (__statvfs_getflags): Rename to __strsep.
1253 2016-12-21  Florian Weimer  <fweimer@redhat.com>
1255         * csu/libc-tls.c (_dl_tls_setup): Remove.
1256         * elf/dl-tls.c (_dl_tls_setup): Likewise.
1257         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
1258         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
1260 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
1262         [BZ #7065]
1263         * sysdeps/x86_64/Makefile [$(subdir) = elf]
1264         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
1266 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
1267             Florian Weimer  <fweimer@redhat.com>
1269         [BZ #7065]
1270         * csu/Makefile (tests): Empty assignment and document it.
1271         (tests-static): Remove.
1272         * csu/tst-empty.c: Move to...
1273         * misc/tst-empty.c: ... here.  Switch to new test driver.
1274         * csu/tst-atomic.c: Move to...
1275         * misc/tst-atomic.c: ... here.  Switch to new test driver.
1276         * csu/tst-atomic-long.c: Move to...
1277         * misc/tst-atomic-long.c: ... here.
1278         * misc/Makefile (tests): Add tst-empty, tst-atomic,
1279         tst-atomic-long.
1280         (tests-static): Add tst-empty.
1282 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
1284         * manual/nss.texi: Change incorrect @vtable to @table.
1285         * manual/arith.texi: Convert @tables of variables to @vtables
1286         and remove unnecessary indexing.
1287         * manual/filesys.texi: Likewise.
1288         * manual/llio.texi: Likewise.
1289         * manual/memory.texi: Likewise.
1290         * manual/process.texi: Likewise.
1291         * manual/resource.texi: Likewise.
1292         * manual/search.texi: Likewise.
1293         * manual/signal.texi: Likewise.
1294         * manual/socket.texi: Likewise.
1295         * manual/stdio.texi: Likewise.
1296         * manual/sysinfo.texi: Likewise.
1297         * manual/syslog.texi: Likewise.
1298         * manual/terminal.texi: Likewise.
1299         * manual/time.texi: Likewise.
1300         * manual/users.texi: Likewise.
1302 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
1304         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1305         (roundeven): New declaration.
1306         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
1307         macro.
1308         * math/Versions (roundeven): New libm symbol at version
1309         GLIBC_2.25.
1310         (roundevenf): Likewise.
1311         (roundevenl): Likewise.
1312         * math/Makefile (libm-calls): Add s_roundevenF.
1313         * math/libm-test.inc (roundeven_test_data): New array.
1314         (roundeven_test): New function.
1315         (main): Call roundeven_test.
1316         * math/test-tgmath.c (NCALLS): Increase to 134.
1317         (F(compile_test)): Call roundeven.
1318         (F(roundeven)): New function.
1319         * manual/arith.texi (Rounding Functions): Document roundeven,
1320         roundevenf and roundevenl.
1321         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
1322         * include/math.h (roundeven): Use libm_hidden_proto.
1323         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
1324         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
1325         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
1326         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
1327         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
1328         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
1329         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1330         roundeven.
1331         (CFLAGS-nldbl-roundeven.c): New variable.
1332         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
1333         * sysdeps/nacl/libm.abilist: Update.
1334         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1335         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1336         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1337         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1338         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1339         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1340         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1341         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1342         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1343         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1344         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1345         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1347         Likewise.
1348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1349         Likewise.
1350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1351         Likewise.
1352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1353         Likewise.
1354         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1355         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1356         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1357         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1358         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1360         Likewise.
1361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1362         Likewise.
1363         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1364         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1365         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1367 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
1369         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
1370         preprocessor indentation inside #if.
1372 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1374         * math/libm-test.inc (fmt_ftostr): New function.
1375         (print_float, check_float_internal): Replace some uses of
1376         FTOSTR with uses of fmt_ftostr.
1377         (print_max_error, print_complex_max_error, print_function_ulps)
1378         (print_complex_function_ulps): Remove uses of the macros
1379         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
1380         * math/test-double.h (FTOSTR): Define to strfromd.
1381         (PRINTF_EXPR): Delete.
1382         (PRINTF_XEXPR): Likewise.
1383         (PRINTF_NEXPR): Likewise.
1384         * math/test-float.h (FTOSTR): Define to strfromf.
1385         (PRINTF_EXPR): Delete.
1386         (PRINTF_XEXPR): Likewise.
1387         (PRINTF_NEXPR): Likewise.
1388         * math/test-ldouble.h (FTOSTR): Define to strfroml.
1389         (PRINTF_EXPR): Delete.
1390         (PRINTF_XEXPR): Likewise.
1391         (PRINTF_NEXPR): Likewise.
1393 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1395         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
1396         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
1397         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
1398         (__lll_lock_elision): Decrement adapt_count while unlocking
1399         instead of before locking.
1400         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
1401         (__lll_trylock_elision): Likewise.
1402         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
1403         (__lll_unlock_elision): Likewise.
1405 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1407         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
1408         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
1409         Use __libc_tbegin_retry macro.
1411 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1413         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
1414         Add -msoft-float.
1415         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
1416         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
1417         Use __libc_t* transaction macros instead of __builtin_t*.
1418         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1419         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1421 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1423         * sysdeps/unix/sysv/linux/s390/elision-lock.c
1424         (__lll_lock_elision): Use atomics to load / store adapt_count.
1425         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
1426         (__lll_trylock_elision): Likewise.
1428 2016-12-20  Florian Weimer  <fweimer@redhat.com>
1430         Do not require memset elimination in explicit_bzero test.
1431         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
1432         (enum test_expectation): Add NO_EXPECTATIONS.
1433         (subtests): NO_EXPECTATIONS for ordinary clear.
1434         (check_test_buffer): Handle NO_EXPECTATIONS.
1435         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
1437 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
1439         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1440         (fmaxmag): New declaration.
1441         (fminmag): Likewise.
1442         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
1443         macro.
1444         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
1445         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
1446         (fmaxmagf): Likewise.
1447         (fmaxmagl): Likewise.
1448         (fminmag): Likewise.
1449         (fminmagf): Likewise.
1450         (fminmagl): Likewise.
1451         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
1452         * math/s_fmaxmag_template.c: New file.
1453         * math/s_fminmag_template.c: Likewise.
1454         * math/libm-test.inc (fmaxmag_test_data): New array.
1455         (fmaxmag_test): New function.
1456         (fminmag_test_data): New array.
1457         (fminmag_test): New function.
1458         (main): Call fmaxmag_test and fminmag_test.
1459         * math/test-tgmath.c (NCALLS): Increase to 132.
1460         (F(compile_test)): Call fmaxmag and fminmag.
1461         (F(fminmag)): New function.
1462         (F(fmaxmag)): Likewise.
1463         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
1464         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
1465         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
1466         fminmag.
1467         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
1468         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
1469         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
1470         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
1471         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
1472         and fminmag.
1473         (CFLAGS-nldbl-fmaxmag.c): New variable.
1474         (CFLAGS-nldbl-fminmag.c): Likewise.
1475         * sysdeps/nacl/libm.abilist: Update.
1476         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1477         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1478         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1479         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1480         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1481         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1482         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1483         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1484         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1485         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1486         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1487         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1489         Likewise.
1490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1491         Likewise.
1492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1493         Likewise.
1494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1495         Likewise.
1496         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1497         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1498         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1499         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1500         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1502         Likewise.
1503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1504         Likewise.
1505         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1506         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1507         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1509 2016-12-19  Torvald Riegel  <triegel@redhat.com>
1511         [BZ #20973]
1512         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
1513         wake-up in robust mutexes.
1514         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1516 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1518         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
1519         (CFLAGS-bench-fmaxf.c): New rule.
1520         (CFLAGS-bench-fminf.c): Likewise.
1521         * benchtests/fmaxf-inputs: New file.
1522         * benchtests/fminf-inputs: Likewise.
1524         * benchtests/Makefile (bench-math): Add fmin and fmax.
1525         (CFLAGS-bench-fmax.c): New rule.
1526         (CFLAGS-bench-fmin.c): Likewise.
1527         * benchtests/fmax-inputs: New file.
1528         * benchtests/fmin-inputs: Likewise.
1530         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
1531         parenthesis.
1532         (CMDLINE_PROCESS): Define using function instead of macro.
1533         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
1534         of test-skeleton.
1535         * benchtests/bench-memchr.c: Likewise.
1536         * benchtests/bench-memcmp.c: Likewise.
1537         * benchtests/bench-memcpy-large.c: Likewise.
1538         * benchtests/bench-memcpy.c: Likewise.
1539         * benchtests/bench-memmem.c: Likewise.
1540         * benchtests/bench-memmove-large.c: Likewise.
1541         * benchtests/bench-memmove.c: Likewise.
1542         * benchtests/bench-memset-large.c: Likewise.
1543         * benchtests/bench-memset.c: Likewise.
1544         * benchtests/bench-rawmemchr.c: Likewise.
1545         * benchtests/bench-strcasecmp.c: Likewise.
1546         * benchtests/bench-strcasestr.c: Likewise.
1547         * benchtests/bench-strcat.c: Likewise.
1548         * benchtests/bench-strchr.c: Likewise.
1549         * benchtests/bench-strcmp.c: Likewise.
1550         * benchtests/bench-strcpy.c: Likewise.
1551         * benchtests/bench-strcpy_chk.c: Likewise.
1552         * benchtests/bench-strlen.c: Likewise.
1553         * benchtests/bench-strncasecmp.c: Likewise.
1554         * benchtests/bench-strncmp.c: Likewise.
1555         * benchtests/bench-strncpy.c: Likewise.
1556         * benchtests/bench-strnlen.c: Likewise.
1557         * benchtests/bench-strpbrk.c: Likewise.
1558         * benchtests/bench-strrchr.c: Likewise.
1559         * benchtests/bench-strsep.c: Likewise.
1560         * benchtests/bench-strspn.c: Likewise.
1561         * benchtests/bench-strstr.c: Likewise.
1562         * benchtests/bench-strtok.c: Likewise.
1564 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1566         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
1567         stepping identification.
1568         (init_cpu_features): Add handle of Haswell.
1570 2016-11-25  Jim Meyering  <meyering@fb.com>
1572         [BZ #20386]
1573         Let gcc detect assert(a = 1) errors.
1574         * assert/assert.h (assert): Rewrite, retaining the old definintion
1575         when required, but otherwise putting the expression as-is in an "if"
1576         expression (hence, with no added parentheses) within a statement
1577         expression.
1579 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1581         * benchtests/Makefile (binaries-benchset): Depend on libsupport
1582         DSO.
1584 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
1586         * Rules (python-flags, python-invoke): New.
1587         ($(test-printers-out)): Use $(python-flags).
1589 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
1591         * manual/arith.texi (Math Error Reporting): Document that sNaN
1592         arguments are not considered domain errors.
1594 2016-12-16  Zack Weinberg <zackw@panix.com>
1595             Florian Weimer <fweimer@redhat.com>
1596             Nick Mathewson <nickm@torproject.org>
1598         * string/explicit_bzero.c: New routine.
1599         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
1600         * string/Makefile (routines, strop-tests, tests): Add them.
1601         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
1602         * string/string.h [__USE_MISC]: Declare explicit_bzero.
1604         * debug/explicit_bzero_chk.c: New routine.
1605         * debug/Makefile (routines): Add it.
1606         * debug/tst-chk1.c: Test fortification of explicit_bzero.
1607         * string/bits/string3.h: Fortify explicit_bzero.
1609         * manual/string.texi: Document explicit_bzero.
1610         * NEWS: Mention addition of explicit_bzero.
1612         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
1613         data before returning, using explicit_bzero.
1614         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
1615         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1616         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1618         * include/string.h: Redirect internal uses of explicit_bzero
1619         to __explicit_bzero_chk[_internal].
1620         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
1621         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
1622         * sysdeps/arm/nacl/libc.abilist
1623         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
1624         * sysdeps/unix/sysv/linux/alpha/libc.abilist
1625         * sysdeps/unix/sysv/linux/arm/libc.abilist
1626         * sysdeps/unix/sysv/linux/hppa/libc.abilist
1627         * sysdeps/unix/sysv/linux/i386/libc.abilist
1628         * sysdeps/unix/sysv/linux/ia64/libc.abilist
1629         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1630         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
1631         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
1632         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1633         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1634         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1635         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1636         * sysdeps/unix/sysv/linux/nios2/libc.abilist
1637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1641         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
1642         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
1643         * sysdeps/unix/sysv/linux/sh/libc.abilist
1644         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1645         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1646         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1648         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
1649         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
1650         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
1651         Add entries for explicit_bzero and __explicit_bzero_chk.
1653 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
1655         * math/fenv.h
1656         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
1657         (FE_SNANS_ALWAYS_SIGNAL): New macro.
1658         * math/test-fe-snans-always-signal.c: New file.
1659         * math/Makefile (tests): Add test-fe-snans-always-signal.
1660         (CFLAGS-test-fe-snans-always-signal.c): New variable.
1661         * manual/arith.texi (Infinity and NaN): Document
1662         FE_SNANS_ALWAYS_SIGNAL.
1664 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1666         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
1667         bracket.
1669 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
1671         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
1672         before calling execv.
1674 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1676         [BZ# 20971]
1677         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
1678         overflow in pointer addition.
1679         * string/test-memchr.c (do_test): Add an argument to pass as
1680         the size on memchr.
1681         (test_main): Add check for SIZE_MAX.
1683 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1685         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
1686         (libm-calls): Add w_scalblnF.
1687         * math/w_scalbln.c: Remove.
1688         * math/w_scalblnf.c: Likewise.
1689         * math/w_scalblnl.c: Likewise.
1690         * math/w_scalbln_template.c: New file with type-generic
1691         implementation based on math/w_scalbln.c.
1692         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
1693         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
1695 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
1697         [BZ #20947]
1698         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
1699         either is a signaling NaN.
1700         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
1701         follow fmaxl more closely.
1702         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
1703         when either is a signaling NaN.
1704         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
1705         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
1706         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
1707         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
1708         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
1709         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
1710         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
1711         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
1712         (fmin_test_data): Likewise.
1714 2016-12-15  Andreas Schwab  <schwab@suse.de>
1716         * support/support_test_main.c (support_test_main): Don't shadow
1717         file-local variable test_pid.
1719 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
1721         [BZ #20947]
1722         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
1723         either is a signaling NaN.
1724         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
1726 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
1728         [BZ #20947]
1729         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
1730         when either is a signaling NaN.
1731         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
1733         * bits/long-double.h: New file.
1734         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
1735         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
1736         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
1737         * sysdeps/mips/bits/long-double.h: Likewise.
1738         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
1739         * math/Makefile (headers): Add bits/long-double.h.
1740         * misc/sys/cdefs.h: Include <bits/long-double.h>.
1741         * stdlib/strtold.c: Include <bits/long-double.h> instead of
1742         <bits/wordsize.h>.
1743         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
1744         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
1745         * math/math.h: Do not include <bits/mathdef.h>.
1746         * sysdeps/aarch64/bits/mathdef.h: Remove file.
1747         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
1748         inclusion.
1749         * sysdeps/ia64/bits/mathdef.h: Remove file.
1750         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
1751         * sysdeps/mips/bits/mathdef.h: Likewise.
1752         * sysdeps/powerpc/bits/mathdef.h: Likewise.
1753         * sysdeps/s390/bits/mathdef.h: Likewise.
1754         * sysdeps/sparc/bits/mathdef.h: Likewise.
1755         * sysdeps/x86/bits/mathdef.h: Likewise.
1756         * sysdeps/s390/s390-32/bits/wordsize.h
1757         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
1758         conditional code.
1759         * sysdeps/s390/s390-64/bits/wordsize.h
1760         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1761         Likewise.
1762         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
1763         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1764         Likewise.
1765         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
1766         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1767         Likewise.
1768         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
1769         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1770         Likewise.
1772         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
1773         <linux/falloc.h>.
1774         (FALLOC_FL_KEEP_SIZE): Remove.
1775         (FALLOC_FL_PUNCH_HOLE): Likewise.
1776         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
1777         (FALLOC_FL_ZERO_RANGE): Likewise.
1779 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1781         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
1783 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1785         * sysdeps/unix/sysv/linux/renameat.c: New file.
1786         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
1788         * sysdeps/unix/sysv/linux/rename.c: New file.
1789         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
1791 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
1793         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
1794         * string/strtok.c (strtok): Change to tailcall __strtok_r.
1795         * string/strtok_r.c (__strtok_r): Optimize for performance.
1796         * string/string-inlines.c (__old_strtok_r_1c): New function.
1797         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
1799 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1801         * math/Makefile (gen-libm-calls): Add w_log1pF.
1802         (libm-calls): Remove w_log1pF.
1803         * math/w_log1p.c: Remove.
1804         * math/w_log1pf.c: Likewise.
1805         * math/w_log1pl.c: Likewise.
1806         * math/w_log1p_template.c: New file with type-generic
1807         implementation based on math/w_log1p.c.
1808         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
1809         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
1811 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
1813         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
1815 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
1817         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1818         kernel version to 4.9.
1820 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
1822         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
1823         ($(inst_libdir)/libm.a): Fix rule to create the target only.
1825 2016-12-13  Andreas Schwab  <schwab@suse.de>
1827         * sysdeps/powerpc/dl-procinfo.c: Don't define
1828         _dl_powerpc_platforms.
1829         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
1830         constants instead of referencing _dl_powerpc_platforms.
1831         (_dl_platform_string): Remove.
1833 2016-12-13  Florian Weimer  <fweimer@redhat.com>
1835         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
1837 2016-12-13  Florian Weimer  <fweimer@redhat.com>
1839         * Rules (binaries-shared-tests, binaries-pie-tests)
1840         (binaries-static-tests): Link with $(link-extra-libs-tests).
1841         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
1842         Remove $(link-extra-libs-tests).
1844 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1846         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1847         (sysdep_routines): Add strncmp_power9.
1848         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1849         (strncmp): Add __strncmp_power9 to list of strncmp functions.
1850         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
1851         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
1852         (strncmp): Add __strncmp_power9 to ifunc list.
1853         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
1855 2016-12-12  Florian Weimer  <fweimer@redhat.com>
1857         [BZ #17252]
1858         Add getentropy, getrandom.
1859         * stdlib/sys/random.h: New file.
1860         (headers): Add it.
1861         * stdlib/Makefile (routines): Add getentropy, getrandom.
1862         (tests): Add tst-getrandom.
1863         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
1864         * stdlib/getentropy.c: New file.
1865         * stdlib/getrandom.c: Likewise.
1866         * stdlib/tst-getrandom.c: Likewise.
1867         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
1868         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
1869         * manual/crypt.texi (Unpredictable Bytes): New section.
1870         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
1871         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
1872         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
1873         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1874         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1875         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1876         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1877         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1878         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1879         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1880         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1881         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1882         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1883         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1884         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1885         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1887         Likewise.
1888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1889         Likewise.
1890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1892         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1893         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1894         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1895         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1896         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1897         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1899         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1900         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1901         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1903 2016-12-10  Florian Weimer  <fweimer@redhat.com>
1905         [BZ #20956]
1906         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
1907         as additional compiler barriers.
1908         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
1909         (fn2, do_test): Declare with external linkage.
1910         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
1911         (do_test): Declare with external linkage.
1912         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
1913         (do_test): Declare with external linkage.
1914         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
1915         (do_test): Declare with external linkage.
1917 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
1919         * support/support_test_main.c (support_test_main): Use correct
1920         timeout.
1922 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
1923             Florian Weimer  <fweimer@redhat.com>
1925         [BZ #16421]
1926         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
1927         and __u6_addr32 members.
1928         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
1929         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
1930         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
1931         Use __u6_addr32.
1932         * inet/tst-checks.c: Use <support/test-driver.c>
1933         * inet/tst-checks-posix.c: New file.
1934         * inet/Makefile (tests): Add it.
1935         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
1937 2016-12-09  Florian Weimer  <fweimer@redhat.com>
1939         New subdirectory support for build and test infrastructure.
1940         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
1941         setting install-lib.
1942         * Makeconfig (link-extra-libs-tests): Define.
1943         (+link-pie-tests, +link-static-tests, +link-tests): Use
1944         link-extra-libs-tests.
1945         (rpath-dirs, all-subdirs): Add support.
1946         (built-modules): Add libsupport.
1947         (libsupport): Define.
1948         * support: New directory.
1949         * support/Makefile: New file.
1950         * support/check.c: Likewise.
1951         * support/check.h: Likewise.
1952         * support/delayed_exit.c: Likewise.
1953         * support/ignore_stderr.c: Likewise.
1954         * support/oom_error.c: Likewise.
1955         * support/set_fortify_handler.c: Likewise.
1956         * support/support.h: Likewise.
1957         * support/temp_file-internal.h: Likewise.
1958         * support/temp_file.c: Likewise.
1959         * support/test-driver.c: Likewise.
1960         * support/test-driver.h: Likewise.
1961         * support/test_main.c: Likewise.
1962         * support/write_message.c: Likewise.
1963         * support/xasprintf.c: Likewise.
1964         * support/xcalloc.c: Likewise.
1965         * support/xmalloc.c: Likewise.
1966         * support/xpthread_barrier_destroy.c: Likewise.
1967         * support/xpthread_barrier_init.c: Likewise.
1968         * support/xpthread_barrier_wait.c: Likewise.
1969         * support/xpthread_cancel.c: Likewise.
1970         * support/xpthread_check_return.c: Likewise.
1971         * support/xpthread_cond_wait.c: Likewise.
1972         * support/xpthread_create.c: Likewise.
1973         * support/xpthread_detach.c: Likewise.
1974         * support/xpthread_join.c: Likewise.
1975         * support/xpthread_mutex_lock.c: Likewise.
1976         * support/xpthread_mutex_unlock.c: Likewise.
1977         * support/xpthread_sigmask.c: Likewise.
1978         * support/xpthread_spin_lock.c: Likewise.
1979         * support/xpthread_spin_unlock.c: Likewise.
1980         * support/xrealloc.c: Likewise.
1981         * support/xsignal.h: Likewise.
1982         * support/xthread.h: Likewise.
1983         * support_tempfile.h: Likewise.
1984         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
1985         (TEST_DATA_LIMIT): Remove unused macro.
1986         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
1987         <support/check.h>.
1988         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
1989         (ignore_stderr, set_fortify_handler): Remove.  Now in
1990         <support/support.h>.
1991         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
1992         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
1993         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
1994         (xpthread_join): Remove.  Now in <support/xthread.h>.
1995         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
1996         Introduce legacy wrappers.
1997         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
1998         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
1999         (write_message): Remove.
2000         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
2001         test-skeleton.c.
2002         * io/test-open-tmpfile: Likewise.
2003         * io/tst-posix_fallocate-common.c: Likewise.
2004         * libio/tst-fseek.c: Likewise.
2005         * malloc/tst-malloc-backtrace.c: Likewise.
2006         * malloc/tst-malloc-fork-deadlock.c: Likewise.
2007         * malloc/tst-malloc-thread-exit.c: Likewise.
2008         * nptl/tst-cancel7.c: Likewise.
2009         * nptl/tst-cleanup0.c: Likewise.
2010         * posix/tst-posix_fadvise-common.c: Likewise.
2011         * rt/tst-shm.c: Likewise.
2012         * time/bug-getdate1.c: Likewise.
2013         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2014         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
2015         * elf/Makefile (tst-piemod1.so): Link against libsupport.
2017 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
2019         * Rules [$(run-built-tests) != no] (tests-expected): Add
2020         $(tests-printers).
2021         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
2023 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
2025         [BZ #20539]
2026         * math/Makefile (install-lib-ldscripts): Add libm.a.
2027         (install_subdir): Remove.
2028         (install-others): Add.
2029         ($(inst_libdir)/libm.a): Add rule for installation as
2030         linker script.
2031         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
2033 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
2035         * INSTALL: Regenerated.
2036         * Makeconfig: Add comments and whitespace to make the control flow
2037         clearer.
2038         (+link-printers-tests, +link-pie-printers-tests,
2039         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
2040         built-rtld-LDFLAGS, link-libc-rpath,
2041         link-libc-tests-after-rpath-link,
2042         link-libc-printers-tests): New.
2043         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
2044         link-libc-tests): Use the new variables as required.
2045         * Makerules ($(py-const)): New rule.
2046         generated: Add $(py-const).
2047         * README.pretty-printers: New file.
2048         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
2049         (others): Depend on $(py-const).
2050         (tests): Depend on $(tests-printers-programs) or
2051         $(tests-printers-out),
2052         as required.  Pass $(tests-printers) to merge-test-results.sh.
2053         * manual/install.texi: Add requirements for testing the pretty
2054         printers.
2055         * nptl/Makefile (gen-py-const-headers, pretty-printers,
2056         tests-printers, CFLAGS-test-mutexattr-printers.c
2057         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
2058         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
2059         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
2060         * nptl/nptl-printers.py: New file.
2061         * nptl/nptl_lock_constants.pysym: Likewise.
2062         * nptl/test-cond-printers.c: Likewise.
2063         * nptl/test-cond-printers.py: Likewise.
2064         * nptl/test-condattr-printers.c: Likewise.
2065         * nptl/test-condattr-printers.py: Likewise.
2066         * nptl/test-mutex-printers.c: Likewise.
2067         * nptl/test-mutex-printers.py: Likewise.
2068         * nptl/test-mutexattr-printers.c: Likewise.
2069         * nptl/test-mutexattr-printers.py: Likewise.
2070         * nptl/test-rwlock-printers.c: Likewise.
2071         * nptl/test-rwlock-printers.py: Likewise.
2072         * nptl/test-rwlockattr-printers.c: Likewise.
2073         * nptl/test-rwlockattr-printers.py: Likewise.
2074         * scripts/gen-py-const.awk: Likewise.
2075         * scripts/test_printers_common.py: Likewise.
2076         * scripts/test_printers_exceptions.py: Likewise.
2078 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
2080         * scripts/build-many-glibcs.py (Context.__init__): Take strip
2081         argument.
2082         (Glibc.build_glibc): Strip installed shared libraries if
2083         requested.
2084         (get_parser): Add --strip option.
2085         (main): Update Context call.
2087 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2088             Dominik Vogt  <vogt@linux.vnet.ibm.com>
2090         [BZ #20847]
2091         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
2092         array bounds for else branch.
2093         (__execvpe): Style fixes.
2094         * posix/tst-vfork3.c (run_script): New function.
2095         (create_script): Likewise.
2096         (do_test): Use run_script internal function.
2097         (do_prepare): Use create_script internal function.
2099 2016-12-07  Andreas Schwab  <schwab@suse.de>
2101         * sysdeps/unix/sysv/linux/x86/elision-conf.h
2102         (__elision_available): Don't declare.
2103         * sysdeps/unix/sysv/linux/x86/elision-conf.c
2104         (__elision_available): Don't define.
2105         (elision_init): Don't set __elision_available.
2107 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
2109         [BZ #20940]
2110         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
2111         return Inf for arguments Inf and sNaN.
2112         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
2113         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2114         Likewise.
2115         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2116         Likewise.
2117         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
2118         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
2119         for arguments Inf and sNaN.  When returning a NaN, compute it by
2120         arithmetic on the arguments.
2121         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
2122         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
2123         arguments.
2125 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
2127         [BZ #20916]
2128         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
2129         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
2130         to compute result.
2131         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2132         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
2134 2016-12-05  Torvald Riegel  <triegel@redhat.com>
2136         * include/atomic.h (__atomic_check_size_ls): New.
2137         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
2138         atomic_store_release): Use it.
2139         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
2140         (elision_adapt, ELIDE_LOCK): Use atomics.
2141         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
2142         atomics and improve code comments.
2143         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
2144         (__lll_trylock_elision): Likewise.
2146 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2148         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
2149         programs.
2151 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
2153         [BZ #20916]
2154         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
2155         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
2156         arguments to compute result.
2157         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
2158         1 for arguments (sNaN, 0) or (1, sNaN).
2159         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
2160         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2162         [BZ #20919]
2163         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
2164         NaN first argument when raised to power 0.
2165         * math/w_pow.c (__pow): Do not check for NaN or zero results from
2166         raising to power zero.
2167         * math/w_powf.c (__powf): Likewise.
2168         * math/w_powl.c (__powl): Likewise.
2169         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
2170         pow (0, 0) or pow (NaN, 0).
2172 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
2174         [BZ #20918]
2175         * configure.ac: Test for static NSS cryptographic libraries and set
2176         libc_cv_static_nss_crypt.
2177         * configure: Regenerate.
2178         * config.make.in (static-nss-crypt): Define.
2179         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
2180         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
2181         (CFLAGS-tst-linkall-static.c): Define.
2182         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
2183         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
2184         ($(objpfx)tst-linkall-static): Define.
2185         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
2186         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
2188 2016-12-02  Florian Weimer  <fweimer@redhat.com>
2190         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
2191         (one-hundred, tst-tls-many-dynamic-modules): Define.
2192         (modules-names): Add $(tst-tls-many-dynamic-modules).
2193         (tst-tls-manydynamic%mod.os): Build with special preprocessor
2194         macros.
2195         (tst-tls-manydynamic): Link against libdl, libpthread.
2196         (tst-tls-manydynamic.out): The test needs the test modules at run
2197         time.
2198         * elf/tst-tls-manydynamic.c: New file.
2199         * elf/tst-tls-manydynamic.h: Likewise.
2200         * elf/tst-tls-manydynamicmod.c: Likewise.
2202 2016-12-02  Florian Weimer  <fweimer@redhat.com>
2204         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
2205         (TLS_DTV_UNALLOCATED): Add.
2206         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
2207         offsets.
2209 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
2211         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2213 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
2215         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
2216         Add -fno-optimize-sibling-calls.
2218 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
2220         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
2221         New declaration.
2222         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
2223         macro.
2224         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
2225         New macro.
2226         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
2227         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
2228         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
2229         (llogbf): Likewise.
2230         (llogbl): Likewise.
2231         * math/Makefile (gen-libm-calls): Add w_llogbF.
2232         (tests): Add test-fp-llogb-constants.
2233         * math/w_llogb_template.c: New file.  Based on
2234         math/w_ilogb_template.c.
2235         * math/libm-test.inc (llogb_test_data): New array.
2236         (llogb_test): New function.
2237         (main): Call llogb_test.
2238         * math/test-fp-llogb-constants.c: New file.  Based on
2239         math/test-fp-ilogb-constants.c.
2240         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
2241         (do_test): Call check_return_llogb.
2242         * math/test-tgmath.c (NCALLS): Increase to 126.
2243         (F(compile_test)): Call llogb.
2244         (F(llogb)): New function.
2245         * manual/math.texi (Exponents and Logarithms): Document llogb,
2246         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
2247         * manual/libm-err-tab.pl (@all_functions): Add llogb.
2248         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
2249         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
2250         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
2251         (CFLAGS-nldbl-llogb.c): New variable.
2252         * sysdeps/nacl/libm.abilist: Update.
2253         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2254         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2255         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2256         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2257         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2258         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2259         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2260         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2261         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2262         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2263         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2264         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2266         Likewise.
2267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2268         Likewise.
2269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2270         Likewise.
2271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2272         Likewise.
2273         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2274         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2275         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2276         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2277         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2279         Likewise.
2280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2281         Likewise.
2282         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2283         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2284         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2286 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
2288         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
2289         _Float128 instead of long double.
2290         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
2292         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
2293         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
2294         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
2295         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
2296         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
2297         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
2298         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
2299         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
2300         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
2301         Likewise.
2303 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2305         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
2306         Remove redirection to __strrchr_ppc.
2308 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2310         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2311         (sysdep_routines): Add strcmp_power9.
2312         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2313         (strcmp): Add __strcmp_power9 to list of strcmp functions.
2314         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
2315         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
2316         (strcmp): Add __strcmp_power9 to ifunc list.
2317         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
2319 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
2321         * bits/fp-logb.h: New file.
2322         * sysdeps/ia64/bits/fp-logb.h: Likewise.
2323         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
2324         * sysdeps/x86/bits/fp-logb.h: Likewise.
2325         * math/Makefile (headers): Add bits/fp-logb.h.
2326         * math/math.h: Include <bits/fp-logb.h>.
2327         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
2328         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
2329         * bits/mathdef.h (FP_ILOGB0): Remove.
2330         (FP_ILOGBNAN): Likewise.
2331         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
2332         (FP_ILOGBNAN): Likewise.
2333         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
2334         (FP_ILOGBNAN): Likewise.
2335         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
2336         (FP_ILOGBNAN): Likewise.
2337         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
2338         (FP_ILOGBNAN): Likewise.
2339         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
2340         (FP_ILOGBNAN): Likewise.
2341         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
2342         (FP_ILOGBNAN): Likewise.
2343         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
2344         (FP_ILOGBNAN): Likewise.
2345         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
2346         (FP_ILOGBNAN): Likewise.
2347         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
2348         (FP_ILOGBNAN): Likewise.
2350         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
2351         time module.
2352         (Context.__init__): Initialize self.logsdir_old.
2353         (Context.run_builds): Handle bot action.
2354         (Context.bot_cycle): Copy logs directory before running builds.
2355         (Context.bot_run_self): Take argument for whether to check
2356         subprocess result.  Flush stdout before running subprocess.
2357         (Context.bot): New function.
2358         (get_parser): Allow bot action.
2360 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
2362         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
2363         Import email.mime.text, email.utils and smtplib modules.
2364         (Context.__init__): Initialize self.bot_config_json.
2365         (Context.run_builds): Handle bot-cycle action.
2366         (Context.load_bot_config_json): New function.
2367         (Context.part_build_old): Likewise.
2368         (Context.bot_cycle): Likewise.
2369         (Context.bot_build_mail): Likewise.
2370         (Context.bot_run_self): Likewise.
2371         (get_parser): Allow bot-cycle action.
2373 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2375         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
2376         Remove redirection to __stpcpy_ppc.
2378 2016-11-30  Florian Weimer  <fweimer@redhat.com>
2380         Remove __libc_memalign from ld.so because it is unused.
2381         * elf/dl-minimal.c: Update comment on the malloc implementation.
2382         (malloc): Renamed from __libc_memalign, replacing the original
2383         malloc implementation.  Replace the align parameter with
2384         MALLOC_ALIGNMENT.
2385         * elf/Versions (ld): Update comment and remove __libc_memalign.
2386         * sysdeps/nacl/ld.abilist: Likewise.
2387         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
2388         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
2389         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
2390         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
2391         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
2392         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
2393         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
2394         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
2395         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
2396         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
2397         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
2398         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
2399         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
2400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
2401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
2402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
2403         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
2404         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
2405         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
2406         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
2407         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
2408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
2409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
2410         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
2411         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
2412         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
2413         * sysdeps/generic/localplt.data (ld.so): Likewise.
2414         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
2415         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
2416         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
2417         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
2418         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
2419         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
2420         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
2421         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
2422         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
2423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
2424         (ld.so): Likewise.
2425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
2426         (ld.so): Likewise.
2427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
2428         Likewise.
2429         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
2430         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
2431         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
2432         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
2433         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
2435 2016-11-30  Florian Weimer  <fweimer@redhat.com>
2437         [BZ #16628]
2438         Implement _dl_catch_error, _dl_signal_error in libc.so.
2439         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
2440         (catch_hook): Define as thread-local or regular variable,
2441         depending on DL_ERROR_BOOTSTRAP.
2442         (CATCH_HOOK): Remove.
2443         (dl_signal_error, _dl_catch_error): Use
2444         catch_hook.  Add hidden definition for libc.
2445         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
2446         for DL_ERROR_BOOTSTRAP only.
2447         * elf/dl-error.c: New file.
2448         * elf/dl-error-minimal.c: Likewise.
2449         * elf/tst-latepthread.c: Likewise.
2450         * elf/tst-latepthreadmod.c: Likewise.
2451         * elf/Makefile (routines): Add dl-error.
2452         (dl-routines): Remove dl-error.
2453         (rtld-routines): Add dl-error-minimal.
2454         [build-shared] (tests): Add tst-latepthread.
2455         (module-names): Add tst-latepthreadmod.
2456         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
2457         symbol.
2458         (tst-latepthreadmod.so): Link against libpthread.
2459         (tst-latepthread): Link against libdbl.
2460         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
2461         _dl_catch_error.
2462         [ld] (GLIBC_PRIVATE): Likewise.
2463         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
2464         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
2465         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
2466         directly.
2467         * elf/dl-tsd.c: Remove file.
2468         * elf/rtld.c (_rtld_global_ro): Remove initializers for
2469         _dl_catch_error, _dl_signal_error.
2470         (_dl_initial_error_catch_tsd): Remove definition.
2471         (do_preload): Remove initialization of dl_error_catch_tsd.
2472         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
2473         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
2474         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
2475         * dlfcn/dlopen.c (dlopen_doit): Likewise.
2476         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
2477         set dl_error_catch_tsd.
2478         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
2479         _dl_error_catch_tsd member.
2480         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
2481         members.
2482         (_dl_initial_error_catch_tsd): Remove declaration.
2483         (_dl_dprintf): Provide definition for use outside of ld.so.
2484         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
2485         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
2486         prototype for libc.
2487         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
2488         _dl_catch_error.
2489         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
2490         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
2491         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
2492         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
2493         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
2494         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
2495         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
2496         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
2497         Likewise.
2498         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
2499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
2500         (ld.so): Likewise.
2501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
2502         (ld.so): Likewise.
2503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
2504         Likewise.
2505         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
2506         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
2507         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
2508         Likewise.
2509         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
2510         Likewise.
2511         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
2513 2016-11-30  Florian Weimer  <fweimer@redhat.com>
2515         [BZ #4099]
2516         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
2517         _IO_BUFSIZ (8192).
2519 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
2521         * PROJECTS: Remove file.
2523 2016-11-29  Florian Weimer  <fweimer@redhat.com>
2525         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
2527 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
2528             Steve Ellcey  <sellcey@caviumnetworks.com>
2530         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
2531         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
2532         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
2533         fxstatat.
2534         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
2535         lxstat.
2536         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
2537         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
2538         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
2539         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
2540         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
2541         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
2542         __xstat.
2544 2016-11-29  Florian Weimer  <fweimer@redhat.com>
2546         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
2547         Define.
2548         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
2549         definition.
2551 2016-11-29  Florian Weimer  <fweimer@redhat.com>
2553         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
2554         version and turn into strong alias.  Remove compat symbol.
2556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2557         (__longjmp): Remove.
2559 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
2561         * bits/fp-fast.h: New file.
2562         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
2563         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
2564         * math/Makefile (headers): Add bits/fp-fast.h.
2565         * math/math.h: Include <bits/fp-fast.h>.
2566         * bits/mathdef.h (FP_FAST_FMA): Remove.
2567         (FP_FAST_FMAF): Likewise.
2568         (FP_FAST_FMAL): Likewise.
2569         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
2570         (FP_FAST_FMAF): Likewise.
2571         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
2572         (FP_FAST_FMAF): Likewise.
2573         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
2574         (FP_FAST_FMAF): Likewise.
2575         (FP_FAST_FMAL): Likewise.
2576         * sysdeps/arm/bits/mathdef.h: Remove file.
2577         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
2578         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2579         * sysdeps/tile/bits/mathdef.h: Likewise.
2581 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
2583         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
2584         * math/w_ilogb.c: Remove.
2585         * math/w_ilogbf.c: Likewise.
2586         * math/w_ilogbl.c: Likewise.
2587         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
2588         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
2589         * math/Makefile (gen-libm-calls): Add w_ilogbF.
2590         (libm-calls): Remove w_ilogbF.
2591         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
2592         (LDOUBLE_ilogbl_libm_version): New macro.
2594         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
2596         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
2597         [!__STRICT_ANSI__ && !__cplusplus].
2599 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
2601         [BZ #20750]
2602         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
2603         of PIC.
2605 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
2606             Yury Norov  <ynorov@caviumnetworks.com>
2607             Steve Ellcey  <sellcey@caviumnetworks.com>
2609         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
2610         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
2611         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
2612         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
2613         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
2614         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
2615         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
2616         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
2617         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
2618         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
2619         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
2620         to get correct reg name for ILP32.
2621         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
2622         (RELA_SIZE): New Macro.
2623         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
2624         to support ILP32.
2625         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
2626         cast for ILP32 mode.
2627         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
2628         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
2629         * sysdeps/aarch64/memset.S (__memset): Ditto.
2630         * sysdeps/aarch64/strchr.S (strchr): Ditto.
2631         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
2632         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
2633         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
2634         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
2635         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
2636         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
2637         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
2638         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
2639         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
2640         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
2641         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
2642         change PTR_MANGLE call to use register numbers instead of names.
2643         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
2644         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
2645         ILP32 mode, change PTR_MANGLE calls to use register numbers.
2646         * sysdeps/aarch64/start.S (_start): Ditto.
2647         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
2648         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
2649         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
2650         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
2651         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
2652         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
2653         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
2654         Make defined values dependent on __ILP32__.
2655         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
2656         (sem_t): Change __align type.
2657         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
2658         PTR_SIZE): New Macros.
2659         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
2660         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
2661         Set when in ILP32 mode.
2662         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
2663         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
2664         Set elf flags for ILP32.
2665         (add_system_dir): Set ILP32 library directories.
2666         * sysdeps/unix/sysv/linux/aarch64/init-first.c
2667         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
2668         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
2669         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
2670         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
2671         New Macros.
2672         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
2674 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
2676         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
2677         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
2678         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
2680 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
2682         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
2683         <asm/cachectl.h>.
2685 2016-11-27  Zack Weinberg  <zackw@panix.com>
2687         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
2688         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
2690 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2692         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
2693         error_t to fix usage in C++ programs.
2695 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
2697         * scripts/build-many-glibcs.py: Import datetime module.
2698         (Context.__init__): Load JSON build state.  Initialize list of
2699         status logs.
2700         (Context.run_builds): Update saved build state.
2701         (Context.add_makefile_cmdlist): Update list of status logs.
2702         (Context.load_build_state_json): New function.
2703         (Context.store_build_state_json): Likewise.
2704         (Context.clear_last_build_state): Likewise.
2705         (Context.update_build_state): Likewise.
2706         (CommandList.status_logs): Likewise.
2708 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
2710         * scripts/build-many-glibcs.py (Context.__init__): Save text of
2711         script being executed.
2712         (Context.get_script_text): New function.
2713         (Context.exec_self): Likewise.
2714         (Context.checkout): Re-exec script if changed by checkout process.
2716 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
2718         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2719         (setpayloadsig): New declaration.
2720         * math/Versions (setpayloadsig): New libm symbol at version
2721         GLIBC_2.25.
2722         (setpayloadsigf): Likewise.
2723         (setpayloadsigl): Likewise.
2724         * math/Makefile (libm-calls): Add s_setpayloadsigF.
2725         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
2726         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
2727         (setpayloadsig_test_data): New array.
2728         (setpayloadsig_test): New function.
2729         (main): Call setpayloadsig_test.
2730         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
2731         setpayloadsigf and setpayloadsigl.
2732         * manual/libm-err-tab.pl: Update comment on interfaces without
2733         ulps tabulated.
2734         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
2735         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
2736         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
2737         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
2738         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
2739         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
2740         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2741         setpayloadsig.
2742         (CFLAGS-nldbl-setpayloadsig.c): New variable.
2743         * sysdeps/nacl/libm.abilist: Update.
2744         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2745         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2746         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2747         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2748         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2749         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2750         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2751         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2752         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2753         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2754         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2755         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2757         Likewise.
2758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2759         Likewise.
2760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2761         Likewise.
2762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2763         Likewise.
2764         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2765         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2766         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2767         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2768         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2770         Likewise.
2771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2772         Likewise.
2773         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2774         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2775         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2777         * scripts/build-many-glibcs.py: Import json module.
2778         (Context.__init__): Take replace_sources argument.  Load
2779         versions.json.
2780         (Context.load_versions_json): New function.
2781         (Context.store_json): Likewise.
2782         (Context.store_versions_json): Likewise.
2783         (Context.set_component_version): Likewise.
2784         (Context.checkout): Update versions.json.  Check for and handle
2785         changes of version.  Prefer previously explicitly specified
2786         version to default version.
2787         (Context.checkout_vcs): Return a revision identifier.
2788         (Context.git_checkout): Likewise.
2789         (Context.gcc_checkout): Likewise.
2790         (get_parser): Add --replace-sources option.
2791         (main): Pass replace_sources argument to Context call.
2793 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2795         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
2796         * nptl/allocatestack.c (allocate_stack): Likewise.
2797         (__reclaim_stacks): Likewise.
2798         (setxid_signal_thread): Obtain pid through syscall.
2799         * nptl/nptl-init.c (sigcancel_handler): Likewise.
2800         (sighandle_setxid): Likewise.
2801         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
2802         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2803         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
2804         Likewise.
2805         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
2806         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
2807         comment.
2808         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
2809         * nptl/descr.h (struct pthread): Change comment about pid value.
2810         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
2811         pid assert.
2812         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
2813         Do not set pid value.
2814         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
2815         pid cache check.
2816         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
2817         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
2818         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
2819         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
2820         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
2821         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2822         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
2823         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
2824         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
2825         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
2826         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
2827         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2828         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
2829         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2830         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
2831         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
2832         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2833         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
2834         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
2835         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
2836         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
2837         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2838         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
2839         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
2840         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
2841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2843         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2844         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2845         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2846         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
2847         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
2848         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
2849         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2850         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
2851         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2852         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
2853         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2854         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
2855         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
2856         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2857         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
2858         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
2859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2861         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2862         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2863         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2864         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2865         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2866         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
2867         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2868         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
2869         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
2870         struct access.
2871         (clone_test): Remove function.
2872         (do_test): Rewrite to take in consideration pid is not cached anymore.
2874 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
2876         * bits/flt-eval-method.h: New file.
2877         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
2878         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
2879         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
2880         * math/Makefile (headers): Add bits/flt-eval-method.h.
2881         * math/math.h: Include <bits/flt-eval-method.h>.
2882         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
2883         [__USE_ISOC99] (double_t): Likewise.
2884         * bits/mathdef.h (float_t): Remove.
2885         (double_t): Likewise.
2886         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
2887         (double_t): Likewise.
2888         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
2889         (double_t): Likewise.
2890         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
2891         (double_t): Likewise.
2892         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
2893         (double_t): Likewise.
2894         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
2895         (double_t): Likewise.
2896         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
2897         (double_t): Likewise.
2898         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
2899         (double_t): Likewise.
2900         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
2901         (double_t): Likewise.
2902         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
2903         (double_t): Likewise.
2904         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
2905         (double_t): Likewise.
2906         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
2907         (double_t): Likewise.
2908         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
2909         (double_t): Likewise.
2910         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
2911         (double_t): Likewise.
2913 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
2915         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
2916         instead of PIC.
2918 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
2920         [BZ #20859]
2921         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
2922         (-0x7fffffff) instead of 0x80000001.
2923         * math/test-fp-ilogb-constants.c: New file.
2924         * math/Makefile (tests): Add test-fp-ilogb-constants.
2926 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
2928         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
2929         (_init): Use it in place of hardcoded R_MIPS_JALR.
2930         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
2931         (_init): Use it in place of hardcoded R_MIPS_JALR.
2932         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
2933         (_init): Use it in place of hardcoded R_MIPS_JALR.
2935 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
2937         [BZ #20787]
2938         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
2939         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
2940         (double_t): Do not define to double if [__x86_64__] when
2941         __FLT_EVAL_METHOD__ is nonzero.
2942         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
2943         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
2944         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2945         test-flt-eval-method-387 and test-flt-eval-method-sse.
2946         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
2947         variable.
2948         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
2950 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
2952         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
2953         use of -fno-isolate-erroneous-paths options for tilepro.
2955 2016-11-23  Florian Weimer  <fweimer@redhat.com>
2957         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
2958         structure initialization is no longer needed.
2960 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
2962         [BZ #20855]
2963         * bits/mathdef.h (float_t): Define to float.
2964         * math/test-flt-eval-method.c: New file.
2965         * math/Makefile (tests): Add test-flt-eval-method.
2966         (CFLAGS-test-flt-eval-method.c): New variable.
2968 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
2970         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
2971         and __fstatfs.  Make them aliases of __fstatfs64 if
2972         STATFS_IS_STATFS64 is set to non-zero.
2973         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
2974         and __statfs64.
2975         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
2976         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
2977         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
2978         for __statfs and statfs.
2979         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
2980         to 0.
2981         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
2982         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
2983         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
2984         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
2985         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
2986         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
2987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
2988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
2989         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
2990         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
2991         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
2992         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
2994 2016-11-22  Andreas Schwab  <schwab@suse.de>
2996         * misc/mkstemp.c: Include <fcntl.h>.
2997         * misc/mkstemps.c: Likewise.
2998         * misc/mkostemp.c: Likewise.
2999         * misc/mkostemps.c: Likewise.
3001 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
3003         [BZ #20847]
3004         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
3005         array bounds.
3006         (__execvpe): Likewise.
3008 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
3010         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
3011         -fno-isolate-erroneous-paths options for tilepro.
3013 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
3015         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
3016         to 0 when in 32 bit mode.
3017         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
3018         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
3019         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
3020         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
3021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
3022         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
3023         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
3024         XSTAT_IS_XSTAT64 test.
3025         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
3026         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
3027         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
3028         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
3029         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
3030         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
3031         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
3032         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
3033         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
3034         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
3035         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
3037 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
3039         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3040         (setpayload): New declaration.
3041         * math/Versions (setpayload): New libm symbol at version
3042         GLIBC_2.25.
3043         (setpayloadf): Likewise.
3044         (setpayloadl): Likewise.
3045         * math/Makefile (libm-calls): Add s_setpayloadF.
3046         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
3047         test_Ff_b1_data.
3048         (RUN_TEST_Ff_b1): New macro.
3049         (RUN_TEST_LOOP_Ff_b1): Likewise.
3050         (canonicalize_test_data): Update type.
3051         (setpayload_test_data): New array.
3052         (setpayload_test): New function.
3053         (main): Call setpayload_test.
3054         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
3055         setpayloadf and setpayloadl.
3056         * manual/libm-err-tab.pl: Update comment on interfaces without
3057         ulps tabulated.
3058         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
3059         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
3060         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
3061         Likewise.
3062         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
3063         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
3064         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
3065         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
3066         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
3067         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
3068         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
3069         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
3070         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
3071         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3072         setpayload.
3073         (CFLAGS-nldbl-setpayload.c): New variable.
3074         * sysdeps/nacl/libm.abilist: Update.
3075         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3076         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3077         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3078         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3079         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3080         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3081         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3082         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3083         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3084         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3085         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3086         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3088         Likewise.
3089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3090         Likewise.
3091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3092         Likewise.
3093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3094         Likewise.
3095         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3096         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3097         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3098         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3099         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3101         Likewise.
3102         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3103         Likewise.
3104         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3105         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3106         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3108 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3110         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
3111         * include/unistd.h: Extend comment about __access_noerrno return
3112         semantics.
3113         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
3114         (access_common): Correct typo for EACCES.
3116 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
3118         * sysdeps/tile/math-tests.h: New file.
3120         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
3121         (__old_set_dataplane): Rename from set_dataplane and make a
3122         compatibility symbol.
3123         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
3124         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
3125         sys/dataplane.h.
3127 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
3129         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
3130         script quote words in command output to log suitably for input to
3131         the shell.
3133 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
3134             Maciej W. Rozycki  <macro@imgtec.com>
3136         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
3137         `.Lno_weak_fn' label.
3138         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
3139         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
3141 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3142             Yury Norov  <ynorov@caviumnetworks.com>
3144         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
3145         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
3146         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3147         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
3148         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3149         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
3150         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3151         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3152         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3153         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
3154         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3155         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
3156         (sysdep_routines): Remove oldgetrlimit64.
3157         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
3158         (sysdep_routines): Likewise.
3159         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
3160         (sysdep_routines): Likewise.
3161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3162         [$(subdir) = resource] (sysdep_routines): Likewise.
3163         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
3164         [$(subdir) = resource] (sysdep_routines): Likewise.
3165         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
3166         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
3167         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
3168         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
3169         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
3170         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
3171         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
3172         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
3173         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
3174         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
3175         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
3176         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
3177         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
3178         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
3179         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
3180         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
3181         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
3182         setrlimit and getrlimit.
3183         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3184         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3185         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
3186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
3187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
3188         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
3189         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
3190         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3191         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3192         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
3193         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
3194         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
3195         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
3196         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
3197         (__old_getrlimit64): Add compatibility symbol.
3198         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
3200 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
3202         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
3203         newly built gmp, mpfr and mpc.
3205         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
3207 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
3209         * conform/Makefile (linknamespace-libs): Rename to
3210         linknamespace-libs-thr.
3211         (linknamespace-libs-posix): New variable.
3212         (linknamespace-libs-xsi): Likewise.
3213         (linknamespace-libs-XPG3): Include libcrypt.a.
3214         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
3215         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
3216         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
3217         (linknamespace-libs-XOPEN2K): Likewise.
3218         (linknamespace-libs-XOPEN2K8): Likewise.
3219         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
3221         [BZ #20829]
3222         * stdio-common/Versions (__snprintf): Add to version
3223         GLIBC_PRIVATE.
3224         * include/stdio.h (__snprintf): Use libc_hidden_proto.
3225         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
3226         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
3227         of snprintf.
3228         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3230 2016-11-16  Zack Weinberg  <zackw@panix.com>
3232         * string/string.h: Remove obsolete comment stating that
3233         strcoll_l and strxfrm_l have not yet been standardized.
3235 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3237         * hurd/hurd.h (__hurd_fail_noerrno): New function.
3238         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
3239         __access_noerrno.
3240         * io/access.c (__access_noerrno): New function.
3241         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
3242         (hurd_fail_seterrno): Likewise.
3243         (access_common): Likewise.
3244         (__access_noerrno): Likewise.
3245         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
3246         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
3247         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
3248         macro.
3250 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
3252         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
3253         Only declare fpregs if [__SH_FPU_ANY__].
3255 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
3257         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
3258         Make code unconditional.
3259         [!(__SH4__ || __SH4A__)]: Remove conditional code.
3261 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
3263         * manual/sysinfo.texi (S_APPEND): Delete.
3264         (S_IMMUTABLE): Likewise.
3266 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
3267             Magnus Granberg  <zorry@gentoo.org>
3268             Mike Frysinger  <vapier@gentoo.org>
3270         [BZ #20662]
3271         * configure.ac (libc_cv_predef_stack_protector): Also check for
3272         __stack_chk_fail_local symbols.
3273         * configure: Regenerated.
3275 2016-11-15  Florian Weimer  <fweimer@redhat.com>
3277         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
3278         (libc_hidden_def): Remove redefinition.
3279         (__sigsetjmp): Add hidden definition.
3280         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
3281         (libc_hidden_def): Remove redefinition.
3282         (__sigsetjmp): Add hidden definition.
3284 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
3286         * scripts/build-many-glibcs.py (os.path): Do not import.
3287         (Context): Inherit explicitly from object.  Remove blank line
3288         between class and docstring.
3289         (Config): Likewise.
3290         (Glibc): Likewise.
3291         (Command): Likewise.
3292         (CommandList): Likewise.
3293         (Context.write_files): Store chmod mode in a variable.
3295         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
3296         LIBC_SLIBDIR_RTLDDIR for tilegx32.
3297         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
3299 2016-11-14  Zack Weinberg  <zackw@panix.com>
3301         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
3302         creating or re-creating it.
3304         * string/bits/string2.h: Fix typo in comment.
3306 2016-11-14  Zack Weinberg  <zackw@panix.com>
3308         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
3309         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
3310         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
3311         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
3312         of redirected function names.
3314         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
3315         as well.  Document that MESSAGE must be a single string literal.
3317 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
3319         * scripts/build-many-glibcs.py: New file.
3321         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
3322         (do_test): Disable -Wmaybe-uninitialized around uses of
3323         except_mask.
3325         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
3327 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
3329         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
3330         (atomic_store_release): Provide tilepro-specific implementations.
3332 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
3334         * math/math.h (__MATH_TG): New macro.
3335         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
3336         [__USE_ISOC99] (signbit): Likewise.
3337         [__USE_ISOC99] (isfinite): Likewise.
3338         [__USE_ISOC99] (isnan): Likewise.
3339         [__USE_ISOC99] (isinf): Likewise.
3340         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
3341         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
3342         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
3343         __MATH_TG and __MATH_EVAL_FMT2.
3344         * sysdeps/generic/math_private.h (fabs_tg): Define using
3345         __MATH_TG.
3346         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
3347         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
3348         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
3349         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
3350         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
3351         macro.
3352         (__iscanonical): Likewise.
3353         (iscanonical): Define using __MATH_TG.
3355 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3357         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
3358         guards.
3360         * sysdeps/unix/sysv/linux/access.c: New file.
3361         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
3363 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
3365         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
3366         and __WORDSIZE32_PTRDIFF_LONG.
3368 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3370         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3372 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3374         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
3375         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
3376         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
3377         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
3378         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
3379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
3380         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
3381         * sysdeps/unix/sysv/linux/truncate.c: New file.
3382         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
3383         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
3384         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
3385         Remove.
3386         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
3387         Likewise.
3389         * posix/tst-truncate-common.c: New file.
3390         * posix/tst-truncate.c: Use tst-truncate-common.c.
3391         * posix/tst-truncate64.c: Likewise and add LFS tests.
3392         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
3393         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
3394         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
3395         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
3396         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
3397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
3398         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
3399         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
3400         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
3401         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
3402         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
3403         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
3404         Remove.
3405         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
3406         Likewise.
3408 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
3410         [BZ #20790]
3411         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
3412         to MAXLINESIZE.
3413         * sunrpc/bug20790.x: New file.
3414         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
3415         variable.
3416         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
3417         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
3419         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
3421         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
3423         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
3424         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
3425         calloc, realloc, free, memalign and __libc_memalign rather than
3426         making them optional.
3428         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
3429         for libc.so.
3431 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3433         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
3434         ptw-lseek64.
3435         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
3436         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
3437         Likewise.
3438         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
3439         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
3440         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
3441         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
3442         * sysdeps/unix/sysv/linux/lseek.c: New file.
3443         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
3444         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
3445         __libc_lseek64 from auto-generation.
3446         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3447         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
3449 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3451         * nptl/tst-basic1.c (tf, do_test): Use write_message.
3452         * nptl/tst-cleanup1.c (do_test): Likewise.
3453         * nptl/tst-cleanup3.c (do_test): Likewise.
3454         * nptl/tst-key1.c (do_test): Likewise.
3455         * nptl/tst-key2.c (tf, do_test): Likewise.
3456         * nptl/tst-key3.c (tf, do_test): Likewise.
3457         * nptl/tst-stdio1.c (do_test): Likewise.
3458         * nptl/tst-stdio2.c (do_test): Likewise.
3460         * nptl/tst-kill3.c (handler): Use write_message in place of write.
3461         * nptl/tst-kill6.c (handler): Likewise.
3462         * nptl/tst-tls2.c (CB): Likewise.
3463         * nptl/tst-tls3.c (CB): Likewise.
3465 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
3467         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
3469 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
3470             Steve Ellcey  <sellcey@caviumnetworks.com>
3472         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
3473           __ASSUME_ST_INO_64_BIT as 0
3474         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
3475         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
3476           over the code where __ASSUME_ST_INO_64_BIT is used.
3477         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
3478         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
3479         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3481 2016-11-07  Florian Weimer  <fweimer@redhat.com>
3483         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3484         Document ABI exposure of the __kind offset.
3485         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3486         Mention reason for the __kind offset exposure in the ABI.
3487         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3488         Likewise.
3489         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3490         Likewise.
3491         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3492         Likewise.
3493         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
3494         (struct __pthread_mutex_s): Likewise.
3495         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3496         Likewise.
3497         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3498         Likewise.
3499         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3500         Likewise.
3501         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3502         Likewise.
3503         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3504         Likewise.
3505         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3506         Likewise.
3507         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
3508         (struct __pthread_mutex_s): Likewise.
3509         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3510         (struct __pthread_mutex_s): Likewise.
3511         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
3512         Likewise.
3514 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
3516         * test-skeleton.c: Document do_test usage.
3518 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
3520         * iconv/gconv.h (__gconv_info): Define __data element using a
3521         zero-length array.
3523 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
3525         * math/test-tgmath2.c: Split up test function.
3527 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
3529         * Rules (tests-expected): New variable, depending on
3530         $(run-built-tests).
3531         (tests): Pass $(tests-expected) to merge-test-results.sh, not
3532         $(tests).
3534         * Rules [$(run-built-tests) = no] (tests): Do not depend on
3535         $(tests-unsupported).
3537 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3539         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
3540         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
3542 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
3544         [BZ #20768]
3545         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
3546         __fegetenv instead of fegetenv.
3548         [BZ #14139]
3549         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
3550         (find_files): Obtain platform name from libm-test-ulps-name and
3551         store in %pplatforms.
3552         (canonicalize_platform): Remove.
3553         (print_platforms): Use $pplatforms directly.
3554         (by_platforms): Do not allow for platforms missing from
3555         %pplatforms.
3556         * sysdeps/aarch64/libm-test-ulps-name: New file.
3557         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
3558         * sysdeps/arm/libm-test-ulps-name: Likewise.
3559         * sysdeps/generic/libm-test-ulps-name: Likewise.
3560         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
3561         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
3562         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
3563         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
3564         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
3565         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
3566         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
3567         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
3568         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
3569         * sysdeps/nios2/libm-test-ulps-name: Likewise.
3570         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
3571         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
3572         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
3573         * sysdeps/sh/libm-test-ulps-name: Likewise.
3574         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
3575         * sysdeps/tile/libm-test-ulps-name: Likewise.
3576         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
3578         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
3580         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
3581         (test-xfail-check-execstack): New variable.
3583         * sysdeps/mips/localplt.data: New file.
3585 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
3586             Steve Ellcey  <sellcey@caviumnetworks.com>
3588         * bits/wordsize.h: Add documentation.
3589         * sysdeps/aarch64/bits/wordsize.h : New file
3590         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
3591         definitions.
3592         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
3593         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
3594         with #if instead of #ifdef.
3595         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
3596         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
3597         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
3598         Add or change defines.
3599         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
3600         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3601         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
3602         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
3603         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3604         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3605         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
3606         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
3607         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
3608         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3609         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
3610         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
3611         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
3612         * sysdeps/x86/bits/wordsize.h: Likewise.
3614 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
3615             Kevin Petit  <kevin.petit@arm.com>
3617         * sysdeps/aarch64/memchr.S (__memchr): New file.
3619 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
3621         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
3623 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
3625         [BZ #19398]
3626         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
3627         $(linknamespace-symlists-tests).
3629 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
3631         * time/tst-strptime2.c: Ignore -Wformat-length warning.
3633 2016-11-02  Florian Weimer  <fweimer@redhat.com>
3634             Carlos O'Donell  <carlos@redhat.com>
3636         [Bug #20729]
3637         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
3638         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
3639         for -Os related change.
3641 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
3643         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
3645 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
3647         [BZ #19673]
3648         * manual/math.texi (Exponents and Logarithms): Correct description
3649         of clog10.
3651 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
3653         [Bz #20729]
3654         * locale/weight.h: Include libc-internal.h.
3655         * locale/weightwc.h: Likewise.
3656         * nptl/nptl_dbP.h: Likewise.
3658 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
3660         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
3661         when it is MACH_PORT_NULL.
3663 2016-10-31  Andreas Schwab  <schwab@suse.de>
3665         [BZ #20707]
3666         * posix/glob.c (glob): Initialize pglob before checking for
3667         GLOB_BRACE.  Don't call glob recursively if pattern contains no
3668         valid brace expression despite GLOB_BRACE.
3669         * posix/globtest.sh: Test it.
3671 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
3673         [BZ #20729]
3674         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
3675         Define.
3676         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
3677         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
3678         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
3679         for seq2.back_us and seq1.back_us only for -Os compiles.
3680         * locale/weightwc.h (findix): Likewise.
3681         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
3682         DB_GET_FIELD_ADDRESS only for -Os compiles.
3683         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
3684         for slen only for -Os compiles.
3685         * string/strcoll_l.c (get_next_seq): Ignore
3686         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
3687         for -Os compiles.
3689         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
3690         * include/crypt.h: New file.
3692 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3694         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
3695         from test-skeleton.c.
3696         (statclass): Replace calls to write with calls to write_message.
3698 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
3700         * math/math.h
3701         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
3702         New macro.
3703         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
3704         Likewise.
3705         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
3706         Likewise.
3707         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
3708         SNANL.
3709         * math/test-double.h (snan_value_MACRO): New macro.
3710         * math/test-float.h (snan_value_MACRO): Likewise.
3711         * math/test-ldouble.h (snan_value_MACRO): Likewise.
3712         * math/libm-test.inc (issignaling_test_data): Add tests of
3713         snan_value_MACRO.
3715 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3717         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
3718         behavior when eliding a lock not held by the current thread.
3719         * sysdeps/powerpc/nptl/elide.h: Likewise.
3721 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3723         [BZ #20728]
3724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
3725         branch to _exit() by a function call.
3727 2016-10-28  Florian Weimer  <fweimer@redhat.com>
3729         * malloc/malloc.c: Update chunk layout comments.
3730         (chunk_main_arena): Update comment.
3732 2016-10-28  Florian Weimer  <fweimer@redhat.com>
3734         * crypt/sha256.c, crypt/sha256-block.c,
3735         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
3736         sha256_process_block to __sha256_process_block.
3737         * crypt/sha512.c, crypt/sha512-block.c,
3738         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
3739         sha512_process_block to __sha512_process_block.
3741 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
3743         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
3745         * math/test-nan-overflow.c: Include stdlib.h for malloc.
3747 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
3749         [BZ #20019]
3750         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
3751         definition in unrelocated shared library.
3752         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3754 2016-10-28  Florian Weimer  <fweimer@redhat.com>
3756         [BZ #20729]
3757         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
3758         * sysdeps/unix/sysv/linux/i386/Makefile
3759         (uses-6-syscall-arguments): Define.
3760         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
3761         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
3762         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
3763         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
3764         Likewise.
3765         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
3766         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
3767         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
3768         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
3769         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
3770         (CFLAGS-fallocate64.os): Likewise.
3771         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
3772         (CFLAGS-pthread_rwlock_timedrdlock.os)
3773         (CFLAGS-pthread_rwlock_timedwrlock.o)
3774         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
3775         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
3776         (CFLAGS-sem_timedwait.os): Likewise.
3778 2016-10-28  Florian Weimer  <fweimer@redhat.com>
3780         * elf/tst-linkall-static.c: New file.
3781         * elf/Makefile (tests-static): Add tst-linkall-static.
3782         (tst-linkall-static): Link against static libraries.
3784 2016-10-27  Florian Weimer  <fweimer@redhat.com>
3786         * malloc/malloc.c (sysmalloc): Initialize previous size field of
3787         mmaped chunks.
3789 2016-10-28  Florian Weimer  <fweimer@redhat.com>
3791         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
3792         members to mchunk_prev_size, mchunk_size.
3793         (chunk_main_arena): Reverse sense and rename from
3794         chunk_non_main_arena.
3795         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
3796         mchunk_size instead of size.
3797         (set_non_main_arena): Define.
3798         (chunksize): Use chunksize_nomask instead of direct member access.
3799         (chunksize_nomask): Define.
3800         (next_chunk): Use chunksize instead of direct member access.
3801         (prev_size, set_prev_size): Define.
3802         (prev_chunk): Use prev_size instead of direct member access.
3803         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
3804         (inuse_bit_at_offset, set_inuse_bit_at_offset)
3805         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
3806         (mchunk_prev_size, mchunk_size): Poison tokens.
3807         (unlink): Use chunksize_nomask, prev_size accessors.
3808         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
3809         (do_check_free_chunk): Use prev_size accessor.
3810         (sysmalloc): Use set_prev_size, set_head accessors.
3811         (munmap_chunk, mremap_chunk): Use prev_size accessor.
3812         (__libc_free): Use chunksize_nomask accessor.
3813         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
3814         chunk_main_arena accessors.
3815         (_int_free): Use chunksize_nomask, prev_size accessors.
3816         (malloc_consolidate): Use chunksize, prev_size accessors.
3817         (_int_realloc): Use chunksize_nomask accessor.
3818         (_int_memalign): Use set_prev_size accessor.
3819         (__malloc_info): Use chunksize_nomask accessor.
3820         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
3821         accessors.
3822         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
3823         (heap_trim): Use chunksize_nomask, prev_size accessors.
3825 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
3827         [BZ #19380]
3828         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
3829         for inexact results.
3830         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
3831         of inexact result where mpfr_subnormalize is the only inexact
3832         step.
3833         * stdlib/tst-strtod-round-data.h: Regenerated.
3834         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
3835         Define to 0.
3836         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
3838 2016-10-27  David S. Miller  <davem@davemloft.net>
3840         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
3842 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3844         * malloc/malloc.c (do_set_mallopt_check): New function.
3845         (do_set_mmap_threshold): Likewise.
3846         (do_set_mmaps_max): Likewise.
3847         (do_set_top_pad): Likewise.
3848         (do_set_perturb_byte): Likewise.
3849         (do_set_trim_threshold): Likewise.
3850         (do_set_arena_max): Likewise.
3851         (do_set_arena_test): Likewise.
3852         (__libc_mallopt): Use them.
3854 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
3856         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3857         (canonicalize): New declaration.
3858         * math/Versions (canonicalize): New libm symbol at version
3859         GLIBC_2.25.
3860         (canonicalizef): Likewise.
3861         (canonicalizel): Likewise.
3862         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
3863         * math/s_canonicalize_template.c: New file.
3864         * math/libm-test.inc: Update comment on functions tested and
3865         testing of NaN payloads.
3866         (TEST_NAN_PAYLOAD): New macro.
3867         (NO_TEST_INLINE): Update value.
3868         (XFAIL_TEST): Likewise.
3869         (ERRNO_UNCHANGED): Likewise.
3870         (ERRNO_EDOM): Likewise.
3871         (ERRNO_ERANGE): Likewise.
3872         (IGNORE_RESULT): Likewise.
3873         (NON_FINITE): Likewise.
3874         (TEST_SNAN): Likewise.
3875         (NO_TEST_MATHVEC): Likewise.
3876         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
3877         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
3878         (struct test_Ffp_b1_data): New type.
3879         (RUN_TEST_Ffp_b1): New macro.
3880         (RUN_TEST_LOOP_Ffp_b1): Likewise.
3881         (canonicalize_test_data): New array.
3882         (canonicalize_test): New function.
3883         (main): Call canonicalize_test.
3884         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
3885         canonicalizef and canonicalizel.
3886         * manual/libm-err-tab.pl: Update comment on interfaces without
3887         ulps tabulated.
3888         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
3889         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
3890         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3891         canonicalize.
3892         (CFLAGS-nldbl-canonicalize.c): New variable.
3893         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
3894         to ...
3895         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
3896         ... here.
3897         (do_test): Also test canonicalizel.
3898         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
3899         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
3900         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
3901         file.
3902         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
3903         Use libm_hidden_def.
3904         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
3905         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
3906         (do_test): Also test canonicalizel.
3907         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
3908         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
3909         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
3910         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
3911         libm_hidden_def.
3912         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
3913         macro.
3914         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
3915         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
3916         * sysdeps/nacl/libm.abilist: Update.
3917         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3918         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3919         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3920         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3921         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3922         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3923         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3924         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3925         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3926         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3927         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3928         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3930         Likewise.
3931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3932         Likewise.
3933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3934         Likewise.
3935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3936         Likewise.
3937         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3938         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3939         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3940         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3941         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3942         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3943         Likewise.
3944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3945         Likewise.
3946         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3947         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3948         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3950         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
3951         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3952         getpayload.
3953         (CFLAGS-nldbl-getpayload.c): New variable.
3955 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3957         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
3958         integer from the format string.
3960 2016-10-26  Florian Weimer  <fweimer@redhat.com>
3962         [BZ #19473]
3963         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
3964         declarations.
3965         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
3966         weak aliases.
3967         * malloc/hooks.c (__malloc_get_state): Remove definition.
3968         (malloc_get_state): New stub implementation as
3969         compatibility symbol.
3970         (malloc_set_state): Rename from __malloc_set_state.  Turn into
3971         compat symbol.
3972         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
3973         malloc_set_state.
3974         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
3976 2016-10-26  Florian Weimer  <fweimer@redhat.com>
3978         * iconvdata/iso646.c (enum variant): Drop illegal_var.
3979         (names): Turn into concatenation of strings.
3980         (gconv_init): Adapt iteration over names.
3982 2016-10-26  Florian Weimer  <fweimer@redhat.com>
3984         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
3985         make const.
3986         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
3987         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
3988         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
3989         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
3990         character in sbconv.
3991         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
3992         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
3993         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
3995 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3997         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
3999         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
4000         (M_TRIM_THRESHOLD): Likewise.
4002         * manual/memory.texi (M_ARENA_TEST): Add documentation.
4003         (M_ARENA_MAX): Likewise.
4004         * malloc/malloc.c: Remove obsolete comment.
4006         * manual/memory.texi: Add environment variable alternatives to
4007         setting mallopt parameters.
4009 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
4011         * include/atomic.h
4012         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
4013         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
4015 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4017         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
4018         * stdlib/tst-strfrom.h: New file.
4019         * stdlib/tst-strfrom.c: New file.
4020         * stdlib/tst-strfrom-locale.c: New file.
4022         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
4023         * stdlib/bug-strtod2.c: Likewise.
4024         * stdlib/tst-strtod-round-skeleton.c: Likewise.
4025         * stdlib/tst-strtod6.c: Likewise.
4026         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
4028 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4030         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
4031         * manual/arith.texi: Document strfromd, strfromf, strfroml.
4032         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
4033         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
4034         * stdlib/stdlib.h (strfromd): New declaration.
4035         (strfromf): Likewise.
4036         (strfroml): Likewise.
4037         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
4038         strfrom.
4039         * stdlib/strfromd.c: New file.
4040         * stdlib/strfromf.c: Likewise.
4041         * stdlib/strfroml.c: Likewise.
4042         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
4043         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
4044         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
4045         * sysdeps/arm/nacl/libc.abilist: Update.
4046         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
4047         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4048         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4049         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4050         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4051         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4052         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4053         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4054         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4055         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4056         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4057         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4058         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4059         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
4061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4064         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4065         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4066         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4067         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4068         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4069         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4071         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4072         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4073         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4075 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
4077         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
4078         instead of cmpli.
4079         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
4080         instead of cmpli.
4082 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
4084         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
4085         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
4086         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
4087         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4088         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4089         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4091 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4093         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
4094         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4095         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
4096         SYSCALL_LL64_PRW.
4097         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4098         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
4099         __ASSUME_PRW_DUMMY_ARG.
4100         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
4101         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4102         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4103         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4104         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
4105         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
4107 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
4109         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
4111 2016-10-22  Florian Weimer  <fweimer@redhat.com>
4113         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
4114         "C++", to override a potential extern "C" directive around the
4115         header file inclusion.
4117 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
4119         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
4121 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4123         * sysdeps/powerpc/fpu/fenv_private.h:
4124         (_FPU_MASK_ALL): Rename to...
4125         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
4126         XE FPSCR bits.
4128         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
4130         (_FPU_MASK_ROUNDING): Rename to...
4131         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
4132         NI bits.
4134         (_FPU_MASK_EXCEPT_ROUND): Rename to...
4135         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
4136         bits and rounding bits.
4138         (__libc_feholdbits_ppc): New inline function to mask, set,
4139         and pontentially clear FSPCR bits, and change MSR[FE] bits.
4140         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
4141         (libc_feholdexcept_setround_ppc): Likewise.
4143         (__libc_femergeenv_ppc): New function to dynamically mask both
4144         old and new FP environments and merge.
4145         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
4146         (libc_feresetround_ppc): Likewise.
4147         (libc_feupdateenv_test_ppc): Likewise.
4148         (libc_feupdateenv_ppc): Likewise.
4150         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
4151         of ISA RN bits, and update macro names.
4152         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
4153         effectively the same as the previously mentioned function.
4155         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
4156         usage with fe_resetround_ppc.
4158         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
4159         to be used.
4160         (libc_feholdexcept_setround_ctxf): Likewise.
4161         (libc_feholdexcept_setround_ctxl): Likewise.
4163 2016-10-21  Florian Weimer  <fweimer@redhat.com>
4165         [BZ #20715]
4166         * math/math.h [__cplusplus] (iszero): Define as function template.
4167         * math/Makefile [CXX] (tests): Add test-math-iszero.
4168         (CFLAGS-test-math-iszero.cc): Set.
4169         * math/test-math-iszero.cc: New file.
4171 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
4173         [BZ #20660]
4174         * sysdeps/arm/e_sqrt.c: New file.
4175         * sysdeps/arm/e_sqrtf.c: Likewise.
4177 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
4179         [BZ #20718]
4180         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
4181         not use floating-point comparisons to test sign.
4182         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
4183         Likewise.
4185         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4186         (getpayload): New declaration.
4187         * math/Versions (getpayload): New libm symbol at version
4188         GLIBC_2.25.
4189         (getpayloadf): Likewise.
4190         (getpayloadl): Likewise.
4191         * math/Makefile (libm-calls): Add s_getpayloadF.
4192         * math/libm-test.inc: Include <nan-high-order-bit.h>.
4193         (struct test_f_f_data): Add comment.
4194         (RUN_TEST_fp_f): New macro.
4195         (RUN_TEST_LOOP_fp_f): Likewise.
4196         (getpayload_test_data): New array.
4197         (getpayload_test): New function.
4198         (main): Call getpayload_test.
4199         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
4200         descriptor.
4201         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
4202         getpayloadf and getpayloadl.
4203         * manual/libm-err-tab.pl: Update comment on interfaces without
4204         ulps tabulated.
4205         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
4206         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
4207         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
4208         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
4209         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
4210         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
4211         * sysdeps/nacl/libm.abilist: Update.
4212         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4213         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4214         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4215         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4216         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4217         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4218         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4219         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4220         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4221         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4222         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4223         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4225         Likewise.
4226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4227         Likewise.
4228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4229         Likewise.
4230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4231         Likewise.
4232         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4233         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4234         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4235         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4236         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4237         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4238         Likewise.
4239         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4240         Likewise.
4241         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4242         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4243         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4245 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4247         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
4248         tst-fallocate{64}.
4249         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
4250         on syscall return.
4252 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
4254         [BZ #20689]
4255         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
4256         usable.
4258 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
4260         * sysdeps/generic/nan-high-order-bit.h: New file.
4261         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
4262         * sysdeps/mips/nan-high-order-bit.h: Likewise.
4263         * sysdeps/hppa/math_private.h: Remove file.
4264         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
4265         not define here.
4266         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
4267         <nan-high-order-bit.h>.
4268         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4269         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
4270         <nan-high-order-bit.h>.
4271         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4272         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
4273         <nan-high-order-bit.h>.
4274         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4275         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
4276         <nan-high-order-bit.h>.
4277         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4278         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
4279         <nan-high-order-bit.h>.
4280         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4281         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
4282         <nan-high-order-bit.h>.
4283         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4284         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
4285         <nan-high-order-bit.h>.
4286         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4287         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
4288         <nan-high-order-bit.h>.
4289         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4290         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
4291         <nan-high-order-bit.h>.
4292         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4293         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
4294         <nan-high-order-bit.h>.
4295         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4296         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
4297         <nan-high-order-bit.h>.
4298         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4299         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
4300         <nan-high-order-bit.h>.
4301         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4302         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
4303         <nan-high-order-bit.h>.
4304         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4305         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
4306         <nan-high-order-bit.h>.
4307         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4308         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
4309         <nan-high-order-bit.h>.
4310         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4311         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
4312         <nan-high-order-bit.h>.
4313         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4314         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
4315         <nan-high-order-bit.h>.
4316         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4317         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
4318         <nan-high-order-bit.h>.
4319         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4321 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4323         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
4325 2016-09-22  John David Anglin  <dave.anglin@bell.net>
4327         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
4328         abort-instr.h.
4329         (EFAULT): Remove conditional define.
4330         (ENOSYS): Likewise.
4331         (atomic_compare_and_exchange_val_acq): Use instruction nullification
4332         instead of conditional branch instructions.
4334 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
4336         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4337         (totalordermag): New declaration.
4338         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
4339         New macro.
4340         * math/Versions (totalordermag): New libm symbol at version
4341         GLIBC_2.25.
4342         (totalordermagf): Likewise.
4343         (totalordermagl): Likewise.
4344         * math/Makefile (libm-calls): Add s_totalordermagF.
4345         * math/libm-test.inc (totalordermag_test_data): New array.
4346         (totalordermag_test): New function.
4347         (main): Call totalordermag_test.
4348         * math/test-tgmath.c (NCALLS): Increase to 125.
4349         (F(compile_test)): Call totalordermag.
4350         (F(totalordermag)): New function.
4351         * manual/arith.texi (FP Comparison Functions): Document
4352         totalordermag, totalordermagf and totalordermagl.
4353         * manual/libm-err-tab.pl: Update comment on interfaces without
4354         ulps tabulated.
4355         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
4356         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
4357         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
4358         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
4359         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
4360         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
4361         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
4362         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4363         totalordermag.
4364         (CFLAGS-nldbl-totalordermag.c): New variable.
4365         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
4366         (do_test): Also test totalordermagl.
4367         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
4368         Likewise.
4369         * sysdeps/nacl/libm.abilist: Update.
4370         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4371         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4372         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4373         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4374         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4375         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4376         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4377         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4378         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4379         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4380         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4381         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4383         Likewise.
4384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4385         Likewise.
4386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4387         Likewise.
4388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4389         Likewise.
4390         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4391         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4392         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4393         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4394         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4396         Likewise.
4397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4398         Likewise.
4399         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4400         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4401         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4403 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
4405         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
4406         boolean.
4408 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
4410         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
4411         raising FE_INVALID with feraisexcept in case where part of
4412         argument is infinite, subtract that part of argument from itself.
4413         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
4414         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
4415         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
4417 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
4419         * math/libm-test.inc (totalorder_test_data): Add more tests.
4421 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
4423         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
4424         Undefine weak_alias and add a comment why mips64 require
4425         versioning.
4427 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
4429         [BZ #20647]
4430         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
4431         maximum CPUID level is less than 2.
4433 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
4435         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4436         (totalorder): New declaration.
4437         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
4438         New macro.
4439         * math/Versions (totalorder): New libm symbol at version
4440         GLIBC_2.25.
4441         (totalorderf): Likewise.
4442         (totalorderl): Likewise.
4443         * math/Makefile (libm-calls): Add s_totalorderF.
4444         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
4445         string.
4446         * math/libm-test.inc (PAYLOAD_DIG): New macro.
4447         (qnan_value_pl): Likewise.
4448         (snan_value_pl): Likewise.
4449         (qnan_value): Define using qnan_value_pl.
4450         (snan_value): Define using snan_value_pl.
4451         (struct test_ff_i_data): Add comment about which tests use this
4452         structure.
4453         (RUN_TEST_ff_b): New macro.
4454         (RUN_TEST_LOOP_ff_b): Likewise.
4455         (totalorder_test_data): New array.
4456         (totalorder_test): New function.
4457         (main): Call totalorder_test.
4458         * math/test-tgmath.c (NCALLS): Increase to 122.
4459         (F(compile_test)): Call totalorder.
4460         (F(totalorder)): New function.
4461         * manual/arith.texi (FP Comparison Functions): Document
4462         totalorder, totalorderf and totalorderl.
4463         * manual/libm-err-tab.pl: Update comment on interfaces without
4464         ulps tabulated.
4465         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
4466         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
4467         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
4468         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
4469         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
4470         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
4471         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
4472         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4473         totalorder.
4474         (CFLAGS-nldbl-totalorder.c): New variable.
4475         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
4476         file.
4477         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
4478         Add test-totalorderl-ldbl-128ibm.
4479         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
4480         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
4481         test-totalorderl-ldbl-96.
4482         * sysdeps/nacl/libm.abilist: Update.
4483         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4484         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4485         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4486         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4487         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4488         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4489         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4490         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4491         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4492         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4493         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4494         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4496         Likewise.
4497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4498         Likewise.
4499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4500         Likewise.
4501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4502         Likewise.
4503         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4504         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4505         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4506         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4507         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4509         Likewise.
4510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4511         Likewise.
4512         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4513         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4514         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4516 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4518         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
4519         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
4520         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
4521         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
4522         remove ENOSYS implementation.
4523         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
4524         Consolidate all Linux implementations.
4526 2016-10-11  Florian Weimer  <fweimer@redhat.com>
4528         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
4529         * resolv/herror.c (herror): Cast away const-ness.
4530         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
4531         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
4533 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
4535         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
4536         instead of M_NAN + M_NAN.
4537         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
4539 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4541         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
4542         unused variable 'p'.
4544 2016-10-09  Alan Modra  <amodra@gmail.com>
4545             Andreas Schwab  <schwab@linux-m68k.org>
4547         [BZ #20554]
4548         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
4549         [PIC && !SHARED]: Set up PIC register for PLT call.
4551 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
4553         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
4554         conditional on value of [__FLT_EVAL_METHOD__].
4555         * math/test-iseqsig-excess-precision.c: New file.
4556         * math/Makefile (tests): Add test-iseqsig-excess-precision.
4558 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4560         * math/s_iseqsig_template.c: Include math-private.h.
4562         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
4563         * posix/tst-posix_fadvise.c: New file.
4564         * posix/tst-posix_fadvise64.c: Likewise.
4565         * posix/tst-posix_fadvise-common.c: Likewise.
4566         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4567         (__ASSUME_FADVISE64_64_6ARG): Define.
4568         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4569         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
4570         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4571         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
4572         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
4573         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
4574         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
4575         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
4576         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
4577         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
4578         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
4579         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
4580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
4581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
4582         Likewise.
4583         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
4584         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
4585         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
4586         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
4587         Alias to __posix_fadvise64_l32.
4588         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
4589         Add compat definition to posix_fadvise64.
4590         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
4591         Add versioned definition to posix_fadvise64.
4592         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
4593         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
4594         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
4595         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
4596         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
4598         * io/Makefile (tests): Add tst-posix_fallocate and
4599         tst-posix_fallocate64.
4600         * io/tst-posix_fallocate-common.c: New file.
4601         * io/tst-posix_fallocate.c: Likewise.
4602         * io/tst-posix_fallocate64.c: Likewise.
4603         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
4604         file.
4605         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
4606         Likewise.
4607         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
4608         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
4609         Likewise.
4610         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
4611         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
4612         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
4613         SYSCALL_LL to pass both offset and len arguments.
4614         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
4615         Likewise.
4616         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
4617         __libc_pwrite64 alias used by posix_fallocate64.
4619         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
4620         tst-fallocate64.
4621         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
4622         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
4623         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
4624         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
4625         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
4626         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
4627         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
4628         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
4629         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
4630         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
4631         macro on offset argument.
4632         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
4633         SYSCALL_LL64 on offset argument.
4635         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
4636         tst-fallocate64.
4637         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
4638         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
4639         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
4640         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
4641         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
4642         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
4643         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
4644         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
4645         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
4646         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
4647         macro on offset argument.
4648         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
4649         SYSCALL_LL64 on offset argument.
4650         * test-skeleton.c (FAIL_RET): Add macro.
4651         (FAIL_EXIT): Likewise.
4652         (FAIL_EXIT1): Likewise.
4653         (_FAIL): Likewise.
4655 2016-10-07  Florian Weimer  <fweimer@redhat.com>
4657         [BZ #20629]
4658         resolv: Remove RES_USEBSTRING and its implementation.
4659         * resolv/resolv.h (RES_USEBSTRING): Remove.
4660         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
4661         (digitvalue, encode_bitstring, decode_bitstring): Remove.
4662         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
4663         (labellen): Remove extended label types support.
4664         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
4665         * resolv/res_init.c (res_setoptions): Likewise.
4666         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
4668 2016-10-07  Florian Weimer  <fweimer@redhat.com>
4670         resolv: Remove RES_NOIP6DOTINT and its implementation.
4671         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
4672         (RES_NOIP6DOTINT): Remove.
4673         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
4674         handling.
4675         * resolv/res_debug.c (p_option): Likewise.
4676         * resolv/res_init.c (res_setoptions): Likewise.
4677         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
4679 2016-10-07  Florian Weimer  <fweimer@redhat.com>
4681         resolv: Deprecate unimplemented flags.
4682         * misc/sys/cdefs.h (__glibc_macro_warning1)
4683         (__glibc_macro_warning): Define.
4684         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
4685         (RES_KEEPTSIG): Mark as deprecated.
4686         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
4687         RES_NOCHECKNAME, RES_KEEPTSIG.
4688         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
4690 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4692         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
4693         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
4694         Use strong_alias to create symbols for glibc verison 2.19.
4696 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4698         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
4700 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4702         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
4704 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4706         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
4708 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4710         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4711         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
4712         in header for using it as type for ifunc function because __GI_* symbols
4713         for ppc32 do not target the ifunc symbols.
4714         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4716 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4718         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
4719         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
4720         libc_ifunc_hidden_def.
4721         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
4722         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
4723         Redirect ifunced function in header for using it as type of ifunc'ed
4724         function. Redefine libc_hidden_def to use fallback non ifunc'ed
4725         function for __GI_* symbol.
4726         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
4727         * include/libc-symbols.h
4728         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
4730 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4732         [BZ #20478]
4733         * sysdeps/s390/multiarch/ifunc-resolve.h
4734         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
4735         to create ifunc symbols.
4736         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
4737         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
4738         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
4739         for using it as type for ifunc function.
4740         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
4741         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
4742         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
4743         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
4744         * sysdeps/s390/multiarch/strcat.c: Likewise.
4745         * sysdeps/s390/multiarch/strchr.c: Likewise.
4746         * sysdeps/s390/multiarch/strcmp.c: Likewise.
4747         * sysdeps/s390/multiarch/strcpy.c: Likewise.
4748         * sysdeps/s390/multiarch/strcspn.c: Likewise.
4749         * sysdeps/s390/multiarch/strlen.c: Likewise.
4750         * sysdeps/s390/multiarch/strncmp.c: Likewise.
4751         * sysdeps/s390/multiarch/strncpy.c: Likewise.
4752         * sysdeps/s390/multiarch/strnlen.c: Likewise.
4753         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
4754         * sysdeps/s390/multiarch/strrchr.c: Likewise.
4755         * sysdeps/s390/multiarch/strspn.c: Likewise.
4756         * sysdeps/s390/multiarch/wcschr.c: Likewise.
4757         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
4758         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
4759         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
4760         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
4761         * sysdeps/s390/multiarch/wmemset.c: Likewise.
4762         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
4763         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
4764         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
4765         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
4766         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
4767         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
4769 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4771         * include/libc-symbols.h (__ifunc_resolver):
4772         New macro is used by __ifunc* macros.
4773         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
4774         depending on HAVE_GCC_IFUNC.
4775         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
4776         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
4777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4778         Redirect ifunced function in header for using as type for ifunc function.
4779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
4780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
4781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
4782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
4783         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4784         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4785         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4786         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4787         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4788         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4789         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4790         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4791         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4792         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
4795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
4797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4798         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4799         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4800         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4801         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4802         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4803         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4804         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4805         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4806         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4807         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4808         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4809         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4810         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
4811         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
4813         Add libc_hidden_def() and use libc_ifunc_hidden() macro
4814         instead of libc_ifunc() macro.
4815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
4816         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4818 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4820         * config.h.in (HAVE_GCC_IFUNC): New undef.
4821         * configure.ac: Add check if gcc supports attribute ifunc feature.
4822         * configure: Regenerated.
4823         * manual/install.texi: Add recommendation for gcc with
4824         indirect-function support.
4825         * INSTALL: Regenerated.
4827 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
4829         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
4830         macro.
4831         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4832         (__iseqsig): New declaration.
4833         * math/s_iseqsig_template.c: New file.
4834         * math/Versions (__iseqsigf): New libm symbol at version
4835         GLIBC_2.25.
4836         (__iseqsig): Likewise.
4837         (__iseqsigl): Likewise.
4838         * math/libm-test.inc (iseqsig_test_data): New array.
4839         (iseqsig_test): New function.
4840         (main): Call iseqsig_test.
4841         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
4842         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
4843         * manual/libm-err-tab.pl: Update comment on interfaces without
4844         ulps tabulated.
4845         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
4846         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
4847         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
4848         * sysdeps/nacl/libm.abilist: Update.
4849         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4850         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4851         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4852         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4853         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4854         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4855         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4856         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4857         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4858         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4859         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4860         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4862         Likewise.
4863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4864         Likewise.
4865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4866         Likewise.
4867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4868         Likewise.
4869         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4870         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4871         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4872         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4873         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4875         Likewise.
4876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4877         Likewise.
4878         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4879         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4880         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4882 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4884         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
4885         do_sincos_2, sloww, sloww1): Update comments.
4887         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
4888         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
4890         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
4891         K boolean and rename it.
4892         (__sin): Adjust.
4893         (__cos): Adjust.
4895 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
4896             Siddhesh Poyarekar  <siddhesh@sourceware.org>
4898         * manual/nss.texi: Fix typos in the manual.
4900 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
4902         * manual/contrib.texi: Fix typos in the manual.
4904         * manual/maint.texi: Fix typos in the manual.
4906         * manual/install.texi: Fix typos in the manual.
4907         * INSTALL: Regenerated.
4909         * manual/lang.texi: Fix typos in the manual.
4911         * manual/probes.texi: Fix typos in the manual.
4913         * manual/threads.texi: Fix typos in the manual.
4915         * manual/debug.texi: Fix typos in the manual.
4917         * manual/crypt.texi: Fix typos in the manual.
4919         * manual/conf.texi: Fix typos in the manual.
4921         * manual/sysinfo.texi: Fix typos in the manual.
4923         * manual/users.texi: Fix typos in the manual.
4925         * manual/job.texi: Fix typos in the manual.
4927         * manual/process.texi: Fix typos in the manual.
4929         * manual/argp.texi: Fix typos in the manual.
4930         * manual/getopt.texi: Likewise.
4931         * manual/startup.texi: Likewise.
4933         * manual/signal.texi: Fix typos in the manual.
4935         * manual/setjmp.texi: Fix typos in the manual.
4937         * manual/resource.texi: Fix typos in the manual.
4939         * manual/time.texi: Fix typos in the manual.
4941         * manual/arith.texi: Fix typos in the manual.
4943         * manual/math.texi: Fix typos in the manual.
4945         * manual/syslog.texi: Fix typos in the manual.
4947         * manual/terminal.texi: Fix typos in the manual.
4949         * manual/socket.texi: Fix typos in the manual.
4951         * manual/filesys.texi: Fix typos in the manual.
4953         * manual/llio.texi: Fix typos in the manual.
4955         * manual/stdio.text: Fix typos in the manual.
4957 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4959         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
4960         instead of K1.
4962         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
4963         SHIFT_QUADRANT and make it bool.
4964         (do_sincos_2): Likewise.
4965         (sloww): Likewise.
4966         (sloww1): Likewise.
4967         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
4968         (__cos): Likewise.
4970 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4972         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4974 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
4976         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
4977         Define to __WORDSIZE, not conditional on [LONG_MAX ==
4978         0x7fffffffL].
4979         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
4981 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4983         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
4984         inline by __inline__.
4985         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
4986         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
4987         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
4988         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
4989         sigset_t from signal.h.
4990         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
4991         which is already required.
4993 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
4995         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4997 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
4999         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
5000         (struct tcp_repair_window): New type.
5002 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5004         * libio/tst-memstream3.c: Include string.h.
5006 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5008         [BZ #18241]
5009         [BZ #20181]
5010         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
5011         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
5012         write position is at the end the buffer.
5013         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
5014         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
5015         (_IO_str_seekoff): Set correct offset from negative displacement and
5016         set EINVAL for invalid ones.
5017         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
5018         buffer length.
5019         (_IO_wstr_switch_to_get_mode): New function.
5020         (_IO_wstr_seekoff): Set correct offset from negative displacement and
5021         set EINVAL for invalid ones.
5022         * libio/tst-memstream3.c: New file.
5023         * libio/tst-wmemstream3.c: Likewise.
5024         * manual/examples/memstrm.c: Remove warning when priting size_t.
5026 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
5028         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
5029         macro to use __builtin_fma.
5030         * sysdeps/x86_64/fpu/dla.h: Remove file.
5032         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
5033         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
5034         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
5036 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
5038         [BZ #20292]
5039         * elf/Makefile (routines): Add dl-addr-obj.
5040         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
5041         tst-_dl_addr_inside_object.
5042         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
5043         [ifeq (yesyes,$(have-fpie)$(build-shared))]
5044         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
5045         [ifeq (yesyes,$(have-fpie)$(build-shared))]
5046         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
5047         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
5048         * elf/dl-open.c: Likewise.
5049         * elf/dl-addr-obj.c: New file.
5050         * elf/tst-_dl_addr_inside_object.c: New file.
5052 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
5054         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
5055         <bits/iscanonical.h>.
5056         * bits/iscanonical.h: New file.
5057         * math/s_iscanonicall.c: Likewise.
5058         * math/Versions (__iscanonicall): New libm symbol at version
5059         GLIBC_2.25.
5060         * math/libm-test.inc (iscanonical_test_data): New array.
5061         (iscanonical_test): New function.
5062         (main): Call iscanonical_test.
5063         * math/Makefile (headers): Add bits/iscanonical.h.
5064         (type-ldouble-routines): Add s_iscanonicall.
5065         * manual/arith.texi (Floating Point Classes): Document
5066         iscanonical.
5067         * manual/libm-err-tab.pl: Update comment on interfaces without
5068         ulps tabulated.
5069         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
5070         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
5071         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
5072         Likewise.
5073         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
5074         test-iscanonical-ldbl-128ibm.
5075         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
5076         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
5077         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
5078         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
5079         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5080         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5081         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5083         Likewise.
5084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5085         Likewise.
5086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5087         Likewise.
5088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5089         Likewise.
5090         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5091         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5093 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5095         * string/bits/string3.h: Remove C++ style comments.
5097 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5099         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
5100         instead of ternary condition.
5101         (do_sincos_2): Likewise.
5102         (__sin): Likewise.
5103         (__cos): Likewise.
5104         (slow): Likewise.
5105         (sloww): Likewise.
5106         (sloww1): Likewise.
5107         (bsloww): Likewise.
5108         (bsloww1): Likewise.
5110         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
5111         instead of ternary condition.
5112         (do_sin_slow): Likewise.
5113         (do_sincos_1): Likewise.
5114         (do_sincos_2): Likewise.
5115         (__cos): Likewise.
5116         (sloww): Likewise.
5117         (sloww1): Likewise.
5118         (sloww2): Likewise.
5119         (bsloww): Likewise.
5120         (bsloww1): Likewise.
5121         (bsloww2): Likewise.
5123         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
5124         check from here...
5125         (slow2): ... and here...
5126         (__sin): ... to here.
5128 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
5130         * math/math.h
5131         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
5132         Cast argument to its own type.
5133         * math/test-iszero-excess-precision.c: New file.
5134         * math/Makefile (tests): Add test-iszero-excess-precision.
5135         (CFLAGS-test-iszero-excess-precision.c): New variable.
5137 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
5139         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
5140         field, add err field.
5141         (__spawni_child): Report error through err member instead of pipe.
5142         (__spawnix): Likewise.
5144 2016-09-28  Zack Weinberg  <zackw@panix.com>
5146         * scripts/check-installed-headers.sh: Generalize treatment of
5147         sys/elf.h to all target architectures.
5149         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
5150         deleted typedef ucontext_t.
5152 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5154         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
5155         (__INTERNAL_SYSCALL1): Likewise.
5156         (__INTERNAL_SYSCALL2): Likewise.
5157         (__INTERNAL_SYSCALL3): Likewise.
5158         (__INTERNAL_SYSCALL4): Likewise.
5159         (__INTERNAL_SYSCALL5): Likewise.
5160         (__INTERNAL_SYSCALL6): Likewise.
5161         (__INTERNAL_SYSCALL7): Likewise.
5162         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
5163         (__INTERNAL_SYSCALL_NARGS): Likewise.
5164         (__INTERNAL_SYSCALL_DISP): Likewise.
5165         (INTERNAL_SYSCALL_CALL): Likewise.
5166         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
5167         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
5168         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
5169         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
5170         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
5171         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
5172         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
5173         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
5174         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
5175         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
5176         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
5177         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
5178         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
5180 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
5182         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
5183         macro.
5184         * math/libm-test.inc (iszero_test_data): New array.
5185         (iszero_test): New function.
5186         (main): Call iszero_test.
5187         * manual/arith.texi (Floating Point Classes): Document iszero.
5188         * manual/libm-err-tab.pl: Update comment on interfaces without
5189         ulps tabulated.
5191 2016-09-23  Zack Weinberg  <zackw@panix.com>
5193         * scripts/check-installed-headers.sh: New script.
5194         * Rules: In each directory that defines header files to be installed,
5195         run check-installed-headers.sh on them as a special test.
5196         * Makefile: Likewise for the headers installed at top level.
5198         * include/aliases.h, include/alloca.h, include/argz.h
5199         * include/arpa/nameser.h, include/arpa/nameser_compat.h
5200         * include/elf.h, include/envz.h, include/err.h
5201         * include/execinfo.h, include/fpu_control.h, include/getopt.h
5202         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
5203         * include/link.h, include/malloc.h, include/mcheck.h
5204         * include/mntent.h, include/netinet/ether.h
5205         * include/nss.h, include/obstack.h, include/printf.h
5206         * include/pty.h, include/resolv.h, include/rpc/auth.h
5207         * include/rpc/auth_des.h, include/rpc/auth_unix.h
5208         * include/rpc/clnt.h, include/rpc/des_crypt.h
5209         * include/rpc/key_prot.h, include/rpc/netdb.h
5210         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
5211         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
5212         * include/rpc/rpc_msg.h, include/rpc/svc.h
5213         * include/rpc/svc_auth.h, include/rpc/xdr.h
5214         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
5215         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
5216         * include/rpcsvc/ypupd.h, include/shadow.h
5217         * include/stdio_ext.h, include/sys/epoll.h
5218         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
5219         * include/sys/prctl.h, include/sys/profil.h
5220         * include/sys/statfs.h, include/sys/sysctl.h
5221         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
5222         * sysdeps/arm/nacl/include/bits/setjmp.h
5223         * sysdeps/mips/include/sys/asm.h
5224         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
5225         * sysdeps/unix/sysv/linux/include/sys/timex.h
5226         * sysdeps/x86/fpu/include/bits/fenv.h:
5227         Add #ifndef _ISOMAC guard around internal declarations.
5228         Add multiple-inclusion guard if not already present.
5230 2016-09-23  Zack Weinberg  <zackw@panix.com>
5232         * sysdeps/generic/sys/ucontext.h
5233         * sysdeps/arm/sys/ucontext.h
5234         * sysdeps/i386/sys/ucontext.h
5235         * sysdeps/m68k/sys/ucontext.h
5236         * sysdeps/mips/sys/ucontext.h
5237         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
5238         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
5239         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
5240         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
5241         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
5242         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
5243         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5244         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
5245         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
5246         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
5247         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
5248         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
5249         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
5250         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
5251         Include both bits/sigcontext.h and bits/sigstack.h.
5252         Fix grammar error in comment, if present.
5254         * bits/sigstack.h
5255         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
5256         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
5257         * sysdeps/unix/sysv/linux/bits/sigstack.h
5258         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
5259         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
5260         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
5261         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
5262         * bits/sigcontext.h
5263         * sysdeps/mach/hurd/i386/bits/sigcontext.h
5264         * sysdeps/unix/sysv/linux/bits/sigcontext.h
5265         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
5266         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
5267         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
5268         as well as signal.h, if this was not already allowed.  Request
5269         definition of size_t if necessary.  Minimize semantically-null
5270         differences across files.
5272 2016-09-23  Zack Weinberg  <zackw@panix.com>
5274         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
5275         Remove all logic conditional on __need macros.  Move all the
5276         conditionally defined types to their own headers...
5277         * time/bits/types/clock_t.h: Define clock_t here.
5278         * time/bits/types/clockid_t.h: Define clockid_t here.
5279         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
5280         * time/bits/types/struct_timespec.h: Define struct timespec here.
5281         * time/bits/types/struct_timeval.h: Define struct timeval here.
5282         * time/bits/types/struct_tm.h: Define struct tm here.
5283         * time/bits/types/time_t.h: Define time_t here.
5284         * time/bits/types/timer_t.h: Define timer_t here.
5285         * time/Makefile: Install the new headers.
5287         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
5288         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
5289         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
5290         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
5291         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
5292         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
5293         * sysdeps/unix/sysv/linux/bits/resource.h
5294         * sysdeps/unix/sysv/linux/bits/timex.h
5295         * sysdeps/unix/sysv/linux/mips/bits/resource.h
5296         * sysdeps/unix/sysv/linux/net/ppp_defs.h
5297         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
5298         * sysdeps/unix/sysv/linux/sys/acct.h
5299         * sysdeps/unix/sysv/linux/sys/timerfd.h
5300         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
5301         * time/sys/time.h, time/sys/timeb.h
5302         Use the new bits/types headers.
5304         * include/time.h: Remove __need logic.
5305         * include/bits/time.h
5306         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
5307         * include/bits/types/time_t.h, include/bits/types/timer_t.h
5308         * include/bits/types/struct_itimerspec.h
5309         * include/bits/types/struct_timespec.h
5310         * include/bits/types/struct_timeval.h
5311         * include/bits/types/struct_tm.h:
5312         New wrapper headers.
5314 2016-09-23  Zack Weinberg  <zackw@panix.com>
5316         * sysdeps/mach/hurd/net/if_ppp.h
5317         * sysdeps/unix/sysv/linux/net/if_ppp.h:
5318         Only define struct ifpppstatsreq and struct ifpppcstatsreq
5319         if __USE_MISC is defined, to ensure struct ifreq is declared.
5321         * inet/netinet/ether.h: Condition all function prototypes
5322         on __USE_MISC, to ensure struct ether_addr is declared.
5324         * socket/bits/types/struct_osockaddr.h: New header.
5325         * include/bits/types/struct_osockaddr.h: New wrapper.
5326         * socket/Makefile: Install the new header.
5327         * socket/sys/socket.h, inet/protocols/talkd.h:
5328         Refer to bits/types/struct_osockaddr.h for the definition of
5329         struct osockaddr.
5331 2016-09-23  Zack Weinberg  <zackw@panix.com>
5333         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
5334         * inet/protocols/routed.h, inet/protocols/talkd.h
5335         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
5336         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
5337         * sysdeps/generic/netinet/if_ether.h
5338         * sysdeps/generic/netinet/in_systm.h
5339         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
5340         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
5341         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
5342         * sysdeps/mach/hurd/net/if_arp.h
5343         * sysdeps/mach/hurd/net/if_ppp.h
5344         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
5345         * sysdeps/unix/sysv/linux/bits/in.h
5346         * sysdeps/unix/sysv/linux/net/ethernet.h
5347         * sysdeps/unix/sysv/linux/net/if_arp.h
5348         * sysdeps/unix/sysv/linux/net/if_ppp.h
5349         * sysdeps/unix/sysv/linux/net/if_shaper.h
5350         * sysdeps/unix/sysv/linux/net/route.h
5351         * sysdeps/unix/sysv/linux/netinet/if_ether.h
5352         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
5353         * sysdeps/unix/sysv/linux/netinet/if_tr.h
5354         * sysdeps/unix/sysv/linux/netipx/ipx.h
5355         * sysdeps/unix/sysv/linux/sys/acct.h
5356         * include/arpa/nameser.h, include/resolv.h:
5357         Change all uses of u_char to unsigned char,
5358         u_short and ushort to unsigned short, u_int and uint to unsigned int,
5359         u_long and ulong to unsigned long, u_int8_t to uint8_t,
5360         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
5361         and u_int64_t and u_quad_t to uint64_t.
5363         * mach/sys/reboot.h: Remove two casts of integer literals
5364         to the types they already have.
5366         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
5367         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
5368         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
5369         from referring to 'unsigned char' to 'uint8_t' for consistency with
5370         the macro definition below.
5372         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
5373         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
5374         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
5375         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
5376         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
5377         * sysdeps/unix/sysv/linux/sys/acct.h
5378         * include/arpa/nameser.h, include/resolv.h:
5379         Fix indentation disrupted by mechanical edits.
5381         * inet/protocols/talkd.h, resolv/arpa/nameser.h
5382         * sysdeps/generic/netinet/in_systm.h
5383         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
5384         * sysdeps/gnu/netinet/udp.h
5385         * sysdeps/unix/sysv/linux/net/ethernet.h
5386         * sysdeps/unix/sysv/linux/net/if_arp.h
5387         * sysdeps/unix/sysv/linux/net/if_ppp.h
5388         * sysdeps/unix/sysv/linux/net/if_shaper.h
5389         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
5390         * sysdeps/unix/sysv/linux/netinet/if_tr.h
5391         * sysdeps/unix/sysv/linux/netipx/ipx.h
5392         * sysdeps/unix/sysv/linux/sys/acct.h
5393         Include stdint.h for uintNN_t definitions.
5394         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
5396 2016-09-23  Zack Weinberg  <zackw@panix.com>
5398         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
5399         * sysdeps/unix/sysv/linux/netrose/rose.h:
5400         Include sys/socket.h and netax25/ax25.h.
5402         * inet/netinet/icmp6.h, inet/netinet/ip6.h
5403         * resolv/arpa/nameser_compat.h:
5404         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
5406         * sysdeps/unix/sysv/linux/sys/quota.h:
5407         Use __caddr_t instead of caddr_t.
5408         * sysdeps/unix/sysv/linux/sys/timerfd.h:
5409         Use __clockid_t instead of clockid_t.
5411         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
5413         * argp/argp.h: Check whether _LIBC is defined before expanding it.
5414         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
5415         expanding it.
5417         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
5418         Define __glibc_c99_flexarr_available to 1 when the compiler
5419         supports C99-compatible flexible array members, 0 otherwise.
5420         * sysdeps/unix/sysv/linux/bits/socket.h
5421         * sysdeps/mach/hurd/bits/socket.h
5422         * bits/socket.h: Use __glibc_c99_flexarr_available in
5423         definitions of struct cmsghdr and CMSG_DATA.
5425 2016-09-23  Florian Weimer  <fweimer@redhat.com>
5427         * manual/nss.texi (NSS Modules Interface): Adjust function return
5428         type to enum nss_status.  Document errnop argument.  Clarify
5429         h_errnop semantics.  Fix cross-reference formatting.
5430         (NSS Module Function Internals): Mention that *errnop needs to be
5431         set on failure, but not to zero.
5433 2016-09-23  Florian Weimer  <fweimer@redhat.com>
5435         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
5436         (get_random_name): New functions.
5437         (check_wrapper_flags_mode): Use linkat to give the new file a name
5438         determined by get_random_name.
5439         (do_test): Add calls to test open64 and openat64.
5441 2016-09-23  Florian Weimer  <fweimer@redhat.com>
5443         * test-skeleton.c: Remove #include <stdarg.h>.
5445 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
5447         [BZ #19826]
5448         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
5449         initialization of static TLS entries.
5450         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
5451         * nptl/allocatestack.c (init_one_static_tls): Likewise.
5453 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5455         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
5456         _hurd_malloc_fork_prepare.
5457         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
5458         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
5459         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
5460         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
5461         (_hurd_fork_child_hook): Drop malloc_fork_child.
5462         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
5463         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
5464         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
5465         after locking locks (notably hurd_dtable_lock). Call
5466         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
5467         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
5468         __malloc_fork_unlock_child.
5469         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
5471 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
5473         * soft-fp/extendhftf2.c: New.
5474         * soft-fp/fixhfti.c: Likewise.
5475         * soft-fp/fixunshfti.c: Likewise.
5476         * soft-fp/floattihf.c: Likewise.
5477         * soft-fp/floatuntihf.c: Likewise.
5478         * soft-fp/half.h: Likewise.
5479         * soft-fp/trunctfhf2.c: Likewise.
5481 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
5483         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
5484         macro.
5485         * math/libm-test.inc (issubnormal_test_data): New array.
5486         (issubnormal_test): New function.
5487         * manual/arith.texi (Floating Point Classes): Document
5488         issubnormal.
5489         * manual/libm-err-tab.pl: Update comment on interfaces without
5490         ulps tabulated.
5492         * sysdeps/generic/stdint.h: Define
5493         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5494         <bits/libc-header-start.h> instead of including <features.h>.
5495         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
5496         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
5497         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
5498         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
5499         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
5500         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
5501         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
5502         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
5503         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
5504         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
5505         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
5506         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
5507         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
5508         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
5509         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
5510         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
5511         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
5512         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
5513         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
5514         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
5515         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
5516         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
5517         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
5518         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
5519         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
5520         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
5521         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
5522         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
5523         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
5524         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
5525         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
5526         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
5527         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
5528         * manual/arith.texi (Integers): Document these macros for types
5529         specified by width properties.
5530         * manual/lang.texi (Width of Type): Document these macros for
5531         other standard typedefs.
5532         * stdlib/tst-width-stdint.c: New file.
5533         * stdlib/Makefile (tests): Add tst-width-stdint.
5535 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5537         [BZ #20016]
5538         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
5539         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
5540         Move ...
5541         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
5542         ... here, as compatibility symbols in a new file.
5543         * resolv/Makefile (libresolv-routines): Add compat-hooks.
5544         * resolv/res_init.c (__res_vinit): Adjust member names.
5545         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
5546         * resolv/resolv.h (res_sendhookact, res_send_qhook)
5547         (res_send_rhook): Remove.
5548         (struct __res_state): Rename qhook, rhook members.
5550 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5552         malloc: Use __libc_lock wrappers.
5553         * malloc/arena.c (list_lock, free_list_lock): Define using
5554         __libc_lock_define_initialized.
5555         (arena_lock): Adjust formatting.
5556         * malloc/malloc.c (struct malloc_state): Define mutex using
5557         __libc_lock_define.
5558         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
5559         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
5560         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
5561         (mutex_unlock, mutex_trylock): Remove.
5562         (__pthread_initialize): Remove unused macro.
5563         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
5564         (mutex_unlock, mutex_trylock): Remove.
5566 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5568         [BZ #20592]
5569         Remove RR type classification macros.
5570         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
5571         (ns_t_udp_p, ns_t_xfr_p): Remove.
5573 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5575         Remove misleading version information.
5576         * resolv/arpa/nameser.h (__NAMESER): Remove.
5577         * resolv/arpa/nameser_compat.h (__BIND): Remove.
5579 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5581         Remove the always-defined BIND_4_COMPAT macro.
5582         * resolv/arpa/nameser.h: Unconditionally include
5583         <arpa/nameser_compat.h>.
5584         (BIND_4_COMPAT): Remove.
5585         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
5587 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5589         [BZ #20591]
5590         Remove obsolete DNSSEC support.
5591         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
5592         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
5593         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
5594         (ns_verify_tcp, ns_verify_tcp_init): Remove.
5595         (ns_cert_types): Add comment.
5596         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
5597         separately.
5598         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
5599         (dst_s_dns_key_id): Remove.
5600         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
5601         variables.
5603 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5605         [BZ #20524]
5606         * manual/string.texi (String/Array Comparison): Clarify the
5607         strverscmp behavior.
5609 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5611         * test-skeleton.c (xasprintf): Add function.
5612         * io/tst-open-tmpfile.c: New test.
5613         * io/Makefile (tests): Add it.
5615 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5617         Avoid running $(CXX) during build to obtain header file paths.
5618         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
5619         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
5620         * Makerules (cstdlib, cmath): Remove variables.  Use
5621         $(c++-cstdlib-header), $(c++-cmath-header) instead.
5622         * configure: Regenerate.
5624 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5626         * Makeconfig (all-object-suffixes): Include .op only if
5627         $(build-profile).
5629 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5631         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
5632         conditionals.  Do not define PATH_MAX.
5634 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5636         * posix/Makefile (tests): Add tst-spawn3.
5637         * posix/tst-spawn3.c: New file.
5638         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
5639         if it is already opened for open action.
5641         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
5642         all signals when executing the clone vfork child.
5643         (SIGALL_SET): Remove macro.
5645         * nptl/Makefile (tests): Add tst-exec5.
5646         * nptl/tst-exec5.c: New file.
5647         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
5648         asynchronous cancellation.
5650 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5652         * hurd/exc2signal.c: #include <hurd/signal.h>
5653         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
5654         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
5655         accordingly.
5656         * mach/mach_error.c (mach_error): Fix old-style function definition.
5657         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
5659 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5661         * math/Makefile (libm-calls): Remove s_nanF.
5662         (gen-libm-calls): Add s_nanF.
5664         * math/s_nan.c: Refactor into ...
5665         * math/s_nan_template.c: New file.
5667         * math/s_nanf.c: Removed.
5668         * math/s_nanl.c: Removed.
5669         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
5670         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
5672         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
5673         (LDOUBLE_nanl_libm_version): New macro.
5675         * sysdeps/generic/math-type-macros-double.h:
5676         (M_STRTO_NAN): New macro.
5677         * sysdeps/generic/math-type-macros-float.h: Likewise.
5678         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
5680         * sysdeps/generic/math-type-macros.h: Document
5681         M_STRTO_NAN.
5683 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5685         * math/s_nanf.c: Remove __nanf undef.
5686         * math/s_nan.c: Remove __nan undef.
5687         * math/s_nanl.c: Remove __nanl undef.
5689         * sysdeps/generic/math_private.h (__nan): Remove macro
5690         override.
5691         (__nanf): Likewise.
5692         (__nanl): Likewise.
5694 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5696         * math/Makefile (gen-all-calls): New variable.
5697         (generated): Replace gen-libm-calls with gen-all-calls.
5698         (gen-libm-templates.stmp): Likewise.  Also, ensure
5699         the output directory exists or is created and add
5700         dependency on the Makefile.
5701         (calls): Move s_ldexpF into gen-calls.
5702         (gen-calls): New variable.
5704         * math/s_ldexpf.c: Removed.
5705         * math/s_ldexpl.c: Removed.
5706         * math/s_ldexp.c: Refactored into ...
5707         * math/s_ldexp_template.c: New file.
5709         * sysdeps/generic/math-type-macros-double.h: Remove
5710         redundant fall-through definition of declare_mgen_alias.
5711         (declare_mgen_alias_2): New macro.
5713         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
5714         New macro for function aliased to two exported symbols.
5716         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
5717         new template file.
5718         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5720 2016-09-20  Florian Weimer  <fweimer@redhat.com>
5722         * Makeconfig (all-object-suffixes): Remove .og.
5723         * Makerules (elide-routines.og): Remove.
5724         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
5725         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
5726         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
5728 2016-09-20  Florian Weimer  <fweimer@redhat.com>
5730         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
5731         .os objects.
5733 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5735         [BZ #20615]
5736         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
5737         fpu directory by non-fpu.
5738         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
5739         on non-fpu directory from a fpu directory.
5741 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
5743         * include/limits.h: Define
5744         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5745         <bits/libc-header-start.h> instead of including <features.h>.
5746         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
5747         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
5748         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
5749         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
5750         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
5751         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
5752         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
5753         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
5754         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
5755         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
5756         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
5757         * manual/lang.texi (Width of Type): Document these macros.
5758         * stdlib/tst-width.c: New file.
5759         * stdlib/Makefile (tests): Add tst-width.
5761 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5763         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
5764         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
5766 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5768         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
5769         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
5770         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
5772 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5774         [BZ #18243]
5775         * rt/Makefile (test): Add tst-shm-cancel.
5776         * rt/tst-shm-cancel.c: New file.
5777         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
5779         [BZ #18243]
5780         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
5781         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
5782         definition.
5783         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
5784         uncontended case.
5785         * nptl/sem_wait.c (__new_sem_wait): Likewise.
5786         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
5787         (tf): Fix check for uncontended case.
5788         (do_test): Likewise.
5789         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
5790         (tf): Fix check for uncontended case.
5791         (do_test): Likewise.
5792         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
5793         (tf): Fix check for uncontended case.
5794         (do_test): Likewise.
5795         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
5796         (tf): Fix check for uncontended case.
5797         (do_test): Likewise.
5799         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
5800         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
5802         [BZ #15765]
5803         * nptl/Makefile (tests): Add tst-sem16.
5804         * nptl/tst-sem16.c: New file.
5805         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
5807         * nptl/sem_open.c (sem_open): Init pad value to 0.
5808         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
5809         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
5811 2016-09-15  Florian Weimer  <fweimer@redhat.com>
5813         [BZ #20611]
5814         * inet/Makefile (routines): Add inet6_scopeid_pton.
5815         (tests): Add tst-inet6_scopeid_pton.
5816         * inet/inet6_scopeid_pton.c: New file.
5817         * inet/net-internal.h: Likewise.
5818         * inet/tst-inet6_scopeid_pton.c: New test.
5819         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
5820         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
5821         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5823 2016-09-14  Florian Weimer  <fweimer@redhat.com>
5825         Remove support for compiling wrappers with PTW.
5826         * sysdeps/nptl/Makeconfig: Drop ptw- support.
5827         * nptl/Makefile (pthread-compat-wrappers): Define.
5828         (libpthread-routines): Use pthread-compat-wrappers.
5829         * sysdeps/unix/sysv/linux/alpha/Makefile
5830         (libpthread-routines, libpthread-shared-only-routines): Remove
5831         ptw- prefix.
5832         * sysdeps/s390/nptl/Makefile
5833         (libpthread-routines, libpthread-shared-only-routines): Likewise.
5834         * sysdeps/ia64/nptl/Makefile
5835         (libpthread-routines, libpthread-shared-only-routines): Likewise.
5836         * sysdeps/nacl/Makefile (libpthread-routines): Use
5837         pthread-compat-wrappers to filter the routines list instead of the
5838         ptw- prefix.
5840 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5842         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
5843         with L() and remove explicit suffix, convert real literals
5844         which can be equivalentally substituted with integers, and
5845         transform -L(x) to L(-x).
5847         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5848         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5849         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5850         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5851         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5852         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5853         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5854         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5855         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5856         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5857         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5858         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5859         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5860         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5861         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5862         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5863         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5864         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5865         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5866         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5867         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5868         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5869         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5870         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5871         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
5872         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5873         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5874         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5875         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5876         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5877         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5878         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
5879         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5880         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5881         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5882         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5883         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5884         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5885         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5886         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5887         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5888         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5889         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5890         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5891         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5892         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5893         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5894         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
5895         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5896         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5898 2016-09-13  Florian Weimer  <fweimer@redhat.com>
5900         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
5902 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5904         * malloc/Makefile (tests): Remove individual static test names
5905         and just add all of tests-static.
5907         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
5909 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
5911         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
5912         file.
5914         * sysdeps/sparc/fpu/fegetmode.c: New file.
5915         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
5917         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
5918         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
5920         * sysdeps/s390/fpu/fegetmode.c: New file.
5921         * sysdeps/s390/fpu/fesetmode.c: Likewise.
5923         * sysdeps/powerpc/fpu/fegetmode.c: New file.
5924         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
5925         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
5926         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
5927         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
5928         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
5930         * sysdeps/mips/fpu/fegetmode.c: New file.
5931         * sysdeps/mips/fpu/fesetmode.c: Likewise.
5933         * sysdeps/m68k/fpu/fegetmode.c: New file.
5934         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
5936         * sysdeps/ia64/fpu/fegetmode.c: New file.
5937         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
5939         * sysdeps/hppa/fpu/fegetmode.c: New file.
5940         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
5942         * sysdeps/arm/fegetmode.c: New file.
5943         * sysdeps/arm/fesetmode.c: Likewise.
5945         * sysdeps/alpha/fpu/fegetmode.c: New file.
5946         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
5948         * sysdeps/aarch64/fpu/fegetmode.c: New file.
5949         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
5951         * math/fegetmode.c: New file.
5952         * math/fesetmode.c: Likewise.
5953         * sysdeps/i386/fpu/fegetmode.c: Likewise.
5954         * sysdeps/i386/fpu/fesetmode.c: Likewise.
5955         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
5956         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
5957         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
5958         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
5959         declaration.
5960         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
5961         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
5962         typedef.
5963         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5964         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5965         (femode_t): New typedef.
5966         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5967         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5968         (femode_t): New typedef.
5969         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5970         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5971         (femode_t): New typedef.
5972         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5973         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5974         (femode_t): New typedef.
5975         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5976         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5977         (femode_t): New typedef.
5978         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5979         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5980         (femode_t): New typedef.
5981         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5982         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5983         (femode_t): New typedef.
5984         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5985         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5986         (femode_t): New typedef.
5987         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5988         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5989         (femode_t): New typedef.
5990         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5991         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5992         (femode_t): New typedef.
5993         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
5994         declaration.
5995         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5996         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5997         (femode_t): New typedef.
5998         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5999         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6000         (femode_t): New typedef.
6001         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6002         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6003         (femode_t): New typedef.
6004         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6005         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6006         (femode_t): New typedef.
6007         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6008         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6009         (femode_t): New typedef.
6010         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6011         * manual/arith.texi (FE_DFL_MODE): Document macro.
6012         (fegetmode): Document function.
6013         (fesetmode): Likewise.
6014         * math/Versions (fegetmode): New libm symbol at version
6015         GLIBC_2.25.
6016         (fesetmode): Likewise.
6017         * math/Makefile (libm-support): Add fegetmode and fesetmode.
6018         (tests): Add test-femode and test-femode-traps.
6019         * math/test-femode-traps.c: New file.
6020         * math/test-femode.c: Likewise.
6021         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
6022         alias for __fe_dfl_env.
6023         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
6024         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
6025         (__fe_dfl_mode): Likewise.
6026         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
6027         version GLIBC_2.25.
6028         * sysdeps/nacl/libm.abilist: Update.
6029         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6030         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6031         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6032         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6033         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6034         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6035         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6036         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6037         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6038         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6039         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6040         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6042         Likewise.
6043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6044         Likewise.
6045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6046         Likewise.
6047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6048         Likewise.
6049         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6050         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6051         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6052         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6053         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6055         Likewise.
6056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6057         Likewise.
6058         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6059         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6060         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6062 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
6064         [BZ #20495]
6065         [BZ #20508]
6066         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
6067         processors, set Use_dl_runtime_resolve_slow and set
6068         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
6069         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
6070         New.
6071         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
6072         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
6073         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
6074         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
6075         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
6076         if Use_dl_runtime_resolve_opt is set.  Use
6077         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
6078         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
6079         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
6080         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
6081         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
6082         New.
6083         (_dl_runtime_resolve_opt): Likewise.
6084         (_dl_runtime_profile): Define only if _dl_runtime_profile is
6085         defined.
6087 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6089         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
6090         __libc_memalign with "+ RELA R_390_GLOB_DAT".
6092 2016-09-06  Florian Weimer  <fweimer@redhat.com>
6094         Convert malloc to __libc_lock.  Automated part, using this Perl
6095         s/// command:
6096           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
6097             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
6098         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
6099         conversion.
6101 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
6103         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
6104         (linknamespace-symlists-tests): Likewise.
6105         (linknamespace-header-tests): Likewise.
6107 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
6109         [BZ #19810]
6110         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
6111         * elf/tst-noload.c: New test case.
6112         * elf/Makefile (tests): Add tst-noload.
6114 2016-09-02  Roland McGrath  <roland@hack.frob.com>
6116         * sysdeps/nacl/dup.c: Add libc_hidden_def.
6118         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
6119         not any more.
6121         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
6123 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6125         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
6126         (do_cos_slow): Likewise.
6127         (do_sin): Likewise.
6128         (do_sin_slow): Likewise.
6129         (slow): Likewise.
6130         (slow1): Likewise.
6131         (slow2): Likewise.
6132         (sloww): Likewise.
6133         (sloww1): Likewise.
6134         (sloww2): Likewise.
6135         (bsloww): Likewise.
6136         (bsloww1): Likewise.
6137         (bsloww2): Likewise.
6138         (cslow2): Likewise.
6140         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
6142         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
6143         arguments.  Consolidate input partitioning from callers here.
6144         (do_cos_slow): Likewise.
6145         (do_sin): Likewise.
6146         (do_sin_slow): Likewise.
6147         (do_sincos_1): Remove the no longer necessary input partitioning.
6148         (do_sincos_2): Likewise.
6149         (__sin): Likewise.
6150         (__cos): Likewise.
6151         (slow1): Likewise.
6152         (slow2): Likewise.
6153         (sloww1): Likewise.
6154         (sloww2): Likewise.
6155         (bsloww1): Likewise.
6156         (bsloww2): Likewise.
6157         (cslow2): Likewise.
6159 2016-09-02  Florian Weimer  <fweimer@redhat.com>
6161         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
6162         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
6163         outside of allocated array.
6165 2016-09-02  Florian Weimer  <fweimer@redhat.com>
6167         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
6168         instead of MB_CUR_MAX to avoid variable-length array.
6170 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6172         * math/Makefile (libm-calls): Remove k_rem_pio2F.
6173         (type-double-routines): Add k_rem_pio2.
6174         (type-float-routines): Add k_rem_pio2f.
6176         * sysdeps/generic/math_private.h:
6177         (__kernel_rem_pio2l): Removed.
6179         * math/k_rem_pio2l.c: Removed.
6180         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
6181         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
6182         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
6183         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
6185 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6187         * math/Makefile (gen-libm-calls): Add s_fmin
6188         (libm-calls): Remove above.
6190         * math/s_fmin.c: Refactor into ...
6191         * math/s_fmin_template.c: New file.
6193         * math/s_fminf.c: Removed.
6194         * math/s_fminl.c: Removed.
6195         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6196         (LDOUBLE_fmin_libm_version): New macro.
6198         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
6199         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
6201 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6203         * math/Makefile: (gen-libm-calls): Add s_fmax.
6204         (libm-calls): Remove above.
6206         * math/s_fmax.c: Refactor into ...
6207         * math/s_fmax_template.c: New file.
6208         * math/s_fmaxf.c: Removed.
6209         * math/s_fmaxl.c: Removed.
6211         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6212         (LDOUBLE_fmaxl_libm_version): New macro.
6214         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
6215         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
6217         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
6218         s_fmin.c to pick the aarch64 version of the file.
6219         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
6220         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
6222 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6224         * math/Makefile: (gen-libm-calls): Add s_nextdown.
6225         (libm-calls): Remove above.
6227         * math/s_nextdown.c: Refactor into ...
6228         * math/s_nextdown_template.c: New file.
6229         * math/s_nextdownf.c: Removed.
6230         * math/s_nextdownl.c: Removed.
6232         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
6234 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6236         * math/Makefile (gen-libm-calls): Add s_fdim.
6237         (libm-calls): Move to above.
6239         * math/s_fdim.c: Renamed and refactored into to ...
6240         * math/s_fdim_template.c: New file.
6241         * math/s_fdiml.c: Removed.
6242         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
6243         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
6245         * sysdeps/generic/math-type-macros-double.h:
6246         (declare_mgen_alias): Don't declare if already declared.
6247         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
6248         Likewise.
6250         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6251         (declare_mgen_alias): Don't declare if already declared.
6252         (M_LIBM_NEED_COMPAT): Likewise.
6253         (declare_mgen_libm_compat): Likewise.
6254         (LDOUBLE_fdiml_libm_version): New macro.
6256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
6257         Include math/s_fdim.c now that ldbl-opt version is not needed.
6258         (declare_mgen_alias): New macro to disable aliasing.
6260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
6261         (declare_mgen_alias): Likewise.
6262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
6263         (declare_mgen_alias): Likewise.
6264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
6265         (declare_mgen_alias): Likewise.
6266         (M_LIBM_NEED_COMPAT): Likewise.
6268 2016-09-01  Florian Weimer  <fweimer@redhat.com>
6270         [BZ #20525]
6271         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
6272         Include <linux/quota.h>.
6273         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
6274         and btodb.
6275         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
6276         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
6277         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
6278         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
6279         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
6280         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
6281         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
6282         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
6283         types.
6284         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
6285         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
6287 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6289         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
6290         (gammal_positive): Fix spacing.
6291         (__ieee754_gammal_r): Likewise.
6293 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6295         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
6296         (_Float128): Define as long double, always.
6297         (L): Apply long double type suffix, always.
6299         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
6300         _Float128, excepting comments.
6302         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6303         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6304         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6305         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6306         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6307         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6308         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6309         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6310         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6311         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
6312         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6313         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6314         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6315         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6316         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6317         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6318         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6319         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6320         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6321         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6322         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6323         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6324         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6325         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6326         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6327         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6328         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6329         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
6330         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6331         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6332         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6333         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6334         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6335         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6336         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6337         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6338         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6339         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6340         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6341         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6342         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6343         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6344         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6345         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6346         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6347         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6348         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6349         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6350         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6351         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6352         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6353         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6354         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6355         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6356         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
6357         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6358         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6359         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6360         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6361         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6362         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6363         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6364         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6365         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6366         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6367         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
6368         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6369         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6371         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
6372         _Float128, and include math_private.h.
6373         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6375         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
6376         long double semantics.
6377         (_Float128): Likewise.
6378         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
6379         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
6380         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
6381         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
6383 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6385         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
6386         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
6387         * sysdeps/s390/configure: Regenerated.
6388         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
6389         instruction for raising over-/underflow if z196 zarch is supported
6390         by default.
6391         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
6393 2016-08-30  Svante Signell  <svante.signell@gmail.com>
6395         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
6396         it point to a dumb buffer for RPC to fill it.
6398 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6400         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
6401         instead of if/else.
6402         (do_sin_slow): Likewise.
6403         (do_sincos_1): Use fabs instead of if/else.
6404         (do_sincos_2): Likewise.
6405         (__sin): Likewise.
6406         (__cos): Likewise.
6407         (slow2): Likewise.
6408         (sloww): Likewise.
6409         (sloww1): Likewise.  Drop argument M.
6410         (sloww2): Use fabs instead of if/else.
6411         (bsloww): Likewise.
6412         (bsloww1): Likewise.
6413         (bsloww2): Likewise.
6415         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
6416         fall through comment.
6417         (do_sincos_1): Likewise.
6419         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
6420         Consolidate switch cases 0 and 2.
6422 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6424         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
6425         (libm-calls): Remove the above.
6427         * math/s_cexp_template.c: Update using type-generic macros.
6428         * math/s_clog10_template.c: Likewise.
6429         * math/s_cpow_template.c: Likewise.
6430         * math/s_clog_template.c: Likewise.
6431         * math/s_cproj_template.c: Likewise.
6432         * math/s_csqrt_template.c: Likewise.
6434         * math/s_cexp.c: Removed.
6435         * math/s_cexpf.c: Removed.
6436         * math/s_cexpl.c: Removed.
6437         * math/s_clog10.c: Removed.
6438         * math/s_clog10f.c: Removed.
6439         * math/s_clog10l.c: Removed.
6440         * math/s_cpow.c: Removed.
6441         * math/s_cpowf.c: Removed.
6442         * math/s_cpowl.c: Removed.
6443         * math/s_clog.c: Removed.
6444         * math/s_clogf.c: Removed.
6445         * math/s_clogl.c: Removed.
6446         * math/s_cproj.c: Removed.
6447         * math/s_cprojf.c: Removed.
6448         * math/s_cprojl.c: Removed.
6449         * math/s_csqrt.c: Removed.
6450         * math/s_csqrtf.c: Removed.
6451         * math/s_csqrtl.c: Removed.
6453         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
6454         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
6455         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
6456         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
6457         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
6458         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
6460         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
6461         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
6462         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
6463         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
6464         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
6465         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
6466         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
6467         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
6468         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
6469         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
6470         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
6472         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
6473         version.
6475         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
6476         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
6477         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
6478         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
6480 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6482         * s_cexp_template.c: Copy of s_cexp.c.
6483         * s_clog_template.c: Copy of s_clog.c.
6484         * s_clog10_template.c: Copy of s_clog10.c.
6485         * s_cpow_template.c: Copy of s_cpow.c.
6486         * s_cproj_template.c: Copy of s_cproj.c.
6487         * s_csqrt_template.c: Copy of s_csqrt.c.
6489 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6491         [BZ #20517]
6492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
6493         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
6494         exported.
6496 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
6498         * math/fetestexceptflag.c: New file.
6499         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
6500         Stefan Liebler.
6501         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6502         (fetestexceptflag): New function declaration.
6503         * manual/arith.texi (fetestexceptflag): Document function.
6504         * math/Versions (fetestexceptflag): New libm symbol at version
6505         GLIBC_2.25.
6506         * math/Makefile (libm-support): Add fetestexceptflag.
6507         (tests): Add test-fetestexceptflag.
6508         * math/test-fetestexceptflag.c: New file.
6509         * sysdeps/nacl/libm.abilist: Update.
6510         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6511         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6512         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6513         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6514         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6515         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6516         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6517         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6518         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6519         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6520         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6521         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6523         Likewise.
6524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6525         Likewise.
6526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6527         Likewise.
6528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6529         Likewise.
6530         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6531         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6532         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6533         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6534         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6536         Likewise.
6537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6538         Likewise.
6539         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6540         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6541         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6543 2016-08-26  Florian Weimer  <fweimer@redhat.com>
6545         [BZ #20432]
6546         Avoid strong references to malloc-internal symbols when linking
6547         statically, to support statically interposed mallocs.
6548         * include/libc-symbols.h (call_function_static_weak): New macro.
6549         * malloc/Makefile (tests): Add tst-interpose-nothread,
6550         tst-interpose-thread, tst-interpose-static-nothread,
6551         tst-interpose-static-thread.
6552         (tests-static): Add tst-interpose-static-nothread,
6553         tst-interpose-static-thread.
6554         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
6555         tst-interpose-aux-thread.o.
6556         (test-extras): Add tst-interpose-aux-nothread,
6557         tst-interpose-aux-thread.
6558         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
6559         tst-interpose-aux-nothread.o.
6560         (tst-interpose-thread, tst-interpose-static-thread): Link with
6561         tst-interpose-aux-thread.o and libthread.
6562         * malloc/tst-interpose-aux-nothread.c: New file.
6563         * malloc/tst-interpose-aux-thread.c: Likewise.
6564         * malloc/tst-interpose-aux.c: Likewise.
6565         * malloc/tst-interpose-aux.h: Likewise.
6566         * malloc/tst-interpose-nothread.c: Likewise.
6567         * malloc/tst-interpose-skeleton.c: Likewise.
6568         * malloc/tst-interpose-static-nothread.c: Likewise.
6569         * malloc/tst-interpose-static-thread.c: Likewise.
6570         * malloc/tst-interpose-thread.c: Likewise.
6571         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
6572         * sysdeps/mach/hurd/fork.c (__fork): Only call
6573         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
6574         __malloc_fork_unlock_child if defined.
6575         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
6577 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6579         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
6580         timespec C99 designated initialization.
6582 2016-08-26  Florian Weimer  <fweimer@redhat.com>
6584         [BZ #19946]
6585         Avoid expected SIGALRM signals.
6586         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
6587         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
6588         (xpthread_create, xpthread_detach, xpthread_join)
6589         (delayed_exit_thread, delayed_exit): New functions.
6590         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
6591         (tf): Use xpthread_cond_wait.
6592         (do_test): Likewise.  Replace alarm with delayed_exit.
6593         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6594         (do_test): Call delayed_exit.  Report failure.
6595         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6596         (do_test): Call delayed_exit.
6597         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6598         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
6599         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6600         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
6601         error.
6602         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6603         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
6604         error.
6605         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
6606         (do_test): Call delayed_exit.
6607         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
6608         (do_test): Call delayed_exit.
6609         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
6610         (do_test): Call delayed_exit instead of alarm.  Use
6611         xpthread_mutex_lock.
6612         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
6613         (do_test): Call delayed_exit instead of alarm.  Use
6614         xpthread_mutex_lock.
6615         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
6616         (do_test): Call delayed_exit instead of alarm.
6617         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
6618         (do_test): Call delayed_exit instead of alarm.  Use
6619         xpthread_spin_lock.
6620         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
6621         (do_test): Call delayed_exit instead of alarm.  Use
6622         xpthread_join.
6624 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
6626         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
6627         adjust CFA when allocating register save area on re-aligned
6628         stack.
6630 2016-08-26  Florian Weimer  <fweimer@redhat.com>
6632         * string/tst-cmp.c: New test.
6633         * string/Makefile (tests): Add it.
6635 2016-08-25  Mark Wielaard  <mark@klomp.org>
6637         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
6638         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
6639         (check_tree_recurse): Use newly defined accessors.
6640         (check_tree): Likewise.
6641         (maybe_split_for_insert): Likewise.
6642         (__tfind): Likewise.
6643         (__tdelete): Likewise.
6644         (trecurse): Likewise.
6645         (tdestroy_recurse): Likewise.
6646         (__tsearch): Likewise. And add asserts for malloc alignment.
6647         (__twalk): Cast root to node in case CHECK_TREE is defined.
6649 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6651         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
6653 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6655         * math/Makefile (libm-gen-calls): Add
6656         catan, catanh, ctan, ctanh.
6657         (libm-calls): Remove the above.
6659         * math/s_catan_template.c: Update using type-generic macros.
6660         * math/s_catanh_template.c: Likewise.
6661         * math/s_ctan_template.c: Likewise.
6662         * math/s_ctanh_template.c: Likewise.
6664         * math/s_catanf.c: Removed.
6665         * math/s_catan.c: Removed.
6666         * math/s_catanl.c: Removed.
6667         * math/s_catanhf.c: Removed.
6668         * math/s_catanh.c: Removed.
6669         * math/s_catanhl.c: Removed.
6670         * math/s_ctanf.c: Removed.
6671         * math/s_ctan.c: Removed.
6672         * math/s_ctanl.c: Removed.
6673         * math/s_ctanhf.c: Removed.
6674         * math/s_ctanh.c: Removed.
6675         * math/s_ctanhl.c: Removed.
6677         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
6678         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
6679         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
6680         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
6681         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
6682         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
6684         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
6685         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
6686         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
6687         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
6689 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6691         * s_catan_template.c: Copy of s_catan.c.
6692         * s_catanh_template.c: Copy of s_catanh.c.
6693         * s_ctan_template.c: Copy of s_ctan.c.
6694         * s_ctanh_template.c: Copy of s_ctanh.c.
6696 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6698         * math/Makefile (gen-libm-calls): Move
6699         casin, casinh, csin, csinh here.
6700         (libm-calls): Remove the above.
6702         * math/s_casin_template.c: Update using type-generic macros.
6703         * math/s_casinh_template.c: Likewise.
6704         * math/s_csin_template.c: Likewise.
6705         * math/s_csinh_template.c: Likewise.
6706         * math/k_casinh_template.c: Likewise.
6708         * math/s_casinf.c: Removed.
6709         * math/s_casin.c: Removed.
6710         * math/s_casinl.c: Removed.
6711         * math/s_casinh.c: Removed.
6712         * math/s_casinhf.c: Removed.
6713         * math/s_casinhl.c: Removed.
6714         * math/s_csin.c: Removed.
6715         * math/s_csinf.c: Removed.
6716         * math/s_csinl.c: Removed.
6717         * math/s_csinh.c: Removed.
6718         * math/s_csinhf.c: Removed.
6719         * math/s_csinhl.c: Removed.
6720         * math/k_casinh.c: Removed.
6721         * math/k_casinhf.c: Removed.
6722         * math/k_casinhl.c: Removed.
6724         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
6725         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
6726         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
6727         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
6729         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
6730         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
6731         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
6732         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
6733         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
6734         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
6735         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
6736         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
6738         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
6739         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
6740         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
6741         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
6743         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
6744         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
6745         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
6746         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
6748 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6750         * s_casin_template.c: Copy of s_casin.c.
6751         * s_casinh_template.c: Copy of s_casinh.c.
6752         * s_csin_template.c: Copy of s_csin.c.
6753         * s_csinh_template.c: Copy of s_csinh.c.
6754         * k_casinh_template.c: Copy of k_casinh.c.
6756 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6758         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
6760 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6762         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
6763         (mul_split) Remove, rename as mul_splitl, remove
6764         redundant float.h include, and include via mul_splitl.h
6766         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
6767         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6768         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6769         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
6770         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6772         * math/mul_splitl.h: New file.
6774         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
6775         Move into mul_split.h, and remove redundant float.h include.
6777         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
6778         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
6779         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6780         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
6782         * math/mul_split.h: New file.
6784 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6786         * math/Makefile (libm-gen-calls): Move
6787         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
6788         (libm-calls): Remove above.
6790         * math/s_cacos_template.c: Update using type-generic macros.
6791         * math/s_cacosh_template.c: Likewise.
6792         * math/s_ccos_template.c: Likewise.
6793         * math/s_ccosh_template.c: Likewise.
6795         * math/s_cacosf.c: Removed.
6796         * math/s_cacos.c: Removed.
6797         * math/s_cacosl.c: Removed.
6798         * math/s_cacoshf.c: Removed.
6799         * math/s_cacosh.c: Removed.
6800         * math/s_cacoshl.c: Removed.
6801         * math/s_ccosf.c: Removed.
6802         * math/s_ccos.c: Removed.
6803         * math/s_ccosl.c: Removed.
6804         * math/s_ccoshf.c: Removed.
6805         * math/s_ccosh.c: Removed.
6806         * math/s_ccoshl.c: Removed.
6808         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
6809         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
6810         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
6811         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
6812         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
6813         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
6815         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
6816         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
6817         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
6818         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
6820         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
6821         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
6822         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
6823         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
6825 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6827         * s_cacos_template.c: Copy of s_cacos.c.
6828         * s_cacosh_template.c: Copy of s_cacosh.c.
6829         * s_ccos_template.c: Copy of s_ccos.c.
6830         * s_ccosh_template.c: Copy of s_ccosh.c.
6832 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6834         * stdlib/tst-strtod-round-skeleton.c:
6835         Refactored from tst-strtod-round.c.
6837         (L_): New macro to apply literal modifier.
6838         (FNPFX): New macro to select str or wcs prefix.
6839         (CHAR): New macro to choose wchar_t or char.
6840         (STRM): New macro to choose printf for tested character type.
6842         (STRTO): New macro to choose appropriate string -> real function.
6843         (FNPFXS): Stringitized version of FNPFX.
6844         (STR): Support for above macro.
6845         (STRX): Likewise.
6847         (TEST): Update with above macros.
6848         (test): Likewise.
6849         (GEN_ONE_TEST): Likewise.
6850         (test_in_one_mode): Likewise.
6852         * stdlib/tst-strtod-round.c: New file.
6853         * wcsmbs/tst-wcstod-round.c: New file.
6855         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
6856         (tst-wcstod-round): Add libm depencency for fesetround.
6858 2016-08-19  Zack Weinberg  <zackw@panix.com>
6860         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
6862 2016-08-18  Torvald Riegel  <triegel@redhat.com>
6864         [BZ #20477]
6865         * resolv/res_hconf.c (do_init): Use atomic access.
6866         * resolv/res_hconf.h: Add comments.
6867         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
6868         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
6869         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6871 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
6873         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6874         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
6875         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6876         Likewise.
6878 2016-08-18  Florian Weimer  <fweimer@redhat.com>
6880         [BZ #16907]
6881         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
6882         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
6883         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
6884         (__attribute__): Remove definition.
6886 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6888         * sysdeps/ieee754/ldbl-128/e_asinl.c:
6889         Remove unused sqrtl declaration.
6891 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6893         * math/Makefile: (gen-libm-templates.stmp): New rule.
6894         (libm-calls): Move carg conj cimag and cabs into ...
6895         (gen-libm-calls): New variable.
6896         (generated): Inform Make objects from gen-libm-calls
6897         may be generated.
6899         * sysdeps/generic/math-type-macros.h: New file.
6900         * sysdeps/generic/math-type-macros-float.h: Likewise.
6901         * sysdeps/generic/math-type-macros-double.h: Likewise.
6902         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
6903         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
6904         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
6906         * math/cabs.c: Refactor into
6907         * math/cabs_template.c: new file.
6908         * math/cabsf.c: Removed.
6909         * math/cabsl.c: Removed.
6910         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
6911         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
6913         * math/carg.c: Refactor into
6914         * math/carg_template.c: new file.
6915         * math/cargf.c: Removed.
6916         * math/cargl.c: Removed.
6917         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
6918         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
6920         * math/conj.c: Refactor into
6921         * math/conj_template.c: new file.
6922         * math/conjf.c: Removed.
6923         * math/conjl.c: Removed.
6924         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
6925         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
6927         * math/cimag.c: Refactor into
6928         * math/cimag_template.c: new file.
6929         * math/cimagf.c: Removed.
6930         * math/cimagl.c: Removed.
6931         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
6932         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
6934         * math/cimag.c: Refactor into
6935         * math/cimag_template.c: new file.
6936         * math/cimagf.c: Removed.
6937         * math/cimagl.c: Removed.
6938         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
6939         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
6941 2016-08-17  Florian Weimer  <fweimer@redhat.com>
6943         Reduce time to expected nptl/tst-once5 failure.
6944         * nptl/tst-once5.cc (TIMEOUT): Define.
6946 2016-08-17  Florian Weimer  <fweimer@redhat.com>
6948         [BZ #20452]
6949         Avoid additional copies of objects in libc.a in static libraries.
6950         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
6951         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
6952         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
6953         rt-sysdep.
6954         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
6955         Add nptl-sysdep.
6956         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
6957         Add ptw-sysdep.
6958         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
6959         rt-sysdep.
6960         * sysdeps/unix/sysv/linux/alpha/Makefile
6961         (libpthread-shared-only-routines): Add ptw-sysdep,
6962         ptw-sigprocmask, ptw-rt_sigaction.
6963         * sysdeps/unix/sysv/linux/ia64/Makefile
6964         (librt-shared-only-routines): Add rt-sysdep.
6965         * sysdeps/unix/sysv/linux/i386/Makefile
6966         (libpthread-shared-only-routines): Add libc-do-syscall.
6967         * sysdeps/unix/sysv/linux/microblaze/Makefile
6968         (libpthread-shared-only-routines): Add sysdep.
6969         * sysdeps/unix/sysv/linux/powerpc/Makefile
6970         (librt-shared-only-routines): Add rt-sysdep.
6971         (libpthread-shared-only-routines): Add sysdep.
6972         * sysdeps/unix/sysv/linux/s390/Makefile
6973         (librt-shared-only-routines): Add rt-sysdep.
6974         * sysdeps/unix/sysv/linux/sparc/Makefile
6975         (librt-shared-only-routines): Add rt-sysdep.
6976         (libpthread-shared-only-routines): Add sysdep.
6977         * sysdeps/unix/sysv/linux/tile/Makefile
6978         (libpthread-shared-only-routines): Likewise.
6980 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
6982         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
6983         Mask implicit bit out of unpacked value.
6984         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
6985         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
6986         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
6988         * sysdeps/sparc/fpu/fesetexcept.c: New file.
6990         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
6992         * sysdeps/s390/fpu/fesetexcept.c: New file.
6994         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
6995         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
6996         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
6998         * sysdeps/mips/fpu/fesetexcept.c: New file.
7000         * sysdeps/m68k/fpu/fesetexcept.c: New file.
7002         * sysdeps/ia64/fpu/fesetexcept.c: New file.
7004         * sysdeps/hppa/fpu/fesetexcept.c: New file.
7006         * sysdeps/arm/fesetexcept.c: New file.
7008         * sysdeps/alpha/fpu/fesetexcept.c: New file.
7010         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
7012         * math/fesetexcept.c: New file.
7013         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
7014         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
7015         * math/fenv.h: Define
7016         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7017         <bits/libc-header-start.h> instead of including <features.h>.
7018         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
7019         declaration.
7020         * manual/arith.texi (fesetexcept): Document function.
7021         * math/Versions (fesetexcept): New libm symbol at version
7022         GLIBC_2.25.
7023         * math/Makefile (libm-support): Add fesetexcept.
7024         (tests): Add test-fesetexcept and test-fesetexcept-traps.
7025         * math/test-fesetexcept.c: New file.
7026         * math/test-fesetexcept-traps.c: Likewise.
7027         * sysdeps/nacl/libm.abilist: Update.
7028         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7029         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7030         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7031         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7032         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7033         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7034         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7035         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7036         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7037         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7038         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7039         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7041         Likewise.
7042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7043         Likewise.
7044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7045         Likewise.
7046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7047         Likewise.
7048         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7049         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7050         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7051         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7052         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7054         Likewise.
7055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7056         Likewise.
7057         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7058         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7059         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7061 2016-08-16  Florian Weimer  <fweimer@redhat.com>
7063         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
7064         New.
7065         (do_test): Apply default_stack_size_in_mb if not set.
7066         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
7068 2016-08-15  Andreas Schwab  <schwab@suse.de>
7070         [BZ #20435]
7071         CVE-2016-6323
7072         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
7073         as .cantunwind.
7075 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
7077         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
7078         comment from fraiseexcpt.c.
7080         * math/test-fexcept.c (feraiseexcept_exact): New function.
7081         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
7082         (test_except): Likewise.
7084 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
7086         [BZ #20455]
7087         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
7088         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
7089         to be restored.
7091         * math/test-fexcept-traps.c: New file.
7092         * math/test-fexcept.c: Likewise.
7093         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
7094         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
7095         macro.
7096         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
7097         (EXCEPTION_SET_FORCES_TRAP): Likewise.
7099 2016-08-09  Torvald Riegel  <triegel@redhat.com>
7101         * include/atomic.h (atomic_fetch_and_relaxed,
7102         atomic_fetch_and_release, atomic_fetch_or_release,
7103         atomic_fetch_xor_release): New.
7105 2016-08-06  Christian Seiler  <christian@iwakd.de>
7107         [BZ #20444]
7108         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
7109         MACH_PORT_NULL.
7111 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
7113         * math/s_fdim.c: Avoid alias renamed.
7114         * math/s_fdimf.c: Likewise.
7115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7116         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7117         Add s_fdimf-vis3, s_fdim-vis3.
7118         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
7119         (CFLAGS-s_fdim-vis3.c): Likewise.
7120         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
7121         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
7123 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
7125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7126         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7127         Remove s_fdimf-vis3, s_fdim-vis3.
7128         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
7129         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
7130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
7131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
7132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
7133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
7134         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
7135         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
7136         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
7137         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
7139 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
7141         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
7142         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
7143         -Wa,-Av9a -mvis.
7145 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7147         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
7148         LIT() to individual constants in simple expressions
7149         after splitting on spaces.
7150         (_apply_lit): Rename replaced version, and use it to
7151         apply to what appears to be a token.
7153         * math/libm-test.inc: Fix many, many issues with
7154         spacing.
7156 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
7158         * math/math.h: Move comment about <bits/mathdef.h> definitions
7159         above inclusion of <bits/mathdef.h>.  Do not mention
7160         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
7162 2016-08-05  Torvald Riegel  <triegel@redhat.com>
7164         * include/atomic.h (atomic_exchange_relaxed): New.
7166 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
7168         * math/e_scalb.c: Do not include <fenv.h>.
7169         (invalid_fn): Do calculation resulting in NaN instead of raising
7170         FE_INVALID and returning a NaN explicitly.
7171         * math/e_scalbf.c: Do not include <fenv.h>.
7172         (invalid_fn): Do calculation resulting in NaN instead of raising
7173         FE_INVALID and returning a NaN explicitly.
7174         * math/e_scalbl.c: Do not include <fenv.h>.
7175         (invalid_fn): Do calculation resulting in NaN instead of raising
7176         FE_INVALID and returning a NaN explicitly.
7178 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
7180         * po/de.po: Updated from Translation Project.
7181         * po/fi.po: Likewise.
7182         * po/sv.po: Likewise.
7184 2016-08-04  Florian Weimer  <fweimer@redhat.com>
7186         [BZ #20452]
7187         Use sysdep.o from libc.a in static libraries.
7188         * sysdeps/unix/sysv/linux/i386/Makefile
7189         (libpthread-shared-only-routines): Add sysdep.
7190         (librt-shared-only-routines): Likewise.
7192 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
7194         * math/tgmath.h (nextdown): Define if
7195         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
7196         (nextup): Likewise.
7198         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
7199         macro.
7200         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
7201         Document.
7202         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
7203         Document macro.
7204         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
7205         (exp10f): Likewise.
7206         (exp10l): Likewise.
7207         * math/bits/mathcalls.h (exp10): Declare if
7208         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
7210         * manual/arith.texi (nextup): Fix typo in last change.
7212 2016-08-03  Zack Weinberg  <zackw@panix.com>
7214         [BZ #19239]
7215         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
7216         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
7217         define major, minor, and makedev to issue deprecation warnings on use.
7218         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
7219         previously-activated deprecation warnings for these macros and prevent
7220         subsequent inclusions of this header from having any effect.
7221         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
7222         including <sys/sysmacros.h>, and undefine it again afterward.
7224 2016-08-03  Zack Weinberg  <zackw@panix.com>
7226         * sysdeps/generic/sys/sysmacros.h: Delete file.
7227         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
7228         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
7229         * bits/sysmacros.h: ... here; this encoding is now the generic
7230         encoding.  Now defines only the following macros:
7231         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
7232         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
7233         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
7235         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
7236         bits/sysmacros.h and the above new macros to generate the
7237         public implementations of major, minor, and makedev.
7238         * misc/tst-makedev.c: New test.
7239         * include/sys/sysmacros.h: New wrapper.
7241         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
7242         (routines): Add makedev.
7243         (tests): Add tst-makedev.
7244         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
7245         gnu_dev_makedev.
7246         * posix/Makefile (headers): Remove sys/sysmacros.h.
7247         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
7249         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
7250         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
7251         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
7252         * sysdeps/unix/sysv/linux/alpha/libc.abilist
7253         * sysdeps/unix/sysv/linux/arm/libc.abilist
7254         * sysdeps/unix/sysv/linux/hppa/libc.abilist
7255         * sysdeps/unix/sysv/linux/i386/libc.abilist
7256         * sysdeps/unix/sysv/linux/ia64/libc.abilist
7257         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
7258         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
7259         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
7260         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7261         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7262         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7263         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7264         * sysdeps/unix/sysv/linux/nios2/libc.abilist
7265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7269         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
7270         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7271         * sysdeps/unix/sysv/linux/sh/libc.abilist
7272         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
7273         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
7274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
7275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
7276         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
7277         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
7278         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
7279         Add GLIBC_2.25.
7281         * include/features.h (__glibc_clang_prereq): New macro.
7282         * misc/sys/cdefs.h (__glibc_clang_has_extension)
7283         (__attribute_deprecated_msg__): New macros.
7285 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
7287         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
7288         macro.
7289         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
7290         * manual/arith.texi (issignaling): Document as ISO from TS
7291         18661-1:2014.
7292         (nextup): Likewise.
7293         (nextupf): Likewise.
7294         (nextupl): Likewise.
7295         (nextdown): Likewise.
7296         (nextdownf): Likewise.
7297         (nextdownl): Likewise.
7298         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
7299         macro.
7300         * math/math.h: Define
7301         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7302         <bits/libc-header-start.h> instead of including <features.h>.
7303         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
7304         [__USE_GNU].
7305         * math/bits/mathcalls.h (nextdown): Declare if
7306         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
7307         (nextup): Likewise.
7308         (__issignaling): Likewise.
7310 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7312         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
7313         check, and remove __glibc_likely hint
7314         from FP_INFINITE check.
7315         * s_csinhf.c (__csinhf): Likewise.
7317         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
7318         hint from FP_INFINITE check.
7319         * s_csinhl.c (__csinhl): Likewise.
7321 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7323         * math/Makefile (libm-calls): Insert F placeholder into
7324         object names.  Move w_lgamma_compat* routines into
7325         (libm-compat-calls): New variable.
7326         (libm-compat-calls-ldouble-yes): New variable.
7327         (calls): Insert F placeholder.
7328         (generated): Redefine using new type-foreach macro call.
7329         (routines): Likewise.
7331         (types): New variable to hold a list of symbolic names
7332         for each type supported by the target machine.
7333         (libm-routines): Redefine using new types variable.
7334         (type-foreach): macro to replace fooF with the
7335         appropriately suffixed foo for each types.
7337         (type-ldouble-suffix): New variable.
7338         (type-ldouble-routines): Likewise.
7339         (type-ldouble-yes): Likewise.
7340         (type-double-suffix): Likewise.
7341         (type-double-routines): Likewise.
7342         (type-float-suffix): Likewise.
7343         (type-float-routines): Likewise.
7345         (dbl-only-routines): Remove.
7346         (long-c-yes): Likewise.
7347         (long-m-routines): Likewise.
7348         (long-m-support): Likewise.
7349         (long-m-yes): Likewise.
7350         (test-longdouble-yes): Likewise.
7352         (test-float.o): Simplify by increasing the scope of the
7353         recipe which adds libm-test.stmp to the vector types.
7354         (test-ifloat.o): Likewise.
7355         (test-float-finite.o): Likewise.
7356         (test-double.o): Likewise
7357         (test-idouble.o): Likewise.
7358         (test-double-finite.o): Likewise.
7359         (test-ldouble.o): Likewise
7360         (test-ildoubl.o): Likewise.
7361         (test-ldouble-finite.o): Likewise.
7363         (libm-tests): Redefine type tests using foreach and the
7364         list of types in types.
7366         (CPPFLAGS-test-ildoubl.c): Rename to
7367         (CPPFLAGS-test-ildouble.c): New variable
7369         * math/test-ildoubl.c: Rename to
7370         * math/test-ildouble.c: New file.
7372 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7374         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
7375         Use fabsl instead of fabs.
7376         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
7377         Likewise.
7378         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
7379         Add long double suffix to constant to ensure proper
7380         promotion to long double.
7382 2016-08-03  Tom Tromey  <tom@tromey.com>
7384         [BZ #20311]
7385         * nptl_db/Makefile (headers): Add proc_service.h.
7386         * nptl_db/proc_service.h: Add include guard.  Use
7387         __BEGIN/__END_DECLS.
7388         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
7389         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
7390         arguments.
7393 2016-08-03  Florian Weimer  <fweimer@redhat.com>
7395         [BZ #17730]
7396         Avoid using memalign for TCB allocations.
7397         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
7398         (_dl_allocate_tls_storage): Use malloc and manual alignment.
7399         Avoid alignment gap in the TLS_DTV_AT_TP case.
7400         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
7401         determine the pointer to free.
7402         * nptl/tst-tls3-malloc.c: New test.
7403         * nptl/Makefile (tests): Add it.
7404         (tst-tls3-malloc): Link with libdl, libpthread.
7405         (LDFLAGS-tst-tls3-malloc): Set.
7406         (tst-tls3-malloc.out): Depend on DSO used in test.
7408 2016-08-03  Florian Weimer  <fweimer@redhat.com>
7410         [BZ #17730]
7411         Avoid using memalign for TLS allocations.
7412         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
7413         is_static member with to_free member.
7414         (union dtv): Use struct dtv_pointer.
7415         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
7416         dtv_pointer instead of is_static.
7417         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
7418         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
7419         instead of val.
7420         (allocate_dtv_entry): New function.
7421         (allocate_and_init): Return struct dtv_pointer.  Call
7422         allocate_dtv_entry instead of __libc_memalign.
7423         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
7424         instead of val.
7425         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
7426         instead of is_static.  Adjust call to allocate_and_init.
7427         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
7428         struct dtv_pointer instead of val.
7430 2016-08-03  Florian Weimer  <fweimer@redhat.com>
7432         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
7433         (MALLOC_ALIGN_MASK): Move ...
7434         * malloc/malloc-internal.h: ... to here.
7435         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
7437 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
7439         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
7440         (UDP_ENCAP_GTP1U): Likewise.
7442         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
7443         (PF_MAX): Update value.
7444         (AF_QIPCRTR): New macro.
7446 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
7448         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
7449         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7450         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7451         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
7452         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7453         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
7454         s_truncf-vis3, s_trunc-vis3.
7455         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
7456         (CFLAGS-s_ceil-vis3.c): Likewise.
7457         (CFLAGS-s_floorf-vis3.c): Likewise.
7458         (CFLAGS-s_floor-vis3.c): Likewise.
7459         (CFLAGS-s_truncf-vis3.c): Likewise.
7460         (CFLAGS-s_trunc-vis3.c): Likewise.
7461         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
7462         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
7463         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
7464         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
7465         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
7466         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7467         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
7468         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7469         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
7470         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
7471         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
7472         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
7474 2016-08-02  David S. Miller  <davem@davemloft.net>
7476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
7477         (__nearbyint_vis3): Don't check for sNaN before float register is
7478         loaded with the incoming argument.
7479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
7480         (__nearbyintf_vis3): Likewise.
7481         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
7482         Likewise.
7483         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
7484         Likewise.
7486         * string/test-strncmp.c (do_test_limit): Make sure the test data
7487         stream is aligned as required for the type "CHAR".
7488         (do_test): Likewise.
7490 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
7492         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
7493         by beq instructions jumping to the end of the function.
7494         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
7495         clobber list. Use "i" constraint instead of "X".
7496         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
7497         of "X".
7499 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
7501         * bits/libc-header-start.h: New file.
7502         * Makefile (headers): Add bits/libc-header-start.h.
7503         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
7504         (__GLIBC_USE): New macro.
7505         * libio/stdio.h: Define
7506         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7507         <bits/libc-header-start.h> instead of including <features.h>.
7508         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
7509         (open_memstream): Likewise.
7510         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
7511         (__asprintf): Likewise.
7512         (asprintf): Likewise.
7513         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
7514         (getdelim): Likewise.
7515         (getline): Likewise.
7516         * string/string.h: Define
7517         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7518         <bits/libc-header-start.h> instead of including <features.h>.
7519         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
7520         (strndup): Likewise.
7521         * wcsmbs/wchar.h: Define
7522         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7523         <bits/libc-header-start.h> instead of including <features.h>.
7524         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
7525         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
7527 2016-08-02  Florian Weimer  <fweimer@redhat.com>
7529         Support linking against compatibility symbols, for use in tests.
7530         * include/libc-symbols.h (symbol_version_reference): New macro.
7531         (symbol_version): Use it.
7532         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
7533         (compat_symbol): Use compat_symbol_reference.
7534         (compat_symbol_1, compat_symbol_2): Remove.
7535         (compat_symbol_reference, compat_symbol_reference_1)
7536         (compat_symbol_reference_2): New macro.  Use
7537         symbol_version_reference.
7539 2016-08-02  Florian Weimer  <fweimer@redhat.com>
7541         [BZ #19469]
7542         * malloc/Makefile (CPPFLAGS): Compile tests with
7543         -DTEST_NO_MALLOPT.
7544         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
7546 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
7548         [BZ #20033]
7549         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
7550         finite version.
7551         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
7552         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
7553         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
7554         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
7555         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
7556         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
7557         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
7558         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
7559         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
7560         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
7561         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
7562         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
7563         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
7564         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
7565         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
7566         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
7567         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
7568         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
7569         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
7570         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
7571         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
7572         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
7573         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
7574         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
7575         in zero power.
7577 2016-08-02  Florian Weimer  <fweimer@redhat.com>
7579         [BZ #20370]
7580         * malloc/arena.c (get_free_list): Update comment.  Assert that
7581         arenas on the free list have no attached threads.
7582         (remove_from_free_list): New function.
7583         (reused_arena): Call it.
7585 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
7587         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
7588         when it is a NaN.
7589         [_IEEE_FP_INEXACT] Remove.
7590         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
7591         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
7592         when it is a NaN.
7593         [_IEEE_FP_INEXACT] Remove.
7594         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
7595         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
7596         when it is a NaN.
7597         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
7598         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
7599         when its absolute value is greater than 0x1.0p52.
7600         [_IEEE_FP_INEXACT] Remove.
7601         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
7602         when its absolute value is greater than 0x1.0p23.
7603         [_IEEE_FP_INEXACT] Remove.
7605 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
7607         * version.h (RELEASE): Set to "development"
7608         (VERSION): Set to 2.24.90.
7609         * NEWS: Add 2.25 section.
7611         * version.h (RELEASE): Set to "stable"
7612         (VERSION): Set to 2.24.
7613         * include/features.h (__GLIBC_MINOR__): Set to 24.
7615         * NEWS: Add 2.24 fixed bugs.
7616         * po/libc.pot: Regenerate.
7618 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
7620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7621         [$(subdir) = math] (libm-sysdep_routines): Remove.
7622         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7623         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
7624         s_truncf-vis3, s_trunc-vis3.
7625         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
7627         file.
7628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
7629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
7630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
7631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
7634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
7635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
7637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
7638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
7639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
7640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
7641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
7642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
7643         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7644         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7645         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7646         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
7647         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
7648         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
7649         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
7650         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7651         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7652         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
7653         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7654         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7655         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
7656         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7657         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7658         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
7659         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7660         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7661         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
7662         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
7663         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
7664         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
7665         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7666         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7667         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
7668         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
7669         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
7670         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
7672 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
7674         [BZ #20384]
7675         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
7676         test-double-libmvec-sincos-avx-main.o,
7677         test-double-libmvec-sincos-avx2-main.o,
7678         test-double-libmvec-sincos-main.o,
7679         test-float-libmvec-sincosf-avx-main.o,
7680         test-float-libmvec-sincosf-avx2-main.o and
7681         test-float-libmvec-sincosf-main.o.
7682         test-float-libmvec-sincosf-avx512-main.o.
7683         ($(objpfx)test-double-libmvec-sincos): Also link with
7684         $(objpfx)test-double-libmvec-sincos-main.o.
7685         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
7686         $(objpfx)test-double-libmvec-sincos-avx-main.o.
7687         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
7688         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
7689         ($(objpfx)test-float-libmvec-sincosf): Also link with
7690         $(objpfx)test-float-libmvec-sincosf-main.o.
7691         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
7692         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
7693         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
7694         test-double-libmvec-sincos-avx512-main.o and
7695         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
7696         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
7697         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
7698         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
7699         (CFLAGS-test-double-libmvec-sincos.c): Removed.
7700         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
7701         (CFLAGS-test-double-libmvec-sincos-main.c): New.
7702         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
7703         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
7704         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
7705         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
7706         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
7707         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
7708         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
7709         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
7710         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
7711         -DREQUIRE_AVX2.
7712         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
7713         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
7714         -DREQUIRE_AVX512F.
7715         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
7716         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
7717         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
7718         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
7719         file.
7720         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
7721         Likewise.
7722         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
7723         Likewise.
7724         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
7725         Likewise.
7726         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
7727         Likewise.
7728         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
7729         Likewise.
7730         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
7731         Likewise.
7732         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
7733         Likewise.
7735 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
7737         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
7739 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
7741         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
7742         and typo in a comment about AT_HWCAP entry.
7744 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7746         * sysdeps/aarch64/libm-test-ulps: Updated.
7748 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7750         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
7751         of r13 as it is not restored in mvcle case.
7753 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
7755         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
7756         Rename "ret" to "__ret".
7757         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
7758         inline_syscall5, inline_syscall6): Likewise.
7760 2016-07-19   Will Newton  <will.newton@gmail.com>
7762         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
7763         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
7764         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
7765         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
7766         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
7768 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
7770         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
7771         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
7772         -mfpmath=387 with $(rtld-CFLAGS).
7773         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
7774         $(rtld-CFLAGS).
7776 2016-07-18   Ross Burton  <ross.burton@intel.com>
7777              Khem Raj  <raj.khem@gmail.com>
7779         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
7780         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
7781         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
7782         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
7783         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
7784         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
7785         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
7786         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
7787         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
7788         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
7789         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
7790         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
7791         R_METAG_TLS_DTPOFF): New.
7793 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7794             Matt Clay  <mclay@lycos.com>
7796         [BZ #20357]
7797         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
7798         to call __mpsin/__mpcos and to negate values.
7799         * math/auto-libm-test-in: Add test.
7800         * math/auto-libm-test-out: Regenerate.
7802 2016-07-18  Zack Weinberg  <zackw@panix.com>
7804         * grp/Makefile: Don't install the internal header grp-merge.h.
7806 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7808         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7810 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7812         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
7814 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7816         [BZ #15368]
7817         * sysdeps/unix/sysv/linux/nptl-signals.h
7818         (__nptl_clear_internal_signals): New function.
7819         (__libc_signal_block_all): Likewise.
7820         (__libc_signal_block_app): Likewise.
7821         (__libc_signal_restore_set): Likewise.
7822         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
7823         implementation.
7824         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
7825         the cached pid/tid value in pthread structure.
7827 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
7829         [BZ #20347]
7830         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
7832 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
7834         [BZ #20348]
7835         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
7836         preadv64, pwrite64 and pwritev64.
7838 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
7840         [BZ #20350]
7841         * posix/tst-preadwrite.c: Renamed to ...
7842         * posix/tst-preadwrite-common.c: This.
7843         (PREAD): Removed.
7844         (PWRITE): Likewise.
7845         (STRINGIFY): Likewise.
7846         (STRINGIFY2): Likewise.
7847         (do_prepare): Make it static and remove function arguments.
7848         (do_test): Likewise.
7849         (PREPARE): Updated.
7850         (TEST_FUNCTION): New.
7851         (name): Make it static.
7852         (fd): Likewise.
7853         (do_prepare): Use create_temp_file.
7854         (do_test): Renamed to ...
7855         (do_test_with_offset): This.  Make it static and accept offset.
7856         Properly check return value of PWRITE and PREAD.  Return bytes
7857         read.  Don't close fd nor unlink name.
7858         * posix/tst-preadwrite.c: Rewrite.
7859         * posix/tst-preadwrite64.c: Likewise.
7861 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
7863         [BZ #20309]
7864         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
7865         -mtls-dialect=gnu2 works.
7866         * configure: Regenerated.
7867         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
7868         (tests): Add tst-gnu2-tls1.
7869         (modules-names): Add tst-gnu2-tls1mod.
7870         ($(objpfx)tst-gnu2-tls1): New.
7871         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
7872         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
7873         * elf/tst-gnu2-tls1.c: New file.
7874         * elf/tst-gnu2-tls1mod.c: Likewise.
7875         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
7876         bytes for push in the PLT entry to align the stack.
7878 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
7880         [BZ #20349]
7881         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
7883 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7885         [BZ #18707]
7886         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
7887         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
7889 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7891         * sysdeps/unix/sysv/linux/sysdep.h
7892         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
7893         guards.
7894         * misc/tst-preadvwritev-common.c: New file.
7895         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
7896         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
7897         a check for files larger than 2GB.
7899         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7900         (__ASSUME_OFF_DIFF_OFF64): Remove define.
7901         * sysdeps/unix/sysv/linux/pread.c
7902         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
7903         __OFF_T_MATCHES_OFF64_T.
7904         * sysdeps/unix/sysv/linux/pread64.c
7905         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
7906         * sysdeps/unix/sysv/linux/preadv.c
7907         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
7908         * sysdeps/unix/sysv/linux/preadv64.c
7909         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
7910         * sysdeps/unix/sysv/linux/pwrite.c
7911         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
7912         * sysdeps/unix/sysv/linux/pwrite64.c
7913         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
7914         * sysdeps/unix/sysv/linux/pwritev.c
7915         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
7916         * sysdeps/unix/sysv/linux/pwritev64.c
7917         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
7919 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
7921         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7922         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
7924 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
7926         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
7928 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
7930         [BZ #20240]
7931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
7932         (CFLAGS-s_modf-ppc32.c): New variable.
7933         (CFLAGS-s_modff-ppc32.c): Likewise.
7934         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
7935         (CFLAGS-s_modf-ppc64.c): Likewise.
7936         (CFLAGS-s_modff-ppc64.c): Likewise.
7938 2016-07-07  Andreas Schwab  <schwab@suse.de>
7940         [BZ #20263]
7941         * nptl/tst-robust10.c: New test.
7942         * nptl/Makefile (tests): Add tst-robust10.
7944 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
7946         [BZ #20263]
7947         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
7949 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
7951         * sysdeps/s390/linkmap.h (struct link_map_machine):
7952         Remove member gotplt and add member jmprel.
7953         * sysdeps/s390/s390-32/dl-machine.h
7954         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
7955         instead of gotplt with &got[3].
7956         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
7957         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7959 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
7961         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
7963 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7965         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
7966         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
7967         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
7968         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
7969         * libio/vtables.c (_IO_vtable_check)
7970         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
7971         * libio/libioP.h (IO_set_accept_foreign_vtables)
7972         [!PTR_MANGLE]: Do not call PTR_MANGLE.
7974 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
7976         [BZ #20314]
7977         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
7978         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
7979         $(common-objpfx)cmath.
7980         ($(common-objpfx)cstdlib): New target.
7981         ($(common-objpfx)cmath): Likewise.
7983 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
7985         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
7987 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7989         [BZ #20327]
7990         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
7991         are not part of the string.
7993 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7995         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
7996         * nptl/tst-cancel4-common.h (fifoname): New variable.
7997         (fifofd): Likewise.
7998         (cl_fifo): New function.
7999         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
8000         SIGINT.
8001         (tf_open): Add early cancel test.
8003 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
8005         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
8007 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
8009         * sysdeps/generic/ldsodefs.h
8010         (dl_symbol_visibility_binds_local_p): New inline function.
8011         * elf/dl-addr.c (determine_info): Treat hidden and internal
8012         symbols as local.
8013         * elf/dl-lookup.c (do_lookup_x): Likewise.
8014         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
8016 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
8018         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
8019         invalid exception for a sNaN input.
8020         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8021         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
8022         (__nearbyint_vis3): Likewise
8023         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
8024         (__nearbyintf_vis3): Likewise
8025         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
8026         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8027         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
8028         Likewise.
8029         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
8030         Likewise.
8032 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
8034         [BZ #20139]
8035         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
8036         (HAVE_AVX512DQ_ASM_SUPPORT): This.
8037         * sysdeps/x86_64/configure.ac: Require assembler from binutils
8038         2.24 or above.
8039         (HAVE_AVX512_ASM_SUPPORT): Removed.
8040         (HAVE_AVX512DQ_ASM_SUPPORT): New.
8041         * sysdeps/x86_64/configure: Regenerated.
8042         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
8043         check unconditional.
8044         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
8045         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8046         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8047         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
8048         Likewise.
8049         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8050         Likewise.
8051         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
8052         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
8053         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8054         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8055         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8056         Likewise.
8057         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8058         Likewise.
8059         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8060         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8061         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
8062         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
8063         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
8064         Likewise.
8065         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
8066         Likewise.
8067         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
8068         Likewise.
8069         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
8070         Likewise.
8071         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
8072         Likewise.
8073         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
8074         Likewise.
8075         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
8076         Likewise.
8077         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
8078         Likewise.
8079         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
8080         Likewise.
8081         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
8082         Likewise.
8083         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
8084         Likewise.
8086 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
8088         [BZ #20024]
8089         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
8090         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
8091         of this implementation of vector function.
8092         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
8093         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
8094         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
8095         Likewise.
8096         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
8097         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
8098         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
8099         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
8100         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
8101         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
8102         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
8103         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
8104         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
8105         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
8106         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
8107         for testing vector sincos with fixed ABI.
8108         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8109         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8110         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8111         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
8112         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8113         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8114         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8115         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
8116         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
8117         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
8118         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
8119         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
8120         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
8121         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
8122         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
8123         * sysdeps/x86_64/fpu/Makefile: Added new tests.
8125 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
8127         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
8129 2016-06-30  Anton Blanchard  <anton@samba.org>
8131         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8132         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
8133         s_sinf-ppc64.
8134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
8135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8137         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8139 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8141         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8142         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8143         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
8144         e_expf-ppc64.
8145         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
8146         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
8147         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
8148         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
8150 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
8152         [BZ #20277]
8153         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
8154         when SHARED is defined.
8156 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
8158         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
8159         (index_arch_Prefer_ERMS): Likewise.
8160         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
8161         __memcpy_erms for Prefer_ERMS.
8162         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8163         (__memmove_erms): Enabled for libc.a.
8164         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
8165         __memmove_erms or Prefer_ERMS.
8166         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
8167         __mempcpy_erms for Prefer_ERMS.
8168         * sysdeps/x86_64/multiarch/memset.S (memset): Return
8169         __memset_erms for Prefer_ERMS.
8171 2016-06-30  Andreas Schwab  <schwab@suse.de>
8173         [BZ #20262]
8174         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
8175         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
8176         of memory.
8178 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
8180         [BZ #18645]
8181         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
8182         (test-extras): Add tst-cleanupx4aux.
8183         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
8184         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
8185         tst-cleanupx4aux.o.
8186         * nptl/tst-cleanupx4aux.c: New file.
8188 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
8190         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8192 2016-06-29  Andreas Schwab  <schwab@suse.de>
8194         [BZ #20260]
8195         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
8196         address before the beginning of the string as an integer to avoid
8197         array-bounds warning.
8199 2016-06-28  Richard Henderson  <rth@redhat.com>
8201         * elf/elf.h (EM_BPF): New.
8202         (EM_NUM): Update.
8203         (R_BPF_NONE, R_BPF_MAP_FD): New.
8205         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
8206         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
8207         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
8208         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
8209         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
8210         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
8211         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
8212         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
8213         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
8214         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
8215         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
8216         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
8217         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
8218         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
8219         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
8220         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
8221         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
8222         (EM_NUM): Update.
8224 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
8226         [BZ #18960]
8227         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
8228         Set _nl_current_LC_CATEGORY_used to two instead of one.
8230 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
8232         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
8233         (do_test): ... this.
8234         (TEST_FUNCTION): New macro.
8235          Include test-skeleton.c.
8236         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
8237         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
8239 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
8241         [BZ #15479]
8242         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
8243         floating-point environment rather than just control word.
8244         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8245         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
8246         floating-point environment, with "invalid" exceptions merged in,
8247         rather than just control word.
8248         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
8249         * math/libm-test.inc (trunc_test_data): Do not allow spurious
8250         "inexact" exceptions.
8252         [BZ #15479]
8253         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
8254         floating-point environment rather than just control word.
8255         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8256         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
8257         floating-point environment, with "invalid" exceptions merged in,
8258         rather than just control word.
8259         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
8260         * math/libm-test.inc (floor_test_data): Do not allow spurious
8261         "inexact" exceptions.
8263         [BZ #15479]
8264         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
8265         floating-point environment rather than just control word.
8266         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8267         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
8268         floating-point environment, with "invalid" exceptions merged in,
8269         rather than just control word.
8270         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
8271         * math/libm-test.inc (ceil_test_data): Do not allow spurious
8272         "inexact" exceptions.
8274 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
8276         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
8277         __libc_vfork.
8278         (__vfork) [IS_IN (libc)]: Remove alias.
8279         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
8280         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8281         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8283 2016-06-24  Torvald Riegel  <triegel@redhat.com>
8285         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
8286         of atomic_compare_and_exchange_bool_rel.
8287         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8288         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
8289         catomic_compare_and_exchange_bool_rel): Remove.
8290         * sysdeps/aarch64/atomic-machine.h
8291         (atomic_compare_and_exchange_bool_rel): Likewise.
8292         * sysdeps/alpha/atomic-machine.h
8293         (atomic_compare_and_exchange_bool_rel): Likewise.
8294         * sysdeps/arm/atomic-machine.h
8295         (atomic_compare_and_exchange_bool_rel): Likewise.
8296         * sysdeps/mips/atomic-machine.h
8297         (atomic_compare_and_exchange_bool_rel): Likewise.
8298         * sysdeps/microblaze/atomic-machine.h
8299         ( __arch_compare_and_exchange_bool_8_rel,
8300         __arch_compare_and_exchange_bool_16_rel): Likewise.
8301         * sysdeps/powerpc/atomic-machine.h
8302         ( __arch_compare_and_exchange_bool_8_rel,
8303         __arch_compare_and_exchange_bool_16_rel): Likewise.
8304         * sysdeps/powerpc/powerpc32/atomic-machine.h
8305         ( __arch_compare_and_exchange_bool_32_rel,
8306         __arch_compare_and_exchange_bool_64_rel): Likewise.
8307         * sysdeps/powerpc/powerpc64/atomic-machine.h
8308         ( __arch_compare_and_exchange_bool_32_rel,
8309         __arch_compare_and_exchange_bool_64_rel): Likewise.
8310         * sysdeps/tile/atomic-machine.h
8311         (atomic_compare_and_exchange_bool_rel): Likewise.
8313 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
8315         [BZ #20296]
8316         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
8317         when either argument is a NaN.
8318         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8319         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
8321         * math/libm-test.inc (snan_value_ld): New macro.
8322         (isgreater_test_data): Add sNaN tests.
8323         (isgreaterequal_test_data): Likewise.
8324         (isless_test_data): Likewise.
8325         (islessequal_test_data): Likewise.
8326         (islessgreater_test_data): Likewise.
8327         (isunordered_test_data): Likewise.
8328         (nextafter_test_data): Likewise.
8329         (nexttoward_test_data): Likewise.
8330         (remainder_test_data): Likewise.
8331         (remquo_test_data): Likewise.
8332         (significand_test_data): Likewise.
8333         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
8335 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8337         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
8338         environment macros are defined.
8339         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
8341 2016-06-23  Florian Weimer  <fweimer@redhat.com>
8343         [BZ #20191]
8344         Implement vtable verification in libio.
8345         * Makerules (shlib.lds): Place __libc_IO_vtables section.
8346         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
8347         * debug/vdprintf_chk.c (__vdprintf_chk): Call
8348         _IO_new_file_init_internal instead of _IO_file_init.
8349         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
8350         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
8351         * libio/Makefile (routines): Add vtables.
8352         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
8353         (_IO_init): Remove, not for internal use.
8354         (_IO_init_internal): Declare, internal replacement for _IO_init.
8355         (_IO_file_init): Remove, not for internal use.
8356         (_IO_new_file_init): Remove, not for internal use.
8357         (_IO_new_file_init_internal): Declare, internal replacement for
8358         _IO_new_file_init.
8359         (_IO_old_file_init): Remove, not for internal use.
8360         (_IO_old_file_init_internal): Declare, internal replacement for
8361         _IO_old_file_init.
8362         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
8363         internal use.
8364         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
8365         Declare.
8366         (libio_vtable): New macro.
8367         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
8368         functions.
8369         * libio/fileops.c (_IO_new_file_init_internal): Rename from
8370         _IO_new_file_init.
8371         (_IO_new_file_init): New externally visible wrapper which disables
8372         vtable verification.
8373         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
8374         Define as vtables.
8375         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
8376         (_IO_init): New externally visible wrapper which disables
8377         vtable verification.
8378         * libio/iofdopen.c (_IO_new_fdopen): Call
8379         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
8380         comment.
8381         * libio/iofopen.c (__fopen_internal): Call
8382         _IO_new_file_init_internal instead of _IO_file_init.
8383         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
8384         Define as vtables.
8385         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
8386         _IO_new_file_init_internal instead of _IO_file_init.
8387         * libio/iopopen.c (_IO_new_popen): Likewise.
8388         (_IO_proc_jumps): Define as vtable.
8389         * libio/iovdprintf.c (_IO_vdprintf): Call
8390         _IO_new_file_init_internal instead of _IO_file_init.
8391         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
8392         (__open_memstream): Call _IO_init_internal instead of _IO_init.
8393         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
8394         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
8395         _IO_old_file_init.
8396         (_IO_old_file_init): New externally visible wrapper which disables
8397         vtable verification.
8398         (_IO_old_file_jumps): Define as vtable.
8399         * libio/oldiofdopen.c (_IO_old_fdopen): Call
8400         _IO_old_file_init_internal instead of _IO_old_file_init.
8401         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
8402         * libio/oldiopopen.c (_IO_old_popen): Likewise.
8403         (_IO_old_proc_jumps): Define as vtable.
8404         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
8405         Define as vtables.
8406         * libio/vtables.c: New file.
8407         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
8408         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
8409         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
8410         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
8411         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
8412         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
8413         instead of _IO_init.
8415 2016-06-23  Florian Weimer  <fweimer@redhat.com>
8417         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
8419 2016-06-23  Florian Weimer  <fweimer@redhat.com>
8421         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
8422         potentially unused.
8424 2016-06-22  Florian Weimer  <fweimer@redhat.com>
8426         * test-skeleton.c (write_message): New function.
8427         * malloc/tst-mallocfork2.c (write_message): Remove.
8428         * debug/tst-longjmp_chk2.c (write_indented): New function.
8429         (write_message): Remove.
8430         (stackoverflow_handler): Call write_indented.
8432 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
8434         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
8435         "inexact" exceptions after fnstenv.
8436         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8437         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8438         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8440 2015-06-22  Zack Weinberg  <zackw@panix.com>
8442         * sysdeps/generic/bits/hwcap.h: Moved to ...
8443         * bits/hwcap.h: Here.
8445 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
8447         * sysdeps/aarch64/memcpy.S (memcpy):
8448         Further tuning for performance.
8450 2016-06-21  Florian Weimer  <fweimer@redhat.com>
8452         [BZ #20284]
8453         * malloc/arena.c (reused_arena): Do not return NULL if we start
8454         out with a non-corrupted arena.
8456 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8458         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
8459         * misc/tst-preadvwritev.c: New file.
8460         * misc/tst-preadvwritev64.c: Likewise.
8461         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
8462         usage.
8463         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
8464         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
8465         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
8466         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
8468 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
8470         [BZ #19654]
8471         * sysdeps/x86_64/fpu/Makefile: Added new tests.
8472         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
8473         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
8474         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
8475         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
8476         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
8477         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
8478         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
8479         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
8480         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
8481         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
8482         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
8483         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
8484         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
8485         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
8486         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
8487         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
8488         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
8489         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
8490         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
8491         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
8492         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
8493         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
8494         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
8495         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
8496         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
8498 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
8500         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
8501         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
8503 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
8505         * sysdeps/aarch64/memcpy.S (memcpy):
8506         Rewrite of optimized memcpy and memmove.
8507         * sysdeps/aarch64/memmove.S (memmove): Remove
8508         memmove code (merged into memcpy.S).
8510 2016-06-20  Florian Weimer  <fweimer@redhat.com>
8512         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
8513         * sysdeps/generic/dl-dtv.h: New file.
8514         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8515         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
8516         (dtv_t): Remove.
8517         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8518         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
8519         (dtv_t): Remove.
8520         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8521         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
8522         (dtv_t): Remove.
8523         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8524         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
8525         (dtv_t): Remove.
8526         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8527         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
8528         (dtv_t): Remove.
8529         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8530         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
8531         (dtv_t): Remove.
8532         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8533         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
8534         (dtv_t): Remove.
8535         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
8536         (dtv_t): Remove.
8537         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8538         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
8539         (dtv_t): Remove.
8540         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8541         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
8542         (dtv_t): Remove.
8543         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8544         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
8545         (dtv_t): Remove.
8546         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8547         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
8548         (dtv_t): Remove.
8549         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8550         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
8551         (dtv_t): Remove.
8552         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8553         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
8554         (dtv_t): Remove.
8555         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8556         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
8557         (dtv_t): Remove.
8558         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8559         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
8560         (dtv_t): Remove.
8562 2016-06-20  Florian Weimer  <fweimer@redhat.com>
8564         Revert symbol poisoning of  __malloc_initialize_hook.
8565         * include/stdc-predef.h (__malloc_initialize_hook): Remove
8566         poisoning.
8567         * malloc/Makefile: Remove un-poisoning.
8568         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
8569         instead of old__malloc_initialize_hook.
8570         * malloc/malloc-hooks.h: Likewise.
8571         * malloc/malloc.c: Likewise.
8572         * malloc/mcheck-init.c: Likewise.
8574 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
8576         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
8578 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
8580         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
8581         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
8582         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8583         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8585 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8587         * NEWS: Mention addition of nextup and nextdown.
8588         * manual/arith.texi: Document nextup and nextdown.
8589         * manual/libm-err-tab.pl: Add nextup and nextdown.
8590         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
8591         * math/Versions (libm): Add GLIBC_2.24.
8592         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
8593         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
8594         Add new test.
8595         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
8596         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
8597         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
8598         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
8599         (nextup_test_data): Likewise.
8600         (nextdown_test_data): Likewise.
8601         * math/s_nextdown.c: New file.
8602         * math/s_nextdownf.c: Likewise.
8603         * math/s_nextdownl.c: Likewise.
8604         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
8605         F(nextup): New function.
8606         F(nextdown): Likewise.
8607         * math/tgmath.h: Add nextup and nextdown.
8608         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
8609         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
8610         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
8611         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
8612         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
8613         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
8614         Add nextup and nextdown.
8615         (CFLAGS-nldbl-nextup.c): New variable.
8616         (CFLAGS-nldbl-nextdown.c): Likewise.
8617         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
8618         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
8619         * sysdeps/nacl/libm.abilist: Update.
8620         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8621         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8622         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8623         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8624         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8625         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8626         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8627         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8628         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8629         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8630         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8631         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
8633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8634         Likewise.
8635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
8636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
8637         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8638         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8639         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8640         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8641         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
8643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
8644         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8645         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8646         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
8647         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8649 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8651         * manual/pattern.texi: Fix typos & grammar errors.
8653 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8655         * manual/search.texi: Fix typos & grammar errors.
8657 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8659         * manual/message.texi: Fix typos & grammar errors.
8661 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
8663         * manual/contrib.texi: Fix spelling typos.
8664         * manual/crypt.texi: Likewise.
8665         * manual/filesys.texi: Likewise.
8666         * manual/locale.texi: Likewise.
8667         * manual/message.texi: Likewise.
8668         * manual/nss.texi: Likewise.
8669         * manual/string.texi: Likewise.
8671 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8673         * manual/locale.texi: Fix typos & grammar errors.
8675 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8677         * manual/charset.texi: Fix typos & grammar errors.
8679 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8681         * manual/string.texi: Fix typos.
8683 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8685         * manual/ctype.texi: Fix typos.
8687 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8689         * manual/memory.texi: Fix various typos & grammar errors.
8691 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
8693         [BZ #20255]
8694         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
8695         * math/libm-test.inc (fdim_test_data): Add another test.
8697         [BZ #6796]
8698         [BZ #20255]
8699         [BZ #20256]
8700         * math/s_fdim.c: Include <math_private.h>.
8701         (__fdim): Use math_narrow_eval on result.
8702         * math/s_fdimf.c: Include <math_private.h>.
8703         (__fdimf): Use math_narrow_eval on result.
8704         * sysdeps/i386/fpu/s_fdim.S: Remove file.
8705         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
8706         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
8707         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
8708         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
8709         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
8710         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
8711         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
8712         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
8713         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
8714         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
8715         * math/libm-test.inc (fdim_test_data): Expect errno setting on
8716         overflow.  Add sNaN tests.
8718         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
8719         fpclassify.
8720         * math/s_fdimf.c (__fdimf): Likewise.
8721         * math/s_fdiml.c (__fdiml): Likewise.
8723 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8725         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8726         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
8727         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8728         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
8729         ifunc'ed strcasecmp/strncasecmp.
8730         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
8731         [EALIGN]: Removed.
8732         [END]: Likewise.
8733         [__strcasecmp]: Define instead of the above to control symbol name.
8734         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
8735         for __strcasecmp_power8.
8736         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
8737         for __strncasecmp_power8.
8738         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
8739         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
8740         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
8741         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
8742         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
8743         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
8745 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
8747         [BZ #20252]
8748         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
8749         arguments when second argument is a NaN.
8750         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
8751         qNaN tests.
8753         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
8754         (conj_test_data): Likewise.
8755         (copysign_test_data): Likewise.
8756         (creal_test_data): Likewise.
8757         (fma_test_data): Likewise.
8758         (fmod_test_data): Likewise.
8760         [BZ #20250]
8761         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
8762         itself.
8763         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
8764         zero input to itself.
8765         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
8766         Likewise.
8767         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
8768         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
8769         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
8770         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
8771         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
8773 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8775         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
8776         * nptl/tst-cancel4-common.c: New file.
8777         * nptl/tst-cancel4-common.h: Likewise.
8778         * nptl/tst-cancel4.c: Move common definitions to
8779         tst-cancel4-common.{c,h} file.
8780         * nptl/tst-cancel4_1.c: New test.
8781         * nptl/tst-cancel4_2.c: New test.
8783 2016-06-13  Florian Weimer  <fweimer@redhat.com>
8785         [BZ #20248]
8786         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
8787         (write_message): New function.
8788         (stackoverflow_handler): Call it instead of printf, to avoid
8789         excessive stack usage by printf.
8790         (do_test): Restore SIGSEGV, SIGBUS default handlers.
8792 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8794         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
8795         (prio_inherit_missing): Remove define.
8796         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8797         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8798         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
8799         Likewise.
8800         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8801         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8802         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8803         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8804         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8805         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8807 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
8809         [BZ #19670]
8810         [BZ #19672]
8812         * io/test-lfs.c (do_prepare): Use xmalloc.
8813         * io/tst-fcntl.c (do_prepare): Likewise.
8814         * libio/tst-fopenloc.c (do_bz17916): Likewise.
8815         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
8816         * login/tst-utmp.c (do_prepare): Likewise.
8817         * posix/tst-exec.c (do_prepare): Likewise.
8818         * posix/tst-pathconf.c (prepare): Likewise.
8819         * posix/tst-spawn.c (do_prepare): Likewise.
8820         * posix/tst-truncate.c (do_prepare): Likewise.
8821         * rt/tst-aio.c (do_prepare): Likewise.
8822         * rt/tst-aio64.c (do_prepare): Likewise.
8824 2016-06-11  Florian Weimer  <fweimer@redhat.com>
8826         [BZ #20237]
8827         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
8828         (get*ent): Set entidx to NULL during initialization.  If entidx is
8829         NULL, start iteration from the beginning.
8831 2016-06-11  Florian Weimer  <fweimer@redhat.com>
8833         * malloc/malloc.c (musable): Return correct size for dumped fake
8834         mmapped chunk.
8836 2016-06-11  Florian Weimer  <fweimer@redhat.com>
8838         [BZ #20222]
8839         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
8840         (_IO_cookie_write): Likewise.
8841         (_IO_cookie_seek): Likewise.
8842         (_IO_cookie_close): Likewise.
8843         (_IO_old_cookie_seek): Likewise.
8844         (set_callbacks): New function.
8845         (_IO_cookie_init): Call set_callbacks to copy callbacks.
8847 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
8849         * locale/programs/localedef.c (oldstyle_tables): Remove.
8850         * locale/programs/localedef.h (oldstyle_tables): Likewise.
8852 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
8854         [BZ #20240]
8855         * math/Makefile (CFLAGS-s_modf.c): New variable.
8856         (CFLAGS-s_modff.c): Likewise.
8857         (CFLAGS-s_modfl.c): Likewise.
8858         * math/libm-test.inc (modf_test_data): Add sNaN tests.
8860 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
8862         [BZ #20215]
8863         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
8864         [!__GNUC_PREREQ (3,2)]: Likewise.
8866 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
8868         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
8869         (msghdr.msg_controllen): Likewise.
8870         (cmsghdr.cmsg_len): Likewise.
8871         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
8872         ptw-oldsendmsg.
8873         (CFLAGS-oldrecvmsg.c): Remove rule.
8874         (CFLAGS-oldsendmsg.c): Likewise.
8875         (CFLAGS-recvmsg.c): Add rule.
8876         (CFLAGS-sendmsg.c): Likewise.
8877         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
8878         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
8879         (CFLAGS-recvmsg.c): Remove rule.
8880         (CFLAGS-sendmsg.c): Likewise.
8881         (CFLAGS-oldrecvmsg.c): Likewise.
8882         (CFLAGS-oldsendmsg.c): Likewise.
8883         (CFLAGS-recvmmsg.c): Likewise.
8884         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
8885         to kernel defined interfaces.
8886         (msghdr.msg_controllen): Likewise.
8887         (cmsghdr.cmsg_len): Likewise.
8888         (msghdr.__glibc_reserved1): Remove member.
8889         (msghdr.__glibc_reserved2): Likewise.
8890         (cmsghdr.__glibc_reserved1): Likewise.
8891         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
8892         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
8893         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
8894         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
8895         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
8896         version.
8897         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
8898         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
8899         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
8900         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
8901         Remove recvmsg and sendmsg.
8902         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
8903         Likewise.
8904         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
8905         Likewise.
8906         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
8907         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
8908         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
8909         Likewise.
8910         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
8911         Likewise.
8912         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
8913         [libc] (GLIBC_2.24): Likewise.
8914         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
8915         Likewise.
8916         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
8917         Likewise.
8918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8919         [libc] (GLIBC_2.24): Likewise.
8920         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
8921         Likewise.
8922         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
8923         Likewise.
8924         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
8925         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
8926         Likewise.
8927         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
8928         Likewise.
8929         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
8930         Likewise.
8931         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
8932         Likewise.
8933         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
8934         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
8935         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
8936         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
8937         version for {recv,send,recm,sendm}msg.
8938         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8939         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8940         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8941         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8942         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8943         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8944         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8945         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8946         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8947         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8948         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8949         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8951         Likewise.
8952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8953         Likewise.
8954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8956         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8957         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8958         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8959         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8960         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8961         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8962         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8964         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8965         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8966         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8968 2016-06-10  Florian Weimer  <fweimer@redhat.com>
8970         [BZ #19564]
8971         Remove __malloc_initialize_hook from the API.
8972         * malloc/malloc.h (__malloc_initialize_hook): Remove.
8973         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
8974         #pragma GCC poison.
8975         * malloc/malloc-hooks.h: New file.
8976         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
8977         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
8978         (old__malloc_initialize_hook): Rename from
8979         __malloc_initialize_hook to evade poisoning.  Turn into compat
8980         symbol.
8981         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
8982         __malloc_initialize_hook.
8983         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
8984         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
8985         * manual/memory.texi (Hooks for Malloc): Remove
8986         __malloc_initialize_hook.  Adjust hook example.
8988 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
8990         [BZ #20235]
8991         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
8992         itself.
8993         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8994         * math/libm-test.inc (log2_test_data): Add sNaN tests.
8996         [BZ #20234]
8997         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
8998         infinity or NaN input to itself.
9000         [BZ #20233]
9001         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
9002         to itself.
9004         [BZ #20232]
9005         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
9006         itself.
9008 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
9010         * sysdeps/x86_64/start.S (_start): Always indirect branch to
9011         __libc_start_main via GOT.
9013 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
9015         * sysdeps/x86_64/memcopy.h: New file.
9016         * sysdeps/x86_64/wordcopy.c: Likewise.
9018 2016-06-09  Florian Weimer  <fweimer@redhat.com>
9020         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
9021         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
9022         <cstdlib>.
9023         (optimization_barrier): New.
9024         (do_test): Use it.  Call quick_exit in the global namespace.
9025         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
9026         instead of <cstdlib>, <thread>.
9027         (optimization_barrier): New.
9028         (non_main_thread): Adjust declaration.  Call optimization_barrier.
9029         Call quick_exit in the global namespace.
9030         (do_test): Call optimization_barrier.  Use pthread_create,
9031         pthread_join instead of std::thread.
9033 2016-06-09  Andreas Schwab  <schwab@suse.de>
9035         [BZ #19755]
9036         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
9037         new entries in auto-propagate mode.
9038         * nscd/grpcache.c (cache_addgr): Likewise.
9040 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
9042         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
9043         New functions.
9044         (add_temp_file): Use them.
9046 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
9048         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
9050 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
9052         [BZ #20229]
9053         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
9054         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
9055         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
9057         [BZ #20228]
9058         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
9059         itself.
9060         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9061         * math/libm-test.inc (log10_test_data): Add sNaN tests.
9063         [BZ #20227]
9064         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
9065         itself.
9066         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9067         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9068         * math/libm-test.inc (log_test_data): Add sNaN tests.
9070         [BZ #20226]
9071         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
9072         itself.
9073         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9074         * math/libm-test.inc (exp_test_data): Add sNaN tests.
9075         (exp10_test_data): Likewise.
9076         (expm1_test_data): Likewise.
9078         [BZ #20225]
9079         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
9080         itself.
9081         * math/s_ldexpf.c (__ldexpf): Likewise.
9082         * math/s_ldexpl.c (__ldexpl): Likewise.
9083         * math/w_scalbln.c (__w_scalbln): Likewise.
9084         * math/w_scalblnf.c (__w_scalblnf): Likewise.
9085         * math/w_scalblnl.c (__w_scalblnl): Likewise.
9086         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
9087         (scalbln_test_data): Likewise.
9089         [BZ #20224]
9090         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
9091         argument to itself.
9092         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
9094 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
9096         [BZ #19776]
9097         * sysdeps/x86_64/memcpy.S: Make it dummy.
9098         * sysdeps/x86_64/mempcpy.S: Likewise.
9099         * sysdeps/x86_64/memmove.S: New file.
9100         * sysdeps/x86_64/memmove_chk.S: Likewise.
9101         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
9102         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
9103         * sysdeps/x86_64/memmove.c: Removed.
9104         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9105         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9106         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
9107         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
9108         Likewise.
9109         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9110         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9111         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9112         memcpy-sse2-unaligned, memmove-avx-unaligned,
9113         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
9114         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9115         (__libc_ifunc_impl_list): Replace
9116         __memmove_chk_avx512_unaligned_2 with
9117         __memmove_chk_avx512_unaligned.  Remove
9118         __memmove_chk_avx_unaligned_2.  Replace
9119         __memmove_chk_sse2_unaligned_2 with
9120         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
9121         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
9122         with __memmove_avx512_unaligned.  Replace
9123         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
9124         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
9125         with __memcpy_chk_avx512_unaligned.  Remove
9126         __memcpy_chk_avx_unaligned_2.  Replace
9127         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
9128         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
9129         Replace __memcpy_avx512_unaligned_2 with
9130         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
9131         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
9132         with __mempcpy_chk_avx512_unaligned.  Remove
9133         __mempcpy_chk_avx_unaligned_2.  Replace
9134         __mempcpy_chk_sse2_unaligned_2 with
9135         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
9136         Replace __mempcpy_avx512_unaligned_2 with
9137         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
9138         Replace __mempcpy_sse2_unaligned_2 with
9139         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
9140         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
9141         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
9142         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
9143         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
9144         (ENTRY): Removed.
9145         (END): Likewise.
9146         (ENTRY_CHK): Likewise.
9147         (libc_hidden_builtin_def): Likewise.
9148         Don't include ../memcpy.S.
9149         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
9150         __memcpy_chk_avx512_unaligned_erms and
9151         __memcpy_chk_avx512_unaligned.  Use
9152         __memcpy_chk_avx_unaligned_erms and
9153         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9154         Default to __memcpy_chk_sse2_unaligned.
9155         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9156         Change function suffix from unaligned_2 to unaligned.
9157         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
9158         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
9159         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
9160         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
9161         (ENTRY): Removed.
9162         (END): Likewise.
9163         (ENTRY_CHK): Likewise.
9164         (libc_hidden_builtin_def): Likewise.
9165         Don't include ../mempcpy.S.
9166         (mempcpy): New.  Add a weak alias.
9167         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
9168         __mempcpy_chk_avx512_unaligned_erms and
9169         __mempcpy_chk_avx512_unaligned.  Use
9170         __mempcpy_chk_avx_unaligned_erms and
9171         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9172         Default to __mempcpy_chk_sse2_unaligned.
9174 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
9176         [BZ #19881]
9177         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
9178         into ...
9179         * sysdeps/x86_64/memset.S: This.
9180         (__bzero): Removed.
9181         (__memset_tail): Likewise.
9182         (__memset_chk): Likewise.
9183         (memset): Likewise.
9184         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
9185         defined.
9186         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
9187         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
9188         (__memset_zero_constant_len_parameter): Check SHARED instead of
9189         PIC.
9190         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9191         memset-avx2 and memset-sse2-unaligned-erms.
9192         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9193         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
9194         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
9195         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9196         (__bzero): Enabled.
9197         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
9198         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
9199         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
9200         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
9201         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
9202         (memset): Removed.
9203         (__memset_chk): Likewise.
9204         (MEMSET_SYMBOL): New.
9205         (libc_hidden_builtin_def): Replace __memset_sse2 with
9206         __memset_sse2_unaligned.
9207         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
9208         __memset_chk_sse2 and __memset_chk_avx2 with
9209         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
9210         Use __memset_chk_sse2_unaligned_erms or
9211         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
9212         __memset_chk_avx512_unaligned_erms and
9213         __memset_chk_avx512_unaligned.
9215 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9217         * math/gen-auto-libm-test.c (fp_format_desc): remove
9218         suffix member.
9219         (output_generic_value): Remove usage of suffix member,
9220         and the resulting unuse of the fp_format argument.
9221         (output_for_one_input_case): Remove unused fp_format
9222         parameter.
9224         * math/auto-libm-test-out: Regenerate.
9226         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
9227         usage with TEST_COND_ibm128.
9228         (TEST_COND_flt_32): Remove.
9229         (TEST_COND_dbl_64): Remove.
9230         (TEST_COND_ldbl_96_intel): Remove.
9231         (TEST_COND_ldbl_96_m68k): Remove.
9232         (TEST_COND_ldbl_128): Remove.
9234 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9236         * auto-libm-test-in:
9237         Replace flt-32 usage with binary32.
9238         Replace dbl-64 usage with binary64.
9239         Replace ldbl-intel-96 usage with intel96.
9240         Replace ldbl-m68k-96 usage with m68k96.
9241         Replace ldbl-128ibm usage with ibm128.
9242         Replace ldbl-128 usage with binary128.
9244         * auto-libm-test-out: Regenerate.
9246 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9248         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
9249         (parse_ulps): Dynamically generate type name matching
9250         string from all_floats.
9251         (get_ulps): Generate the ulps as an array instead.
9252         (output_ulps): Dynamically compose the type based
9253         on the number of supported formats, and print
9254         the indices as type specific helper macros.
9256         * math/libm-test.inc: Remove comment about CHOOSE.
9257         (ulp_data): Generate the type in libm-test-ulps.h.
9258         (ULP_IDX): New macro.
9259         (find_ulps): Update usage of max_ulp.
9261         * math/test-double-vlen2.h (CHOOSE): Remove.
9262         * math/test-double-vlen4.h (CHOOSE): Likewise.
9263         * math/test-double-vlen8.h (CHOOSE): Likewise.
9264         * math/test-float.c (CHOOSE): Likewise.
9265         * math/test-float-finite.c (CHOOSE): Likewise.
9266         * math/test-double.c (CHOOSE): Likewise.
9267         * math/test-double-finite.c (CHOOSE): Likewise.
9268         * math/test-idouble.c (CHOOSE): Likewise.
9269         * math/test-ifloat.c (CHOOSE): Likewise.
9270         * math/test-ildoubl.c (CHOOSE): Likewise.
9271         * math/test-ldouble-finite.c (CHOOSE): Likewise.
9272         * math/test-ldouble.c (CHOOSE): Likewise.
9274         * math/test-float.h (TEST_FLOAT): Remove.
9275         * math/test-double.h (TEST_DOUBLE): Likewise.
9276         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
9278 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9280         * math/gen-libm-test.pl: (apply_lit): New subroutine.
9281         (parse_args): Strip C suffix from floating point literals
9282         typed with 'f' and wrap them with LIT().
9284         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
9285         (test_ff_f_data_nexttoward): Rename to
9286         (test_fj_f_data): New struct.
9287         (nexttoward_test_data): Relabel tests as
9288         TEST_fj_f instead of TEST_ff_f.
9290 2016-06-08  Florian Weimer  <fweimer@redhat.com>
9292         Emacs bug 23726.
9293         * malloc/malloc.c (dumped_main_arena_start): Update comment.
9294         (__libc_realloc): Correct size computation for dumped fake mmapped
9295         chunks.
9297 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
9299         [BZ #20219]
9300         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
9301         to itself.
9302         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
9304         [BZ #20218]
9305         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
9306         to itself.
9307         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
9309 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
9311         [BZ #20195]
9312         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
9313         check to ...
9314         (init_cpu_features): Here.
9316 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
9318         [BZ #20214]
9319         * sysdeps/unix/sysv/linux/bits/in.h
9320         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
9321          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
9322         Define to 1.
9323         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
9324          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
9325         Define to 0.
9326         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
9327         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
9329 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
9331         [BZ #20198]
9332         * stdlib/Makefile (tests): Add tst-quick_exit, and
9333         tst-thread-quick_exit.
9334         [ifeq ($(have-cxx-thread_local),yes)]
9335         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
9336         (CFLAGS-tst-thread-quick_exit.o): Likewise.
9337         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
9338         (LDLIBS-tst-thread-quick_exit): Likewise.
9339         [ifneq ($(have-cxx-thread_local),yes)]
9340         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
9341         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
9342         If run_dtors is true call __call_tls_dtors.
9343         (exit): Call __run_exit_handlers with run_dtors set to true.
9344         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
9345         definition.
9346         * stdlib/quick_exit.c (quick_exit): Remove function.
9347         (__new_quick_exit): New function.
9348         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
9349         function.
9350         * stdlib/tst-quick_exit.cc: New file.
9351         * stdlib/tst-thread-quick_exit.cc: New file.
9352         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
9353         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
9354         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
9355         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
9356         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
9357         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
9358         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
9359         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
9360         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
9361         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
9362         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
9363         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
9364         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
9365         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
9366         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
9367         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
9368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
9369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
9370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
9371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
9372         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
9373         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
9374         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
9375         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
9376         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
9377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
9378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
9379         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
9380         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
9381         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
9383 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
9385         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
9386         a typo in comments.
9388 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
9390         [BZ #20213]
9391         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
9392         argument to itself.
9393         * math/libm-test.inc (asin_test_data): Add sNaN tests.
9395 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9397         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
9398         required flags.
9399         (CFLAGS-pwritev64.c): Likewise.
9400         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
9401         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9402         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
9403         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9404         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
9405         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
9406         syscall from auto-generation.
9407         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
9408         [WORDSIZE == 64] (pwritev64): Remove macro.
9409         [!PWRITEV] (PWRITEV): Likewise.
9410         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
9411         [!PWRITEV] (PWRITE): Likewise.
9412         [!PWRITEV] (OFF_T): Likewise.
9413         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
9414         (LO_HI_LONG): Remove macro.
9415         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
9416         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
9417         (PWRITEV): Remove macro.
9418         (PWRITEV_REPLACEMENTE): Likewise.
9419         (PWRITE): Likewise.
9420         (OFF_T): Likewise.
9421         (pwritev64): New function.
9422         * nptl/tst-cancel4.c (tf_writev): Add test.
9424         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
9425         required flags.
9426         (CFLAGS-preadv64.c): Likewise.
9427         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
9428         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9429         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
9430         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
9431         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
9432         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
9433         syscall from auto-generation.
9434         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
9435         [WORDSIZE == 64] (preadv64): Remove macro.
9436         [!PREADV] (PREADV): Likewise.
9437         [!PREADV] (PREADV_REPLACEMENT): Likewise.
9438         [!PREADV] (PREAD): Likewise.
9439         [!PREADV] (OFF_T): Likewise.
9440         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
9441         (LO_HI_LONG): Remove macro.
9442         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
9443         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
9444         (PREADV): Remove macro.
9445         (PREADV_REPLACEMENTE): Likewise.
9446         (PREAD): Likewise.
9447         (OFF_T): Likewise.
9448         (preadv64): New function.
9449         * nptl/tst-cancel4.c (tf_preadv): Add test.
9451 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
9453         [BZ #20212]
9454         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
9455         argument to itself.
9456         * math/libm-test.inc (acos_test_data): Add sNaN tests.
9458 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9460         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
9461         New symbol defined as libc_hidden_def.
9462         (strcasestr): Became a weak alias to __strcasestr.
9463         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
9464         according to multi-arch support.  Move __stpncpy hidden
9465         definition from here to...
9466         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
9467         symbol stpncpy.
9468         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
9469         libc_hidden_builtin_def.
9470         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
9471         memset symbol to use when multi-arch support is available.
9473 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
9475         * dlfcn/tst-rec-dlopen.c: Include string.h.
9477 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9479         * manual/install.texi: Remove mention of --without-tls
9480         * INSTALL: Regenerate.
9482 2016-06-05  Florian Weimer  <fweimer@redhat.com>
9484         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
9485         Remove.
9486         (call_function, interposed_malloc_called): New variables.
9487         (malloc): New function.
9488         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
9489         and clear call_function as needed.
9491 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
9493         * include/wchar.h (__wmemset): Use __typeof.
9495 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
9497         * include/wchar.h (__wmemset): Declare function without typeof.
9499 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
9501         [BZ #20205]
9502         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
9503         exponent when incrementing negative subnormal with low mantissa
9504         word zero.
9505         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
9506         Add another test.
9508 2016-06-03  Florian Weimer  <fweimer@redhat.com>
9510         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
9511         __wmemset instead of wmemset.
9513 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
9515         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
9516         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
9517         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
9518         __USE_KERNEL_IPV6_DEFS to 0.
9519         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
9520         Update comment.
9522 2016-06-01  Florian Weimer  <fweimer@redhat.com>
9524         [BZ #19861]
9525         Do not use IFUNC resolver with potentially unrelocated symbol.
9526         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
9527         (DEFINE_FORK): Remove macro and inline definition.
9528         (fork_alias): Renamed from fork_ifunc.
9529         (__fork_alias): Renamed from __fork_ifunc.
9531 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
9533         [BZ 19653]
9534         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
9535         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
9537 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9539         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
9540         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
9541         i386-linux-gnu).
9542         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
9543         Set to no.
9544         * sysdeps/mach/hurd/configure: Refresh.
9546 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9548         [BZ #20178]
9549         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
9550         on failure instead of exit.
9552 2016-05-30  Roland McGrath  <roland@hack.frob.com>
9554         [BZ #3629]
9555         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
9556         of POSIX.1-2008.
9558 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9560         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
9561           Use PLT entry for calling _hurd_self_sigstate.
9563 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
9565         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
9566         available logical processors with SMT level type sharing L2
9567         cache for Intel processors.
9569 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
9571         [BZ #20160]
9572         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
9573         argument to itself before returning the result.
9574         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
9575         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
9576         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
9577         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
9578         Likewise.
9579         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
9580         Likewise.
9581         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
9582         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
9583         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
9584         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
9585         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
9586         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
9588         [BZ #20160]
9589         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
9590         argument to itself before returning the result.
9591         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
9592         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
9593         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
9594         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
9595         Likewise.
9596         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9597         Likewise.
9598         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
9599         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
9600         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
9601         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
9602         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
9603         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
9605 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9607         * libm-test.inc: Replace usage of M_El with
9608         (lit_e): New macro.
9610 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9612         * libm-test.inc: Replace usage of M_PI_4l with
9613         (lit_pi_4_d): New macro.
9615 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9617         * libm-test.inc: Replace usage of M_PIl with
9618         (lit_pi): New macro.
9620 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9622         * libm-test.inc: Replace usage of M_PI2l with
9623         (lit_pi_2_d): New macro.
9625         * math/test-double.h (LITM): New macro.
9626         * math/test-float.h (LITM): Likewise.
9627         * math/test-ldouble.h (LITM): Likewise.
9629 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9631         * libm-test.inc (M_PI_34l): Rename to
9632         (lit_pi_3_m_4_d): New Macro.
9633         (M_PI_34_LOG10El): Rename to
9634         (lit_pi_3_m_4_ln10_m_d): New Macro.
9635         (M_PI2_LOG10El): Rename to
9636         (lit_pi_2_ln10_m_d):  New Macro.
9637         (M_PI4_LOG10El): Rename to
9638         (lit_pi_4_ln10_m_d):  New Macro.
9639         (M_PI_LOG10El): Rename to
9640         (lit_pi_ln10_d):  New Macro.
9642 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
9644         [BZ #20157]
9645         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
9646         determine whether to negate low half if [_ARCH_PPCGR], and integer
9647         comparison otherwise.
9648         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
9649         determine whether to negate low half.
9651         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
9652         (NO_TEST_INLINE_DOUBLE): Likewise.
9653         (TEST_COND_x86_64): Likewise.
9654         (TEST_COND_x86): Likewise.
9655         (M_PI_6l): Likewise.
9657 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9659         * math/libm-test.inc:
9660         (TEST_FLOAT): Change usage to TEST_COND_binary32.
9661         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
9662         (TEST_LDOUBLE): Update usage to evaluate as true if
9663         the guarded tests match the property being tested.
9664         (LDBL_MAX_EXP): Change to MAX_EXP.
9665         (LDBL_MIN_EXP): Change to MIN_EXP.
9666         (LDBL_MANT_DIG): Change to MANT_DIG, except for
9667         nexttoward tests.
9669 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9671         * math/libm-test.inc:
9672         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
9673         (TYPE_MIN): Likewise.
9674         (TYPE_TRUE_MIN): Likewise.
9675         (TYPE_MAX): Likewise.
9676         (MIN_EXP): Likewise.
9677         (MAX_EXP): Likewise.
9678         (MANT_DIG): Likewise.
9680         (FSTR_MAX): New macro.
9681         (__CONCATX): Likewise.
9682         (QTYPE_STR): Likewise.
9683         (TEST_COND_binary32): Likewise.
9684         (TEST_COND_binary64): Likewise.
9685         (TEST_COND_binary128): Likewise.
9686         (TEST_COND_ibm128): Likewise.
9687         (TEST_COND_intel96): Likewise.
9688         (TEST_COND_m68k96): Likewise.
9690         (TEST_COND_flt_32): Redefine as equivalent format test macro.
9691         (TEST_COND_dbl_64): Likewise.
9692         (TEST_COND_ldbl_96_intel): Likewise.
9693         (TEST_COND_ldbl_96_m68k): Likewise.
9694         (TEST_COND_ldbl_128): Likewise.
9695         (TEST_COND_ldbl_128ibm): Likewise.
9697         (plus_zero): Redefine using LIT macro.
9698         (minus_zero): Likewise.
9699         (plus_infty): Redefine as (INF).
9700         (minux_infty): Redefine as (-INF).
9701         (max_value): Redefine as TYPE_MAX.
9702         (min_value): Redefine as TYPE_MIN.
9703         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
9705         (print_float): Refactor to use snprintf to convert FLOAT values
9706         to string. This brings it closer to dropin replacement of strtof
9707         for the TS 18661 defined types.
9708         (update_stats): Likewise.
9709         (print_complex_function_ulps): Likewise.
9710         (print_max_error): Likewise.
9711         (print_complex_max_error): Likewise.
9712         (check_float_internal): Likewise.
9714         * math/test-float.h (PREFIX): New macro.
9715         (LIT): Likewise.
9716         (TYPE_STR): Likewise.
9717         (FTOSTR): Likewise.
9719         * math/test-double.h (PREFIX): New macro.
9720         (LIT): Likewise.
9721         (TYPE_STR): Likewise.
9722         (FTOSTR): Likewise.
9724         * math/test-ldouble.h (PREFIX): New macro.
9725         (LIT): Likewise.
9726         (TYPE_STR): Likewise.
9727         (FTOSTR): Likewise.
9729 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
9731         [BZ #20156]
9732         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
9733         to itself when zero or not finite.
9734         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
9735         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9736         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
9737         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9739 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
9741         [BZ #20153]
9742         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
9743         x * x + x for infinities and NaNs.
9745         [BZ #20151]
9746         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
9747         argument to itself before returning result.
9748         (__ieee754_y0l): Likewise.
9749         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9750         (__ieee754_y1l).
9752         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
9753         (atan_test_data): Likewise.
9754         (ceil_test_data): Likewise.
9755         (cos_test_data): Likewise.
9756         (cosh_test_data): Likewise.
9757         (erf_test_data): Likewise.
9758         (exp2_test_data): Likewise.
9759         (fabs_test_data): Likewise.
9760         (floor_test_data): Likewise.
9761         (ilogb_test_data): Likewise.
9762         (j0_test_data): Likewise.
9763         (j1_test_data): Likewise.
9764         (jn_test_data): Likewise.
9765         (lgamma_test_data): Likewise.
9766         (lrint_test_data): Likewise.
9767         (llrint_test_data): Likewise.
9768         (logb_test_data): Likewise.
9769         (lround_test_data): Likewise.
9770         (llround_test_data): Likewise.
9771         (nearbyint_test_data): Likewise.
9772         (rint_test_data): Likewise.
9773         (round_test_data): Likewise.
9774         (sin_test_data): Likewise.
9775         (sincos_test_data): Likewise.
9776         (sinh_test_data): Likewise.
9777         (sqrt_test_data): Likewise.
9778         (tan_test_data): Likewise.
9779         (tanh_test_data): Likewise.
9780         (tgamma_test_data): Likewise.
9781         (trunc_test_data): Likewise.
9782         (y0_test_data): Likewise.
9783         (y1_test_data): Likewise.
9784         (yn_test_data): Likewise.
9786         * math/libm-test.inc: Update comment about NaN testing.
9787         (TEST_SNAN): New macro.
9788         (snan_value): Likewise.
9789         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
9790         (fpclassify_test_data): Add sNaN tests.
9791         (isfinite_test_data): Likewise.
9792         (isinf_test_data): Likewise.
9793         (isnan_test_data): Likewise.
9794         (isnormal_test_data): Likewise.
9795         (issignaling_test_data): Likewise.
9796         (signbit_test_data): Likewise.
9797         * math/gen-libm-test.pl (%beautify): Add snan_value.
9798         (show_exceptions): Add argument $test_snan.
9799         (parse_args): Handle snan_value as non-finite.  Update call to
9800         show_exceptions.
9801         * math/Makefile (libm-test-no-inline-cflags): Add
9802         -fsignaling-nans.
9804 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9806         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
9807         (CFLAGS-oldsendmsg.c): Add rule.
9808         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
9809         Correct recvmsg symbol name.
9810         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
9811         Likewise.
9813 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9815         * sysdeps/unix/sysv/linux/Makefile
9816         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
9817         oldsendmmsg.
9818         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
9819         sendmmsg.
9820         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9821         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9822         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9823         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9825         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9826         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9828         Likewise.
9829         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9830         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
9831         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
9832         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
9833         iovlen and controllen fields to adjust to POSIX specification.
9834         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9836         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
9837         and change to correct expected type.
9838         (msghdr.msg_controllen): Likewise.
9839         (cmsghdr.cmsg_len): Likewise.
9840         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
9841         expected POSIX assumption about the size.
9842         (msghdr.msg_controllen): Likewise.
9843         (msghdr.__glibc_reserved1): Likewise.
9844         (msghdr.__glibc_reserved2): Likewise.
9845         (cmsghdr.cmsg_len): Likewise.
9846         (cmsghdr.__glibc_reserved1): Likewise.
9847         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
9848         Add ptw-oldrecvmsg and ptw-oldsendmsg.
9849         (CFLAGS-sendmsg.c): Remove rule.
9850         (CFLAGS-recvmsg.c): Likewise.
9851         (CFLAGS-oldsendmsg.c): Add rule.
9852         (CFLAGS-oldrecvmsg.c): Likewise.
9853         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
9854         recvmsg and sendmsg.
9855         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
9856         Likewise.
9857         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
9858         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
9859         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
9860         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
9861         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
9862         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
9863         Likewise.
9864         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
9865         Likewise.
9866         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
9867         Likewise.
9868         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
9869         Likewise.
9870         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
9871         Likewise.
9872         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
9873         Likewise.
9874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
9875         (GLIBC_2.24): Likewise.
9876         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
9877         Likewise.
9878         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
9879         Likewise.
9880         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
9881         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
9882         Likewise.
9883         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
9884         Likewise.
9885         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
9886         Likewise.
9887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
9888         (GLIBC_2.24): Likewise.
9889         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
9890         Likewise.
9891         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
9892         Likewise.
9893         * sysdeps/unix/sysv/linux/Makefile
9894         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
9895         (CFLAGS-sendmsg.c): Add rule.
9896         (CFLAGS-recvmsg.c): Likewise.
9897         (CFLAGS-oldsendmsg.c): Likewise.
9898         (CFLAGS-oldrecvmsg.c): Likewise.
9899         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
9900         initialization.
9901         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
9902         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
9903         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
9904         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
9905         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
9906         iovlen and controllen fields to adjust to POSIX specification.
9907         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
9908         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
9909         added recvmsg and sendmsg.
9910         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9911         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9912         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9913         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9914         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9915         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9916         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9917         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9918         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9919         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9920         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9921         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
9922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9923         Likewise.
9924         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
9925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9926         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9927         Likewise.
9928         Likewise.
9929         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9930         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9931         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9932         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9933         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9934         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9935         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9936         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9938         Likewise.
9939         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9940         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9942         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
9943         from auto-generation.
9944         (sendmsg): Likewise.
9945         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
9946         (sendmsg): Likewise.
9947         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
9948         (sendmsg): Likewise.
9949         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
9950         (sendmsg): Likewise.
9951         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
9952         (sendmsg): Likewise.
9953         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
9954         (sendmsg): Likewise.
9955         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
9956         Likewise.
9957         (sendmsg): Likewise.
9958         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
9959         (sendmsg): Likewise.
9960         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9961         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9962         Remove.
9963         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9964         Likewise.
9965         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9966         Undefine.
9967         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9968         Likewise.
9969         * sysdeps/unix/sysv/linux/kernel-features.h
9970         (__ASSUME_SENDMSG_SYSCALL): Define.
9971         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9972         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9973         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9974         Remove.
9975         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9976         Likewise.
9977         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9978         Undefine.
9979         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9980         Likewise.
9981         * sysdeps/unix/sysv/linux/s390/kernel-features.h
9982         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9983         Remove.
9984         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9985         Likewise.
9986         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9987         Undefine.
9988         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9989         Likewise.
9990         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9991         (__ASSUME_SENDMSG_SYSCALL): Undefine.
9992         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9993         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9994         (__ASSUME_SENDMSG_SYSCALL): Likewise.
9995         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9996         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9997         (__ASSUME_SENDMSG_SYSCALL): Likewise.
9998         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10000 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10002         * stdlib/gen-tst-strtod-round.c: Add backslash to
10003         compile command in comment.
10004         (printfp): Remove the literal suffix, and define an infinite
10005         value as INF to avoid expansion clash with INFINITY.
10006         (round_str): Remove the literal suffix.
10007         (round_for_all): Likewise, remove the now duplicate ldbl-64
10008         entry, and remove some magic constants.
10010         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
10011         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
10012         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
10013         (_CONCAT): New macro.
10014         (CONCAT): Likewise.
10015         (CHOOSE_ld): Likewise.
10016         (CHOOSE_f): Likewise.
10017         (CHOOSE_d): Likewise.
10018         (FTYPE_MEMBER): Likewise.
10019         (BOOL_MEMBER): Likewise.
10020         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
10021         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
10022         (_XNTRY): Likewise.
10023         (XNTRY): Likewise.
10024         (_ENTRY): Likewise.
10025         (ENTRY): Likewise.
10026         (test_exactness): Generate members via macro.
10027         (test_results): Likewise.
10028         (test): Update members.
10029         (TEST): Redefine using new macros.
10030         (INF): New macro.
10031         (fetestmodes): New structure.
10032         (do_test): Refactor to be type generic.
10033         (test_in_one_mode): Refactor duplicate code into
10034         (GEN_ONE_TEST): New macro.
10036         * stdlib/tst-strtod-round-data.h: Regenerate.
10038         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
10039         Extend to pass additional arbitrary parameters to
10040         generators.
10042 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
10044         [BZ #15479]
10045         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
10046         floating-point state after first floating-point operation on
10047         input.  Restore full floating-point state instead of just rounding
10048         mode.
10049         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
10050         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
10051         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
10052         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
10053         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
10055         [BZ #15479]
10056         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
10057         floating-point state after first floating-point operation on
10058         input.  Restore full floating-point state instead of just rounding
10059         mode.
10060         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
10061         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
10062         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
10063         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
10064         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
10066 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10068         [BZ #19727]
10069         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
10070         valid high surrogate.
10071         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
10072         of an utf16 surrogate.
10073         * iconv/gconv_simple.c (BODY): Likewise.
10074         * iconvdata/bug-iconv12.c: New file.
10075         * iconvdata/Makefile (tests): Add bug-iconv12.
10077 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10079         [BZ #19726]
10080         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
10081         outptrp in case of an illegal input.
10082         * iconv/tst-iconv6.c: New file.
10083         * iconv/Makefile (tests): Add tst-iconv6.
10085 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10087         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
10088         an error in case of a value in range of an utf16 low surrogate.
10090 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10092         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
10093         an error in case of a value in range of an utf16 low surrogate.
10095 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10097         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
10098         Move to ...
10099         * sysdeps/s390/Makefile: ... here.
10100         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
10101         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
10102         (BRANCH_ON_COUNT): New define.
10103         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
10104         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
10105         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
10106         run on s390-32, too.
10107         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
10108         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
10109         run on s390-32, too.
10110         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
10111         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
10112         run on s390-32, too.
10114 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10116         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
10117         etf3eh or new vector loop-variant.
10119 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10121         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
10122         etf3eh or new vector loop-variant.
10124 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10126         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
10127         or new vector loop-variant.
10129 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10131         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
10132         Rename to TR_LOOP and usage of tr instead of troo instruction.
10134 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10136         * sysdeps/s390/multiarch/gconv_simple.c: New File.
10137         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
10139 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10141         * sysdeps/s390/multiarch/8bit-generic.c: New File.
10142         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
10143         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
10144         New override define.
10145         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
10147 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10149         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
10150         * sysdeps/s390/configure.ac: Add test for S390 vector register
10151         support in gcc.
10152         * sysdeps/s390/configure: Regenerated.
10154 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10156         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
10157         Install file from $(objpfx)gconv-modules.
10158         ($(objpfx)gconv-modules): Concatenate architecture specific file
10159         in variable sysdeps-gconv-modules and gconv-modules in src dir.
10160         * sysdeps/s390/gconv-modules: New file.
10161         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
10162         Deleted.
10163         ($(objpfx)gconv-modules-s390): Deleted.
10164         (sysdeps-gconv-modules): New variable.
10166 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
10168         [BZ #15479]
10169         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
10170         of immediate operand to rounding instruction.
10171         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
10172         Likewise.
10173         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
10174         Likewise.
10175         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
10176         Likewise.
10178 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10180         * math/libm-test.inc (MIN_EXP): Directly define as
10181         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
10183 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10185         * math/libm-test.inc (MANT_DIG): Directly define as
10186         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
10188 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10190         * stdlib/gen-tst-strtod-round.c (main):
10191           Change usage to more closely match the generated
10192           output.  Add usage and compilation instructions.
10193           (string_to_fp): Add and use FILE* parameter as
10194           output target.
10195           (print_fp): Likewise.
10196           (round_str): Likewise.
10197           (round_for_all): Likewise.
10198         * stdlib/tst-strtod-round.c (tests): Move into
10199         * stdlib/tst-strtod-round-data.h: New file.
10201 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
10203         [BZ #15479]
10204         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
10205         (__round): Do not force "inexact" exception.
10206         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
10207         variable.
10208         (__round): Do not force "inexact" exception.
10209         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
10210         (__roundf): Do not force "inexact" exception.
10211         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
10212         (__roundl): Do not force "inexact" exception.
10213         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
10214         (__roundl): Do not force "inexact" exception.
10215         * math/libm-test.inc (round_test_data): Do not allow spurious
10216         "inexact" exceptions.
10218         [BZ #15479]
10219         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
10220         exception in comment.
10221         (huge): Remove variable.
10222         (__floor): Do not force "inexact" exception.
10223         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
10224         "inexact" exception in comment.
10225         (huge): Remove variable.
10226         (__floor): Do not force "inexact" exception.
10227         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
10228         exception in comment.
10229         (huge): Remove variable.
10230         (__floorf): Do not force "inexact" exception.
10231         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
10232         exception in comment.
10233         (huge): Remove variable.
10234         (__floorl): Do not force "inexact" exception.
10236         [BZ #15479]
10237         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
10238         exception in comment.
10239         (huge): Remove variable.
10240         (__ceil): Do not force "inexact" exception.
10241         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
10242         "inexact" exception in comment.
10243         (huge): Remove variable.
10244         (__ceil): Do not force "inexact" exception.
10245         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
10246         (__ceilf): Do not force "inexact" exception.
10247         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
10248         exception in comment.
10249         (huge): Remove variable.
10250         (__ceill): Do not force "inexact" exception.
10252 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
10254         * config.h.in (BIND_NOW): New.
10255         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
10256         * configure: Regenerated.
10257         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
10258         indirect branch via the GOT slot.
10260 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10262         [BZ #19765]
10263         * sysdeps/s390/mempcpy.S: New File.
10264         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
10265         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
10266         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10267         Add mempcpy variants.
10268         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
10269         (memcpy): Adjust to be usable from mempcpy entry point.
10270         (__memcpy_mvcle): Likewise.
10271         * sysdeps/s390/s390-64/memcpy.S: Likewise.
10272         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
10273         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
10274         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
10275         (__memcpy_z10): Likewise.
10276         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
10278 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10280         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
10281         Remove __GI_ symbol.
10282         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
10283         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
10284         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
10285         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
10286         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
10287         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
10289 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10291         * sysdeps/s390/s390-64/memcpy.S (memcpy):
10292         Use cghi instead of chi to compare 64bit value.
10294 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10296         * sysdeps/s390/s390-32/memcpy.S (memcpy):
10297         Jump to 1MB check before executing mvc-loop.
10299 2016-05-24  Florian Weimer  <fweimer@redhat.com>
10301         [BZ #6527]
10302         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
10303         unconditionally.
10304         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
10306 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10308         * stdlib/tst-strtod6.c (do_test): Use new type generic
10309         invocation of the test function.
10310         (test): Refactor into ...
10311         (TEST_STRTOD): New macro base function.
10313 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10315         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
10316         (TEST_STRTOD): New macro.
10317         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
10319 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10321         * stdlib/tst-strtod6.c (do_test): Use new type generic
10322         invocation of the test function.
10323         (test): Refactor into ...
10324         (TEST_STRTOD): New macro base function.
10326 2016-05-23  Florian Weimer  <fweimer@redhat.com>
10328         CVE-2016-4429
10329         [BZ #20112]
10330         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
10331         payload.
10333 2016-05-23  Florian Weimer  <fweimer@redhat.com>
10335         [BZ #20111]
10336         * bits/sockaddr.h (_SS_SIZE): Define.
10337         * bits/socket.h (_SS_SIZE): Remove.
10338         (_SS_PADSIZE): Adjust to account for all padding.
10339         (struct sockaddr_storage): Update comment.  Avoid implicit
10340         padding.
10341         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
10342         (_SS_PADSIZE): Adjust to account for all padding.
10343         (struct sockaddr_storage): Update comment.  Avoid implicit
10344         padding.
10345         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
10346         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
10347         (_SS_PADSIZE): Adjust to account for all padding.
10348         (struct sockaddr_storage): Update comment.  Avoid implicit
10349         padding.
10350         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
10351         __SS_SIZE is 126 in this version.
10352         * inet/tst-sockaddr.c: New file.
10353         * inet/Makefile (tests): Add tst-sockaddr.c
10354         (tst-sockaddr.c): Compile with non-strict aliasing.
10356 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
10358         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
10359         [XPG3 || XPG4].
10360         (NL_ARGMAX): Also expect for [XPG3].
10361         (NL_LANGMAX): Likewise.
10362         (NL_MSGMAX): Likewise.
10363         (NL_NMAX): Likewise.
10364         (NL_SETMAX): Likewise.
10365         (NL_TEXTMAX): Likewise.
10366         (NZERO): Likewise.
10367         (TMP_MAX): Likewise.
10368         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
10369         variable.
10371         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
10372         (PF_MAX): Update value.
10373         (AF_KCM): New macro.
10374         (SOL_NETBEUI): Likewise.
10375         (SOL_LLC): Likewise.
10376         (SOL_DCCP): Likewise.
10377         (SOL_NETLINK): Likewise.
10378         (SOL_TIPC): Likewise.
10379         (SOL_RXRPC): Likewise.
10380         (SOL_PPPOL2TP): Likewise.
10381         (SOL_BLUETOOTH): Likewise.
10382         (SOL_PNPIPE): Likewise.
10383         (SOL_RDS): Likewise.
10384         (SOL_IUCV): Likewise.
10385         (SOL_CAIF): Likewise.
10386         (SOL_ALG): Likewise.
10387         (SOL_NFC): Likewise.
10388         (SOL_KCM): Likewise.
10389         (MSG_BATCH): New enum value and macro.
10391 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
10393         [BZ #18185]
10394         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
10395         sharing L2 cache to 2 for Knights Landing.
10397 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
10399         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
10400         (FTW_DP): Do not expect for [XPG3 || XPG4].
10401         (FTW_SL): Do not expect for [XPG3].
10402         (FTW_SLN): Likewise.
10403         (FTW_PHYS): Likewise.
10404         (FTW_MOUNT): Likewise.
10405         (FTW_DEPTH): Likewise.
10406         (FTW_CHDIR): Likewise.
10407         (nftw): Likewise.
10408         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
10409         variable.
10411 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
10413         * manual/errno.texi: Fix various typos & grammar errors.
10415 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
10417         * manual/intro.texi: Fix duplicated typo.
10419 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
10421         [BZ #13304]
10422         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
10423         <float.h>, <math_private.h> and <stdlib.h>.
10424         (add_split): New function.
10425         (mul_split): Likewise.
10426         (ext_val): New typedef.
10427         (store_ext_val): New function.
10428         (mul_ext_val): New function.
10429         (compare): New function.
10430         (add_split_ext): New function.
10431         (__fmal): After checking for Inf, NaN and zero, compute result as
10432         an exact sum of scaled double values in round-to-nearest before
10433         adding those up and adjusting for other rounding modes.
10434         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
10435         tests of fma.
10436         * math/auto-libm-test-out: Regenerated.
10438 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
10440         [BZ #20119]
10441         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
10442         processor level type mask for CPUID with EAX == 11.
10444 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
10446         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
10447         logical threads if the HTT bit is 0.
10448         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
10449         (index_cpu_HTT): Likewise.
10450         (reg_HTT): Likewise.
10452 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
10454         [BZ #20115]
10455         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
10456         Remove alignments on jump targets.
10458 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
10460         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
10461         (getpwent): Likewise.
10462         (setpwent): Likewise.
10463         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
10464         variable.
10466         * conform/data/search.h-data (insque): Do not expect for [XPG3].
10467         (remque): Likewise.
10468         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
10469         variable.
10471 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
10473         * math/libm-test.inc: Update comment not to refer to signs of NaNs
10474         not being tested.
10476 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
10478         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10479         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
10480         call.
10481         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10482         (__condvar_cleanup1): Likewise.
10484 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
10486         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
10487         New
10488         (__pthread_unwind): Renamed to ...
10489         (PTHREAD_UNWIND): This.
10490         (__pthread_enable_asynccancel): Replace
10491         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
10493 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
10495         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
10496         (CLONE_NEWCGROUP): New macro.
10498         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
10499         (Q_GETNEXTQUOTA): New macro.
10501 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
10503         [BZ #19907]
10504         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
10505         buffer updated by the previous run.
10506         * string/test-memcpy.c (do_one_test): Likewise.
10507         * benchtests/bench-memmove.c (do_one_test): Add a comment.
10508         * string/test-memmove.c (do_one_test): Likewise.
10510 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
10512         [BZ #20094]
10513         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
10514         not [__USE_XOPEN].
10515         (unlockpt): Likewise.
10516         (ptsname): Likewise.
10517         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
10518         variable.
10520         [BZ #20076]
10521         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
10522         instead of [__USE_UNIX98].
10523         (S_ISSOCK): Likewise.
10524         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
10525         variable.
10527         [BZ #20074]
10528         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
10529         [__USE_POSIX].
10530         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
10531         variable.
10533         [BZ #20051]
10534         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
10535         (ttyslot): Do not declare.
10536         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
10537         (ttyslot): New prototype.
10538         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
10539         variable.
10540         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10542 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10544         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
10546 2016-05-13  Florian Weimer  <fweimer@redhat.com>
10548         Fix race condition in tst-mallocfork2, use fewer resources.
10549         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
10550         to current process group.
10551         (signal_sender): Yield in the non-sleeping case.
10553 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
10555         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
10556         (ecvt): Likewise.
10557         (fcvt): Likewise.
10558         (gcvt): Likewise.
10559         (getsubopt): Likewise.
10560         (grantpt): Likewise.
10561         (initstate): Likewise.
10562         (l64a): Likewise.
10563         (mktemp): Likewise.
10564         (mkstemp): Likewise.
10565         (ptsname): Likewise.
10566         (random): Likewise.
10567         (realpath): Likewise.
10568         (setstate): Likewise.
10569         (srandom): Likewise.
10570         (ttyslot): Likewise.
10571         (unlockpt): Likewise.
10572         (valloc): Likewise.
10574         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
10575         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
10576         variable.
10578 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
10580         [BZ #20072]
10581         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
10582         init_cpu_features only if SHARED is defined.
10583         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
10585 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
10587         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
10588         non-inclusive caches on Intel processors.
10590 2016-05-13  Florian Weimer  <fweimer@redhat.com>
10592         * malloc/malloc.c (dumped_main_arena_start)
10593         (dumped_main_arena_end): New variables.
10594         (DUMPED_MAIN_ARENA_CHUNK): New macro.
10595         (do_check_chunk): Skip dumped fake mmapped chunks.
10596         (munmap_chunk): Likewise.
10597         (__libc_free): Do not adjust statistics for fake mmapped chunks.
10598         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
10599         mmapped chunks.
10600         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
10601         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
10602         and dumped_main_arena_end to cover the dumped heap.
10604 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
10606         * conform/data/time.h-data (getdate_err): Do not expect for
10607         [XPG3].
10608         (getdate): Likewise.
10609         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
10610         variable.
10612         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
10613         (F_ULOCK): Likewise.
10614         (F_TEST): Likewise.
10615         (F_TLOCK): Likewise.
10616         (useconds_t): Likewise.
10617         (intptr_t): Do not expect for [XPG3] or [XPG4].
10618         (brk): Do not expect for [XPG3]
10619         (fchown): Likewise.
10620         (fchdir): Likewise.
10621         (ftruncate): Likewise.
10622         (getdtablesize): Likewise.
10623         (gethostid): Likewise.
10624         (getpagesize): Likewise.
10625         (getpgid): Likewise.
10626         (getsid): Likewise.
10627         (getwd): Likewise.
10628         (lchown): Likewise.
10629         (lockf): Likewise.
10630         (readlink): Likewise.
10631         (sbrk): Likewise.
10632         (setpgrp): Likewise.
10633         (setregid): Likewise.
10634         (setreuid): Likewise.
10635         (symlink): Likewise.
10636         (sync): Likewise.
10637         (truncate): Likewise.
10638         (ualarm): Likewise.
10639         (usleep): Likewise.
10640         (vfork): Likewise.
10641         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
10642         variable.
10644         [BZ #20054]
10645         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
10646         not [__USE_UNIX98].
10647         * conform/data/unistd.h-data (gethostname): Do not expect for
10648         [XPG3].
10650         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
10651         [!POSIX] (S_IFBLK): Likewise.
10652         [!POSIX] (S_IFCHR): Likewise.
10653         [!POSIX] (S_IFIFO): Likewise.
10654         [!POSIX] (S_IFREG): Likewise.
10655         [!POSIX] (S_IFDIR): Likewise.
10656         [!POSIX] (S_IFLNK): Likewise.
10657         [!POSIX] (S_IFSOCK): Likewise.
10658         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
10659         variable.
10660         (test-xfail-XPG4/fcntl.h/conform): Likewise.
10662 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
10664         * sysdeps/aarch64/memset.S (__memset):
10665         Rewrite of optimized memset.
10667 2016-05-12  Florian Weimer  <fweimer@redhat.com>
10669         [BZ #19703]
10670         Partially async-signal-safe fork for single-threaded processes.
10671         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
10672         variable.  Do not acquire and reset/release malloc and libio locks
10673         in single-threaded processes.
10674         * malloc/tst-mallocfork2.c: New file.
10675         * malloc/Makefile (tests): Add it.
10677 2016-05-12  Florian Weimer  <fweimer@redhat.com>
10679         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
10680         argument.  Use scratch buffer instead of extend_alloca.
10681         (gethosts): Use scratch buffer instead of extend_alloca.
10682         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
10683         extend_alloca.
10684         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
10686 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
10688         [BZ #20055]
10689         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
10690         instead of [__USE_UNIX98].
10691         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
10692         [__USE_UNIX98].
10693         * conform/data/termios.h-data (tcgetsid): Do not expect for
10694         [XPG3].
10695         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
10696         variable.
10697         (test-xfail-XPG4/termios.h/conform): Likewise.
10699 2016-05-11  Florian Weimer  <fweimer@redhat.com>
10701         Do not use mcheck in localedef.
10702         * locale/programs/localedef.c (turn_on_mcheck)
10703         (__malloc_initialize_hook): Remove.
10705 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10707         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
10708         * sysdeps/s390/s390-64/Makefile: Likewise.
10710 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
10712         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
10713         Remove ifunc-defines.sym.
10714         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
10715         Likewise.
10716         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
10717         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
10718         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
10719         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
10720         rtld-global-offsets.sym.
10721         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
10722         * sysdeps/x86/cpu-features-offsets.sym: This.
10723         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
10724         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
10726 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
10728         [BZ #20073]
10729         * io/sys/stat.h (fchmod): Declare for
10730         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
10731         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
10732         variable.
10734         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
10735         [XPG3] (S_IFSOCK): Likewise.
10736         [XPG3] (S_ISVTX): Likewise.
10737         [XPG3] (S_ISLNK): Likewise.
10738         [XPG3] (S_ISSOCK): Likewise.
10739         [XPG3] (fchmod): Likewise.
10740         [XPG3] (lstat): Likewise.
10741         [XPG3] (mknod): Likewise.
10743         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
10744         [XPG3].  Expect type long and XFAIL for [XPG4].
10745         (st_blocks): Likewise.
10747         [BZ #20044]
10748         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
10749         (pthread_atfork): New prototype.
10750         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
10751         variable.
10753         [BZ #20043]
10754         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
10755         prototype.
10757 2016-05-10  Florian Weimer  <fweimer@redhat.com>
10759         [BZ #20017]
10760         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
10761         gmtime.
10763 2016-05-10  Florian Weimer  <fweimer@redhat.com>
10765         [BZ #19994]
10766         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
10767         flag in _res.options.
10769 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
10771         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
10772         [XPG3 || XPG4].
10773         (blksize_t): Likewise.
10774         (clockid_t): Likewise.
10775         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
10776         variable.
10777         (test-xfail-XPG4/sys/types.h/conform): Likewise.
10779 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10781         * sysdeps/unix/sysv/linux/s390/init-first.c:
10782         Add VDSO_SYMBOL(getcpu).
10783         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
10784         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
10785         Add VDSO_SYMBOL(getcpu).
10786         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
10787         New define HAVE_GETCPU_VSYSCALL.
10788         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10790 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
10792         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
10793         instead of <sysdeps/x86_64/cacheinfo.c>.
10794         * sysdeps/x86_64/cacheinfo.c: Moved to ...
10795         * sysdeps/x86/cacheinfo.c: Here.
10797 2016-05-04  Florian Weimer  <fweimer@redhat.com>
10799         * malloc/malloc-internal.h: Adjust header file guard.
10801 2016-05-04  Florian Weimer  <fweimer@redhat.com>
10803         [BZ #19787]
10804         * inet/getnameinfo.c (check_sprintf_result): New function.
10805         (CHECKED_SNPRINTF): New macro.
10806         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
10807         to the host buffer.
10808         (gni_host_local): Use checked_copy to copy the host name.
10809         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
10810         (gni_serv_local): Use checked_copy to copy the service name.
10811         (getnameinfo): Remove unnecessary truncation of result buffers.
10813 2016-05-04  Florian Weimer  <fweimer@redhat.com>
10815         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
10816         in case of inet_ntop failure.
10818 2016-05-04  Florian Weimer  <fweimer@redhat.com>
10820         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
10821         avoid long lines.
10822         (gni_host_inet_numeric): Likewise.  Reduce scope of local
10823         variables.
10824         (gni_host_inet, gni_host_local): Add comment.
10825         (gni_host): Add comment.  Use temporary to avoid long lines.
10827 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10829         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
10830         registers specifiers where general purpose registers specifiers should
10831         have been used.
10833 2016-05-04  Florian Weimer  <fweimer@redhat.com>
10835         [BZ #19779]
10836         CVE-2016-1234
10837         Avoid copying names of directory entries.
10838         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
10839         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
10840         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
10841         (struct readdir_result): New type.
10842         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
10843         (GL_READDIR): New macros.
10844         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
10845         (convert_dirent, convert_dirent64): New functions.
10846         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
10847         convert_dirent64.  Adjust references to the readdir result.
10848         * sysdeps/unix/sysv/linux/i386/glob64.c:
10849         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
10850         * posix/bug-glob2.c (LONG_NAME): Define.
10851         (filesystem): Add LONG_NAME.
10852         (my_DIR): Increase the size of room_for_dirent.
10854 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
10856         [BZ #20041]
10857         * misc/sys/select.h (__need_timespec): Only define if
10858         [__USE_XOPEN2K].
10859         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
10860         variable.
10861         (test-xfail-XPG4/utmpx.h/conform): Likewise.
10862         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10863         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10865 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10866             Segher Boessenkool  <segher@gcc.gnu.org>
10868         [BZ #20004]
10869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
10870         (__novec_swapcontext): Add missing load.
10872 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
10874         [BZ #20023]
10875         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
10876         <time.h>.
10877         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
10878         variable.
10879         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10881 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
10884         flags CLONE_VM compare.
10886 2016-05-02  Florian Weimer  <fweimer@redhat.com>
10888         [BZ #20031]
10889         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
10890         completely empty.
10892 2016-05-02  Florian Weimer  <fweimer@redhat.com>
10894         [BZ #19573]
10895         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
10896         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
10897         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
10898         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
10899         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
10900         (hesiod_free_list): Mark as hidden.
10901         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
10902         res_set, res_get.
10903         * hesiod/hesiod.c: Remove unnecessary forward declarations.
10904         (init, __hesiod_res_get, __hesiod_res_set): Remove.
10905         (hesiod_init): Remove obsolete res_ninit call.
10906         (hesiod_end): Do not free resolver state.  Do not invoke callback.
10907         (hesiod_bind): Do not call init.
10908         (get_txt_records): Use res_mkquery, res_send instead of
10909         res_nmkquery, res_nsend.
10910         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
10911         instead of _nss_hesiod_init.
10912         (_nss_hesiod_initgroups_dyn): Likewise.
10913         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
10914         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
10915         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
10917 2016-05-02  Florian Weimer  <fweimer@redhat.com>
10919         * hesiod/hesiod_p.h (DEF_RHS): Remove.
10920         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
10922 2016-05-02  Florian Weimer  <fweimer@redhat.com>
10924         * hesiod/hesiod.h: Remove RCS keyword.
10925         * hesiod/hesiod_p.h: Likewise.
10927         * hesiod/hesiod.c: Likewise.
10929 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
10931         [BZ #12450]
10932         * locale/iso-639.def: Add Samogitian/sgs.
10934 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
10936         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
10938         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
10940 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
10941             Carlos O'Donell  <carlos@redhat.com>
10943         [BZ #19072]
10944         * grp/Makefile (headers): Add grp-merge.h
10945         (routines): Add grp-merge.
10946         * grp/getgrgid_r.c: Include grp-merge.h.
10947         (DEEPCOPY_FN): Define.
10948         (MERGE_FN): Define.
10949         * grp/getgrname_r.c: Include grp-merge.h.
10950         (DEEPCOPY_FN): Define.
10951         (MERGE_FN): Define.
10952         * grp/grp-merge.c: New file.
10953         * grp/grp-merge.h: New file.
10954         * include/grp-merge.h: New file.
10955         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
10956         __copy_grp@GLIBC_PRIVATE.
10957         * manual/nss.texi (Actions in the NSS configuration): Describe
10958         return, continue, and merge.
10959         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
10960         (DEEPCOPY_FN): Define.
10961         (MERGE_FN): Define.
10962         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
10963         (DEEPCOPY_FN): Define.
10964         (MERGE_FN): Define.
10965         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
10966         [!MERGE_FN]: Define __merge_einval.
10967         (CHECK_MERGE): Define.
10968         (REENTRANT_NAME): Process merge if do_merge is true.
10969         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
10970         (__nss_getent_r): Likewise.
10971         * nss/nsswitch.c (nss_parse_service_list): Likewise.
10972         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
10974 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10976         [BZ #20012]
10977         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
10978         length to calculate the buffer to read.
10979         (fmemopen_write): Set the buffer position based on bytes written.
10980         (fmemopen_seek): Return EINVAL for invalid whence modes.
10982         [BZ #19957]
10983         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
10984         tst-getpid2.
10985         (test): Add tst-clone2.
10986         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
10987         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
10988         pid/tid fields for CLONE_VM.
10989         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
10990         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
10991         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
10992         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
10993         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
10994         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
10995         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
10996         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
10997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
10998         Likewise.
10999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11000         Likewise.
11001         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
11002         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
11003         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
11004         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
11005         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
11006         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
11007         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
11008         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
11010 2016-04-29  Florian Weimer  <fweimer@redhat.com>
11012         [BZ #19642]
11013         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
11014         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
11015         (gni_serv_local, gni_serv): New functions extracted from
11016         getnameinfo.
11017         (getnameinfo): Call gni_host and gni_serv to perform the
11018         processing.  Always free scratch buffer.
11020 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11022         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
11023         remaining bytes in the dest string, with zeros.
11025 2016-04-29  Florian Weimer  <fweimer@redhat.com>
11027         [BZ #20010]
11028         CVE-2016-3706
11029         * sysdeps/posix/getaddrinfo.c
11030         (convert_hostent_to_gaih_addrtuple): New function.
11031         (gethosts): Call convert_hostent_to_gaih_addrtuple.
11032         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
11033         AF_INET data.
11035 2016-04-29  Florian Weimer  <fweimer@redhat.com>
11037         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
11038         callback function gl_readdir.
11039         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
11040         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
11041         (glob_in_dir): Remove len.  Use strdup instead of malloc and
11042         memcpy to copy the name.
11043         * manual/pattern.texi (Calling Glob): Document requirements for
11044         implementations of the gl_readdir callback function.
11045         * manual/examples/mkdirent.c: New example.
11046         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
11047         per the manual guidance.
11048         * posix/tst-gnuglob.c (my_readdir): Likewise.
11050 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
11052         [BZ #20014]
11053         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
11054         not [__USE_POSIX].
11055         (getchar_unlocked): Likewise.
11056         (putc_unlocked): Likewise.
11057         (putchar_unlocked): Likewise.
11058         (flockfile): Likewise.
11059         (ftrylockfile): Likewise.
11060         (funlockfile): Likewise.
11061         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
11062         variable.
11063         (test-xfail-XPG4/stdio.h/conform): Likewise.
11065         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
11066         Expect constant.
11067         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
11068         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
11069         variable.
11070         (test-xfail-XPG4/langinfo.h/conform): Likewise.
11071         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11073         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
11074         [__USE_LARGEFILE64] (off64_t): Likewise.
11075         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
11076         variable.
11078 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11080         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
11082 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11084         * resolv/inet_addr.c: Reindent preprocessor conditionals.
11085         * resolv/res_init.c: Likewise.
11086         * resolv/res_mkquery.c: Likewise.
11088 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11090         * resolv/res_init.c (isascii): Do not define.  Use definition in
11091         <ctype.h>.
11092         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
11093         (LOG_AUTH): Remove.
11094         (SPRINTF): Remove, adjust caller.
11095         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
11097 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11099         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
11100         SUNSECURITY conditional.
11101         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
11103 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11105         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
11106         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
11107         Remove BSD-related preprocessor conditionals.
11108         * conf/portability.h: Remove.
11110 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11112         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
11113         * resolv/res_data.c: Likewise.
11115 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11117         * resolv/res_comp.c: Remove code conditional on __ultrix__.
11118         * resolv/res_data.c: Remove code conditional on ultrix.
11120 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11122         * resolv/res_init.c (RFC1535): Do not define.  Remove
11123         RFC1535 preprocessor conditionals.
11124         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
11125         because there configuration options which make the resolver
11126         behavior different.
11128 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11130         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
11131         RESOLVSORT preprocessor conditionals.
11132         * resolv/nss_dns/dns-host.c: Likewise.
11133         * resolv/res_init.c: Likewise.
11135 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11137         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
11138         is never defined.
11140 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11142         * inet/inet_lnaof.c: Remove SCSS keyword.
11143         * inet/inet_mkadr.c: Likewise.
11144         * inet/inet_net.c: Likewise.
11145         * inet/inet_netof.c: Likewise.
11146         * inet/rcmd.c: Likewise.
11147         * inet/rexec.c: Likewise.
11148         * inet/ruserpass.c: Likewise.
11150 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11152         * resolv/inet_addr.c: Remove _LIBC conditionals.
11153         * resolv/res_data.c: Likewise.
11154         * resolv/res_init.c: Likewise.
11155         * resolv/res_mkquery.c: Likewise.
11156         * resolv/res_libc.c: Update comment.
11157         * resolv/README: Update.
11159 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11161         * resolv/gethnamaddr.c: Remove SCSS keyword.
11162         * resolv/herror.c: Likewise.
11163         * resolv/inet_addr.c: Likewise.
11164         * resolv/inet_net_ntop.c: Likewise.
11165         * resolv/inet_net_pton.c: Likewise.
11166         * resolv/inet_neta.c: Likewise.
11167         * resolv/inet_ntop.c: Likewise.
11168         * resolv/inet_pton.c: Likewise.
11169         * resolv/ns_date.c: Remove RCS keyword.
11170         * resolv/ns_name.c: Likewise.
11171         * resolv/ns_netint.c: Likewise.
11172         * resolv/ns_parse.c: Likewise.
11173         * resolv/ns_print.c: Likewise.
11174         * resolv/ns_samedomain.c: Likewise.
11175         * resolv/ns_ttl.c: Likewise.
11176         * resolv/nsap_addr.c: Likewise.
11177         * resolv/res_comp.c: Remove SCSS and RCS keyword.
11178         * resolv/res_data.c: Remove RCS keyword.
11179         * resolv/res_debug.c: Remove SCSS and RCS keyword.
11180         * resolv/res_init.c: Likewise.
11181         * resolv/res_mkquery.c: Likewise.
11182         * resolv/res_query.c: Likewise.
11183         * resolv/res_send.c: Likewise.
11185 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
11187         * conform/data/stdio.h-data (fdopen): Expect also for
11188         [XPG3 || XPG4].
11190         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
11191         (fseeko): Likewise.
11192         (ftello): Likewise.
11193         (ftrylockfile): Likewise.
11194         (funlockfile): Likewise.
11195         (getc_unlocked): Likewise.
11196         (getchar_unlocked): Likewise.
11197         (putc_unlocked): Likewise.
11198         (putchar_unlocked): Likewise.
11200 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11202         [BZ #19868]
11203         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
11204         DNS packet syntax checks (which were not needed before).  Skip
11205         over non-PTR records.
11207 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11209         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
11210         definition.  Include <stddef.h> instead.
11212 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11214         [BZ #19831]
11215         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
11216         function.
11217         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
11218         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
11220 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11222         [BZ #19862]
11223         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
11224         (getanswer_r): Do not call syslog.
11225         (gaih_getanswer_slice): Likewise.
11226         * resolv/gethnamaddr.c (AskedForGot): Remove.
11227         (getanswer): Do not call syslog.
11228         (gethostbyaddr): Likewise.
11230 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
11232         * conform/data/signal.h-data (union sigval): Expect also if
11233         [XOPEN2K].
11234         (struct sigevent): Likewise.
11235         (SIGEV_NONE): Likewise.
11236         (SIGEV_SIGNAL): Likewise.
11237         (SIGEV_THREAD): Likewise.
11238         (SIGRTMIN): Likewise.
11239         (SIGRTMAX): Likewise.
11240         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
11241         variable.
11242         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11244 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11246         [BZ #19830]
11247         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
11248         (gaih_getanswer_slice): Likewise.
11249         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
11250         Also check for availability of RR metadata.
11252 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11254         [BZ #19825]
11255         * resolv/res_send.c (send_vc): Remove early *resplen2
11256         initialization.  Set *resplen2 on socket error.  Call
11257         close_and_return_error for other errors.
11259 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
11261         * sysdeps/unix/sysv/linux/netiucv/iucv.h
11262         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
11263         (SCM_IUCV_TRGCLS): New define.
11265 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11267         [BZ #20005]
11268         * libio/fmemopen.c (fmemopen_write): Update internal position after
11269         write.
11270         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
11271         * stdio-common/tst-fmemopen4.c: New file..
11273 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
11275         [BZ #19996]
11276         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
11277         not [__USE_XOPEN2K].
11278         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
11279         variable.
11281         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
11282         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
11283         variable.
11285         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
11286         [__USE_XOPEN2K8].
11287         [__USE_LARGEFILE64] (off64_t): Likewise.
11288         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
11289         variable.
11291 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
11293         [BZ #19989]
11294         * libio/stdio.h (cuserid): Do not declare if
11295         [__USE_XOPEN2K && !__USE_GNU].
11296         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
11297         variable.
11299 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11301         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11302         (sysdep_routines): Add P8 and PPC64 strcspn targets.
11303         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11304         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
11305         ifunc'ed strcspn.
11306         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
11307         [EALIGN]: Removed.
11308         [END]: Likewise
11309         [STRSPN]: Define instead of the above to control symbol name.
11310         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
11311         New file.
11312         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
11313         Likewise.
11314         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
11315         Likewise.
11316         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
11317         Likewise.
11318         * sysdeps/powerpc/powerpc64/power8/strspn.S:
11319         [INITIAL_MASK]: New macro.
11320         [STRCSPN]: Likewise.
11321         [UPDATE_MASK]: Likewise.
11322         [USE_AS_STRCSPN]: Likewise.
11324 2016-04-25  Florian Weimer  <fweimer@redhat.com>
11326         [BZ #19931]
11327         * stdio-common/tst-vfprintf-width-prec.c: New file.
11328         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
11329         (tests-special): Add tst-vfprintf-width-prec-mem.out.
11330         (generated): Add mtrace-related files.
11331         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
11332         (tst-%-mem.out): New pattern rule, replaces
11333         tst-printf-bz18872-mem.out.
11334         * stdio-common/vfprintf.c (vfprintf): When handling a precision
11335         specifier, deallocate any previously allocated work buffer.
11337 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
11339         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
11340         Add nop before __startcontext, add explaining comments.
11342 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
11344         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
11345         any more. Notably since IPV6_PKTINFO has been reintroduced with a
11346         completely different API.
11348         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
11349         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
11350         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
11351         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
11352         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
11353         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
11354         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
11355         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
11356         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
11357         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
11359 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
11361         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
11363 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
11365         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
11366         when it is the default of 0.
11368 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11370         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
11371         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11372         (sysdep_routines): Add new strcasestr targets.
11373         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11374         (__libc_ifunc_impl_list): Likewise.
11375         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
11376         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
11377         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
11378         * sysdeps/powerpc/powerpc64/power8/Makefile:
11379         New file to add strcasestr-ppc64 to sysdep_routines.
11380         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
11381         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
11383 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
11385         * benchtests/Makefile (wcsmbs-benchset): Include only for
11386         native builds and runs.
11387         (LOCALES): Likewise.
11388         (bench-build): Build timing-type here instead of the bench
11389         target.  Generate locale only for native builds.
11390         * benchtests/README: Add note for cross-building.
11392         * benchtests/Makefile (bench-clean): Clean up extra-objs.
11394         * benchtests/README: Update README to include instructions on
11395         using bench-build.
11397         * Makefile.in (bench-build): New target.
11398         * Rules (PHONY): Add bench-build target.
11399         * benchtests/Makefile (bench): Depend on bench-build.
11400         (bench-build): New target.
11402 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11404         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
11405         profil_reply_port.
11406         (profile_waiter): Do not initialize profil_reply_port.
11407         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
11408         frequency instead of tick length in us.
11410 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
11412         [BZ #18712]
11413         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
11414         (__old_mempcpy_small): Likewise.
11415         (__old_strcpy_small): Likewise.
11416         (__old_stpcpy_small): Likewise.
11417         (__old_strpbrk_c2): Fix compat symbol name.
11418         (__old_strpbrk_c3): Likewise.
11419         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
11420         (__mempcpy_small): Remove.
11421         (__strcpy_small): Remove.
11422         (__stpcpy_small): Remove.
11424 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
11426         [BZ #19400]
11427         * locale/iso-639.def: Add the Talossan/tzl language.
11429 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
11431         [BZ #16983]
11432         * locale/programs/ld-address.c (address_finish): Update postal_fmt
11433         comment.  Add "ln" to strchr check on postal_fmt.
11435 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
11437         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
11438         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
11439         tel_dom_fmt.
11441 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11443         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11444         (sysdep_routines): Added __strlen_power8.
11445         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
11446         __strlen_power8 entry.
11447         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
11448         Implementation for POWER8.
11449         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
11450         for __strlen_power8.
11451         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
11452         Implementation for POWER8.
11454 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
11456         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
11458 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
11460         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
11461         Goldmont and Airmont processors.
11463 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
11465         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
11466         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
11467         (__STRING2_SMALL_GET32): Remove.
11468         (memset): Remove.
11469         (__memset_1): Remove.
11470         (__memset_gc): Remove.
11471         (__mempcpy): Remove.
11472         (mempcpy): Remove.
11473         (__mempcpy_args): Remove.
11474         (strchr): Remove.
11475         (strcpy): Remove.
11476         (strcpy_args): Remove.
11477         (__stpcpy_args): Remove.
11478         (__strcmp_cc): Remove.
11479         (__strcmp_gc): Remove.
11480         (strstr): Remove.
11482 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
11484         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
11485         * nis/nis_call.c (nis_server_cache_add): Likewise.
11487 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11489         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
11491 2016-04-14  Florian Weimer  <fweimer@redhat.com>
11493         * malloc/arena.c (__malloc_fork_lock_parent)
11494         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
11495         internal_function attribute.
11497 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
11499         * stdio-common/printf_fp.c (__printf_fp_l):
11500         Rename ___printf_fp_l to __printf_fp_l and
11501         remove strong alias. Use libc_hidden_def instead
11502         of ldbl_hidden_def macro.
11504 2016-04-14  Florian Weimer  <fweimer@redhat.com>
11506         Remove malloc hooks from fork handler.  They are no longer needed
11507         because malloc runs right before fork, and no malloc calls from
11508         other fork handlers are not possible anymore.
11509         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
11510         declarations.
11511         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
11512         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
11513         (atfork_recursive_cntr): Remove.
11514         (__malloc_fork_lock_parent): Do not override malloc hooks and
11515         thread_arena.
11516         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
11517         thread_arena.
11518         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
11519         thread_arena instead of save_arena.
11521 2016-04-14  Florian Weimer  <fweimer@redhat.com>
11523         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
11524         (thread_atfork, thread_atfork_static): Remove.
11525         * sysdeps/mach/hurd/malloc-machine.h:
11526         (thread_atfork, thread_atfork_static): Remove.
11528 2016-04-14  Florian Weimer  <fweimer@redhat.com>
11530         [BZ #19431]
11531         Run the malloc fork handler as late as possible to avoid deadlocks.
11532         * malloc/malloc-internal.h: New file.
11533         * malloc/malloc.c: Include it.
11534         * malloc/arena.c (ATFORK_MEM): Remove.
11535         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
11536         Update comment.
11537         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
11538         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
11539         Remove outdated comment.
11540         (ptmalloc_init): Do not call thread_atfork.  Remove
11541         thread_atfork_static.
11542         * malloc/tst-malloc-fork-deadlock.c: New file.
11543         * Makefile (tests): Add tst-malloc-fork-deadlock.
11544         (tst-malloc-fork-deadlock): Link against libpthread.
11545         * manual/memory.texi (Aligned Memory Blocks): Update safety
11546         annotation comments.
11547         * sysdeps/nptl/fork.c (__libc_fork): Call
11548         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
11549         __malloc_fork_unlock_child.
11550         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
11552 2016-04-14  Florian Weimer  <fweimer@redhat.com>
11554         [BZ #19613]
11555         Remove union wait.
11556         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
11557         (w_stopsig, w_stopval): Remove.
11558         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
11559         stat_loc argument.
11560         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
11561         (__WAIT_STATUS_DEFN): Remove.
11562         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
11563         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
11564         (wait, wait3, wait4): Use int * for the stat_loc argument.
11565         * posix/wait.c (__wait): Likewise.
11566         * posix/wait3.c (__wait3): Likewise.
11567         * posix/wait4.c (__wait4): Likewise.
11568         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
11569         (__WAIT_STATUS_DEFN): Remove.
11570         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
11571         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
11572         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
11573         argument.
11574         * sysdeps/posix/wait.c (__libc_wait): Likewise.
11575         * sysdeps/posix/wait3.c (__wait3): Likewise.
11576         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
11577         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
11578         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
11579         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
11580         stat_loc argument.
11581         * manual/process.texi (BSD Wait Functions): Remove union wait.
11583 2016-04-13  Andreas Schwab  <schwab@suse.de>
11585         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
11586         (test-extras): Add tst-tlsalign-vars.
11587         * math/Makefile: Wrap long lines.
11588         (libm-vec-test-wrappers): Define.
11589         (test-extras): Add $(libm-vec-test-wrappers).
11590         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
11591         * nss/Makefile (extra-test-objs): Add nss_test1.os.
11592         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
11593         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
11594         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
11595         (extra-test-objs): Add corresponding objects.
11597 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
11599         [BZ #19928]
11600         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
11601         New.
11602         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
11603         times of shared cache size.
11604         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
11605         (VMOVNT): New.
11606         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
11607         (VMOVNT): Likewise.
11608         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
11609         (VMOVNT): Likewise.
11610         (VMOVU): Changed to movups for smaller code sizes.
11611         (VMOVA): Changed to movaps for smaller code sizes.
11612         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
11613         comments.
11614         (PREFETCH): New.
11615         (PREFETCH_SIZE): Likewise.
11616         (PREFETCHED_LOAD_SIZE): Likewise.
11617         (PREFETCH_ONE_SET): Likewise.
11618         Rewrite to use forward and backward loops, which move 4 vector
11619         registers at a time, to support overlapping addresses and use
11620         non temporal store if size is above the threshold and there is
11621         no overlap between destination and source.
11623 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
11625         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
11626         Include dl-vdso.
11627         * sysdeps/unix/sysv/linux/mips/Versions: Add
11628         __vdso_clock_gettime.
11629         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
11630         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
11631         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
11632         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
11633         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
11634         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
11635         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11636         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
11637         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
11639 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11641         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
11642         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
11643         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
11644         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
11645         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
11646         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
11647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
11648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
11649         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
11650         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
11651         syscalls generation.
11652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11653         [__NR_pwrite64] (__NR_write): Remove define.
11654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11655         [__NR_pwrite64] (__NR_write): Remove define.
11656         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
11657         Remove define.
11658         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
11659         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
11660         Remove define.
11661         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
11662         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
11663         Linux implementation as base.
11664         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
11666         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
11667         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
11668         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
11669         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
11670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
11671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
11672         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
11673         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
11674         syscall generation.
11675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11676         [__NR_pread64] (__NR_pread): Remove define.
11677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11678         [__NR_pread64] (__NR_pread): Likewise.
11679         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
11680         define.
11681         (__libc_pread): Use SYSCALL_LL macro on offset argument.
11682         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
11683         Remove define.
11684         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
11685         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
11686         Linux implementation as base.
11687         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
11688         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
11689         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
11691         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
11692         definition.
11693         (__ALIGNMENT_COUNT): Likewise.
11694         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
11695         (__ALIGNMENT_COUNT): Likewise.
11696         (SYSCALL_LL): New define.
11697         (SYSCALL_LL64): Likewise.
11698         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
11699         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
11700         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
11701         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
11703         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11704         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
11705         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11706         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
11707         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11708         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
11710 2016-04-11  Florian Weimer  <fweimer@redhat.com>
11712         [BZ #19865]
11713         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
11714         original buffer before retry.
11716 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11718         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
11719         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
11720         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
11721         GLRO(dl_auxv) list.
11722         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
11723         including <ldsodefs.h>.
11724         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
11726 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
11728         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
11729         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
11730         $(CPPFLAGS).
11732 2016-04-09  Khem Raj  <raj.khem@gmail.com>
11734         [BZ #17950]
11735         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
11736         Add -mfpmath=387.
11738 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
11740         * sysdeps/i386/configure.ac: Change == to = when calling test.
11741         * sysdeps/x86_64/configure.ac: Likewise.
11742         * sysdeps/i386/configure: Regenerated.
11743         * sysdeps/x86_64/configure: Likewise.
11745 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
11747         [BZ #16137]
11748         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
11749         * benchtests/bench-strcoll.c (input_files): Likewise.
11750         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
11751         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
11752         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
11754 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
11756         [BZ #19929]
11757         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
11758         [__USE_XOPEN2K8 && !__USE_GNU].
11759         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
11760         variable.
11762         [BZ #19925]
11763         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
11764         define if [!__USE_MISC && __USE_XOPEN2K].
11765         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
11766         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
11767         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
11768         Likewise.
11769         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
11770         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
11771         variable.
11772         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11774 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11776         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11777         (sysdep_routines): Add new strspn targets.
11778         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11779         (__libc_ifunc_impl_list): Add strspn.
11780         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
11781         New file.
11782         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
11783         Likewise.
11784         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
11785         Likewise.
11786         * sysdeps/powerpc/powerpc64/power8/strspn.S:
11787         Likewise.
11789 2016-04-07  Florian Weimer  <fweimer@redhat.com>
11791         * misc/hsearch_r.c: Include <limits.h>.
11793 2016-04-07  Florian Weimer  <fweimer@redhat.com>
11795         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
11797 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
11799         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11800         (MEMCPY_SYMBOL): New.
11801         (MEMPCPY_SYMBOL): Likewise.
11802         (MEMMOVE_CHK_SYMBOL): Likewise.
11803         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
11804         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
11805         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
11806         Provide alias for memcpy in libc.a and ld.so.
11808 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
11810         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11811         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
11812         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
11813         Disabled fro now.
11814         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
11815         symbols.  Properly check USE_MULTIARCH on __memset symbols.
11817 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
11819         * benchtests/Makefile (string-benchset): Add memcpy-large,
11820         memmove-large and memset-large.
11821         * benchtests/bench-memcpy-large.c: New file.
11822         * benchtests/bench-memmove-large.c: Likewise.
11823         * benchtests/bench-memmove-large.c: Likewise.
11824         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
11826 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
11828         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
11829         32-bit displacement to avoid long nop between instructions.
11831 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
11833         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
11834         a comment on VMOVU and VMOVA.
11836 2016-04-04  Florian Weimer  <fweimer@redhat.com>
11838         [BZ #19633]
11839         Use specified locale for number formatting in strfmon_l.
11840         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
11841         (__nl_lookup_word): New inline functions.
11842         * include/printf.h (__print_fp_l): Declare.
11843         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
11844         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
11845         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
11846         (___printf_fp): New function.
11847         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
11848         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
11849         * stdlib/tst-strfmon_l.c (do_test): New test.
11850         * stdlib/Makefile (tests): Add kt.
11851         (LOCALES): Build additional locales.
11852         (tst-strfmon_l.out): Require locales.
11854 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
11856         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
11857         if not in libc.
11858         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
11859         Likewise.
11860         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
11861         Likewise.
11862         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
11863         Likewise.
11865 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
11867         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
11868         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
11869         with unaligned_erms.
11870         (__memmove_erms): Skip if source == destination.
11871         (__memmove_unaligned_erms): Don't check source == destination
11872         first.
11874 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
11876         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
11877         bit_arch_Fast_Copy_Backward for Intel Core proessors.
11879 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11881         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
11882         * string/strspn.c (strspn): Likewise.
11884 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
11886         * benchtests/bench-memset.c (do_test): Support 64-byte
11887         alignment.
11888         (test_main): Test 64-byte alignment.
11890 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
11892         * benchtests/bench-memmove.c (test_main): Test 64-byte
11893         alignment.
11895 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
11897         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
11899 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11901         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
11902         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
11903         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
11905         * string/strpbrk.c (strpbrk): Rewrite function.
11906         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
11907         (__strpbrk_c2): Likewise.
11908         (__strpbrk_c3): Likewise.
11909         * string/string-inlines.c
11910         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
11911         Likewise.
11912         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
11913         Likewise.
11915         * string/strspn.c (strcspn): Rewrite function.
11916         * string/bits/string2.h (strspn): Use __builtin_strcspn.
11917         (__strspn_c1): Remove inline function.
11918         (__strspn_c2): Likewise.
11919         (__strspn_c3): Likewise.
11920         * string/string-inlines.c
11921         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
11922         compatibility symbol.
11923         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
11924         Likewise.
11925         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
11926         Likewise.
11927         * string/string-inlines.c: Include generic version.
11929 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
11930             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11932         * string/Version (libc): Add GLIBC_2.24.
11933         * string/strcspn.c (strcspn): Rewrite function.
11934         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
11935         (__strcspn_c1): Remove inline function.
11936         (__strcspn_c2): Likewise.
11937         (__strcspn_c3): Likewise.
11938         * string/string-inline.c
11939         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
11940         compatibility symbol.
11941         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
11942         Likewise.
11943         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
11944         Likewise.
11945         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
11947 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
11949         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11950         Use ahi instead of aghi to adjust stack pointer.
11952 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11954         [BZ #19853]
11955         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
11956         TEST to take significant digits as second parameter.
11957         [TEST]: Redefine in terms of TEST_N taking 30
11958         significant digits.
11959         (do_test): Add test case to demonstrate precision
11960         failure in the ldbl-128ibm printf.
11961         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
11962         (__mpn_extract_long_double): Carry 7 extra intermediate
11963         bits of precision to aide computing difference when
11964         signs differ.
11966 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
11968         [BZ #19881]
11969         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11970         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
11971         memset-avx512-unaligned-erms.
11972         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11973         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
11974         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
11975         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
11976         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
11977         __memset_sse2_unaligned_erms, __memset_erms,
11978         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
11979         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
11980         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
11981         file.
11982         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
11983         Likewise.
11984         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
11985         Likewise.
11986         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
11987         Likewise.
11989 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
11991         [BZ #19776]
11992         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11993         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
11994         memmove-avx512-unaligned-erms.
11995         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11996         (__libc_ifunc_impl_list): Test
11997         __memmove_chk_avx512_unaligned_2,
11998         __memmove_chk_avx512_unaligned_erms,
11999         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
12000         __memmove_chk_sse2_unaligned_2,
12001         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
12002         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
12003         __memmove_avx512_unaligned_erms, __memmove_erms,
12004         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
12005         __memcpy_chk_avx512_unaligned_2,
12006         __memcpy_chk_avx512_unaligned_erms,
12007         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
12008         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
12009         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
12010         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
12011         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
12012         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
12013         __mempcpy_chk_avx512_unaligned_erms,
12014         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
12015         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
12016         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
12017         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
12018         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
12019         __mempcpy_erms.
12020         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
12021         file.
12022         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12023         Likewise.
12024         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
12025         Likewise.
12026         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
12027         Likewise.
12029 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12031         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
12032         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
12033         (La_s390_64_regs): Likewise.
12034         (La_s390_32_retval): Append vector register lrv_v24.
12035         (La_s390_64_retval): Likeweise.
12036         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
12037         Handle extended structs La_s390_32_regs and La_s390_32_retval.
12038         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
12039         Handle extended structs La_s390_64_regs and La_s390_64_retval.
12041 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12043         [BZ #19916]
12044         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
12045         to create a non-vector/vector version for _dl_runtime_resolve and
12046         _dl_runtime_profile. Move implementation to ...
12047         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
12048         (_dl_runtime_resolve) Save and restore fpr/vrs.
12049         (_dl_runtime_profile) Save and restore vrs and fix some issues
12050         if _dl_call_pltexit is called.
12051         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
12052         Choose the correct resolver function if running on a machine with vx.
12053         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
12054         to create a non-vector/vector version for _dl_runtime_resolve and
12055         _dl_runtime_profile. Move implementation to ...
12056         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
12057         (_dl_runtime_resolve) Save and restore fpr/vrs.
12058         (_dl_runtime_profile) Save and restore vrs and fix some issues
12059         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
12060         Choose the correct resolver function if running on a machine with vx.
12062 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12064         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
12066 2016-03-31  Florian Weimer  <fweimer@redhat.com>
12068         [BZ #19509]
12069         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
12070         skip_map != NULL.
12071         * elf/tst-dlsym-error.c: New file.
12072         * elf/Makefile (tests): Add tst-dlsym-error.
12073         (tst-dlsym-error): Link against libdl.
12075 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
12077         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12078         (__ASSUME_FUTIMESAT): Remove macro.
12079         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
12081 2016-03-29  Florian Weimer  <fweimer@redhat.com>
12083         [BZ #19879]
12084         CVE-2016-3075
12085         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
12086         copy name.
12088 2016-03-29  Florian Weimer  <fweimer@redhat.com>
12090         [BZ #19837]
12091         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
12092         error if parse_line fails.
12094 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12096         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
12097         (index_cpu_ERMS): Likewise.
12098         (reg_ERMS): Likewise.
12100 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
12102         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
12103         PER_LINUX_FDPIC): Add.
12105 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12107         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12108         memcpy-avx512-no-vzeroupper.
12109         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
12110         to ...
12111         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
12112         (MEMCPY): Don't define.
12113         (MEMCPY_CHK): Likewise.
12114         (MEMPCPY): Likewise.
12115         (MEMPCPY_CHK): Likewise.
12116         (MEMPCPY_CHK): Renamed to ...
12117         (__mempcpy_chk_avx512_no_vzeroupper): This.
12118         (MEMPCPY_CHK): Renamed to ...
12119         (__mempcpy_chk_avx512_no_vzeroupper): This.
12120         (MEMCPY_CHK): Renamed to ...
12121         (__memmove_chk_avx512_no_vzeroupper): This.
12122         (MEMCPY): Renamed to ...
12123         (__memmove_avx512_no_vzeroupper): This.
12124         (__memcpy_avx512_no_vzeroupper): New alias.
12125         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
12127 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12129         [BZ #18858]
12130         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12131         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
12132         and mempcpy-avx512-no-vzeroupper.
12133         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
12134         New.
12135         (MEMPCPY): Likewise.
12136         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
12137         (MEMPCPY_CHK): New.
12138         (MEMPCPY): Likewise.
12139         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
12140         (MEMPCPY): Likewise.
12141         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
12142         (MEMPCPY): Likewise.
12143         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
12144         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
12145         Likewise.
12146         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
12147         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
12149 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12150              Amit Pawar  <Amit.Pawar@amd.com>
12152         [BZ #19583]
12153         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
12154         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
12155         processors.  Set Fast_Copy_Backward for AMD Excavator
12156         processors.
12157         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
12158         New.
12159         (index_arch_Fast_Unaligned_Copy): Likewise.
12160         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
12161         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
12163 2016-03-25  Florian Weimer  <fweimer@redhat.com>
12165         [BZ #19791]
12166         * resolv/res_send.c (close_and_return_error): New function.
12167         (send_dg): Initialize *resplen2 after reopen failure.  Call
12168         close_and_return_error for error returns.  On error paths without
12169         __res_iclose, initialze *resplen2 explicitly.  Update comment for
12170         successful return.
12172 2016-03-25  Florian Weimer  <fweimer@redhat.com>
12174         [BZ# 19860]
12175         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
12176         zero if the compiler does not provide the AVX512F bit.
12178 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
12180         [BZ #19848]
12181         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
12182         from 8 to 4.
12183         (__ieee754_powl): Compare integer exponent against 4 not 8.
12184         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
12185         from 8 to 4.
12186         (__ieee754_powl): Compare integer exponent against 4 not 8.
12187         * math/auto-libm-test-in: Add more tests of pow.
12188         * math/auto-libm-test-out: Regenerated.
12189         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
12190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12192 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
12194         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
12195         Make code unconditional.
12196         [!__NR_utimensat]: Remove conditional code.
12197         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
12198         Make code unconditional.
12199         [!__NR_utimensat]: Remove conditional code.
12200         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
12201         Make code unconditional.
12202         [!__NR_utimensat]: Remove conditional code.
12204 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
12206         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
12207         Make code unconditional.
12209 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
12211         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
12212         call-clobbered %eax on retry path.
12213         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
12215 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12217         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
12218         Don't set %rcx twice before "rep movsb".
12220 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12222         [BZ #19583]
12223         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
12224         inline.  Check family before setting family, model and
12225         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
12226         bits here.
12227         (init_cpu_features): Replace HAS_CPU_FEATURE and
12228         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
12229         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
12230         for Intel processors with usable AVX2.  Call get_common_indeces
12231         for other processors with family == NULL.
12232         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
12233         (CPU_FEATURES_ARCH_P): Likewise.
12234         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
12235         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
12237 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12239         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
12240         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
12241         $(shared-thread-library) instead of hardcoding the path to libpthread.
12243 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
12245         * sysdeps/unix/sysv/linux/kernel-features.h
12246         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
12247         * sysdeps/unix/sysv/linux/getdents.c
12248         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
12249         [!have_no_getdents64_defined]: Likewise.
12250         (__GETDENTS): Remove __have_no_getdents64 conditional.
12252 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
12254         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
12255         Remove macro.
12256         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
12257         <kernel-features.h>.
12258         (signalfd) [__NR_signalfd4]: Make code unconditional.
12259         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
12261 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12263         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
12264         style.
12266 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
12268         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
12269         (__pthread_enable_asynccancel): Use JUMPTARGET to call
12270         __pthread_unwind.
12271         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
12272         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
12273         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
12274         (__condvar_cleanup1): Likewise.
12276 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
12278         [BZ #19822]
12279         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
12280         move it to the final $@ location.
12282 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12284         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
12285         access where posix_spawn success and pid argument is null.
12286         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
12287         success case.
12289 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
12291         * sysdeps/mach/hurd/i386/c++-types.data: New file.
12293         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
12295         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
12296         and __fcntl.
12297         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
12298         __fcntl only.
12299         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
12300         adding attribute_hidden to __open and __fcntl.
12302         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
12303         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
12304         depend on libc-modules.h,
12305         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
12307 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
12309         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
12310         Remove macro.
12311         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
12312         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
12313         entry.
12315         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
12316         Remove macro.
12317         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
12318         include <kernel-features.h>.
12319         [!__ASSUME_FALLOCATE]: Remove conditional code.
12320         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
12322 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
12324         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
12325         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
12326         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
12327         (_ZGVdN4v_cos_avx2): Likewise.
12328         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
12329         (_ZGVdN4v_cos): Likewise.
12330         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
12331         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
12332         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
12333         (_ZGVdN4v_exp_avx2): Likewise.
12334         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
12335         (_ZGVdN4v_exp): Likewise.
12336         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
12337         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
12338         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
12339         (_ZGVdN4v_log_avx2): Likewise.
12340         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
12341         (_ZGVdN4v_log): Likewise.
12342         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
12343         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
12344         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
12345         (_ZGVdN4vv_pow_avx2): Likewise.
12346         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
12347         (_ZGVdN4vv_pow): Likewise.
12348         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
12349         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
12350         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
12351         (_ZGVdN4v_sin_avx2): Likewise.
12352         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
12353         (_ZGVdN4v_sin): Likewise.
12354         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
12355         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
12356         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
12357         (_ZGVdN4vvv_sincos_avx2): Likewise.
12358         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
12359         (_ZGVdN4vvv_sincos): Likewise.
12360         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
12361         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
12362         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
12363         (_ZGVbN4v_cosf_sse4): Likewise.
12364         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
12365         (_ZGVdN8v_cosf_avx2): Likewise.
12366         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
12367         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
12368         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
12369         (_ZGVbN4v_expf_sse4): Likewise.
12370         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
12371         (_ZGVdN8v_expf_avx2): Likewise.
12372         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
12373         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
12374         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
12375         (_ZGVbN4v_logf_sse4): Likewise.
12376         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
12377         (_ZGVdN8v_logf_avx2): Likewise.
12378         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
12379         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
12380         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
12381         (_ZGVbN4vv_powf_sse4): Likewise.
12382         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
12383         (_ZGVdN8vv_powf_avx2): Likewise.
12384         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
12385         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
12386         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
12387         (_ZGVbN4vvv_sincosf_sse4): Likewise.
12388         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
12389         (_ZGVdN8vvv_sincosf_avx2): Likewise.
12390         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
12391         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
12392         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
12393         (_ZGVbN4v_sinf_sse4): Likewise.
12394         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
12395         (_ZGVdN8v_sinf_avx2): Likewise.
12396         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
12397         Use JUMPTARGET to call callee.
12398         (WRAPPER_IMPL_SSE2_ff): Likewise.
12399         (WRAPPER_IMPL_SSE2_fFF): Likewise.
12400         (WRAPPER_IMPL_AVX): Likewise.
12401         (WRAPPER_IMPL_AVX_ff): Likewise.
12402         (WRAPPER_IMPL_AVX_fFF): Likewise.
12403         (WRAPPER_IMPL_AVX512): Likewise.
12404         (WRAPPER_IMPL_AVX512_ff): Likewise.
12405         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
12406         Likewise.
12407         (WRAPPER_IMPL_SSE2_ff): Likewise.
12408         (WRAPPER_IMPL_SSE2_fFF): Likewise.
12409         (WRAPPER_IMPL_AVX): Likewise.
12410         (WRAPPER_IMPL_AVX_ff): Likewise.
12411         (WRAPPER_IMPL_AVX_fFF): Likewise.
12412         (WRAPPER_IMPL_AVX512): Likewise.
12413         (WRAPPER_IMPL_AVX512_ff): Likewise.
12414         (WRAPPER_IMPL_AVX512_fFF): Likewise.
12416 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12418         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
12419         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
12420         qualifier.
12421         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
12422         internal_function qualifiers.
12424 2016-03-15  Carlos O'Donell <carlos@redhat.com>
12426         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
12427         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
12428         * math/atest-exp.c (exp_mpn): Mark chk unused.
12429         * math/atest-exp2.c (exp_mpn): Likewise.
12430         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
12431         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
12433 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
12435         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
12436         Remove macro.
12437         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
12438         <kernel-features.h>.
12439         [__NR_ppoll]: Make code unconditional.
12440         [!__ASSUME_PPOLL]: Remove conditional code.
12442         * sysdeps/unix/sysv/linux/kernel-features.h
12443         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
12444         (__ASSUME_ACCEPT4): Likewise.
12445         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12446         Define.
12447         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
12448         Likewise.
12449         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12450         Likewise.
12451         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
12452         Likewise.
12453         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
12454         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
12455         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12456         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12457         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12458         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12459         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12460         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12461         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12462         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12463         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12464         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12465         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12466         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12467         * sysdeps/unix/sysv/linux/i386/kernel-features.h
12468         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12469         Likewise.
12470         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12471         Likewise.
12472         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12473         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
12474         0x040300].
12475         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12476         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12477         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12478         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12479         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
12480         0x030300].
12481         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
12482         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12483         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12484         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
12485         0x040300].
12486         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12487         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12488         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12489         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12490         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12491         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12492         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
12493         0x030300].
12494         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12495         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12496         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12497         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12498         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12499         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12500         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12501         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12502         * sysdeps/unix/sysv/linux/s390/kernel-features.h
12503         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12504         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
12505         0x040300].
12506         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12507         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12508         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12509         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12510         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12511         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12512         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12513         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12514         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12515         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12516         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12517         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12518         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12519         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12520         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
12521         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12522         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12523         Likewise.
12524         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12525         Likewise.
12527 2016-03-15  Andreas Schwab  <schwab@suse.de>
12529         [BZ #19257]
12530         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
12531         statp->_u._ext.nscount as loop count.
12533 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
12535         * math/test-signgam-finite-c99.c: Also #undef
12536         __LIBC_INTERNAL_MATH_INLINES.
12537         * math/test-signgam-main.c: Likewise.
12539 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
12541         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
12542         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12543         (MADV_FREE): Likewise.
12544         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
12545         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
12546         EPOLLEXCLUSIVE.
12548 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
12550         * timezone/README: Remove mention of checktab.awk. Mention wiki
12551         SharedSourceFiles.
12553 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
12555         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
12556         WUNTRACED.
12558 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12560         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
12561         order to match the type of p when calling atomic_exchange_acq().
12563 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12565         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
12566         cfi_offset calls.
12567         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
12568         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
12569         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
12570         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
12571         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
12573 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
12575         * timezone/checktab.awk: Removed.
12577 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
12579         * manual/math.texi (Errors in Math Functions): Document relaxed
12580         accuracy goals for IBM long double.
12581         * math/libm-test.inc (test_exceptions): Always allow spurious
12582         "underflow" and "inexact" exceptions for IBM long double.
12584 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
12586         [BZ #19762]
12587         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
12588         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
12589         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
12590         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
12591         (bit_arch_*): This for feature array.
12592         (bit_*): Renamed to ...
12593         (bit_cpu_*): This for cpu array.
12594         (index_*): Renamed to ...
12595         (index_arch_*): This for feature array.
12596         (index_*): Renamed to ...
12597         (index_cpu_*): This for cpu array.
12598         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
12599         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
12600         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
12601         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
12602         bit_##name with index_cpu_##name and bit_cpu_##name.
12603         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
12604         bit_##name with index_arch_##name and bit_arch_##name.
12606 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
12608         [BZ #19792]
12609         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
12610         Terminate FDE before return label.
12612 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
12614         [BZ #19790]
12615         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
12616         (rintl): Define as macro.
12617         [USE_AS_NEARBYINTL] (__rintl): Likewise.
12618         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
12619         of fesetround.  Ensure results are evaluated before end of scope.
12620         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
12621         USE_AS_NEARBYINTL and include s_rintl.c.
12622         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
12623         Disable exception traps in new environment.
12624         (libc_feholdsetround_ppc_ctx): Likewise.
12626 2016-03-08  Roland McGrath  <roland@hack.frob.com>
12628         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
12629         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
12630         (tst_audit10_aux) [__AVX512F__]: ... here.
12632 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
12634         * include/sys/auxv.h: New file.
12636 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
12638         [BZ #19759]
12639         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
12641 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12643         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
12644         operand modifier.
12645         (feclearexcept): Likewise.
12647 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12649         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
12650         to reflect the entire 32-bit HWCAP.
12651         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
12652         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
12654 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
12656         [BZ #19783]
12657         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
12658         $(test-via-rtld-prefix).
12659         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
12661 2016-03-08  Florian Weimer  <fweimer@redhat.com>
12663         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
12664         union wait.  Report any non-zero exit status as error.
12666 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12668         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
12669         configured with --enable-hardcoded-path-in-tests.
12671 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
12673         [BZ #19677]
12674         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
12675         (__ieee754_remainderl): Put zero low parts in canonical form.
12676         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
12677         file.  Based on
12678         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
12679         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
12680         with wrapper round test-fmodrem-ldbl-128ibm.c.
12681         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
12682         file.
12683         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
12684         Likewise.
12685         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
12686         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
12688 2016-03-07  Florian Weimer  <fweimer@redhat.com>
12690         [BZ #19610]
12691         * elf/ldconfig.c (opt_link): Update comment.
12692         (options): Update help string for option -X.
12693         (search_dir): Unlink stale symbolic link only if updating symbolic
12694         links.
12695         * elf/tst-ldconfig-X.sh: New file.
12696         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
12697         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
12699 2016-03-07  Andreas Schwab  <schwab@suse.de>
12701         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
12702         needed arguments.
12704 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
12706         [BZ #15333]
12707         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
12708         to lstat64.
12710 2016-03-07  Florian Weimer  <fweimer@redhat.com>
12712         * libio/filedoalloc.c (isatty): Remove.
12713         (local_isatty): Add comment.  Call __isatty directly.
12714         (_IO_file_doallocate): Update comment.  Assume _LIBC.
12715         * libio/wfiledoalloc.c (isatty): Remove.
12716         (_IO_wfile_doallocate): Update comment.
12718 2016-03-07  Florian Weimer  <fweimer@redhat.com>
12720         [BZ #19269]
12721         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
12722         tst-audit4-aux.o.
12723         (tst-audit10): Depend on tst-audit10-aux.o.
12724         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
12725         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
12726         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
12727         instead of inline AVX code.
12728         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
12729         instead of inline AVX512 code.
12730         * sysdeps/x86_64/tst-audit4-aux.c: New file
12731         * sysdeps/x86_64/tst-audit10-aux.c: New file
12733         [BZ #19648]
12734         * test-skeleton.c (main): Do not set RLIMIT_DATA.
12736 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12738         [BZ #14750]
12739         [BZ #10354]
12740         [BZ #18433]
12741         * include/sched.h (__clone): Add hidden prototype.
12742         (__clone2): Likewise.
12743         * include/unistd.h (__dup): Likewise.
12744         * posix/Makefile (tests): Add tst-spawn2.
12745         * posix/tst-spawn2.c: New file.
12746         * sysdeps/posix/dup.c (__dup): Add hidden definition.
12747         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
12748         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
12749         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
12750         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
12751         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
12752         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
12753         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
12754         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
12755         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
12756         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
12757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
12758         Likewise.
12759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12760         Likewise.
12761         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
12762         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
12763         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
12764         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
12765         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
12766         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
12767         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
12768         * sysdeps/unix/sysv/linux/nptl-signals.h
12769         (____nptl_is_internal_signal): New function.
12770         * sysdeps/unix/sysv/linux/spawni.c: New file.
12772         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
12773         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
12774         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
12775         * posix/tst-execvp2.c (do_test): Likewise.
12776         * posix/tst-execvp3.c (do_test): Likewise.
12777         * posix/tst-execvp4.c (do_test): Likewise.
12778         * posix/tst-execvpe1.c: New file.
12779         * posix/tst-execvpe2.c: Likewise.
12780         * posix/tst-execvpe3.c: Likewise.
12781         * posix/tst-execvpe4.c: Likewise.
12782         * posix/tst-execvpe5.c: Likewise.
12783         * posix/tst-execvpe6.c: Likewise.
12785         [BZ #19534]
12786         * posix/execl.c (execl): Remove dynamic memory allocation.
12787         * posix/execle.c (execle): Likewise.
12788         * posix/execlp.c (execlp): Likewise.
12790 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
12792         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
12793         Replace .text with .text.avx512.
12794         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
12795         Likewise.
12797 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
12799         * sysdeps/generic/libnsl.abilist: New file.
12800         * sysdeps/generic/libutil.abilist: New file.
12802 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
12804         [BZ #19762]
12805         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
12806         HAS_ARCH_FEATURE with Fast_Rep_String.
12807         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
12808         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
12809         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
12810         Likewise.
12811         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
12812         Likewise.
12813         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
12814         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
12815         Likewise.
12816         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
12817         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
12818         Likewise.
12820 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
12822         [BZ #19745]
12823         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
12824         with *%rax in call.
12826 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
12828         [BZ #19745]
12829         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
12830         with *__libc_start_main@GOTPCREL(%rip) in call.
12832 2016-03-04  Roland McGrath  <roland@hack.frob.com>
12834         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
12835         inside conditional for nonempty $(CXX).
12837         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
12838         nonempty.
12840         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
12841         to test for empty $(CXX) rather than $(CXX) of "no".
12843 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
12845         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
12847 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
12848             H.J. Lu  <hongjiu.lu@intel.com>
12850         [BZ #18880]
12851         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
12852         instead of Slow_BSF, and also check for Fast_Copy_Backward to
12853         enable __memcpy_ssse3_back.
12855 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
12857         [BZ #19758]
12858         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
12859         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
12861 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
12863         [BZ #19490]
12864         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
12865         (__fentry__): Likewise.
12867 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
12869         * gmon/Makefile (noprof): Add $(sysdep_noprof).
12870         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
12872 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
12874         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
12875         __mcount_internal directly.
12876         (C_LABEL(__fentry__)): Likewise.
12877         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
12878         directly.
12880 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
12882         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12883         (__start_context): Call __setcontext directly.
12885 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
12887         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12888         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12889         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
12890         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
12891         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12892         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12893         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
12894         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12895         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12896         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
12897         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
12898         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
12899         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12900         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12901         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12902         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12903         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
12904         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12905         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12906         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
12907         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
12908         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12909         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12910         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
12911         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
12912         Remove conditional code.
12913         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12914         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
12915         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12916         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12917         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
12918         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12919         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
12920         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12921         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12922         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12923         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12924         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12926 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
12928         * NEWS (2.23): Fix typo in bug 19048 text.
12930 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
12932         [BZ #14259]
12933         * Makeconfig: Rename msgcatdir to localedir.
12934         Rename inst_msgcatdir to inst_localedir.
12935         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
12936         * config.make.in: Add localedir.
12937         * elf/Makefile ($(objpfx)sotruss): Use localedir.
12938         (ldd-rewrite): Likewise.
12939         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
12940         (install-others): Use inst_localedir.
12941         (CPPFLAGS): Use localedir.
12942         * locale/Makefile (locale-CPPFLAGS): Likewise.
12943         * po/Makefile (mo-installed): Use inst_localedir.
12945         [BZ #19575]
12946         * localedata/charmaps/GB18030: Update comments regarding PAU to
12947         non-PUA mappings.
12949 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
12951         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
12952         test for header.
12953         * sysdeps/unix/sysv/linux/configure: Regenerated.
12954         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
12955         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
12956         Remove conditional code.
12957         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
12959         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12960         Define to 3.2.0.
12961         (arch_minimum_kernel): Likewise.
12962         * sysdeps/unix/sysv/linux/configure: Regenerated.
12963         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
12964         Define to 2.6.32.
12965         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
12966         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
12967         (arch_minimum_kernel): Define to 2.6.32.
12968         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
12969         * README: Document Linux 3.2 requirement.
12970         * manual/install.texi (Linux): Document Linux 3.2 headers
12971         requirement.
12972         * INSTALL: Regenerated.
12974 2016-02-24  Andreas Schwab  <schwab@suse.de>
12976         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
12977         if !NO_LONG_DOUBLE.
12979 2016-02-22  Roland McGrath  <roland@hack.frob.com>
12981         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
12982         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
12984 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
12986         [BZ #19512]
12987         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
12989 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
12991         * posix/tst-dir.c: Include libc-internal.h.
12993 2016-02-20  Florian Weimer  <fweimer@redhat.com>
12995         [BZ #19056]
12996         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
12997         * manual/filesys.texi (Reading/Closing Directory): Mention
12998         deprecaion.
12999         * posix/tst-dir.c (main): Disable deprecation warning in test.
13001 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
13003         [BZ #19679]
13004         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
13005         Renamed to ...
13006         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
13007         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13008         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
13009         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13010         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
13011         * sysdeps/x86_64/dl-trampoline.h
13012         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13013         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
13015 2016-02-19  Mark Wielaard  <mjw@redhat.com>
13017         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
13019 2016-02-19  Mark Wielaard  <mjw@redhat.com>
13021         * elf/elf.h (R_386_GOT32X): New.
13022         (R_386_NUM): Update.
13023         (R_X86_64_GOTPCRELX: New.
13024         (R_X86_64_REX_GOTPCRELX): New.
13025         (R_X86_64_NUM): Update.
13027 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
13029         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
13031 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
13033         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
13034         assign attr->stackaddr to it, and adjust it down when
13035         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
13036         [_STACK_GROWS_UP]: Delete assert.
13037         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
13038         Implement stack grows up logic.
13039         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
13040         stack grows up logic.
13042 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13044         * NEWS: Update with 2.24 template.
13046 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
13048         [BZ #19678]
13049         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13050         Ensure +0.0 is returned when taking the next value below the least
13051         positive value.
13053 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13055         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
13056         available.  Do not define NO_THREADS.
13057         * malloc/malloc.c: Do not check NO_THREADS.
13058         * malloc/arena.c: Likewise.
13060 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13062         * malloc/malloc.c (__libc_mallinfo): Update comment.
13063         (struct malloc_par): Remove max_total_mem member, it was always 0.
13064         (int_mallinfo): Store 0 into usmblks (no functional change).
13065         * malloc/hooks.c (struct malloc_state): Document that
13066         max_total_mem is always 0.
13067         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
13068         always 0.
13069         * manual/memory.texi (Statistics of Malloc): Likewise.
13071 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13073         * malloc/malloc.c (sysmalloc): Do not update arena_max.
13074         * malloc/arena.c (arena_max): Remove.
13075         (heap_trim, _int_new_arena): Do not update arena_max.
13077 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13079         * resolv/res_init.c (res_ninit): Update comment.
13081 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13083         [BZ #19505]
13084         * posix/spawn_int.h: Add headers and include guard.
13085         (__spawn_valid_fd): New function.
13086         * posix/spawn_faction_addopen.c
13087         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
13088         * posix/spawn_faction_addclose.c
13089         (posix_spawn_file_actions_addclose): Likewise.
13090         * posix/spawn_faction_adddup2.c
13091         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
13092         second file descriptor.
13093         * posix/spawn_valid_fd.c: New file.
13094         * posix/tst-posix_spawn-fd.c: New file.
13095         * posix/Makefile (routines): Add spawn_valid_fd.
13096         (tests): Add tst-posix_spawn-fd.
13098 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13100         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
13101         (do_test): Limit the number of arenas, so that we can use fewer
13102         outer threads.  Limit timeout to 3 seconds, in preparation for a
13103         larger TIMEOUT value.
13105 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
13107         [BZ #19674]
13108         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
13109         sign in overflowing and underflowing results when overflow or
13110         underflow is detected early.  Include sign in result before rather
13111         than after scaling.
13113         [BZ #19603]
13114         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13115         (__ieee754_remainderl): Adjust sign of integer version of low part
13116         when taking absolute value of high part.
13117         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13118         * math/libm-test.inc (remainder_test_data): Add another test.
13119         (remquo_test_data): Likewise.
13121 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
13123         [BZ #19602]
13124         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
13125         equal high parts and both low parts zero specially.
13126         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
13127         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
13128         Add test-fmodl-ldbl-128ibm.
13130         [BZ #19595]
13131         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
13132         common logic for all cases of shifting subnormal results.  Do not
13133         insert sign bit in shifted mantissa.  Always pass -1023 as biased
13134         exponent to ldbl_insert_mantissa in subnormal case.
13136         [BZ #19594]
13137         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
13138         on high and low parts then adjust result and use
13139         ldbl_canonicalize_int if needed.
13141         [BZ #19593]
13142         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
13143         on high part and __floor or __ceil on low part then use
13144         ldbl_canonicalize_int if needed.
13146         [BZ #19592]
13147         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
13148         high and low parts then use ldbl_canonicalize_int if needed.
13150         [BZ #17899]
13151         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
13152         New function.
13153         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
13154         on high and low parts then use ldbl_canonicalize_int if needed.
13156 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13158         * configure: Regenerated.
13160         * po/libc.pot: Regenerated.
13162         * po/be.po: Updated translation.
13163         * po/bg.po: Likewise.
13164         * po/ca.po: Likewise.
13165         * po/cs.po: Likewise.
13166         * po/da.po: Likewise.
13167         * po/el.po: Likewise.
13168         * po/eo.po: Likewise.
13169         * po/es.po: Likewise.
13170         * po/fi.po: Likewise.
13171         * po/fr.po: Likewise.
13172         * po/gl.po: Likewise.
13173         * po/hr.po: Likewise.
13174         * po/hu.po: Likewise.
13175         * po/ia.po: Likewise.
13176         * po/id.po: Likewise.
13177         * po/it.po: Likewise.
13178         * po/ja.po: Likewise.
13179         * po/lt.po: Likewise.
13180         * po/nb.po: Likewise.
13181         * po/nl.po: Likewise.
13182         * po/pt_BR.po: Likewise.
13183         * po/rw.po: Likewise.
13184         * po/sk.po: Likewise.
13185         * po/sl.po: Likewise.
13186         * po/sv.po: Likewise.
13187         * po/tr.po: Likewise.
13188         * po/zh_CN.po: Likewise.
13189         * po/zh_TW.po: Likewise.
13191         * version.h (RELEAES): Set to "development".
13192         (VERSION): Set to 2.23.90.
13194         * version.h (RELEASE): Set to "stable".
13195         (VERSION): Set to 2.23.
13196         * include/feature.h (__GLIBC_MINOR__): Set to 23.
13198         * NEWS: Updated fixed bugs.
13200 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
13201             Wilco Dijkstra  <wdijkstr@arm.com>
13203         [BZ #19462]
13204         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
13205         (_STRING_INLINE_unaligned): This.
13206         * include/string.h: Include <string_private.h>.
13207         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
13208         _STRING_INLINE_unaligned.
13209         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
13210         (_STRING_INLINE_unaligned): New.
13211         * sysdeps/aarch64/string_private.h: New file.
13212         * sysdeps/generic/string_private.h: Likewise.
13213         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
13214         * sysdeps/s390/string_private.h: Likewise.
13215         * sysdeps/x86/string_private.h: Likewise.
13216         * sysdeps/m68k/m680x0/m68020/bits/string.h
13217         (_STRING_ARCH_unaligned): Renamed to ...
13218         (_STRING_INLINE_unaligned): This.
13219         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
13220         to ...
13221         (_STRING_INLINE_unaligned): This.
13222         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
13223         to ...
13224         (_STRING_INLINE_unaligned): This.
13225         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
13226         to ...
13227         (_STRING_INLINE_unaligned): This.
13229 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
13230             H.J. Lu  <hongjiu.lu@intel.com>
13232         [BZ #19590]
13233         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
13234         relocation.
13236 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
13238         [BZ #18665]
13239         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
13240         *herrno_p.
13241         (gaih_getanswer): Document functional behviour. Return tryagain
13242         if any result is tryagain.
13243         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
13244         when freed.
13245         * resolv/res_send.c: Add copyright text.
13246         (__libc_res_nsend): Document that MAXPACKET is expected.
13247         (send_vc): Document. Remove buffer reuse.
13248         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
13249         size of the buffer. Add Dprint for truncated UDP buffer.
13251 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
13253         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
13254         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
13255         * INSTALL: Regenerate.
13257 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
13258             Jonathan Wakely  <jwakely@redhat.com>
13259             Carlos O'Donell  <carlos@redhat.com>
13261         [BZ 19439]
13262         * math/Makefile (tests): Add test-math-isinff.
13263         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
13264         * math/bits/mathcalls.h [__USE_MISC]: Use
13265         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
13266         functions not in C++11 and which don't conflict e.g. isinff,
13267         isinfl etc.
13268         * math/test-math-isinff.cc: New file.
13270 2016-02-12  Florian Weimer  <fweimer@redhat.com>
13272         * misc/bug18240.c (do_test): Set RLIMIT_AS.
13274 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13276         [BZ #19529]
13277         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
13279 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13281         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
13283 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
13285         [BZ #19550]
13286         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
13287         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
13288         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
13289         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
13290         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
13291         New syscall entry.
13292         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
13293         New syscall entry.
13294         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
13295         syscall entry.
13297 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
13299         [BZ #18240]
13300         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
13301         unsigned int wraparound.
13303 2016-01-27  Florian Weimer  <fweimer@redhat.com>
13305         [BZ #18240]
13306         * misc/bug18240.c: New test.
13307         * misc/Makefile (tests): Add it.
13309 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
13310             Joseph Myers  <joseph@codesourcery.com>
13312         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
13313         load in branch delay slot when less than a word of input left.
13315 2016-01-27  Andreas Schwab  <schwab@suse.de>
13317         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
13318         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
13319         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
13320         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
13322 2016-01-26  David S. Miller  <davem@davemloft.net>
13324         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
13326 2016-01-25  David S. Miller  <davem@davemloft.net>
13328         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
13329         __sqrtl_finite.
13330         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
13331         instead using versioned_symbol.
13332         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
13333         of entries.
13335         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
13336         __sqrtl_finite to GLIBC_2.23
13338 2016-01-25  Ricchard Henderson  <rth@redhat.com>
13340         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13342 2016-01-25  Andreas Schwab  <schwab@suse.de>
13344         [BZ #17514]
13345         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
13346         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
13347         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
13348         * nptl/tst-mutex-errorcheck.c: New file.
13350 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13352         [BZ #18560]
13353         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
13354         (IPCOP_semop): Likewise.
13355         (IPCOP_semget): Likewise.
13356         (IPCOP_semctl): Likewise.
13357         (IPCOP_msgsnd): Likewise.
13358         (IPCOP_msgrcv): Likewise.
13359         (IPCOP_msgget): Likewise.
13360         (IPCOP_msgctl): Likewise.
13361         (IPCOP_shmat): Likewise.
13362         (IPCOP_shmdt): Likewise.
13363         (IPCOP_shmget): Likewise.
13364         (IPCOP_shmctl): Likewise.
13366 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
13368         * string/tst-endian.c: Include <libc-internal.h>.
13369         (do_test): Ignore tautological-compare warnings around
13370         "htobeXX (beXXtoh (i)) != i" and
13371         "htoleXX (leXXtoh (i)) != i" if-statements.
13373 2016-01-24  David S. Miller  <davem@davemloft.net>
13375         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
13376         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
13377         alias.
13378         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
13379         __sqrtl_finite.
13381         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13383 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
13385         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
13386         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
13387         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
13389 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13391         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
13392         (thread_func): Use new function to simplify barrier check.
13393         (do_test): Use new function to simplify checking barrier exit
13394         code, and actually join the child thread.
13396 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13398         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
13399         semicolon.
13400         (__libc_tend): Likewise.
13401         (__libc_tabort): Likewise.
13403 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
13405         * sysdeps/nios2/libm-test-ulps: Update.
13406         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
13407         (__gtsf2): Likewise.
13408         (__unorddf2): Likewise.
13409         (__unordsf2): Likewise.
13410         (__ledf2): Likewise.
13412 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
13414         * nis/nis_table.c (__follow_path): Disable diagnostic for
13415         uninitialized variable that is a false positive for gcc 4.7.
13416         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
13418 2016-01-20  Roland McGrath  <roland@hack.frob.com>
13420         * sysdeps/nacl/lowlevellock-futex.h
13421         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
13422         Always evaluate PRIVATE argument.
13424 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
13426         [BZ #19490]
13427         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
13428         (pthread_cond_broadcast): Use ENTRY/END
13429         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
13430         (pthread_cond_signal): Likewise.
13431         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
13432         Likewise.
13433         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
13434         Likewise.
13435         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
13436         Likewise.
13438 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
13440         * sysdeps/ieee754/dbl-64/s_finite.c
13441         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
13442         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
13443         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
13444         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
13445         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
13447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13448         (__gtsf2): Add as optional for libc.so.
13449         (__unordsf2): Likewise.
13450         (__signbit): Remove for libc.so.
13451         (__signbitl): Likewise.
13453 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
13455         * iconvdata/bug-iconv11.c (test_ibm93x):
13456         Use %zu printf format specifier for size_t argument.
13458 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
13460         * math/gen-libm-test.pl (parse_ulps): Do not reduce
13461         already-recorded ulps.
13462         * sysdeps/arm/libm-test-ulps: Regenerated.
13463         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13464         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13465         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13467 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
13468             Paul Pluzhnikov  <ppluzhnikov@google.com>
13470         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
13471         assembler not supporting AVX-512.
13473 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
13475         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13477 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
13479         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13480         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13482         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13484         * sysdeps/arm/libm-test-ulps: Regenerated.
13486 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
13488         [BZ #19451]
13489         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
13491 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
13493         [BZ #19486]
13494         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
13495         * sysdeps/generic/fix-fp-int-convert-overflow.h
13496         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
13497         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
13498         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
13499         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
13500         Likewise.
13501         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
13502         Avoid conversions to long int where inexact exceptions
13503         could be raised.
13504         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
13505         Likewise.
13506         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
13507         Avoid conversions to long long int where inexact exceptions
13508         could be raised.
13509         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
13510         Likewise.
13512 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
13514         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
13515         * configure: Regenerated.
13517 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
13519         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
13521 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
13523         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
13524         outside of comment.
13526 2016-01-15  Torvald Riegel  <triegel@redhat.com>
13528         * nptl/tst-barrier1.c: Add description on first line.
13529         * nptl/tst-barrier2.c: Likewise.
13530         * nptl/tst-barrier3.c: Likewise.
13531         * nptl/tst-barrier4.c: Likewise.
13532         * nptl/tst-barrier5.c: Likewise.
13534 2016-01-15  Torvald Riegel  <triegel@redhat.com>
13536         [BZ #18868]
13537         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
13539 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
13541         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
13542         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
13543         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
13544         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
13545         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
13546         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
13547         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13548         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13549         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13550         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13551         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13553 2016-01-15  Torvald Riegel  <triegel@redhat.com>
13555         [BZ #13065]
13556         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
13557         new implementation.
13558         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
13559         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
13560         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
13561         (BARRIER_IN_THRESHOLD): New macro.
13562         * nptl/pthread_barrierattr_setpshared.c
13563         (pthread_barrierattr_setpshared): Clean up.
13564         * nptl/tst-barrier4.c: Correct comment.
13565         * nptl/tst-barrier5.c: New file.
13566         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
13567         (gen-as-const-headers): Remove lowlevelbarrier.sym.
13568         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
13569         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
13570         * nptl/lowlevelbarrier.sym: Remove.
13571         * nptl/DESIGN-barrier.txt: Remove.
13572         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
13573         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
13574         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
13575         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
13576         error.
13577         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
13578         implementation.
13580 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13582         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
13583         (do_child): Mask SIGRTMIN while thr is running.
13585 2016-01-15  Martin Sebor  <msebor@redhat.com>
13587         [BZ #19432]
13588         * iconvdata/Makefile: Add bug-iconv11.
13589         * iconvdata/bug-iconv11.c: New test.
13590         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
13591         * iconvdata/ibm933.c: Same.
13592         * iconvdata/ibm935.c: Same.
13593         * iconvdata/ibm937.c: Same.
13594         * iconvdata/ibm939.c: Same.
13596 2016-01-15  Martin Sebor  <msebor@redhat.com>
13598         [BZ #19443]
13599         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
13600         [DEBUG] (_ufc_set_bits): Declare used.
13601         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
13602         [DEBUG] (print_all): Declare used.
13603         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
13604         operands of the ternary ?: expression to target type.
13605         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
13606         calling the undeclared abort.
13607         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
13609 2016-01-15  Martin Sebor  <msebor@redhat.com>
13611         [BZ #18755]
13612         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
13613         warnings.
13614         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
13615         (__gai_create_helper_thread): Same.
13616         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
13617         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
13618         to suppress -Wmaybe-uninitialized warnings.
13620 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
13622         [BZ #19465]
13623         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
13624         inside if.
13625         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13626         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13627         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13629 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
13631         [BZ #19466]
13632         * time/tst-mktime2.c (time_t_max): Removed.
13633         (time_t_min): Likewise.
13634         (TYPE_SIGNED): New.
13635         (TYPE_MINIMUM): Likewise.
13636         (TYPE_MAXIMUM): Likewise.
13637         (TIME_T_MIN): Likewise.
13638         (TIME_T_MAX): Likewise.
13639         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
13640         and TIME_T_MIN.
13641         (do_test): Likewise.
13643 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
13645         [BZ #19467]
13646         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
13647         index_Fast_Unaligned_Load flag for Excavator family CPUs.
13649 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
13651         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
13653 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
13655         * benchtests/Makefile (PYTHON): Define.
13656         (bench-func): Use $(PYTHON) to run python scripts.
13657         ($(objpfx)bench-%.c): Likewise.
13659 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
13661         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
13662         leading slash when `file_name' is "/".
13664 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
13666         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
13667         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
13668         Likewise.
13669         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
13670         Likewise.
13671         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
13672         Likewise.
13673         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
13674         enum constant and macro.
13675         (PTRACE_SETSIGMASK): Likewise.
13676         (PTRACE_SECCOMP_GET_FILTER): Likewise.
13677         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13678         (PTRACE_GETSIGMASK): Likewise.
13679         (PTRACE_SETSIGMASK): Likewise.
13680         (PTRACE_SECCOMP_GET_FILTER): Likewise.
13681         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
13682         Likewise.
13683         (PTRACE_SETSIGMASK): Likewise.
13684         (PTRACE_SECCOMP_GET_FILTER): Likewise.
13685         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13686         (PTRACE_GETSIGMASK): Likewise.
13687         (PTRACE_SETSIGMASK): Likewise.
13688         (PTRACE_SECCOMP_GET_FILTER): Likewise.
13689         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
13690         Likewise.
13691         (PTRACE_SETSIGMASK): Likewise.
13692         (PTRACE_SECCOMP_GET_FILTER): Likewise.
13693         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
13694         Likewise.
13695         (PTRACE_SETSIGMASK): Likewise.
13696         (PTRACE_SECCOMP_GET_FILTER): Likewise.
13697         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
13698         Likewise.
13699         (PTRACE_SETSIGMASK): Likewise.
13700         (PTRACE_SECCOMP_GET_FILTER): Likewise.
13702 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
13703             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13705         [BZ #19439]
13706         * math/bits/mathcalls.h
13707         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
13708         prototype.
13709         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
13711 2016-01-11  Andreas Schwab  <schwab@suse.de>
13713         [BZ #19253]
13714         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
13715         cache when TZDEFRULES was used.
13716         * time/tst-tzname.c: New file.
13717         * time/Makefile (test): Add tst-tzname.
13718         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
13719         * timezone/Makefile (test-zones): Add $(posixrules-file).
13720         ($(testdata)/$(posixrules-file)): New rule.
13722 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
13724         Fix doc quoting problems with Texinfo 5
13725         Without this change, in the info file output, Texinfo 5 quotes code
13726         in text with undirected single quotes 'like this' and generates
13727         code examples that with many PDF readers cannot be cut out of PDFs
13728         and pasted into code.
13729         * manual/libc.texinfo: Configure the libc manual like the GNU
13730         Emacs manual, by using @documentencoding and setting
13731         txicodequoteundirected and txicodequotebacktick.  This way,
13732         Texinfo 5 quotes code in text with directed single quotes ‘like
13733         this’ and produces examples that can be cut out of PDFs.  This
13734         change causes Texinfo 5 to generate info files that contain UTF-8
13735         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
13736         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
13738 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13740         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
13741         __libc_tabort, __libc_tend): New wrappers that enforce compiler
13742         barriers to their respective compiler built-ins.
13743         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
13744         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
13745         * sysdeps/powerpc/sysdep.h: Likewise.
13746         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
13747         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
13748         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
13750 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
13752         * scripts/config.guess: Revert previous shebang change.
13753         * scripts/config.sub: Likewise.
13754         * scripts/mkinstalldirs: Likewise.
13756 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13758         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
13759         PPC_FEATURE2_HAS_IEEE128.
13760         * sysdeps/powerpc/dl-procinfo.c:
13761         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
13763 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
13765         [BZ #19415]
13766         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
13767         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
13768         (_dl_lookup_address): Rewrite using function resolver trampoline.
13769         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
13770         two bits in address.
13772 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
13774         * longlong.h: Change !__SHMEDIA__ to
13775         (!defined (__SHMEDIA__) || !__SHMEDIA__).
13776         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
13778 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
13779             Joseph Myers  <joseph@codesourcery.com>
13780             Mark Shinwell  <shinwell@codesourcery.com>
13781             Andrew Stubbs  <ams@codesourcery.com>
13782             Rich Felker <dalias@libc.org>
13784         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
13786 2016-01-07  Richard Henderson  <rth@redhat.com>
13788         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
13790 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
13792         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
13793         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
13794         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13795         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13796         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
13798 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
13799             Joseph Myers  <joseph@codesourcery.com>
13801         * timezone/private.h: Update from tzcode 2015g.
13802         * timezone/tzfile.h: Likewise.
13803         * timezone/tzselect.ksh: Likewise.
13804         * timezone/zdump.c: Likewise.
13805         * timezone/zic.c: Likewise.
13806         * timezone/ialloc.c: Remove file.
13807         * timezone/scheck.c: Likewise.
13808         * timezone/Makefile (extra-objs): Remove variable.
13809         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
13810         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
13811         -Wno-maybe-uninitialized.
13812         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
13813         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
13814         (CFLAGS-ialloc.c): Remove variable.
13815         (CFLAGS-scheck.c): Likewise.
13816         * timezone/README: Update list of files from tzcode.
13818 2016-01-07  Khem Raj  <raj.khem@gmail.com>
13820         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
13821         instead of __fxprintf when _LIBC is undefined.
13823 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
13825         * catgets/test-gencat.sh: Remove space after shebang.
13826         * conform/GlibcConform.pm: Likewise.
13827         * conform/check-header-lists.sh: Likewise.
13828         * conform/conformtest.pl: Likewise.
13829         * conform/linknamespace.pl: Likewise.
13830         * conform/list-header-symbols.pl: Likewise.
13831         * debug/catchsegv.sh: Likewise.
13832         * elf/genrtldtbl.awk: Likewise.
13833         * elf/tst-pathopt.sh: Likewise.
13834         * elf/tst-rtld-load-self.sh: Likewise.
13835         * grp/tst_fgetgrent.sh: Likewise.
13836         * iconvdata/gen-8bit-gap-1.sh: Likewise.
13837         * iconvdata/gen-8bit-gap.sh: Likewise.
13838         * iconvdata/gen-8bit.sh: Likewise.
13839         * iconvdata/run-iconv-test.sh: Likewise.
13840         * intl/tst-gettext.sh: Likewise.
13841         * intl/tst-gettext2.sh: Likewise.
13842         * intl/tst-gettext4.sh: Likewise.
13843         * intl/tst-gettext6.sh: Likewise.
13844         * intl/tst-translit.sh: Likewise.
13845         * io/ftwtest-sh: Likewise.
13846         * libio/test-freopen.sh: Likewise.
13847         * locale/gen-translit.pl: Likewise.
13848         * malloc/tst-mtrace.sh: Likewise.
13849         * manual/check-safety.sh: Likewise.
13850         * manual/libc-texinfo.sh: Likewise.
13851         * manual/tsort.awk: Likewise.
13852         * manual/xtract-typefun.awk: Likewise.
13853         * nptl/tst-cancel-wrappers.sh: Likewise.
13854         * nptl/tst-tls6.sh: Likewise.
13855         * posix/globtest.sh: Likewise.
13856         * posix/tst-getconf.sh: Likewise.
13857         * posix/wordexp-tst.sh: Likewise.
13858         * scripts/check-c++-types.sh: Likewise.
13859         * scripts/check-local-headers.sh: Likewise.
13860         * scripts/config.guess: Likewise.
13861         * scripts/config.sub: Likewise.
13862         * scripts/cpp: Likewise.
13863         * scripts/cross-test-ssh.sh: Likewise.
13864         * scripts/documented.sh: Likewise.
13865         * scripts/evaluate-test.sh: Likewise.
13866         * scripts/gen-libc-abis: Likewise.
13867         * scripts/gen-sorted.awk: Likewise.
13868         * scripts/list-fixed-bugs.py: Likewise.
13869         * scripts/merge-test-results.sh: Likewise.
13870         * scripts/mkinstalldirs: Likewise.
13871         * scripts/rellns-sh: Likewise.
13872         * scripts/test-installation.pl: Likewise.
13873         * scripts/update-copyrights: Likewise.
13874         * stdio-common/tst-printf.sh: Likewise.
13875         * stdio-common/tst-unbputc.sh: Likewise.
13876         * stdlib/tst-fmtmsg.sh: Likewise.
13877         * stdlib/tst-setcontext3.sh: Likewise.
13878         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
13879         * sysdeps/unix/make-syscalls.sh: Likewise.
13881 2016-01-06  John David Anglin  <dave.anglin@bell.net>
13883         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
13884         asm stw with atomic_exchange_rel.  Add explanatory comment.
13885         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
13886         Likewise.
13888 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
13890         [BZ #19122]
13891         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
13892         * sysdeps/generic/dl-unistd.h: New file.
13893         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
13895 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
13897          [BZ #19122]
13898          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
13899          * sysdeps/generic/dl-mman.h: New file.
13900          * sysdeps/mach/hurd/dl-mman.h: Likewise.
13902 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
13904         * manual/texinfo.tex: Update to version 2016-01-04.21 with
13905         trailing whitespace removed.
13906         * scripts/config.guess: Update to version 2016-01-01.
13907         * scripts/config.sub: Update to version 2016-01-01.
13908         * scripts/move-if-change: Update from gnulib.
13910 2016-01-04  Anton Blanchard  <anton@samba.org>
13912         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
13913         for array indices.
13914         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
13916 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
13918         * NEWS: Update copyright dates.
13919         * catgets/gencat.c (print_version): Likewise.
13920         * csu/version.c (banner): Likewise.
13921         * debug/catchsegv.sh: Likewise.
13922         * debug/pcprofiledump.c (print_version): Likewise.
13923         * debug/xtrace.sh (do_version): Likewise.
13924         * elf/ldconfig.c (print_version): Likewise.
13925         * elf/ldd.bash.in: Likewise.
13926         * elf/pldd.c (print_version): Likewise.
13927         * elf/sotruss.sh: Likewise.
13928         * elf/sprof.c (print_version): Likewise.
13929         * iconv/iconv_prog.c (print_version): Likewise.
13930         * iconv/iconvconfig.c (print_version): Likewise.
13931         * locale/programs/locale.c (print_version): Likewise.
13932         * locale/programs/localedef.c (print_version): Likewise.
13933         * login/programs/pt_chown.c (print_version): Likewise.
13934         * malloc/memusage.sh (do_version): Likewise.
13935         * malloc/memusagestat.c (print_version): Likewise.
13936         * malloc/mtrace.pl: Likewise.
13937         * manual/libc.texinfo: Likewise.
13938         * nptl/version.c (banner): Likewise.
13939         * nscd/nscd.c (print_version): Likewise.
13940         * nss/getent.c (print_version): Likewise.
13941         * nss/makedb.c (print_version): Likewise.
13942         * posix/getconf.c (main): Likewise.
13943         * scripts/test-installation.pl: Likewise.
13944         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
13946         * All files with FSF copyright notices: Update copyright dates
13947         using scripts/update-copyrights.
13948         * intl/plural.c: Regenerated.
13949         * locale/programs/charmap-kw.h: Likewise.
13950         * locale/programs/locfile-kw.h: Likewise.
13952 2016-01-02  Helge Deller  <deller@gmx.de>
13954         [BZ #19285]
13955         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
13956         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
13957         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
13958         (MADV_xxK_PAGES): Remove.
13960 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
13962         [BZ #15421]
13963         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
13964         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
13965         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
13966         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
13968 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
13970         [BZ #19408]
13971         * sysdeps/unix/sysv/linux/personality.c: New file.
13972         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
13973         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
13974         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
13975         (sysdep_routines): Add personality.
13976         (tests): Add tst-personality.
13977         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
13978         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
13979         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
13980         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
13981         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
13982         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
13983         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
13984         Likewise.
13985         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
13986         Likewise.
13987         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
13988         Likewise.
13989         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
13990         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
13991         Likewise.
13993 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
13995         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
13996         (PATH_ARM_SYSTYPE): Remove.
13997         (PATH_CPUINFO): Likewise.
13998         (IO_BASE_FOOTBRIDGE): Likewise.
13999         (IO_SHIFT_FOOTBRIDGE): Likewise.
14000         (struct platform): Likewise.
14001         (init_iosys): Remove compatibility code for 2.4 kernels.
14002         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
14004 2015-12-29  Florian Weimer  <fweimer@redhat.com>
14006         * malloc/tst-malloc-thread-fail.c: New file.
14007         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
14008         (tst-malloc-thread-fail): Link against libpthread.
14010 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
14012         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
14013         (get_parser): New function.
14014         (main): New function.
14016 2015-12-29  Rob Wu  <rob@robwu.nl>
14018         [BZ #19369]
14019         * resolv/res_init.c (__res_vinit): Reset defdname before use.
14021 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
14023         [BZ #19270]
14024         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
14026 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
14028         [BZ #15421]
14029         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
14031 2015-12-23  Torvald Riegel  <triegel@redhat.com>
14033         [BZ #13690]
14034         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
14035         after releasing it.
14036         (__lll_robust_unlock): Likewise.
14037         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14038         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
14039         (lll_robust_unlock): Likewise.
14040         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
14041         Prevent warnings in callers.
14043 2015-12-23  Florian Weimer  <fweimer@redhat.com>
14045         * malloc/arena.c (list_lock): Update comment.
14047 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14049         * sysdeps/powerpc/hwcapinfo.c: Export symbol
14050         __parse_hwcap_and_convert_at_platform to libc.a.
14052 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14054         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
14055         platform and feature support for POWER9.
14056         * sysdeps/powerpc/dl-procinfo.h: Likewise.
14057         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
14058         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
14059         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
14060         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
14061         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14062         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14063         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14065 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14067         Harmonize generic stdio-lock support with nptl
14069         This fixes build when _IO_funlockfile is a macro, fixes build where
14070         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
14071         stack unwind.
14073         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
14074         _IO_release_lock ): Use cleanup attribute on new
14075         _IO_acquire_lock_file variable instead of assuming that
14076         _IO_release_lock will be called.
14077         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
14078         _IO_acquire_lock_needs_exceptions_enabled.
14079         (_IO_acquire_lock_clear_flags2): New macro.
14081 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14083         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14085 2015-12-21  Florian Weimer  <fweimer@redhat.com>
14087         [BZ #19182]
14088         * malloc/arena.c (list_lock): Document lock ordering requirements.
14089         (free_list_lock): New lock.
14090         (ptmalloc_lock_all): Comment on free_list_lock.
14091         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
14092         (detach_arena): Update comment.  free_list_lock is now needed.
14093         (_int_new_arena): Use free_list_lock around detach_arena call.
14094         Acquire arena lock after list_lock.  Add comment, including FIXME
14095         about incorrect synchronization.
14096         (get_free_list): Switch to free_list_lock.
14097         (reused_arena): Acquire free_list_lock around detach_arena call
14098         and attached threads counter update.  Add two FIXMEs about
14099         incorrect synchronization.
14100         (arena_thread_freeres): Switch to free_list_lock.
14101         * malloc/malloc.c (struct malloc_state): Update comments to
14102         mention free_list_lock.
14104 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
14106         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
14107         Remove functions.
14108         (sloww, sloww1): Accept argument to offset quadrant.
14109         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
14110         quadrant.
14111         (__sin, __cos): Consolidate common code into new functions.
14112         (reduce_sincos_1, do_sincos_1): New functions.
14113         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14115         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
14116         code to new functions.
14117         (reduce_sincos_2, do_sincos_2): New functions.
14118         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14120         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
14121         common code for sincos.
14122         (__cos) [!IN_SINCOS]: Likewise.
14123         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
14124         New function.
14125         (__sincos): Use it.
14127 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
14129         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
14130         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
14131         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14133 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14135         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
14136         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
14137         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
14138         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
14139         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14140         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
14141         index_Prefer_No_VZEROUPPER): New feature.
14142         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
14143         Prefer_No_VZEROUPPER for Knights Landing.
14145 015-12-18  Torvald Riegel  <triegel@redhat.com>
14147         * math/atest-exp2.c (mp_exp_m1): Remove.
14149 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14151         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
14152         syscalls.
14153         (__SYSCALL0): New macro.
14154         (__SYSCALL1): Likewise.
14155         (__SYSCALL2): Likewise.
14156         (__SYSCALL3): Likewise.
14157         (__SYSCALL4): Likewise.
14158         (__SYSCALL5): Likewise.
14159         (__SYSCALL6): Likewise.
14160         (__SYSCALL_CONCAT_X): Likewise.
14161         (__SYSCALL_CONCAT): Likewise.
14162         (__SYSCALL_DIST): Likewise.
14163         (__SYSCALL_CALL): Likewise.
14165 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
14167         [BZ #19363]
14168         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
14170 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14172         [BZ #19375]
14173         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
14174         negative subnormals.
14176 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
14178         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14179         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
14180         (INTERNAL_SYSCALL_NCS): Use it.
14181         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
14183 2015-12-16  Florian Weimer  <fweimer@redhat.com>
14185         [BZ #19243]
14186         * malloc/arena.c (get_free_list): Remove assert and adjust
14187         reference count handling.  Add comment about reused_arena
14188         interaction.
14189         (reused_arena): Add comments abount get_free_list interaction.
14190         * malloc/tst-malloc-thread-exit.c: New file.
14191         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
14192         (tst-malloc-thread-exit): Link against libpthread.
14194 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
14196         [BZ #19367]
14197         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
14198         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
14199         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
14200         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
14201         (index_Prefer_MAP_32BIT_EXEC): Likewise.
14203 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
14205         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
14206         Silvermont optimizations for Knights Landing.
14208 2015-12-15  Andreas Schwab  <schwab@suse.de>
14210         [BZ #17197]
14211         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
14212         immediately after emitting SI.
14213         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
14214         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
14215         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
14216         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
14217         * iconvdata/bug-iconv10.c: New file.
14218         * iconvdata/Makefile (tests): Add bug-iconv10.
14219         ($(objpfx)bug-iconv10.out): New rule.
14221 2015-12-15  Florian Weimer  <fweimer@redhat.com>
14223         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
14224         aliasing violation.
14226 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
14228         [BZ #18472]
14229         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
14230         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
14231         conditionals for them.
14232         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
14233         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
14234         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
14235         sys/kdaemon.h.
14236         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
14237         compat-only syscall, obsoleted in glibc 2.23.
14238         (create_module): Likewise.
14239         (get_kernel_syms): Likewise.
14240         (query_module): Likewise.
14241         (uselib): Likewise.
14242         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
14244 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
14246         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
14247         <linux/version.h>.
14248         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
14249         conditional code.
14250         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
14251         and ioshift_name initialization.
14253 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
14255         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14256         Fix indentation.
14258 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
14260         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
14262 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
14264         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
14266 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
14267             Jakub Wilk  <jwilk@debian.org>
14269         [BZ #19347]
14270         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
14271         to change the group of the device to the tty group.
14273 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
14275         Split large string section; add truncation advice
14276         * manual/examples/strncat.c: Remove.
14277         This example was misleading, as the code would have undefined
14278         behavior if "hello" was longer than SIZE.  Anyway, the manual
14279         shouldn't encourage strncpy+strncat for this sort of thing.
14280         * manual/string.texi (Copying Strings and Arrays): Split into
14281         three sections Copying Strings and Arrays, Concatenating Strings,
14282         and Truncating Strings, as this section was way too long.  All
14283         cross-referenced changed.  Add advice about string-truncation
14284         functions.  Remove misleading strncat example.
14286 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
14288         * manual/nss.texi (NSS Modules Interface): Document
14289         NSS_STATUS_NOTFOUND and SUCCESS.
14291 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
14293         [BZ 18568]
14294         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
14295         201505L, for Unicode 8.
14297 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
14299         * locale/C-translit.h: Regenerate.
14301 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
14303         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
14304         and U+0153.
14306 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
14308         [BZ #19351]
14309         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
14310         expanding log(1+z), compare z rather than its square with epsilon
14311         to determine when to avoid evaluating the expansion.
14313         [BZ #19350]
14314         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
14315         Increase overflow threshold.
14317         [BZ #19349]
14318         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
14319         when small.
14321         * sysdeps/unix/sysv/linux/i386/kernel-features.h
14322         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
14323         New macro.
14324         [__LINUX_KERNEL_VERSION >= 0x040300]
14325         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14326         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
14327         Likewise.
14328         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
14329         Likewise.
14330         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
14331         Likewise.
14332         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
14333         Likewise.
14334         [__LINUX_KERNEL_VERSION >= 0x040300]
14335         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
14336         [__LINUX_KERNEL_VERSION >= 0x040300]
14337         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14338         [__LINUX_KERNEL_VERSION >= 0x040300]
14339         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14340         [__LINUX_KERNEL_VERSION >= 0x040300]
14341         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14342         [__LINUX_KERNEL_VERSION >= 0x040300]
14343         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14344         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
14345         Likewise.
14346         [__LINUX_KERNEL_VERSION >= 0x040300]
14347         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
14348         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14349         Likewise.
14350         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
14351         Likewise.
14352         [__LINUX_KERNEL_VERSION >= 0x040300]
14353         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
14354         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14355         Likewise.
14356         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
14357         Likewise.
14358         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14359         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
14360         Likewise.
14361         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
14362         Likewise.
14363         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
14364         Likewise.
14365         [__LINUX_KERNEL_VERSION >= 0x040300]
14366         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14367         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
14368         Likewise.
14369         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
14370         Likewise.
14371         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
14372         Likewise.
14373         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
14374         Likewise.
14375         [__LINUX_KERNEL_VERSION >= 0x040300]
14376         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
14377         [__LINUX_KERNEL_VERSION >= 0x040300]
14378         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14379         [__LINUX_KERNEL_VERSION >= 0x040300]
14380         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14381         [__LINUX_KERNEL_VERSION >= 0x040300]
14382         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14383         [__LINUX_KERNEL_VERSION >= 0x040300]
14384         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14385         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
14386         Likewise.
14387         [__LINUX_KERNEL_VERSION >= 0x040300]
14388         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
14389         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14390         Likewise.
14391         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
14392         Likewise.
14393         [__LINUX_KERNEL_VERSION >= 0x040300]
14394         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
14395         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14396         Likewise.
14397         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
14398         Likewise.
14399         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14400         (__ASSUME_SOCKET_SYSCALL): Likewise.
14401         (__ASSUME_BIND_SYSCALL): Likewise.
14402         (__ASSUME_CONNECT_SYSCALL): Likewise.
14403         (__ASSUME_LISTEN_SYSCALL): Likewise.
14404         (__ASSUME_ACCEPT_SYSCALL): Likewise.
14405         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14406         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14407         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14408         (__ASSUME_SEND_SYSCALL): Likewise.
14409         (__ASSUME_SENDTO_SYSCALL): Likewise.
14410         (__ASSUME_RECV_SYSCALL): Likewise.
14411         (__ASSUME_RECVFROM_SYSCALL): Likewise.
14412         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
14413         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14414         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14415         (__ASSUME_SENDMSG_SYSCALL): Likewise.
14416         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14417         * sysdeps/unix/sysv/linux/sh/kernel-features.h
14418         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
14419         Likewise.
14420         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
14421         Likewise.
14422         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
14423         Likewise.
14424         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
14425         Likewise.
14426         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
14427         Likewise.
14428         [__LINUX_KERNEL_VERSION >= 0x020625]
14429         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14430         [__LINUX_KERNEL_VERSION >= 0x020625]
14431         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14432         [__LINUX_KERNEL_VERSION >= 0x020625]
14433         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14434         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
14435         Likewise.
14436         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
14437         Likewise.
14438         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
14439         Likewise.
14440         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
14441         Likewise.
14442         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
14443         Likewise.
14444         [__LINUX_KERNEL_VERSION >= 0x020625]
14445         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14446         [__LINUX_KERNEL_VERSION >= 0x020625]
14447         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14448         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
14449         Likewise.
14450         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
14451         Likewise.
14453 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
14455         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
14456         record the current if the current ABI and CPU support the FP64
14457         extension.
14458         (has-modd-spreg): Define to record the current if the current ABI and
14459         CPU support 32-bit floating point values in odd FPU registers.
14460         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14461         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
14462         $(has-modd-spreg) equals yes.
14463         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
14464         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
14465         $(has-modd-spreg) equal yes.
14467 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
14469         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
14470         basename.
14472 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
14474         * benchtests/Makefile (bench-math): Move ffs and ffsll...
14475         (bench-string): ... here.
14476         (bench): Add bench-string.
14477         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
14478         to *-benchset to reflect what they are.
14479         (benchset): Adjust.
14481         * benchtests/sincos-inputs: Add inputs from sin-inputs and
14482         cos-inputs.
14484 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
14486         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
14487         __attribute__ ((__simd__)) for vector math function declarations.
14489 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
14491         Fix typo in strncat, wcsncat manual entries
14492         * manual/string.texi (Copying and Concatenation): Fix typos in
14493         sample implementations of strncat and wcsncat, by having them use
14494         the old value of the destination length, not the new one.
14496 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
14498         [BZ #16961]
14499         [BZ #16962]
14500         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
14501         string on the stack for strtod.
14502         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
14503         a string on the stack for strtof.
14504         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
14505         constructing a string on the stack for strtold.
14506         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
14507         __strtold_nan to GLIBC_PRIVATE.
14508         * math/test-nan-overflow.c: New file.
14509         * math/test-nan-payload.c: Likewise.
14510         * math/Makefile (tests): Add test-nan-overflow and
14511         test-nan-payload.
14513 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
14515         Consistency about byte vs character in string.texi
14516         * manual/string.texi (String and Array Utilities):
14517         Distinguish more carefully among bytes, multibyte characters,
14518         and wide characters.  Use "byte" when talking about C 'char',
14519         to distinguish it more clearly from multibyte characters.
14520         Say "wide character" or "multibyte character" instead of
14521         "character", when a wide or multibyte character is intended.
14522         Similarly for "multibyte string" versus "string".
14523         Define these terms more carefully.
14525 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
14527         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
14528         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
14529         Likewise.
14530         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
14531         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
14532         * sysdeps/sh/math_private.h: New file.
14533         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
14534         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
14535         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
14536         long double function name.
14537         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14538         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14539         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14540         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14541         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
14543         Remove __finitel, __isinfl, and __isnanl.
14544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
14545         Likewise.
14546         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14548         Remove __finitel.
14549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14550         Likewise.
14551         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14553 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
14555         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
14556         installed libmvec_nonshared.a.
14558 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14560         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
14561         (sysdep_routines): Likewise.
14562         (sysdep-rtld-routines): Likewise.
14563         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
14564         [$(subdir) = nptl](tests-static): test-get_hwcap-static
14565         * sysdeps/powerpc/Versions: Added new
14566         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
14567         * sysdeps/powerpc/hwcapinfo.c: New file.
14568         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
14569         and parse hwcap, hwcap2 and platform number information.
14570         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
14571         to store HWCAP+HWCAP2 and platform number.
14572         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
14573         for HWCAP+HWCAP2 and platform number in the TCB.
14574         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
14575         the HWCAP, HWCAP2 and platform number in the TCB.
14576         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
14577         (TLS_INIT_TP): Included calls to add the hwcap and
14578         at_platform values in the TCB in TP initialization.
14579         (TLS_DEFINE_INIT_TP): Likewise.
14580         (THREAD_GET_HWCAP): New macro.
14581         (THREAD_SET_HWCAP): Likewise.
14582         (THREAD_GET_AT_PLATFORM): Likewise.
14583         (THREAD_SET_AT_PLATFORM): Likewise.
14584         * sysdeps/powerpc/powerpc32/dl-machine.h:
14585         (dl_platform_init): New function that calls
14586         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
14587         powerpc32.
14588         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
14589         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
14590         this functionality, static linking case.
14591         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
14592         linking case.
14593         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
14594         __parse_hwcap_and_convert_at_platform for the static linking case.
14595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
14596         Included the new __parse_hwcap_and_convert_at_platform symbol in the
14597         ABI list for GLIBC 2.23.
14598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
14599         Likewise.
14600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
14601         Likewise.
14603 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
14605         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
14606         * configure: Regenerate.
14607         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
14608         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
14610 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
14612         * iconvdata/ibm930.c: Add comment explaining encoding uses.
14613         * iconvdata/ibm933.c: Likewise.
14614         * iconvdata/ibm935.c: Likewise.
14615         * iconvdata/ibm937.c: Likewise.
14616         * iconvdata/ibm939.c: Likewise.
14618 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14620         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
14621         pthread_join.
14622         * nptl/tst-cancel21.c (tf): Likewise.
14624 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
14626         [BZ #19313]
14627         * bits/typesizes.h (__CPU_MASK_TYPE): New.
14628         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
14629         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
14630         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
14631         Likewise.
14632         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
14633         Likewise.
14634         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
14635         Likewise.
14636         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
14637         Likewise.
14638         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
14639         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
14640         unsigned long int with __CPU_MASK_TYPE.
14642 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14644         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14646 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
14648         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
14649         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
14650         t512.x.
14651         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
14653 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
14655         [BZ #19214]
14656         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
14657         argument to return extended model.  Update family and model
14658         with extended family and model when family == 0x0f.
14659         (init_cpu_features): Updated.
14661 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14663         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
14664         signed off_t, so 32bit bigger than 2GiB values are fine actually.
14666         * sysdeps/mach/hurd/mmap64.c: New file.
14668 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
14670         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
14671         rights for its main user thread in NEWTASK.
14673 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
14675         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
14676         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
14678 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
14680         [BZ #14259]
14681         * Makeconfig: Rename localedir to complocaledir.
14682         Rename inst_localedir to inst_complocaledir.
14683         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
14684         * config.make.in: Use complocaledir and libc_cv_complocaledir.
14685         * configure.ac: Use libc_cv_complocaledir.
14686         * configure: Regenerate.
14687         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
14688         -DCOMPLOCALEDIR.
14689         * locale/findlocale.c: Use COMPLOCALEDIR.
14690         * locale/loadarchive.c: Likewise.
14691         * locale/programs/locale.c: Likewise.
14692         * locale/programs/localedef.c: Likewise.
14693         * locale/programs/locarchive.c: Likewise.
14694         * localedata/Makefile: Use inst_complocaledir.
14695         * sysdeps/gnu/configure: Regenerate.
14696         * sysdeps/hppa/configure: Regenerate.
14697         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
14698         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14700         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
14701         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
14702         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
14703         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
14705 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
14707         [BZ #19058]
14708         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
14709         AS_NEEDED.
14710         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
14711         workaround.
14712         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
14713         libmvec-static-only-routines): Added new file.
14714         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
14716 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14718         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
14719         of interrupted RPC instead of restoring it.
14721         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
14722         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
14723         libc_hidden_def.
14724         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
14725         into initialized data instead of common. Define rtld_hidden_data_def.
14726         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
14727         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
14728         libc_hidden_def.
14729         (if_freenameindex): Add libc_hidden_weak.
14730         (if_nameindex): Add libc_hidden_weak.
14731         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
14732         __open64.
14733         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
14734         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
14735         * sysdeps/mach/nanosleep.c: Include <time.h>
14736         (__nanosleep): Rename to __libc_nanosleep.
14737         (__nanosleep): Add weak_alias.
14738         (nanosleep): Update alias.
14740 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
14742         * stdlib/strtod_nan.c: New file.
14743         * stdlib/strtod_nan_double.h: Likewise.
14744         * stdlib/strtod_nan_float.h: Likewise.
14745         * stdlib/strtod_nan_main.c: Likewise.
14746         * stdlib/strtod_nan_narrow.h: Likewise.
14747         * stdlib/strtod_nan_wide.h: Likewise.
14748         * stdlib/strtof_nan.c: Likewise.
14749         * stdlib/strtold_nan.c: Likewise.
14750         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
14751         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
14752         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
14753         * wcsmbs/wcstod_nan.c: Likewise.
14754         * wcsmbs/wcstof_nan.c: Likewise.
14755         * wcsmbs/wcstold_nan.c: Likewise.
14756         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
14757         strtold_nan.
14758         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
14759         wcstof_nan.
14760         * include/stdlib.h (__strtof_nan): Declare and use
14761         libc_hidden_proto.
14762         (__strtod_nan): Likewise.
14763         (__strtold_nan): Likewise.
14764         (__wcstof_nan): Likewise.
14765         (__wcstod_nan): Likewise.
14766         (__wcstold_nan): Likewise.
14767         * include/wchar.h (____wcstoull_l_internal): Declare.
14768         * stdlib/strtod_l.c: Do not include <ieee754.h>.
14769         (____strtoull_l_internal): Remove declaration.
14770         (STRTOF_NAN): Define macro.
14771         (SET_MANTISSA): Remove macro.
14772         (STRTOULL): Likewise.
14773         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
14774         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
14775         (STRTOF_NAN): Define macro.
14776         (SET_MANTISSA): Remove macro.
14777         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
14778         (SET_MANTISSA): Remove macro.
14779         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
14780         macro.
14781         (SET_MANTISSA): Remove macro.
14782         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
14783         macro.
14784         (SET_MANTISSA): Remove macro.
14785         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
14786         (SET_MANTISSA): Remove macro.
14787         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
14788         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
14789         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
14791         [BZ #19266]
14792         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
14793         upper case and lower case letters inside NAN(), not using TOLOWER.
14794         * stdlib/tst-strtod-nan-locale-main.c: New file.
14795         * stdlib/tst-strtod-nan-locale.c: Likewise.
14796         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
14797         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
14798         Depend on $(gen-locales).
14799         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
14800         * wcsmbs/tst-wcstod-nan-locale.c: New file.
14801         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
14802         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
14803         Depend on $(gen-locales).
14804         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
14806 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
14808         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
14810         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
14811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
14812         __finitel, __isinfl, and __isnanl.
14813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
14814         Likewise.
14815         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
14817         __finitel.
14818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14819         Likewise.
14820         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14822 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
14824         * malloc/memusage.c (me): Remove redundant getenv call.
14826 2015-10-24  Florian Weimer  <fweimer@redhat.com>
14828         [BZ #19143]
14829         [BZ #19164]
14830         * nptl/check-cpuset.h: Remove.
14831         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
14832         Remove CPU set size check.
14833         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
14834         Likewise.
14835         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
14836         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
14837         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
14838         (__pthread_setaffinity_new): Remove CPU set size check.
14839         * sysdeps/unix/sysv/linux/sched_setaffinity.c
14840         (__kernel_cpumask_size): Remove.
14841         (__sched_setaffinity_new): Remove CPU set size check.
14842         * manual/threads.texi (Default Thread Attributes): Remove stale
14843         reference to check_cpuset_attr, determine_cpumask_size in comment.
14844         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
14845         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
14846         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
14847         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
14848         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
14849         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
14850         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
14851         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
14852         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
14853         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
14854         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
14855         skeleton test file.
14856         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
14857         tst-affinity-pid.
14859 2015-11-24  Florian Weimer  <fweimer@redhat.com>
14861         * scripts/update-abilist.sh: New file.
14862         * Makefile (+subdir_targets): Add subdir_update-all-abi.
14863         * Makerules (update-all-abi-%, update-all-abi)
14864         (subdir_update-all-abi): New targets.
14865         * elf/Makefile (update-all-abi): New target.
14867 2015-11-24  Florian Weimer  <fweimer@redhat.com>
14869         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
14870         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
14871         (__libc_lock_define_initialized): Use it.
14872         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
14873         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
14874         * malloc/malloc.c (main_arena): Likewise.
14875         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
14876         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
14878 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
14880         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14881         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
14882         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14883         (PTRACE_O_MASK): Update value.
14884         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
14885         New value in enum __ptrace_setoptions.
14886         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14887         (PTRACE_O_MASK): Update value.
14888         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14889         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14890         (PTRACE_O_MASK): Update value.
14891         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
14892         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14893         (PTRACE_O_MASK): Update value.
14894         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
14895         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14896         (PTRACE_O_MASK): Update value.
14897         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
14898         New value in enum __ptrace_setoptions.
14899         (PTRACE_O_MASK): Update value.
14900         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
14901         New value in enum __ptrace_setoptions.
14902         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14903         (PTRACE_O_MASK): Update value.
14905         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
14906         New macro.
14907         (PACKET_AUXDATA): Likewise.
14908         (PACKET_ORIGDEV): Likewise.
14909         (PACKET_VERSION): Likewise.
14910         (PACKET_HDRLEN): Likewise.
14911         (PACKET_RESERVE): Likewise.
14912         (PACKET_TX_RING): Likewise.
14913         (PACKET_LOSS): Likewise.
14914         (PACKET_VNET_HDR): Likewise.
14915         (PACKET_TX_TIMESTAMP): Likewise.
14916         (PACKET_TIMESTAMP): Likewise.
14917         (PACKET_FANOUT): Likewise.
14918         (PACKET_TX_HAS_OFF): Likewise.
14919         (PACKET_QDISC_BYPASS): Likewise.
14920         (PACKET_ROLLOVER_STATS): Likewise.
14921         (PACKET_FANOUT_DATA): Likewise.
14922         (PACKET_MR_UNICAST): Likewise.
14924         [BZ #19242]
14925         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
14926         (TOUPPER): Likewise.
14927         * stdlib/tst-strtol-locale-main.c: New file.
14928         * stdlib/tst-strtol-locale.c: Likewise.
14929         * stdlib/Makefile (tests): Add tst-strtol-locale.
14930         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
14931         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
14932         Depend on $(gen-locales).
14933         * wcsmbs/tst-wcstol-locale.c: New file.
14934         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
14935         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
14936         tr_TR.ISO-8859-9.
14937         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
14938         Depend on $(gen-locales).
14940 2015-11-20  Roland McGrath  <roland@hack.frob.com>
14942         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
14943         __glibc_likely instead of __builtin_expect.  After falling back to
14944         dyncode_create in a non-ET_DYN case, use the allocate_code_data
14945         system interface to register the code pages as occupied.
14947 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
14949         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14950         [!ARM_MATH_PRIVATE_H].
14951         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
14952         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14953         [!HPPA_MATH_PRIVATE_H].
14954         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
14955         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
14956         to [!I386_MATH_PRIVATE_H].
14957         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
14958         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
14959         Change guard to [!M68K_MATH_PRIVATE_H].
14960         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
14961         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
14962         guard to [!MICROBLAZE_MATH_PRIVATE_H].
14963         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
14964         macro.
14965         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14966         [!MIPS_MATH_PRIVATE_H].
14967         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
14968         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14969         [!NIO2_MATH_PRIVATE_H].
14970         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
14971         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14972         [!TILE_MATH_PRIVATE_H].
14973         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
14975         [BZ #15421]
14976         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
14977         initialize with 0 and define as weak alias of __signgam.
14978         * include/math.h [!_ISOMAC] (__signgam): Declare.
14979         * math/Makefile (libm-calls): Add w_lgamma_compat.
14980         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
14981         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
14982         test-signgam-ullong-init.
14983         (tests-static): Add test-signgam-uchar-static,
14984         test-signgam-uchar-init-static, test-signgam-uint-static,
14985         test-signgam-uint-init-static, test-signgam-ullong-static and
14986         test-signgam-ullong-init-static.
14987         (CFLAGS-test-signgam-uchar.c): New variable.
14988         (CFLAGS-test-signgam-uchar-init.c): Likewise.
14989         (CFLAGS-test-signgam-uchar-static.c): Likewise.
14990         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
14991         (CFLAGS-test-signgam-uint.c): Likewise.
14992         (CFLAGS-test-signgam-uint-init.c): Likewise.
14993         (CFLAGS-test-signgam-uint-static.c): Likewise.
14994         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
14995         (CFLAGS-test-signgam-ullong.c): Likewise.
14996         (CFLAGS-test-signgam-ullong-init.c): Likewise.
14997         (CFLAGS-test-signgam-ullong-static.c): Likewise.
14998         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
14999         * math/Versions (libm): Add GLIBC_2.23.
15000         * math/lgamma-compat.h: New file.
15001         * math/test-signgam-main.c: Likewise.
15002         * math/test-signgam-uchar-init-static.c: Likewise.
15003         * math/test-signgam-uchar-init.c: Likewise.
15004         * math/test-signgam-uchar-static.c: Likewise.
15005         * math/test-signgam-uchar.c: Likewise.
15006         * math/test-signgam-uint-init-static.c: Likewise.
15007         * math/test-signgam-uint-init.c: Likewise.
15008         * math/test-signgam-uint-static.c: Likewise.
15009         * math/test-signgam-uint.c: Likewise.
15010         * math/test-signgam-ullong-init-static.c: Likewise.
15011         * math/test-signgam-ullong-init.c: Likewise.
15012         * math/test-signgam-ullong-static.c: Likewise.
15013         * math/test-signgam-ullong.c: Likewise.
15014         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
15015         wrapper of w_lgamma_main.c.
15016         * math/w_lgamma_compat.c: New file.
15017         * math/w_lgamma_compatf.c: Likewise.
15018         * math/w_lgamma_compatl.c: Likewise.
15019         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
15020         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
15021         defining compatibility symbols.
15022         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
15023         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
15024         wrapper of w_lgammaf_main.c.
15025         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
15026         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
15027         defining compatibility symbols.
15028         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
15029         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
15030         wrapper of w_lgammal_main.c.
15031         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
15032         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
15033         defining compatibility symbols.
15034         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
15035         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
15036         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
15037         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
15038         <lgamma-compat.h>.
15039         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
15040         (__ieee754_gamma): Define as alias.
15041         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
15042         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
15043         <lgamma-compat.h>.
15044         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
15045         (__ieee754_gammaf): Define as alias.
15046         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
15047         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
15048         <lgamma-compat.h>.
15049         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
15050         (__ieee754_gammal): Define as alias.
15051         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
15052         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
15053         <math/w_lgamma_compat.c>.
15054         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
15055         Define as alias of __lgamma_compat and use in defining lgammal.
15056         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
15057         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
15058         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
15059         (USE_AS_COMPAT): New macro.
15060         (LGAMMA_OLD_VER): Undefine and redefine.
15061         (lgammal): Do not define here.
15062         (gammal): Only define here if [GAMMA_ALIAS].
15063         * conform/linknamespace.pl (@whitelist): Remove signgam.
15064         * sysdeps/nacl/libm.abilist: Update.
15065         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15066         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15067         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15068         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15069         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15070         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15071         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15072         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15073         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15074         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15075         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15076         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15078         Likewise.
15079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15080         Likewise.
15081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15082         Likewise.
15083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15084         Likewise.
15085         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15086         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15087         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15088         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15089         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15091         Likewise.
15092         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15093         Likewise.
15094         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15095         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15096         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15098 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15100         [BZ #16364]
15101         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
15102         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
15104 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15106         * sysdeps/s390/fpu/bits/mathinline.h:
15107         Use __asm__ [__volatile__] instead of asm [volatile].
15108         * sysdeps/s390/abort-instr.h: Likewise.
15109         * sysdeps/s390/atomic-machine.h: Likewise.
15110         * sysdeps/s390/bits/string.h: Likewise.
15111         * sysdeps/s390/dl-tls.h: Likewise.
15112         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15113         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15114         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15115         * sysdeps/s390/fpu/fesetround.c: Likewise.
15116         * sysdeps/s390/fpu/fpu_control.h: Likewise.
15117         * sysdeps/s390/fpu/s_fma.c: Likewise.
15118         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
15119         * sysdeps/s390/memusage.h: Likewise.
15120         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
15121         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
15122         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
15123         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
15124         * sysdeps/s390/nptl/tls.h: Likewise.
15125         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
15126         * sysdeps/s390/s390-32/backtrace.c: Likewise.
15127         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15128         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
15129         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15130         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15131         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
15132         * sysdeps/s390/s390-64/backtrace.c: Likewise.
15133         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15134         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
15135         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
15136         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15137         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15138         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
15139         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15140         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15141         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
15142         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
15143         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
15144         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15145         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
15146         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15147         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
15149 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15150             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15152         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
15153         Add lwarx hint, and use macro for acquire instruction.
15154         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15155         Likewise.
15156         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
15157         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
15158         update to use new atomic macros.
15160 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15162         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15163         (__lll_trylock_elision): Fix setting of adapt_count.
15164         * sysdeps/unix/sysv/linux/powerpc/htm.h
15165         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
15166         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
15167         (_ABORT_SYSCALL): Renumber, and clarify definition.
15168         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
15170 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15172         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
15173         after system headers to prevent MIN/MAX redefinition.  Define
15174         HAVE_ALLOCA to preserve builtin alloca usage.
15176 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
15178         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
15179         static and don't set or restore rounding.
15180         (__cos)[IN_SINCOS]: Likewise.
15181         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
15182         (__sincos): Set and restore rounding mode.  Remove check for infinite
15183         or NaN input.
15185         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
15187         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
15188         as used.
15190 2015-11-16  Florian Weimer  <fweimer@redhat.com>
15192         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
15194 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
15196         * config.make.in (have-glob-dat-reloc): New.
15197         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
15198         target supports GLOB_DAT relocaton. AC_SUBST.
15199         * configure: Regenerated.
15200         * elf/Makefile (tests): Add tst-prelink.
15201         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
15202         (tst-prelink-ENV): New.
15203         ($(objpfx)tst-prelink-conflict.out): Likewise.
15204         ($(objpfx)tst-prelink-cmp.out): Likewise.
15205         * sysdeps/x86/tst-prelink.c: Moved to ...
15206         * elf/tst-prelink.c: Here.
15207         * sysdeps/x86/tst-prelink.exp: Moved to ...
15208         * elf/tst-prelink.exp: Here.
15209         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
15210         (tst-prelink-ENV): Removed.
15211         ($(objpfx)tst-prelink-conflict.out): Likewise.
15212         ($(objpfx)tst-prelink-cmp.out): Likewise.
15213         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
15215 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
15217         [BZ #14551]
15218         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
15219         (__mpn_construct_long_double): If high part overflows to infinity,
15220         set errno and recompute overflowed result of the correct sign.
15221         * sysdeps/ieee754/ldbl-128ibm/Makefile
15222         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
15223         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
15224         $(libm).
15225         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
15227 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
15229         [BZ #15479]
15230         [BZ #19238]
15231         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
15232         floating-point state after first operation on input.  Restore full
15233         state rather than just rounding mode.
15234         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
15235         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
15236         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
15238         [BZ #19235]
15239         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
15240         add 0.5 to integer arguments.
15241         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
15242         Likewise.
15243         (.LC2): New object.
15245 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
15247         * scripts/pylintrc (reports): Set to no.
15249 2015-11-10  Roland McGrath  <roland@hack.frob.com>
15251         * elf/dl-load.c (open_verify): Take new argument FD.
15252         Skip __open call if passed FD is not -1.
15253         (_dl_map_object, open_path): Update callers.
15254         * elf/dl-sysdep-open.h: New file.
15255         * elf/dl-load.c: Include it.
15256         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
15257         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
15258         * sysdeps/nacl/dl-sysdep-open.h: New file.
15259         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
15260         from libc to rtld.
15262 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
15264         [BZ #19228]
15265         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
15266         and restore full floating-point state.
15267         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15268         Likewise.
15269         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
15270         Likewise.
15271         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
15272         Likewise.
15273         * math/test-nearbyint-except-2.c: New file.
15274         * math/Makefile (tests): Add test-nearbyint-except-2.
15276 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
15278         [BZ #19178]
15279         * sysdeps/x86/Makefile (tests): Add tst-prelink.
15280         (tst-prelink-ENV): New.
15281         ($(objpfx)tst-prelink-conflict.out): Likewise.
15282         ($(objpfx)tst-prelink-cmp.out): Likewise.
15283         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
15284         * sysdeps/x86/tst-prelink.c: New file.
15285         * sysdeps/x86/tst-prelink.exp: Likewise.
15287 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
15289         * math/auto-libm-test-in: Add another test of pow.
15290         * math/auto-libm-test-out: Regenerated.
15291         * math/libm-test.inc (pow_test_data): Add another test.
15293 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15295         [BZ #19219]
15296         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
15297         weak_alias to nearbyintl.
15299 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
15301         * sysdeps/aarch64/bits/string.h: New file.
15302         (_STRING_ARCH_unaligned): Define.
15304 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
15306         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
15307         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
15308         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
15309         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
15310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
15312 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
15314         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
15315         for original name of the DSO.  Add it to the name list of the DSO
15316         if it is actually given.
15317         (_dl_map_object): Keep track of whether an audit module rewrote
15318         the file name.  If yes, pass the original name to
15319         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
15320         debugging is enabled, log the change of the file name.
15321         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
15322         _dl_map_object_from_fd.
15323         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
15324         * elf/tst-audit11.c: New file
15325         * elf/tst-auditmod11.c: New file.
15326         * elf/tst-audit11mod1.c: New file.
15327         * elf/tst-audit11mod2.c: New file.
15328         * elf/tst-audit11mod2.map: New file.
15329         * elf/tst-audit12.c: New file
15330         * elf/tst-auditmod12.c: New file.
15331         * elf/tst-audit12mod1.c: New file.
15332         * elf/tst-audit12mod2.c: New file.
15333         * elf/tst-audit12mod2.map: New file.
15334         * elf/tst-audit12mod3.c: New file.
15336 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
15338         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
15339         Don't create weak aliases,
15340         because versioned symbols are created later.
15341         * sysdeps/s390/s390-32/setjmp.S
15342         (setjmp, _setjmp): Remove weak and rename to an unique name
15343         in SHARED case due to existing versioned symbols.
15344         * sysdeps/s390/s390-64/setjmp.S: Likewise.
15345         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
15346         (getcontext): Create weak alias only in non SHARED case.
15347         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
15349 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
15351         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
15352         (__ASSUME_*_SYSCALL) Define new macros.
15353         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
15354         Remove socketcall syscalls.
15355         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
15356         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
15357         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
15358         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
15359         * sysdeps/unix/sysv/linux/send.c (__libc_send):
15360         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
15362 2015-11-09  Florian Weimer  <fweimer@redhat.com>
15364         [BZ #12926]
15365         Terminate process on invalid netlink response.
15366         * sysdeps/unix/sysv/linux/netlinkaccess.h
15367         (__netlink_assert_response): Declare.
15368         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
15369         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
15370         (sysdep_routines): Add netlink_assert_response.
15371         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
15372         __netlink_assert_response.
15373         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
15374         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
15375         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
15376         __netlink_assert_response.
15378 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
15380         [BZ #19178]
15381         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
15382         (RTYPE_CLASS_PLT): Likewise.
15383         (RTYPE_CLASS_COPY): Likewise.
15384         (RTYPE_CLASS_TLS): Likewise.
15385         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
15386         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
15387         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
15388         DL_DEBUG_PRELINK.
15390 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
15392         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
15393         calls with argument -0.5.
15394         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
15396         * configure.ac (libc_cv_z_nodelete): Remove configure test.
15397         (libc_cv_z_nodlopen): Likewise.
15398         (libc_cv_z_initfirst): Likewise.
15399         * configure: Regenerated.
15401 2015-11-06  Florian Weimer  <fweimer@redhat.com>
15403         Simplify abilist format to be line-based.
15404         * scripts/abilist.awk: Collect descriptors in the descs variable.
15405         (emit): Write descs variable and sort it
15406         externally, with sort.
15407         * sysdeps/**/*.abilist: Convert to new format.
15409 2015-11-06  Mark Wielaard  <mjw@redhat.com>
15411         [BZ #11460]
15412         * io/Makefile (routines): Add fts64.
15413         (tests): Add tst-fts and tst-fts-lfs.
15414         (CFLAGS-fts64.c): New.
15415         * io/Versions (GLIBC_2.23): New.
15416         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
15417         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
15418         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
15419         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
15420         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
15421         (FTSENT64): Likewise.
15422         (fts64_children): Likewise.
15423         (fts64_close): Likewise.
15424         (fts64_open): Likewise.
15425         (fts64_read): Likewise.
15426         (fts64_set): Likewise.
15427         * io/fts64.c: New file.
15428         * io/tst-fts.c: New test.
15429         * io/tst-fts-lfs.c: Likewise.
15430         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
15431         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
15432         fts64_set.
15433         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15434         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15435         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15436         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15437         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15438         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15439         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15440         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15441         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15442         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15443         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15444         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15445         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15447         Likewise.
15448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15449         Likewise.
15450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15452         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15453         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15454         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15455         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15456         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15459         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15460         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15461         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15462         * sysdeps/wordsize-64/fts.c: New file.
15463         * sysdeps/wordsize-64/fts64.c: Likewise.
15464         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
15465         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
15466         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
15467         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
15469 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
15471         * math/libm-test.inc (NON_FINITE): New macro.
15472         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
15473         * math/gen-libm-test.pl (show_exceptions): Add argument
15474         $non_finite.
15475         (parse_args): Update call to show_exceptions.
15476         * math/test-math-finite.h: New file.
15477         * math/test-math-no-finite.h: Likewise.
15478         * math/test-double-finite.c: Likewise.
15479         * math/test-float-finite.c: Likewise.
15480         * math/test-ldouble-finite.c: Likewise.
15481         * math/test-double.c: Include "test-math-no-finite.h".
15482         * math/test-float.c: Include "test-math-no-finite.h".
15483         * math/test-ldouble.c: Include "test-math-no-finite.h".
15484         * math/test-math-inline.h (TEST_FINITE): New macro.
15485         * math/test-math-vector.h (TEST_FINITE): Likewise.
15486         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
15487         (libm-tests): Add test-float-finite and test-double-finite.
15488         ($(objpfx)test-float-finite.o): New dependency on
15489         $(objpfx)libm-test.stmp.
15490         ($(objpfx)test-double-finite.o): Likewise.
15491         ($(objpfx)test-ldouble-finite.o): Likewise.
15492         (libm-test-no-inline-cflags): New variable.
15493         (libm-test-finite-cflags): Likewise.
15494         (CFLAGS-test-float-finite.c): Likewise.
15495         (CFLAGS-test-double-finite.c): Likewise.
15496         (CFLAGS-test-ldouble-finite.c): Likewise.
15497         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
15498         (CFLAGS-test-double.c): Likewise.
15499         (CFLAGS-test-ldouble.c): Likewise.
15501 2015-11-05  Roland McGrath  <roland@hack.frob.com>
15503         * io/fcntl.c (__fcntl): Add ... to prototype.
15504         * misc/ioctl.c (__ioctl): Likewise.
15505         * misc/syscall.c (syscall): Likewise.
15507 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
15509         * scripts/list-fixed-bugs.py: New file.
15511         [BZ #19213]
15512         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
15513         returned for argument 1.
15514         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
15515         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
15516         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
15517         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
15518         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
15519         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
15521         [BZ #19211]
15522         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
15523         __USE_XOPEN], not if [!__USE_ISOC99].
15524         (lgammaf): Likewise.
15525         (lgammal): Likewise.
15526         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
15527         (gammaf): Likewise.
15528         (gammal): Likewise.
15529         * math/test-signgam-finite-c11.c: New file.
15530         * math/test-signgam-finite-c99.c: Likewise.
15531         * math/test-signgam-finite.c: Likewise.
15532         * math/Makefile (tests): Add test-signgam-finite,
15533         test-signgam-finite-c99 and test-signgam-finite-c11.
15534         (CFLAGS-test-signgam-finite.c): New variable.
15535         (CFLAGS-test-signgam-finite-c99.c): Likewise.
15536         (CFLAGS-test-signgam-finite-c11.c): Likewise.
15538         [BZ #19212]
15539         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
15540         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
15541         500].
15542         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
15543         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
15544         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
15545         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
15546         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
15547         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
15548         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
15549         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
15550         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
15551         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
15553         [BZ #19209]
15554         * math/bits/math-finite.h (ldexp): Remove declaration.
15555         (ldexpf): Likewise.
15556         (ldexpl): Likewise.
15558         [BZ #19205]
15559         * math/bits/math-finite.h (acosf): Condition declaration on
15560         [__USE_ISOC99].
15561         (acosl): Likewise.
15562         (acoshf): Likewise.
15563         (acoshl): Likewise.
15564         (asinf): Likewise.
15565         (asinl): Likewise.
15566         (atan2f): Likewise.
15567         (atan2l): Likewise.
15568         (atanhf): Likewise.
15569         (atanhl): Likewise.
15570         (coshf): Likewise.
15571         (coshl): Likewise.
15572         (expf): Likewise.
15573         (expl): Likewise.
15574         (fmodf): Likewise.
15575         (fmodl): Likewise.
15576         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
15577         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
15578         (j0l): Likewise.
15579         (y0f): Likewise.
15580         (y0l): Likewise.
15581         (j1f): Likewise.
15582         (j1l): Likewise.
15583         (y1f): Likewise.
15584         (y1l): Likewise.
15585         (jnf): Likewise.
15586         (jnl): Likewise.
15587         (ynf): Likewise.
15588         (ynl): Likewise.
15589         (lgammaf_r): Condition declaration on [__USE_ISOC99].
15590         (lgammal_r): Likewise.
15591         (__lgamma_r_finite): New declaration.
15592         (__lgammaf_r_finite): Likewise.
15593         (__lgammal_r_finite): Likewise.
15594         (lgamma): Use __lgamma_r_finite.
15595         (lgammaf): Condition definition on [__USE_ISOC99].  Use
15596         __lgammaf_r_finite.
15597         (lgammal): Condition definition on [__USE_ISOC99].  Use
15598         __lgammal_r_finite.
15599         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
15600         __lgamma_r_finite.
15601         (gammaf): Condition definition on [__USE_ISOC99].  Use
15602         __lgammaf_r_finite.
15603         (gammal): Condition definition on [__USE_ISOC99].  Use
15604         __lgammal_r_finite.
15605         (logf): Condition declaration on [__USE_ISOC99].
15606         (logl): Likewise.
15607         (log10f): Likewise.
15608         (log10l): Likewise.
15609         (ldexpf): Likewise.
15610         (ldexpl): Likewise.
15611         (powf): Likewise.
15612         (powl): Likewise.
15613         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
15614         __USE_ISOC99].
15615         (remainderf): Condition declaration on [__USE_ISOC99].
15616         (remainderl): Likewise.
15617         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
15618         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
15619         (scalbl): Likewise.
15620         (sinhf): Condition declaration on [__USE_ISOC99].
15621         (sinhl): Likewise.
15622         (sqrtf): Likewise.
15623         (sqrtl): Likewise.
15625 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
15627         * sysdeps/arm/atomic-machine.h
15628         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
15629         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
15630         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
15631         Remove conditional code.
15632         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
15633         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
15634         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
15635         Change conditional to [__ASSEMBLER__].
15636         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
15637         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
15638         [!__ASSEMBLER__].
15639         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
15640         code.
15641         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
15642         conditional macro definitions.
15643         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
15644         (__arch_compare_and_exchange_val_16_acq): Likewise.
15645         (__arch_compare_and_exchange_val_32_acq): Likewise.
15646         (atomic_exchange_and_add): Likewise.
15647         (atomic_add): Likewise.
15648         (atomic_add_negative): Likewise.
15649         (atomic_add_zero): Likewise.
15650         (atomic_bit_set): Likewise.
15651         (atomic_bit_test_set): Likewise.
15652         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
15653         code unconditional.
15654         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15656         * math/test-math-errno.h: New file.
15657         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
15658         empty.
15659         (TEST_ERRNO): New macro.
15660         (TEST_EXCEPTIONS): Likewise.
15661         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
15662         (TEST_EXCEPTIONS): Likewise.
15663         * math/test-math-vector.h (TEST_ERRNO): Likewise.
15664         * math/test-double.c: Include "test-math-errno.h".
15665         * math/test-float.c: Likewise.
15666         * math/test-ldouble.c: Likewise.
15667         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
15668         code unconditional.
15669         (test_exceptions): Only run code if TEST_EXCEPTIONS.
15670         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
15671         unconditional.
15672         (test_errno): Only run code if TEST_ERRNO.
15673         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
15675 2015-11-04  Florian Weimer  <fweimer@redhat.com>
15677         * nptl/tst-once5.cc: Remove attribution.
15679 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
15681         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
15682         sqrt, tan, tanh, y0, y1 and yn.
15683         * math/auto-libm-test-out: Regenerated.
15684         * math/libm-test.inc (scalb_test_data): Add more tests.
15685         (scalbn_test_data): Likewise.
15686         (scalbln_test_data): Likewise.
15687         (signbit_test_data): Likewise.
15688         (sin_test_data): Likewise.
15689         (sincos_test_data): Likewise.
15690         (sinh_test_data): Likewise.
15691         (sqrt_test_data): Likewise.
15692         (tan_test_data): Likewise.
15693         (tanh_test_data): Likewise.
15694         (tgamma_test_data): Likewise.
15695         (y0_test_data): Likewise.
15696         (y1_test_data): Likewise.
15697         (yn_test_data): Likewise.
15698         (significand_test_data): Likewise.
15699         * sysdeps/i386/fpu/libm-test-ulps: Update.
15701 2015-11-03  David Kastrup  <dak@gnu.org>
15703         [BZ #18604]
15704         * assert/assert.h (assert): Don't macro-expand failed assertion
15705         expression in error message.
15706         * malloc/malloc.c (assert): Likewise.
15708 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
15710         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
15711         test.
15712         * configure: Regenerated.
15714 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
15716         * math/libm-test.inc (modf_test_data): Add more tests.
15717         (nearbyint_test_data): Likewise.
15718         (nextafter_test_data): Likewise.
15719         (nexttoward_test_data): Likewise.
15720         (pow_test_data): Likewise.
15721         (remainder_test_data): Likewise.
15722         (remquo_test_data): Likewise.
15723         (rint_test_data): Likewise.
15725         [BZ #19201]
15726         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15727         Check for zero remainder in case of large exponents and ensure
15728         correct sign of result in that case.
15729         * math/libm-test.inc (remainder_test_data): Add more tests.
15731         [BZ #6799]
15732         * math/s_nextafter.c: Include <errno.h>.
15733         (__nextafter): Set errno on overflow and underflow.
15734         * math/s_nexttowardf.c: Include <errno.h>.
15735         (__nexttowardf): Set errno on overflow and underflow.
15736         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
15737         (__nextafterl): Set errno on overflow and underflow.
15738         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
15739         (__nexttoward): Set errno on overflow and underflow.
15740         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
15741         (__nexttowardf): Set errno on overflow and underflow.
15742         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
15743         (__nextafterf): Set errno on overflow and underflow.
15744         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
15745         (__nextafterl): Set errno on overflow and underflow.
15746         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
15747         (__nexttoward): Set errno on overflow and underflow.
15748         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
15749         (__nexttowardf): Set errno on overflow and underflow.
15750         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
15751         (__nextafterl): Set errno on overflow and underflow.
15752         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
15753         (__nexttoward): Set errno on overflow and underflow.
15754         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
15755         (__nexttowardf): Set errno on overflow and underflow.
15756         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
15757         (__nexttoward): Set errno on overflow and underflow.
15758         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
15759         (__nexttowardf): Set errno on overflow and underflow.
15760         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
15761         (__nldbl_nexttowardf): Set errno on overflow and underflow.
15762         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
15763         (__nextafterl): Set errno on overflow and underflow.
15764         * math/libm-test.inc (nextafter_test_data): Do not allow errno
15765         setting to be missing on overflow.  Add more tests.
15766         (nexttoward_test_data): Likewise.
15768         * configure.ac (libc_cv_initfini_array): Remove configure test.
15769         * configure: Regenerated.
15771 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
15773         [BZ #19189]
15774         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
15775         non-finite argument handle arguments with negative sign.
15777         * math/libm-test.inc (j0_test_data): Do not test sign of zero
15778         result from infinite argument.
15779         (j1_test_data): Likewise.
15780         (jn_test_data): Likewise.
15781         (y0_test_data): Likewise.
15782         (y1_test_data): Likewise.
15783         (yn_test_data): Likewise.
15785         [BZ #16171]
15786         * math/w_remainder.c (drem): Define as weak alias of __remainder.
15787         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
15788         * math/w_remainderf.c (dremf): Define as weak alias of
15789         __remainderf.
15790         * math/w_remainderl.c (dreml): Define as weak alias of
15791         __remainderl.
15792         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
15793         __remainder.
15794         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
15795         __remainderf.
15796         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
15797         __remainderl.
15798         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
15799         weak alias of remainderl.
15800         * sysdeps/ieee754/ldbl-opt/w_remainder.c
15801         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
15802         alias of __remainder.
15803         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
15804         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
15805         strong alias of __remainderl.
15806         (dreml): Use long_double_symbol.
15807         * math/Makefile (libm-calls): Remove w_drem.
15808         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
15809         (CFLAGS-nldbl-drem.c): Remove variable.
15810         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
15811         * math/w_drem.c: Remove file.
15812         * math/w_dremf.c: Likewise.
15813         * math/w_dreml.c: Likewise.
15814         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
15815         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
15816         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
15818         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
15819         * sysdeps/i386/configure: Regenerated.
15820         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
15821         * sysdeps/x86_64/configure: Regenerated.
15823         * configure.ac (libc_cv_asm_protected_directive): Remove configure
15824         test.
15825         (libc_cv_visibility_attribute): Likewise.
15826         (libc_cv_protected_data): Test unconditionally.
15827         (libc_cv_broken_visibility_attribute): Remove configure test.
15828         (libc_cv_have_sdata_section): Test unconditionally.
15829         * configure: Regenerated.
15831         * include/libc-internal.h (libc_max_align_t): Remove typedef.
15832         * include/scratch_buffer.h: Include <stddef.h> instead of
15833         <libc-internal.h>.
15834         (struct scratch_buffer): Use max_align_t instead of
15835         libc_max_align_t.
15837 2015-10-29  Florian Weimer  <fweimer@redhat.com>
15839         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
15840         instead of extend_alloca.  Change control flow to avoid a goto.
15841         Remove assert which is trivially always true.
15843 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
15845         [BZ #16068]
15846         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
15847         (FE_ALL_EXCEPT_X86): New macro.
15848         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
15849         FE_ALL_EXCEPT.  Ensure precision control is included in
15850         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
15851         handle "denormal operand exception" and clear FZ and DAZ bits.
15852         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
15853         (FE_ALL_EXCEPT_X86): New macro.
15854         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
15855         FE_ALL_EXCEPT.  Ensure precision control is included in
15856         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
15857         handle "denormal operand exception" and clear FZ and DAZ bits.
15858         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
15859         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
15860         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15861         test-fenv-x87 and test-fenv-sse-2.
15862         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
15864         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
15865         * math/test-double.h (BUILD_COMPLEX): New macro.
15866         * math/test-float.h (BUILD_COMPLEX): Likewise.
15867         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
15869         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
15870         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
15871         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
15872         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
15873         instead of DBL_DENORM_MIN in comment.
15874         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
15875         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
15876         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
15877         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
15878         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
15879         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
15881 2015-10-28  Florian Weimer  <fweimer@redhat.com>
15883         [BZ# 19048]
15884         * malloc/malloc.c (struct malloc_state): Update comment.  Add
15885         attached_threads member.
15886         (main_arena): Initialize attached_threads.
15887         * malloc/arena.c (list_lock): Update comment.
15888         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
15889         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
15890         (deattach_arena): New function.
15891         (_int_new_arena): Initialize arena reference count and deattach
15892         replaced arena.
15893         (get_free_list, reused_arena): Update reference count and deattach
15894         replaced arena.
15895         (arena_thread_freeres): Update arena reference count and only put
15896         unreferenced arenas on the free list.
15898 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
15900         [BZ #19181]
15901         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
15902         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
15903         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
15904         * math/test-fenv-clear-main.c: New file.
15905         * math/test-fenv-clear.c: Likewise.
15906         * math/Makefile (tests): Add test-fenv-clear.
15907         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
15908         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15909         test-fenv-clear-sse.
15910         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
15912         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
15913         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
15914         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
15916 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15918         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
15919         static libc.
15921 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
15923         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
15924         test.
15925         * sysdeps/i386/configure: Regenerated.
15926         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
15927         test.
15928         * sysdeps/x86_64/configure: Regenerated.
15929         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
15930         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15931         memset-avx2 unconditionally instead of conditionally on
15932         [$(config-cflags-avx2) = yes].
15933         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15934         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
15935         unconditional.
15936         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
15937         * sysdeps/x86_64/multiarch/memset_chk.S
15938         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
15939         to [IS_IN (libc) && SHARED].
15941 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
15943         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
15944         configure test.
15945         * sysdeps/arm/configure: Regenerated.
15946         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
15947         Define variable if not already defined.
15949         [BZ #17404]
15950         * sysdeps/mips/atomic-machine.h
15951         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
15952         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
15953         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
15955         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
15956         unconditional.
15957         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
15958         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15959         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
15960         unconditional.
15961         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15962         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
15963         unconditional.
15964         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15965         * stdlib/setenv.c
15966         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
15967         code unconditional.
15968         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
15969         Remove conditional code.
15970         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
15971         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
15972         unconditional.
15973         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
15974         code.
15975         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
15976         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
15977         unconditional.
15978         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
15979         code.
15980         * sysdeps/ieee754/ldbl-128/k_tanl.c
15981         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
15982         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15983         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
15984         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
15985         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15986         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
15987         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
15988         unconditional.
15989         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
15990         code.
15991         * sysdeps/ieee754/ldbl-96/k_tanl.c
15992         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
15993         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15995         * nptl/tst-initializers1-c11.c: New file.
15996         * nptl/tst-initializers1-gnu11.c: Likewise.
15997         * nptl/Makefile (tests): Add these new tests.
15998         (CFLAGS-tst-initializers1-c11.c): New variable.
15999         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
16001         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
16002         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
16003         instead of -std=gnu99.
16004         * configure.ac (systemtap): Test with -std=gnu11 instead of
16005         -std=gnu99.
16006         * configure: Regenerated.
16007         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
16008         in compilation command in comment.
16010         * sysdeps/nptl/configure.ac: Remove file.
16011         * sysdeps/nptl/configure: Remove generated file.
16012         * configure.ac (libc_cv_forced_unwind): Do not substitute.
16013         * configure: Regenerated.
16014         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
16015         * config.make.in (have-forced-unwind): Remove variable.
16016         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
16017         unconditional.
16018         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
16019         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
16020         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
16021         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
16022         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
16023         unconditional.
16025 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16027         [BZ #19174]
16028         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
16029         .skip_lock_out_of_tbegin_retries.
16030         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16031         (__lll_lock_elision): Likewise, and respect a value of
16032         try_tbegin <= 0.
16034 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16036         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
16037         statement.
16039 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
16041         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
16042         variable.
16043         (test-xfail-ISO11/stdalign.h/conform): Likewise.
16044         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16046         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
16047         of -std=c1x -D_ISOC11_SOURCE.
16049         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
16050         * configure: Regenerated.
16051         * manual/install.texi (Tools for Compilation): Document
16052         requirement for GCC 4.7 or later.
16053         * INSTALL: Regenerated.
16055 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
16057         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
16058         on CNT to a conditional jump to 'puntdata'.
16060 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
16062         * configure.ac (libc_cv_gcc___thread): Remove configure test.
16063         (libc_cv_gcc_tls_model_attr): Likewise.
16064         * configure: Regenerated.
16066         * configure.ac (libc_cv_need_minus_P): Remove configure test.
16067         * configure: Regenerated.
16068         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
16070 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
16072         * configure.ac (old_glibc_headers): Remove configure test.
16073         * configure: Regenerated.
16074         * config.make.in (old-glibc-headers): Remove variable.
16075         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
16076         (install): Remove dependency on remove-old-headers.
16077         (headers2_0): Remove variable.
16078         (remove-old-headers): Remove rule.
16080         * configure.ac (libc_cv_dot_text): Remove configure test.
16081         (libc_cv_asm_set_directive): Use .text instead of
16082         ${libc_cv_dot_text} in configure test.
16083         * configure: Regenerated.
16085 2015-10-26  Florian Weimer  <fweimer@redhat.com>
16087         [BZ #19168]
16088         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16090 2015-10-26  Florian Weimer  <fweimer@redhat.com>
16092         * configure.ac (CXX): Clear the variable if the C++ toolchain does
16093         not support static linking.
16094         * configure: Regenerate.
16096 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
16098         * math/libm-test.inc (check_float_internal): Do not special-case
16099         errors up to 0.5 ulp.
16101         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16102         log2.
16103         * math/auto-libm-test-out: Regenerated.
16104         * math/libm-test.inc (MAX_EXP): New macro.
16105         (ilogb_test_data): Add more tests.
16106         (isfinite_test_data): Likewise.
16107         (isgreater_test_data): Likewise.
16108         (isgreaterequal_test_data): Likewise.
16109         (isinf_test_data): Likewise.
16110         (isless_test_data): Likewise.
16111         (islessequal_test_data): Likewise.
16112         (islessgreater_test_data): Likewise.
16113         (isnan_test_data): Likewise.
16114         (isnormal_test_data): Likewise.
16115         (issignaling_test_data): Likewise.
16116         (isunordered_test_data): Likewise.
16117         (j0_test_data): Likewise.
16118         (j1_test_data): Likewise.
16119         (jn_test_data): Likewise.
16120         (lgamma_test_data): Likewise.
16121         (log_test_data): Likewise.
16122         (log10_test_data): Likewise.
16123         (log1p_test_data): Likewise.
16124         (log2_test_data): Likewise.
16125         (logb_test_data): Likewise.
16126         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16128         [BZ #18611]
16129         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
16130         avoid excess range and precision on underflow.
16131         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16132         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16133         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16134         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
16135         underflow.
16136         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16137         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16138         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16139         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16140         * math/auto-libm-test-in: Do not allow missing errno setting for
16141         tests of j1 and jn.
16142         * math/auto-libm-test-out: Regenerated.
16144 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
16146         [BZ #15491]
16147         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
16148         floating-point environment instead of clearing all exceptions.
16149         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16150         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
16151         merging in "invalid" exceptions from frndint.
16152         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16153         * math/test-nearbyint-except.c: New file.
16154         * math/Makefile (tests): Add test-nearbyint-except.
16156 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
16158         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
16160         * sysdeps/tile/libm-test-ulps: Regenerated.
16162 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
16165         (__NR_sync_file_range2): Assume it is always defined.
16166         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
16167         (__NR_sync_file_range): Assume it is always defined.
16169 2015-10-22  Andreas Schwab  <schwab@suse.de>
16171         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
16172         INTERNAL_SYSCALL_ERRNO.
16173         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16174         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
16175         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16176         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
16177         Likewise.
16178         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16180 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
16182         * io/tst-fcntl.c (fd): New static variable.
16183         (do_prepare): Open temporary file here....
16184         (do_test): ...not here.
16186         * io/ftwtest-sh: Also trap on exit to remove temporary files.
16188 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
16190         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
16191         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
16192         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
16193         Moved before "#ifdef __ASSEMBLER__".
16195 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
16197         [BZ #19156]
16198         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
16199         arguments very close to 0.
16201 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
16203         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
16204         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
16206 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
16208         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
16209         New.  Defined for GCC 5 and above when not compiling for
16210         profiling.
16211         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
16213         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
16214         Renamed to ...
16215         (CFLAGS-epoll_pwait.o): This.
16216         (CFLAGS-mmap.c): Renamed to ...
16217         (CFLAGS-mmap.o): This.
16218         (CFLAGS-mmap64.c): Renamed to ...
16219         (CFLAGS-mmap64.o): This.
16220         (CFLAGS-epoll_pwait.os): New.
16221         (CFLAGS-mmap.os): Likewise.
16222         (CFLAGS-mmap64.os): Likewise.
16223         (CFLAGS-semtimedop.os): Likewise.
16224         (CFLAGS-semtimedop.c): Renamed to ...
16225         (CFLAGS-semtimedop.o): This.
16227 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16229         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
16230         warning message.
16232 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
16234         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
16235         * Makefile ($(objpfx)c++-types-check.out): Filter out
16236         $(+gccwarn-c) instead of -Wstrict-prototypes.
16238         * io/fts.c (fts_open): Convert to prototype-style function
16239         definition.
16240         * malloc/mcheck.c (mcheck): Likewise.
16241         (mcheck_pedantic): Likewise.
16242         * posix/regexec.c (re_search_2_stub): Likewise.  Use
16243         internal_function.
16244         (re_search_internal): Likewise.
16245         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
16246         prototype-style function definition.
16247         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16248         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
16249         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
16250         (xdr_utmpptr): Likewise.
16251         (xdr_utmparr): Likewise.
16252         (xdr_utmpidle): Likewise.
16253         (xdr_utmpidleptr): Likewise.
16254         (xdr_utmpidlearr): Likewise.
16256         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
16257         log, log10 and log2.
16258         * math/auto-libm-test-out: Regenerated.
16259         * math/libm-test.inc (fmod_test_data): Add more tests.
16260         (fpclassify_test_data): Likewise.
16261         (frexp_test_data): Likewise.
16262         (hypot_test_data): Likewise.
16263         (ilogb_test_data): Likewise.
16265 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
16267         * debug/fortify_fail.c (__fortify_fail): Convert to
16268         prototype-style function definition.  Use internal_function.
16269         * libio/genops.c (save_for_backup): Convert to prototype-style
16270         function definition.
16271         * libio/wgenops.c (save_for_wbackup): Likewise.
16272         * login/grantpt.c (grantpt): Likewise.
16273         * login/ptsname.c (ptsname): Likewise.
16274         (__ptsname_r): Likewise.
16275         * login/unlockpt.c (unlockpt): Likewise.
16276         * mach/msgserver.c (__mach_msg_server): Likewise.
16277         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
16278         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
16279         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
16280         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
16281         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
16282         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
16283         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
16284         Likewise.
16285         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
16286         internal_function.
16287         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
16288         prototype-style function definition.
16289         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
16290         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
16291         (__pthread_create_2_0): Likewise.
16292         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
16293         * nptl/register-atfork.c (__register_atfork): Likewise.
16294         * posix/glob.c (glob): Likewise.
16295         * posix/regcomp.c (re_comp): Likewise.
16296         * posix/regexec.c (re_exec): Likewise.
16297         * stdlib/add_n.c [__STDC__]: Make code unconditional.
16298         [!__STDC__]: Remove conditional code.
16299         * stdlib/cmp.c [__STDC__]: Make code unconditional.
16300         [!__STDC__]: Remove conditional code.
16301         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
16302         [!__STDC__]: Remove conditional code.
16303         * stdlib/divrem.c [__STDC__]: Make code unconditional.
16304         [!__STDC__]: Remove conditional code.
16305         * stdlib/lshift.c [__STDC__]: Make code unconditional.
16306         [!__STDC__]: Remove conditional code.
16307         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
16308         [!__STDC__]: Remove conditional code.
16309         * stdlib/mul.c [__STDC__]: Make code unconditional.
16310         [!__STDC__]: Remove conditional code.
16311         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
16312         [!__STDC__]: Remove conditional code.
16313         * stdlib/rshift.c [__STDC__]: Make code unconditional.
16314         [!__STDC__]: Remove conditional code.
16315         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
16316         function definition.
16317         (STRTOF): Likewise.
16318         * stdlib/strtod_l.c (__STRTOF): Likewise.
16319         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
16320         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
16321         (__strtol_l): Likewise.
16322         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
16323         [!__STDC__]: Remove conditional code.
16324         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
16325         definition.
16326         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
16327         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16328         type.
16329         (__strcasecmp): Convert to prototype-style function definition.
16330         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
16331         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16332         type.
16333         (__strncasecmp): Convert to prototype-style function definition.
16334         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
16335         * sunrpc/xdr.c (xdr_union): Likewise.
16336         * sunrpc/xdr_array.c (xdr_array): Likewise.
16337         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
16338         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
16339         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
16340         Likewise.
16341         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
16342         Likewise.
16343         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
16344         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16345         Likewise.
16346         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
16347         (LOCALE_PARAM_PROTO): Likewise.
16348         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
16349         argument type.
16350         (ut_argument_spec): Remove macro.
16351         (ut_argument_spec_iso): Rename to ut_argument_spec.
16352         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
16353         prototype-style function definition.
16354         (memcpy_uppcase): Likewise.
16355         (__strftime_internal): Likewise.
16356         (my_strftime): Likewise.
16357         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
16358         (LOCALE_PARAM_DECL): Likewise.
16359         [_LIBC] (LOCALE_PARAM): Include argument type.
16360         (__strptime_internal): Convert to prototype-style function
16361         definition.
16362         (strptime): Likewise.
16363         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
16364         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16365         type.
16366         (__wcscasecmp): Convert to prototype-style function definition.
16367         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
16368         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16369         type.
16370         (__wcsncasecmp): Convert to prototype-style function definition.
16372         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
16373         function definition.
16374         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16375         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16376         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
16377         * elf/dl-minimal.c (_itoa): Likewise.
16378         * hurd/hurdmalloc.c (malloc): Likewise.
16379         (free): Likewise.
16380         (realloc): Likewise.
16381         * inet/inet6_option.c (inet6_option_space): Likewise.
16382         (inet6_option_init): Likewise.
16383         (inet6_option_append): Likewise.
16384         (inet6_option_alloc): Likewise.
16385         (inet6_option_next): Likewise.
16386         (inet6_option_find): Likewise.
16387         * io/ftw.c (FTW_NAME): Likewise.
16388         (NFTW_NAME): Likewise.
16389         (NFTW_NEW_NAME): Likewise.
16390         (NFTW_OLD_NAME): Likewise.
16391         * libio/iofwide.c (_IO_fwide): Likewise.
16392         * libio/strops.c (_IO_str_init_static_internal): Likewise.
16393         (_IO_str_init_static): Likewise.
16394         (_IO_str_init_readonly): Likewise.
16395         (_IO_str_overflow): Likewise.
16396         (_IO_str_underflow): Likewise.
16397         (_IO_str_count): Likewise.
16398         (_IO_str_seekoff): Likewise.
16399         (_IO_str_pbackfail): Likewise.
16400         (_IO_str_finish): Likewise.
16401         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
16402         (_IO_wstr_overflow): Likewise.
16403         (_IO_wstr_underflow): Likewise.
16404         (_IO_wstr_count): Likewise.
16405         (_IO_wstr_seekoff): Likewise.
16406         (_IO_wstr_pbackfail): Likewise.
16407         (_IO_wstr_finish): Likewise.
16408         * locale/programs/localedef.c (normalize_codeset): Likewise.
16409         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16410         (add_locales_to_archive): Likewise.
16411         (delete_locales_from_archive): Likewise.
16412         * malloc/malloc.c (__libc_mallinfo): Likewise.
16413         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
16414         * misc/tsearch.c (__tfind): Likewise.
16415         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
16416         * nptl/pthread_attr_getdetachstate.c
16417         (__pthread_attr_getdetachstate): Likewise.
16418         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
16419         Likewise.
16420         * nptl/pthread_attr_getinheritsched.c
16421         (__pthread_attr_getinheritsched): Likewise.
16422         * nptl/pthread_attr_getschedparam.c
16423         (__pthread_attr_getschedparam): Likewise.
16424         * nptl/pthread_attr_getschedpolicy.c
16425         (__pthread_attr_getschedpolicy): Likewise.
16426         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
16427         Likewise.
16428         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
16429         Likewise.
16430         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
16431         Likewise.
16432         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
16433         Likewise.
16434         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
16435         (__pthread_attr_init_2_0): Likewise.
16436         * nptl/pthread_attr_setdetachstate.c
16437         (__pthread_attr_setdetachstate): Likewise.
16438         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
16439         Likewise.
16440         * nptl/pthread_attr_setinheritsched.c
16441         (__pthread_attr_setinheritsched): Likewise.
16442         * nptl/pthread_attr_setschedparam.c
16443         (__pthread_attr_setschedparam): Likewise.
16444         * nptl/pthread_attr_setschedpolicy.c
16445         (__pthread_attr_setschedpolicy): Likewise.
16446         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
16447         Likewise.
16448         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
16449         Likewise.
16450         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
16451         Likewise.
16452         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
16453         Likewise.
16454         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
16455         Likewise.
16456         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
16457         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
16458         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
16459         use internal_function.
16460         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
16461         prototype-style function definition.
16462         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
16463         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
16464         internal_function.
16465         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
16466         Convert to prototype-style function definition.
16467         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
16468         Likewise.
16469         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
16470         Likewise.
16471         (__pthread_mutex_unlock): Likewise.
16472         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
16473         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
16474         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
16475         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
16476         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
16477         * nss/makedb.c (process_input): Likewise.
16478         * posix/fnmatch.c (__strchrnul): Likewise.
16479         (__wcschrnul): Likewise.
16480         (fnmatch): Likewise.
16481         * posix/fnmatch_loop.c (FCT): Likewise.
16482         * posix/glob.c (globfree): Likewise.
16483         (__glob_pattern_type): Likewise.
16484         (__glob_pattern_p): Likewise.
16485         * posix/regcomp.c (re_compile_pattern): Likewise.
16486         (re_set_syntax): Likewise.
16487         (re_compile_fastmap): Likewise.
16488         (regcomp): Likewise.
16489         (regerror): Likewise.
16490         (regfree): Likewise.
16491         * posix/regexec.c (regexec): Likewise.
16492         (re_match): Likewise.
16493         (re_search): Likewise.
16494         (re_match_2): Likewise.
16495         (re_search_2): Likewise.
16496         (re_search_stub): Likewise.  Use internal_function
16497         (re_copy_regs): Likewise.
16498         (re_set_registers): Convert to prototype-style function
16499         definition.
16500         (prune_impossible_nodes): Likewise.  Use internal_function.
16501         * resolv/inet_net_pton.c (inet_net_pton): Convert to
16502         prototype-style function definition.
16503         (inet_net_pton_ipv4): Likewise.
16504         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16505         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
16506         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
16507         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
16508         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16509         Make variadic.
16510         * time/strptime_l.c (localtime_r): Convert to prototype-style
16511         function definition.
16512         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
16513         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
16514         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
16515         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
16517         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
16518         definition.
16519         (_ufc_doit_r): Likewise.
16520         * crypt/crypt_util.c (_ufc_copymem): Likewise.
16521         (_ufc_output_conversion_r): Likewise.
16522         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
16523         * inet/rcmd.c (rcmd_af): Likewise.
16524         (rcmd): Likewise.
16525         (ruserok_af): Likewise.
16526         (ruserok): Likewise.
16527         (ruserok2_sa): Likewise.
16528         (ruserok_sa): Likewise.
16529         (iruserok_af): Likewise.
16530         (iruserok): Likewise.
16531         (__ivaliduser): Likewise.
16532         (__validuser2_sa): Likewise.
16533         * inet/rexec.c (rexec_af): Likewise.
16534         (rexec): Likewise.
16535         * inet/ruserpass.c (ruserpass): Likewise.
16536         * locale/programs/xmalloc.c (xcalloc): Likewise.
16537         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
16538         * math/w_drem.c (__drem): Likewise.
16539         * math/w_dremf.c (__dremf): Likewise.
16540         * math/w_dreml.c (__dreml): Likewise.
16541         * misc/daemon.c (daemon): Likewise.
16542         * resolv/res_debug.c (p_fqnname): Likewise.
16543         * stdlib/div.c (div): Likewise.
16544         * string/memcmp.c (memcmp_bytes): Likewise.
16545         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
16546         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
16548         * crypt/cert.c (main): Convert to prototype-style function
16549         definition.
16550         * io/pipe.c (__pipe): Likewise.
16551         * io/pipe2.c (__pipe2): Likewise.
16552         * misc/futimesat.c (futimesat): Likewise.
16553         * misc/utimes.c (__utimes): Likewise.
16554         * posix/execve.c (__execve): Likewise.
16555         * posix/execvp.c (execvp): Likewise.
16556         * posix/execvpe.c (__execvpe): Likewise.
16557         * posix/fexecve.c (fexecve): Likewise.
16558         * socket/socketpair.c (socketpair): Likewise.
16559         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16560         * stdlib/erand48.c (erand48): Likewise.
16561         * stdlib/erand48_r.c (__erand48_r): Likewise.
16562         * stdlib/jrand48.c (jrand48): Likewise.
16563         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
16564         * stdlib/lcong48.c (lcong48): Likewise.
16565         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
16566         * stdlib/nrand48.c (nrand48): Likewise.
16567         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
16568         * stdlib/seed48.c (seed48): Likewise.
16569         * stdlib/seed48_r.c (__seed48_r): Likewise.
16570         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
16571         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
16572         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
16574 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
16576         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
16577         * configure: Regenerated.
16578         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
16579         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
16580         unconditional.
16581         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16582         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16583         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16584         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
16585         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
16586         unconditional.
16587         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16589         * posix/Makefile (CFLAGS-regex.c): Remove variable.
16590         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
16592         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
16593         function definition.
16594         * crypt/crypt_util.c (__encrypt_r): Likewise.
16595         * libio/genops.c (_IO_no_init): Likewise.
16596         * libio/iofopncook.c (_IO_fopencookie): Likewise.
16597         (_IO_old_fopencookie): Likewise.
16598         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
16599         * libio/iogetline.c (_IO_getline): Likewise.
16600         (_IO_getline_info): Likewise.
16601         * libio/iogetwline.c (_IO_getwline): Likewise.
16602         (_IO_getwline_info): Likewise.
16603         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
16604         * libio/vswprintf.c (_IO_vswprintf): Likewise.
16605         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
16606         (find_entry): Likewise.
16607         (iterate_table): Likewise.
16608         (lookup): Likewise.
16609         * login/forkpty.c (forkpty): Likewise.
16610         * misc/hsearch_r.c (__hsearch_r): Likewise.
16611         * misc/select.c (__select): Likewise.
16612         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
16613         Likewise.
16614         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
16615         Likewise.
16616         * nptl/old_pthread_cond_timedwait.c
16617         (__pthread_cond_timedwait_2_0): Likewise.
16618         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
16619         * nptl/pthread_barrierattr_getpshared.c
16620         (pthread_barrierattr_getpshared): Likewise.
16621         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
16622         Likewise.
16623         * nptl/pthread_mutex_setprioceiling.c
16624         (pthread_mutex_setprioceiling): Likewise.
16625         * nptl/pthread_mutexattr_getprioceiling.c
16626         (pthread_mutexattr_getprioceiling): Likewise.
16627         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
16628         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16629         Likewise.
16630         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
16631         Likewise.
16632         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
16633         Likewise.
16634         * socket/recvfrom.c (__recvfrom): Likewise.
16635         * socket/sendto.c (__sendto): Likewise.
16636         * socket/setsockopt.c (__setsockopt): Likewise.
16637         * stdio-common/_itoa.c (_itoa): Likewise.
16638         * stdio-common/_itowa.c (_itowa): Likewise.
16639         * stdio-common/reg-printf.c (__register_printf_specifier):
16640         Likewise.
16641         (__register_printf_function): Likewise.
16642         * stdio-common/tempname.c (__path_search): Likewise.
16643         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
16644         * stdlib/mul_1.c (mpn_mul_1): Likewise.
16645         * stdlib/random_r.c (__initstate_r): Likewise.
16646         * stdlib/setenv.c (__add_to_environ): Likewise.
16647         * stdlib/submul_1.c (mpn_submul_1): Likewise.
16648         * streams/getpmsg.c (getpmsg): Likewise.
16649         * streams/putmsg.c (putmsg): Likewise.
16650         * streams/putpmsg.c (putpmsg): Likewise.
16651         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
16652         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
16653         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
16654         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
16655         * sunrpc/pm_getport.c (pmap_getport): Likewise.
16656         * sunrpc/svc_udp.c (cache_get): Likewise.
16657         * sunrpc/xdr_array.c (xdr_vector): Likewise.
16658         * sysdeps/mach/hurd/getcwd.c
16659         (__canonicalize_directory_name_internal): Likewise.
16660         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
16661         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
16662         * sysdeps/mach/hurd/select.c (__select): Likewise.
16663         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
16664         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
16665         * sysdeps/sparc/nptl/pthread_barrier_init.c
16666         (__pthread_barrier_init): Likewise.
16667         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
16668         (__pthread_cond_timedwait): Likewise.
16669         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
16670         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
16671         Likewise.
16672         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
16673         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
16674         Likewise.
16675         * sysvipc/semtimedop.c (semtimedop): Likewise.
16676         * time/setitimer.c (__setitimer): Likewise.
16677         * time/strftime_l.c (emacs_strftime): Likewise.
16679 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
16681         * config.make.in (have-ssp): Delete.
16682         (stack-protector): New variable.
16683         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
16684         cache test for -fstack-protector-strong.  Export stack_protector to
16685         the best ssp flag.
16686         * configure: Regenerated.
16687         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
16688         * nscd/Makefile (CFLAGS-nscd): Likewise.
16689         * resolv/Makefile (CFLAGS-libresolv): Likewise.
16691 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
16693         [BZ #19122]
16694         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
16695         attribute_hidden.
16697 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16699         [BZ #18743]
16700         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
16701         code to...
16702         (ELIDE_LOCK): ...here.
16703         (__get_new_count): New function with part of the code from
16704         __elide_lock that updates the value of adapt_count after a
16705         transaction abort.
16706         (__elided_trylock): Moved this code to...
16707         (ELIDE_TRYLOCK): ...here.
16709 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
16711         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
16712         * configure: Regenerate.
16713         * INSTALL: Regenerate.
16714         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
16715         and tweak grammar.
16717 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
16719         * login/programs/pt_chown.c: Include signal.h
16720         (main): Clear any signal mask from the parent process.
16722 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
16724         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
16725         * configure: Regenerated.
16726         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
16727         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
16728         $(gnu89-inline-CFLAGS).
16730         * configure.ac (libc_cv_asm_weak_directive): Remove configure
16731         test.
16732         (libc_cv_asm_weakext_directive): Likewise.
16733         * configure: Regenerated.
16734         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
16735         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
16736         * include/libc-symbols.h
16737         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
16738         #error.
16739         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
16740         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
16742         * sysdeps/arm/backtrace.c (__backtrace): Convert to
16743         prototype-style function definition.
16744         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
16745         * sysdeps/i386/ffs.c (__ffs): Likewise.
16746         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16747         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
16748         Likewise.
16749         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
16750         Likewise.
16751         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
16752         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16753         Likewise.
16754         * sysdeps/m68k/ffs.c (__ffs): Likewise.
16755         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
16756         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
16757         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
16758         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
16759         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
16760         * sysdeps/mach/hurd/access.c (__access): Likewise.
16761         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
16762         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
16763         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
16764         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
16765         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
16766         (cthread_getspecific): Likewise.
16767         (cthread_setspecific): Likewise.
16768         (__libc_getspecific): Likewise.
16769         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
16770         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
16771         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
16772         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
16773         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
16774         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
16775         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
16776         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
16777         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
16778         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
16779         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
16780         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
16781         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
16782         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
16783         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
16784         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
16785         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
16786         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
16787         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
16788         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
16789         * sysdeps/mach/hurd/link.c (__link): Likewise.
16790         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
16791         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
16792         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
16793         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
16794         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
16795         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
16796         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
16797         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
16798         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
16799         * sysdeps/mach/hurd/rename.c (rename): Likewise.
16800         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
16801         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
16802         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
16803         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
16804         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
16805         * sysdeps/mach/hurd/send.c (__send): Likewise.
16806         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
16807         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
16808         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
16809         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
16810         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
16811         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
16812         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
16813         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
16814         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
16815         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
16816         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
16817         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
16818         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
16819         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
16820         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
16821         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
16822         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
16823         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
16824         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
16825         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
16826         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
16827         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
16828         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
16829         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
16830         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
16831         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
16832         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
16833         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
16834         * sysdeps/posix/alarm.c (alarm): Likewise.
16835         * sysdeps/posix/cuserid.c (cuserid): Likewise.
16836         * sysdeps/posix/dirfd.c (dirfd): Likewise.
16837         * sysdeps/posix/dup.c (__dup): Likewise.
16838         * sysdeps/posix/dup2.c (__dup2): Likewise.
16839         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
16840         (main): Likewise.
16841         * sysdeps/posix/flock.c (__flock): Likewise.
16842         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
16843         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
16844         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
16845         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
16846         * sysdeps/posix/isatty.c (__isatty): Likewise.
16847         * sysdeps/posix/killpg.c (killpg): Likewise.
16848         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
16849         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
16850         * sysdeps/posix/raise.c (raise): Likewise.
16851         * sysdeps/posix/remove.c (remove): Likewise.
16852         * sysdeps/posix/rename.c (rename): Likewise.
16853         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
16854         * sysdeps/posix/seekdir.c (seekdir): Likewise.
16855         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
16856         * sysdeps/posix/sigignore.c (sigignore): Likewise.
16857         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
16858         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
16859         * sysdeps/posix/sigset.c (sigset): Likewise.
16860         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
16861         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
16862         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
16863         * sysdeps/posix/time.c (time): Likewise.
16864         * sysdeps/posix/ttyname.c (getttyname): Likewise.
16865         (ttyname): Likewise.
16866         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
16867         * sysdeps/posix/utime.c (utime): Likewise.
16868         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
16869         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
16870         Likewise.
16871         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
16872         (pthread_spin_trylock): Likewise.
16873         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
16874         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
16875         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
16876         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
16877         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
16878         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
16879         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
16880         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
16881         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
16882         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
16883         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
16884         * sysdeps/s390/ffs.c (__ffs): Likewise.
16885         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
16886         Likewise.
16887         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
16888         Likewise.
16889         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
16890         Likewise.
16891         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
16892         (pthread_barrier_destroy): Likewise.
16893         * sysdeps/sparc/nptl/pthread_barrier_wait.c
16894         (__pthread_barrier_wait): Likewise.
16895         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
16896         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
16897         (__pthread_barrier_wait): Likewise.
16898         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
16899         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
16900         (memcmp_not_common_alignment): Likewise.
16901         (MEMCMP): Likewise.
16902         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
16903         (_wordcopy_fwd_dest_aligned): Likewise.
16904         (_wordcopy_bwd_aligned): Likewise.
16905         (_wordcopy_bwd_dest_aligned): Likewise.
16906         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
16907         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
16908         * sysdeps/unix/bsd/stty.c (stty): Likewise.
16909         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
16910         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
16911         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
16912         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
16913         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
16914         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
16915         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
16916         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
16917         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
16918         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
16919         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
16920         * sysdeps/unix/stime.c (stime): Likewise.
16921         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
16922         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
16923         Likewise.  Use internal_function.
16924         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
16925         Convert to prototype-style function definition.
16926         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16927         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16928         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
16929         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
16930         Likewise.  Use internal_function.
16931         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
16932         prototype-style function definition
16933         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16934         Likewise.
16935         (__getlogin_r): Likewise.
16936         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
16937         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
16938         (__pthread_cond_broadcast): Likewise.
16939         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
16940         (__pthread_cond_destroy): Likewise.
16941         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
16942         (__pthread_cond_init): Likewise.
16943         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
16944         (__pthread_cond_signal): Likewise.
16945         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
16946         (__pthread_cond_wait): Likewise.
16947         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
16948         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
16949         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
16950         Likewise.
16951         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
16952         Likewise.
16953         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
16954         Likewise.
16955         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
16956         Likewise.
16957         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
16958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
16959         (__ftruncate64): Likewise.
16960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
16961         (truncate64): Likewise.
16962         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
16963         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
16964         (pthread_getcpuclockid): Likewise.
16965         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
16966         Likewise.
16967         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
16968         Likewise.
16969         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
16970         Likewise.
16971         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
16972         Likewise.
16973         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
16974         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
16975         (__libc_sigaction): Likewise.
16976         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
16977         Likewise.
16978         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
16979         (__sigprocmask): Likewise.
16980         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
16981         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
16982         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
16983         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
16984         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
16985         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
16986         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
16987         Likewise.
16988         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
16989         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
16990         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
16991         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
16992         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
16993         Likewise.
16994         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
16995         (__sigprocmask): Likewise.
16996         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
16997         (cfgetispeed): Likewise.
16998         (cfsetospeed): Likewise.
16999         (cfsetispeed): Likewise.
17000         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
17001         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
17002         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17003         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
17004         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
17005         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
17006         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
17007         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
17008         Likewise.
17009         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
17010         Likewise.
17011         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
17012         Likewise.
17013         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
17014         Likewise.
17015         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
17017 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17019         sunrpc: Rewrite with explicit TLS access using __thread.
17020         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
17021         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
17022         directly.
17023         (__rpc_thread_variables): Access thread_rpc_vars directly.
17024         Eliminate redundant assignment of the tvp variable.
17026 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17028         malloc: Rewrite with explicit TLS access using __thread.
17029         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
17030         (tsd_setspecific, tsd_getspecific): Remove.
17031         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
17032         (tsd_setspecific, tsd_getspecific): Likewise.
17033         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
17034         (tsd_setspecific, tsd_getspecific): Likewise.
17035         * malloc/arena.c (thread_arena): New TLS variable.
17036         (arena_key): Remove variable.
17037         (arena_get): Use thread_arena.
17038         (arena_lookup): Remove macro.
17039         (malloc_atfork, free_atfork, ptmalloc_lock_all)
17040         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
17041         (_int_new_arena, get_free_list, reused_arena)
17042         (arena_thread_freeres): Use thread_arena.
17043         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
17044         tsd_getspecific, tsd_setspecific from safety annotations.
17045         (Allocating Cleared Space): Remove arena_lookup from safety
17046         annotations.
17048 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17050         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
17051         struct scratch_buffer instead of extend_alloca.
17053 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17055         * sysdeps/unix/sysv/linux/kernel-features.h
17056         (__ASSUME_SOCK_CLOEXEC): Remove.
17057         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
17058         (__have_paccept): Remove unused macro.
17059         * include/unistd.h (__have_sock_cloexec): Remove declaration.
17060         * misc/syslog.c (openlog_internal): Remove fallback code for
17061         !__ASSUME_SOCK_CLOEXEC.
17062         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
17063         missing SOCK_CLOEXEC.
17064         * nscd/connections.c (have_sock_cloexec): Remove definition.
17065         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17066         * nscd/nscd_helper.c (open_socket): Remove fallback code for
17067         !__ASSUME_SOCK_CLOEXEC.
17068         * resolv/res_send.c (__have_o_nonblock): Remove definition.
17069         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17070         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
17071         definition.
17072         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
17073         code for !__ASSUME_SOCK_CLOEXEC.
17075 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17077         [BZ #18982]
17078         * manual/stdio.texi (Variable Arguments Output): Add portability
17079         note, explaining that vfprintf clobbers the va_list pointer.
17081 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
17083         * math/libm-test.inc (fabs_test_data): Add more tests.
17084         (fdim_test_data): Likewise.
17085         (fma_test_data): Likewise.
17086         (fmax_test_data): Likewise.
17087         (fmin_test_data): Likewise.
17088         (fmod_test_data): Likewise.
17090 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
17092         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
17093         data.
17095 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
17097         * math/libm-test.inc (ceil_test_data): Add more tests and more
17098         expectations for "inexact".
17099         (floor_test_data): Add more tests.
17100         (round_test_data): Likewise.
17101         (trunc_test_data): Likewise.
17103         * crypt/cert.c (good_bye): Convert to prototype-style function
17104         definition.
17105         (get8): Likewise.
17106         (put8): Likewise.
17107         * crypt/crypt-entry.c (crypt): Likewise.
17108         (__fcrypt): Likewise.
17109         * crypt/crypt_util.c (_ufc_prbits): Likewise.
17110         (_ufc_set_bits): Likewise.
17111         (_ufc_clearmem): Likewise.
17112         (__init_des_r): Likewise.
17113         (shuffle_sb): Likewise.
17114         (shuffle_sb): Likewise.
17115         (_ufc_setup_salt_r): Likewise.
17116         (_ufc_mk_keytab_r): Likewise.
17117         (_ufc_dofinalperm_r): Likewise.
17118         (encrypt): Likewise.
17119         (__setkey_r): Likewise.
17120         (setkey): Likewise.
17121         * crypt/md5.c (md5_init_ctx): Likewise.
17122         (md5_read_ctx): Likewise.
17123         (md5_finish_ctx): Likewise.
17124         (md5_stream): Likewise.
17125         (md5_buffer): Likewise.
17126         (md5_process_bytes): Likewise.
17127         * crypt/sha256.c (__sha256_init_ctx): Likewise.
17128         (__sha256_finish_ctx): Likewise.
17129         (__sha256_process_bytes): Likewise.
17130         * crypt/sha512.c (__sha512_init_ctx): Likewise.
17131         (__sha512_finish_ctx): Likewise.
17132         (__sha512_process_bytes): Likewise.
17133         * ctype/isctype.c (__isctype): Likewise.
17134         * debug/backtrace.c (__backtrace): Likewise.
17135         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
17136         * debug/fgets_chk.c (__fgets_chk): Likewise.
17137         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
17138         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
17139         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17140         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17141         * debug/memset_chk.c (__memset_chk): Likewise.
17142         * debug/strcat_chk.c (__strcat_chk): Likewise.
17143         * debug/strncat_chk.c (__strncat_chk): Likewise.
17144         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
17145         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
17146         * dirent/dirfd.c (dirfd): Likewise.
17147         * dirent/getdents.c (__getdirentries): Likewise.
17148         * dirent/getdents64.c (getdirentries64): Likewise.
17149         * dirent/rewinddir.c (__rewinddir): Likewise.
17150         * dirent/seekdir.c (seekdir): Likewise.
17151         * dirent/telldir.c (telldir): Likewise.
17152         * elf/sln.c (makesymlinks): Likewise.
17153         (makesymlink): Likewise.
17154         * gmon/gmon.c (__moncontrol): Likewise.
17155         (__monstartup): Likewise.
17156         (write_hist): Likewise.
17157         (write_call_graph): Likewise.
17158         (write_bb_counts): Likewise.
17159         * grp/setgroups.c (setgroups): Likewise.
17160         * inet/inet_lnaof.c (inet_lnaof): Likewise.
17161         * inet/inet_net.c (inet_network): Likewise.
17162         * inet/inet_netof.c (inet_netof): Likewise.
17163         * inet/rcmd.c (rresvport_af): Likewise.
17164         (rresvport): Likewise.
17165         * io/access.c (__access): Likewise.
17166         * io/chdir.c (__chdir): Likewise.
17167         * io/chmod.c (__chmod): Likewise.
17168         * io/chown.c (__chown): Likewise.
17169         * io/close.c (__close): Likewise.
17170         * io/creat.c (creat): Likewise.
17171         * io/creat64.c (creat64): Likewise.
17172         * io/dup.c (__dup): Likewise.
17173         * io/dup2.c (__dup2): Likewise.
17174         * io/dup3.c (__dup3): Likewise.
17175         * io/euidaccess.c (__euidaccess): Likewise.
17176         * io/faccessat.c (faccessat): Likewise.
17177         * io/fchmod.c (__fchmod): Likewise.
17178         * io/fchmodat.c (fchmodat): Likewise.
17179         * io/fchown.c (__fchown): Likewise.
17180         * io/fchownat.c (fchownat): Likewise.
17181         * io/fcntl.c (__fcntl): Likewise.
17182         * io/flock.c (__flock): Likewise.
17183         * io/fts.c (fts_load): Likewise.
17184         (fts_close): Likewise.
17185         (fts_read): Likewise.
17186         (fts_set): Likewise.
17187         (fts_children): Likewise.
17188         (fts_build): Likewise.
17189         (fts_stat): Likewise.
17190         (fts_sort): Likewise.
17191         (fts_alloc): Likewise.
17192         (fts_lfree): Likewise.
17193         (fts_palloc): Likewise.
17194         (fts_padjust): Likewise.
17195         (fts_maxarglen): Likewise.
17196         (fts_safe_changedir): Likewise.
17197         * io/getwd.c (getwd): Likewise.
17198         * io/isatty.c (__isatty): Likewise.
17199         * io/lchown.c (__lchown): Likewise.
17200         * io/link.c (__link): Likewise.
17201         * io/linkat.c (linkat): Likewise.
17202         * io/lseek.c (__libc_lseek): Likewise.
17203         * io/mkdir.c (__mkdir): Likewise.
17204         * io/mkdirat.c (mkdirat): Likewise.
17205         * io/mkfifo.c (mkfifo): Likewise.
17206         * io/mkfifoat.c (mkfifoat): Likewise.
17207         * io/open.c (__libc_open): Likewise.
17208         * io/open64.c (__libc_open64): Likewise.
17209         * io/readlink.c (__readlink): Likewise.
17210         * io/readlinkat.c (readlinkat): Likewise.
17211         * io/rmdir.c (__rmdir): Likewise.
17212         * io/symlink.c (__symlink): Likewise.
17213         * io/symlinkat.c (symlinkat): Likewise.
17214         * io/ttyname.c (ttyname): Likewise.
17215         * io/ttyname_r.c (__ttyname_r): Likewise.
17216         * io/umask.c (__umask): Likewise.
17217         * io/unlink.c (__unlink): Likewise.
17218         * io/unlinkat.c (unlinkat): Likewise.
17219         * io/utime.c (utime): Likewise.
17220         * libio/clearerr.c (clearerr): Likewise.
17221         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
17222         * libio/feof.c (_IO_feof): Likewise.
17223         * libio/feof_u.c (feof_unlocked): Likewise.
17224         * libio/ferror.c (_IO_ferror): Likewise.
17225         * libio/ferror_u.c (ferror_unlocked): Likewise.
17226         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17227         * libio/fileno.c (__fileno): Likewise.
17228         * libio/fputc.c (fputc): Likewise.
17229         * libio/fputc_u.c (fputc_unlocked): Likewise.
17230         * libio/fputwc.c (fputwc): Likewise.
17231         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
17232         * libio/freopen.c (freopen): Likewise.
17233         * libio/freopen64.c (freopen64): Likewise.
17234         * libio/fseek.c (fseek): Likewise.
17235         * libio/fseeko.c (fseeko): Likewise.
17236         * libio/fseeko64.c (fseeko64): Likewise.
17237         * libio/ftello.c (__ftello): Likewise.
17238         * libio/ftello64.c (ftello64): Likewise.
17239         * libio/fwide.c (fwide): Likewise.
17240         * libio/genops.c (_IO_un_link): Likewise.
17241         (_IO_link_in): Likewise.
17242         (_IO_least_marker): Likewise.
17243         (_IO_switch_to_main_get_area): Likewise.
17244         (_IO_switch_to_backup_area): Likewise.
17245         (_IO_switch_to_get_mode): Likewise.
17246         (_IO_free_backup_area): Likewise.
17247         (_IO_switch_to_put_mode): Likewise.
17248         (__overflow): Likewise.
17249         (__underflow): Likewise.
17250         (__uflow): Likewise.
17251         (_IO_setb): Likewise.
17252         (_IO_doallocbuf): Likewise.
17253         (_IO_default_underflow): Likewise.
17254         (_IO_default_uflow): Likewise.
17255         (_IO_default_xsputn): Likewise.
17256         (_IO_sgetn): Likewise.
17257         (_IO_default_xsgetn): Likewise.
17258         (_IO_sync): Likewise.
17259         (_IO_default_setbuf): Likewise.
17260         (_IO_default_seekpos): Likewise.
17261         (_IO_default_doallocate): Likewise.
17262         (_IO_init): Likewise.
17263         (_IO_old_init): Likewise.
17264         (_IO_default_sync): Likewise.
17265         (_IO_default_finish): Likewise.
17266         (_IO_default_seekoff): Likewise.
17267         (_IO_sputbackc): Likewise.
17268         (_IO_sungetc): Likewise.
17269         (_IO_set_column): Likewise.
17270         (_IO_set_column): Likewise.
17271         (_IO_adjust_column): Likewise.
17272         (_IO_get_column): Likewise.
17273         (_IO_init_marker): Likewise.
17274         (_IO_remove_marker): Likewise.
17275         (_IO_marker_difference): Likewise.
17276         (_IO_marker_delta): Likewise.
17277         (_IO_seekmark): Likewise.
17278         (_IO_unsave_markers): Likewise.
17279         (_IO_nobackup_pbackfail): Likewise.
17280         (_IO_default_pbackfail): Likewise.
17281         (_IO_default_seek): Likewise.
17282         (_IO_default_stat): Likewise.
17283         (_IO_default_read): Likewise.
17284         (_IO_default_write): Likewise.
17285         (_IO_default_showmanyc): Likewise.
17286         (_IO_default_imbue): Likewise.
17287         (_IO_iter_next): Likewise.
17288         (_IO_iter_file): Likewise.
17289         * libio/getc.c (_IO_getc): Likewise.
17290         * libio/getwc.c (_IO_getwc): Likewise.
17291         * libio/iofclose.c (_IO_new_fclose): Likewise.
17292         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17293         * libio/iofflush.c (_IO_fflush): Likewise.
17294         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
17295         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
17296         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
17297         * libio/iofgets.c (_IO_fgets): Likewise.
17298         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
17299         * libio/iofgetws.c (fgetws): Likewise.
17300         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17301         * libio/iofopen64.c (_IO_fopen64): Likewise.
17302         * libio/iofopncook.c (_IO_cookie_read): Likewise.
17303         (_IO_cookie_write): Likewise.
17304         (_IO_cookie_seek): Likewise.
17305         (_IO_cookie_close): Likewise.
17306         (_IO_cookie_seekoff): Likewise.
17307         (_IO_old_cookie_seek): Likewise.
17308         * libio/iofputs.c (_IO_fputs): Likewise.
17309         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
17310         * libio/iofputws.c (fputws): Likewise.
17311         * libio/iofputws_u.c (fputws_unlocked): Likewise.
17312         * libio/iofread.c (_IO_fread): Likewise.
17313         * libio/iofread_u.c (__fread_unlocked): Likewise.
17314         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
17315         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
17316         * libio/ioftell.c (_IO_ftell): Likewise.
17317         * libio/iofwrite.c (_IO_fwrite): Likewise.
17318         * libio/iogetdelim.c (_IO_getdelim): Likewise.
17319         * libio/iogets.c (_IO_gets): Likewise.
17320         * libio/iopadn.c (_IO_padn): Likewise.
17321         * libio/iopopen.c (_IO_new_proc_open): Likewise.
17322         (_IO_new_popen): Likewise.
17323         (_IO_new_proc_close): Likewise.
17324         * libio/ioputs.c (_IO_puts): Likewise.
17325         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
17326         (_IO_seekoff): Likewise.
17327         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
17328         (_IO_seekpos): Likewise.
17329         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
17330         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
17331         * libio/ioungetc.c (_IO_ungetc): Likewise.
17332         * libio/ioungetwc.c (ungetwc): Likewise.
17333         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17334         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
17335         * libio/iowpadn.c (_IO_wpadn): Likewise.
17336         * libio/libc_fatal.c (__libc_fatal): Likewise.
17337         * libio/memstream.c (__open_memstream): Likewise.
17338         (_IO_mem_sync): Likewise.
17339         (_IO_mem_finish): Likewise.
17340         * libio/oldfileops.c (_IO_old_file_init): Likewise.
17341         (_IO_old_file_close_it): Likewise.
17342         (_IO_old_file_finish): Likewise.
17343         (_IO_old_file_fopen): Likewise.
17344         (_IO_old_file_attach): Likewise.
17345         (_IO_old_file_setbuf): Likewise.
17346         (_IO_old_do_write): Likewise.
17347         (old_do_write): Likewise.
17348         (_IO_old_file_underflow): Likewise.
17349         (_IO_old_file_overflow): Likewise.
17350         (_IO_old_file_sync): Likewise.
17351         (_IO_old_file_seekoff): Likewise.
17352         (_IO_old_file_write): Likewise.
17353         (_IO_old_file_xsputn): Likewise.
17354         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
17355         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17356         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
17357         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
17358         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
17359         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
17360         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
17361         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
17362         (_IO_old_popen): Likewise.
17363         (_IO_old_proc_close): Likewise.
17364         * libio/oldpclose.c (__old_pclose): Likewise.
17365         * libio/pclose.c (__new_pclose): Likewise.
17366         * libio/peekc.c (_IO_peekc_locked): Likewise.
17367         * libio/putc.c (_IO_putc): Likewise.
17368         * libio/putc_u.c (putc_unlocked): Likewise.
17369         * libio/putchar.c (putchar): Likewise.
17370         * libio/putchar_u.c (putchar_unlocked): Likewise.
17371         * libio/putwc.c (putwc): Likewise.
17372         * libio/putwc_u.c (putwc_unlocked): Likewise.
17373         * libio/putwchar.c (putwchar): Likewise.
17374         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
17375         * libio/rewind.c (rewind): Likewise.
17376         * libio/setbuf.c (setbuf): Likewise.
17377         * libio/setlinebuf.c (setlinebuf): Likewise.
17378         * libio/vasprintf.c (_IO_vasprintf): Likewise.
17379         * libio/vscanf.c (_IO_vscanf): Likewise.
17380         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
17381         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
17382         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
17383         * libio/wgenops.c (_IO_least_wmarker): Likewise.
17384         (_IO_switch_to_main_wget_area): Likewise.
17385         (_IO_switch_to_wbackup_area): Likewise.
17386         (_IO_wsetb): Likewise.
17387         (_IO_wdefault_pbackfail): Likewise.
17388         (_IO_wdefault_finish): Likewise.
17389         (_IO_wdefault_uflow): Likewise.
17390         (__woverflow): Likewise.
17391         (__wuflow): Likewise.
17392         (__wunderflow): Likewise.
17393         (_IO_wdefault_xsputn): Likewise.
17394         (_IO_wdefault_xsgetn): Likewise.
17395         (_IO_wdoallocbuf): Likewise.
17396         (_IO_wdefault_doallocate): Likewise.
17397         (_IO_switch_to_wget_mode): Likewise.
17398         (_IO_free_wbackup_area): Likewise.
17399         (_IO_switch_to_wput_mode): Likewise.
17400         (_IO_sputbackwc): Likewise.
17401         (_IO_sungetwc): Likewise.
17402         (_IO_adjust_wcolumn): Likewise.
17403         (_IO_init_wmarker): Likewise.
17404         (_IO_wmarker_delta): Likewise.
17405         (_IO_seekwmark): Likewise.
17406         (_IO_unsave_wmarkers): Likewise.
17407         * libio/wmemstream.c (open_wmemstream): Likewise.
17408         (_IO_wmem_sync): Likewise.
17409         (_IO_wmem_finish): Likewise.
17410         * locale/nl_langinfo.c (nl_langinfo): Likewise.
17411         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
17412         * locale/programs/simple-hash.c (init_hash): Likewise.
17413         (delete_hash): Likewise.
17414         (insert_entry): Likewise.
17415         (set_entry): Likewise.
17416         (next_prime): Likewise.
17417         (is_prime): Likewise.
17418         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
17419         (xmalloc): Likewise.
17420         (xrealloc): Likewise.
17421         * locale/programs/xstrdup.c (xstrdup): Likewise.
17422         * localedata/collate-test.c (xstrcoll): Likewise.
17423         * localedata/xfrm-test.c (xstrcmp): Likewise.
17424         * login/getlogin_r.c (__getlogin_r): Likewise.
17425         * login/getpt.c (__posix_openpt): Likewise.
17426         * login/login_tty.c (login_tty): Likewise.
17427         * login/setlogin.c (setlogin): Likewise.
17428         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
17429         (mach_msg_destroy_port): Likewise.
17430         (mach_msg_destroy_memory): Likewise.
17431         * malloc/mcheck.c (flood): Likewise.
17432         * misc/acct.c (acct): Likewise.
17433         * misc/brk.c (__brk): Likewise.
17434         * misc/chflags.c (chflags): Likewise.
17435         * misc/chroot.c (chroot): Likewise.
17436         * misc/fchflags.c (fchflags): Likewise.
17437         * misc/fstab.c (getfsspec): Likewise.
17438         (getfsfile): Likewise.
17439         * misc/fsync.c (fsync): Likewise.
17440         * misc/ftruncate.c (__ftruncate): Likewise.
17441         * misc/ftruncate64.c (__ftruncate64): Likewise.
17442         * misc/getdomain.c (getdomainname): Likewise.
17443         (getdomainname): Likewise.
17444         * misc/gethostname.c (__gethostname): Likewise.
17445         * misc/getpass.c (getpass): Likewise.
17446         * misc/getttyent.c (skip): Likewise.
17447         (value): Likewise.
17448         * misc/gtty.c (gtty): Likewise.
17449         * misc/hsearch.c (hsearch): Likewise.
17450         (hcreate): Likewise.
17451         * misc/hsearch_r.c (__hcreate_r): Likewise.
17452         (__hdestroy_r): Likewise.
17453         * misc/ioctl.c (__ioctl): Likewise.
17454         * misc/mkdtemp.c (mkdtemp): Likewise.
17455         * misc/mkostemp.c (mkostemp): Likewise.
17456         * misc/mkostemp64.c (mkostemp64): Likewise.
17457         * misc/mkostemps.c (mkostemps): Likewise.
17458         * misc/mkostemps64.c (mkostemps64): Likewise.
17459         * misc/mkstemp.c (mkstemp): Likewise.
17460         * misc/mkstemp64.c (mkstemp64): Likewise.
17461         * misc/mkstemps.c (mkstemps): Likewise.
17462         * misc/mkstemps64.c (mkstemps64): Likewise.
17463         * misc/mktemp.c (__mktemp): Likewise.
17464         * misc/preadv.c (preadv): Likewise.
17465         * misc/preadv64.c (preadv64): Likewise.
17466         * misc/pwritev.c (pwritev): Likewise.
17467         * misc/pwritev64.c (pwritev64): Likewise.
17468         * misc/readv.c (__readv): Likewise.
17469         * misc/revoke.c (revoke): Likewise.
17470         * misc/setdomain.c (setdomainname): Likewise.
17471         * misc/setegid.c (setegid): Likewise.
17472         * misc/seteuid.c (seteuid): Likewise.
17473         * misc/sethostid.c (sethostid): Likewise.
17474         * misc/sethostname.c (sethostname): Likewise.
17475         * misc/setregid.c (__setregid): Likewise.
17476         * misc/setreuid.c (__setreuid): Likewise.
17477         * misc/sstk.c (sstk): Likewise.
17478         * misc/stty.c (stty): Likewise.
17479         * misc/syscall.c (syscall): Likewise.
17480         * misc/syslog.c (setlogmask): Likewise.
17481         * misc/truncate.c (__truncate): Likewise.
17482         * misc/truncate64.c (truncate64): Likewise.
17483         * misc/ualarm.c (ualarm): Likewise.
17484         * misc/usleep.c (usleep): Likewise.
17485         * misc/ustat.c (ustat): Likewise.
17486         * misc/writev.c (__writev): Likewise.
17487         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
17488         * nptl/old_pthread_cond_broadcast.c
17489         (__pthread_cond_broadcast_2_0): Likewise.
17490         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
17491         Likewise.
17492         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
17493         Likewise.
17494         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
17495         Likewise.
17496         * nptl/pt-raise.c (raise): Likewise.
17497         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
17498         Likewise.
17499         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
17500         * nptl/pthread_barrierattr_destroy.c
17501         (pthread_barrierattr_destroy): Likewise.
17502         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
17503         Likewise.
17504         * nptl/pthread_barrierattr_setpshared.c
17505         (pthread_barrierattr_setpshared): Likewise.
17506         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
17507         Likewise.
17508         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
17509         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
17510         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
17511         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
17512         Likewise.
17513         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
17514         Likewise.
17515         * nptl/pthread_condattr_getpshared.c
17516         (pthread_condattr_getpshared): Likewise.
17517         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
17518         Likewise.
17519         * nptl/pthread_condattr_setpshared.c
17520         (pthread_condattr_setpshared): Likewise.
17521         * nptl/pthread_detach.c (pthread_detach): Likewise.
17522         * nptl/pthread_equal.c (__pthread_equal): Likewise.
17523         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
17524         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
17525         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
17526         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
17527         Likewise.
17528         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
17529         Likewise.
17530         * nptl/pthread_mutex_getprioceiling.c
17531         (pthread_mutex_getprioceiling): Likewise.
17532         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
17533         Likewise.
17534         * nptl/pthread_mutexattr_getprotocol.c
17535         (pthread_mutexattr_getprotocol): Likewise.
17536         * nptl/pthread_mutexattr_getpshared.c
17537         (pthread_mutexattr_getpshared): Likewise.
17538         * nptl/pthread_mutexattr_getrobust.c
17539         (pthread_mutexattr_getrobust): Likewise.
17540         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
17541         Likewise.
17542         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
17543         Likewise.
17544         * nptl/pthread_mutexattr_setprioceiling.c
17545         (pthread_mutexattr_setprioceiling): Likewise.
17546         * nptl/pthread_mutexattr_setprotocol.c
17547         (pthread_mutexattr_setprotocol): Likewise.
17548         * nptl/pthread_mutexattr_setpshared.c
17549         (pthread_mutexattr_setpshared): Likewise.
17550         * nptl/pthread_mutexattr_setrobust.c
17551         (pthread_mutexattr_setrobust): Likewise.
17552         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
17553         Likewise.
17554         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
17555         Likewise.
17556         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
17557         Likewise.
17558         * nptl/pthread_rwlockattr_getkind_np.c
17559         (pthread_rwlockattr_getkind_np): Likewise.
17560         * nptl/pthread_rwlockattr_getpshared.c
17561         (pthread_rwlockattr_getpshared): Likewise.
17562         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
17563         Likewise.
17564         * nptl/pthread_rwlockattr_setkind_np.c
17565         (pthread_rwlockattr_setkind_np): Likewise.
17566         * nptl/pthread_rwlockattr_setpshared.c
17567         (pthread_rwlockattr_setpshared): Likewise.
17568         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
17569         Likewise.
17570         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
17571         Likewise.
17572         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
17573         Likewise.
17574         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
17575         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
17576         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
17577         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
17578         * nptl/sem_close.c (sem_close): Likewise.
17579         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
17580         * nptl/sem_init.c (__old_sem_init): Likewise.
17581         * nptl/sigaction.c (__sigaction): Likewise.
17582         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
17583         * posix/_exit.c (_exit): Likewise.
17584         * posix/alarm.c (alarm): Likewise.
17585         * posix/confstr.c (confstr): Likewise.
17586         * posix/fpathconf.c (__fpathconf): Likewise.
17587         * posix/getgroups.c (__getgroups): Likewise.
17588         * posix/getpgid.c (__getpgid): Likewise.
17589         * posix/group_member.c (__group_member): Likewise.
17590         * posix/pathconf.c (__pathconf): Likewise.
17591         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
17592         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
17593         * posix/setgid.c (__setgid): Likewise.
17594         * posix/setpgid.c (__setpgid): Likewise.
17595         * posix/setuid.c (__setuid): Likewise.
17596         * posix/sleep.c (__sleep): Likewise.
17597         * posix/sysconf.c (__sysconf): Likewise.
17598         * posix/times.c (__times): Likewise.
17599         * posix/uname.c (__uname): Likewise.
17600         * posix/waitid.c (__waitid): Likewise.
17601         * pwd/getpw.c (__getpw): Likewise.
17602         * resolv/base64.c (b64_pton): Likewise.
17603         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
17604         * resolv/gethnamaddr.c (Dprintf): Likewise.
17605         (gethostbyname): Likewise.
17606         (gethostbyname2): Likewise.
17607         (gethostbyaddr): Likewise.
17608         (_sethtent): Likewise.
17609         (_gethtbyname): Likewise.
17610         (_gethtbyname2): Likewise.
17611         (_gethtbyaddr): Likewise.
17612         (map_v4v6_address): Likewise.
17613         (map_v4v6_hostent): Likewise.
17614         (addrsort): Likewise.
17615         (ht_sethostent): Likewise.
17616         (ht_gethostbyname): Likewise.
17617         (ht_gethostbyaddr): Likewise.
17618         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
17619         (inet_net_ntop_ipv4): Likewise.
17620         * resolv/inet_neta.c (inet_neta): Likewise.
17621         * resolv/inet_ntop.c (inet_ntop): Likewise.
17622         (inet_ntop4): Likewise.
17623         (inet_ntop6): Likewise.
17624         * resolv/inet_pton.c (__inet_pton): Likewise.
17625         (inet_pton4): Likewise.
17626         (inet_pton6): Likewise.
17627         * resolv/res_debug.c (loc_aton): Likewise.
17628         (loc_ntoa): Likewise.
17629         * resource/getpriority.c (__getpriority): Likewise.
17630         * resource/getrusage.c (__getrusage): Likewise.
17631         * resource/nice.c (nice): Likewise.
17632         * resource/setpriority.c (__setpriority): Likewise.
17633         * resource/setrlimit64.c (setrlimit64): Likewise.
17634         * resource/vlimit.c (vlimit): Likewise.
17635         * resource/vtimes.c (vtimes): Likewise.
17636         * rt/aio_error.c (aio_error): Likewise.
17637         * rt/aio_return.c (aio_return): Likewise.
17638         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
17639         * signal/kill.c (__kill): Likewise.
17640         * signal/killpg.c (killpg): Likewise.
17641         * signal/raise.c (raise): Likewise.
17642         * signal/sigaction.c (__sigaction): Likewise.
17643         * signal/sigaddset.c (sigaddset): Likewise.
17644         * signal/sigaltstack.c (sigaltstack): Likewise.
17645         * signal/sigandset.c (sigandset): Likewise.
17646         * signal/sigblock.c (__sigblock): Likewise.
17647         * signal/sigdelset.c (sigdelset): Likewise.
17648         * signal/sigempty.c (sigemptyset): Likewise.
17649         * signal/sigfillset.c (sigfillset): Likewise.
17650         * signal/sighold.c (sighold): Likewise.
17651         * signal/sigignore.c (sigignore): Likewise.
17652         * signal/sigintr.c (siginterrupt): Likewise.
17653         * signal/sigisempty.c (sigisemptyset): Likewise.
17654         * signal/sigismem.c (sigismember): Likewise.
17655         * signal/signal.c (signal): Likewise.
17656         * signal/sigorset.c (sigorset): Likewise.
17657         * signal/sigpause.c (__sigpause): Likewise.
17658         * signal/sigpending.c (sigpending): Likewise.
17659         * signal/sigprocmask.c (__sigprocmask): Likewise.
17660         * signal/sigrelse.c (sigrelse): Likewise.
17661         * signal/sigreturn.c (__sigreturn): Likewise.
17662         * signal/sigset.c (sigset): Likewise.
17663         * signal/sigsetmask.c (__sigsetmask): Likewise.
17664         * signal/sigstack.c (sigstack): Likewise.
17665         * signal/sigsuspend.c (__sigsuspend): Likewise.
17666         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
17667         * signal/sysv_signal.c (__sysv_signal): Likewise.
17668         * socket/accept.c (accept): Likewise.
17669         * socket/accept4.c (__libc_accept4): Likewise.
17670         * socket/bind.c (__bind): Likewise.
17671         * socket/connect.c (__connect): Likewise.
17672         * socket/getpeername.c (getpeername): Likewise.
17673         * socket/getsockname.c (__getsockname): Likewise.
17674         * socket/getsockopt.c (getsockopt): Likewise.
17675         * socket/listen.c (__listen): Likewise.
17676         * socket/recv.c (__recv): Likewise.
17677         * socket/recvmsg.c (__recvmsg): Likewise.
17678         * socket/send.c (__send): Likewise.
17679         * socket/sendmsg.c (__sendmsg): Likewise.
17680         * socket/shutdown.c (shutdown): Likewise.
17681         * socket/sockatmark.c (sockatmark): Likewise.
17682         * socket/socket.c (__socket): Likewise.
17683         * stdio-common/ctermid.c (ctermid): Likewise.
17684         * stdio-common/cuserid.c (cuserid): Likewise.
17685         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
17686         * stdio-common/remove.c (remove): Likewise.
17687         * stdio-common/rename.c (rename): Likewise.
17688         * stdio-common/renameat.c (renameat): Likewise.
17689         * stdio-common/tempname.c (__gen_tempname): Likewise.
17690         * stdio-common/xbug.c (InitBuffer): Likewise.
17691         (AppendToBuffer): Likewise.
17692         (ReadFile): Likewise.
17693         * stdlib/a64l.c (a64l): Likewise.
17694         * stdlib/drand48_r.c (drand48_r): Likewise.
17695         * stdlib/getcontext.c (getcontext): Likewise.
17696         * stdlib/getenv.c (getenv): Likewise.
17697         * stdlib/l64a.c (l64a): Likewise.
17698         * stdlib/llabs.c (llabs): Likewise.
17699         * stdlib/lldiv.c (lldiv): Likewise.
17700         * stdlib/lrand48_r.c (lrand48_r): Likewise.
17701         * stdlib/mrand48_r.c (mrand48_r): Likewise.
17702         * stdlib/putenv.c (putenv): Likewise.
17703         * stdlib/random.c (__srandom): Likewise.
17704         (__initstate): Likewise.
17705         (__setstate): Likewise.
17706         * stdlib/random_r.c (__srandom_r): Likewise.
17707         (__setstate_r): Likewise.
17708         (__random_r): Likewise.
17709         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
17710         * stdlib/setcontext.c (setcontext): Likewise.
17711         * stdlib/setenv.c (setenv): Likewise.
17712         (unsetenv): Likewise.
17713         * stdlib/srand48.c (srand48): Likewise.
17714         * stdlib/srand48_r.c (__srand48_r): Likewise.
17715         * stdlib/swapcontext.c (swapcontext): Likewise.
17716         * stdlib/system.c (__libc_system): Likewise.
17717         * stdlib/tst-strtod.c (expand): Likewise.
17718         * stdlib/tst-strtol.c (expand): Likewise.
17719         * stdlib/tst-strtoll.c (expand): Likewise.
17720         * streams/fattach.c (fattach): Likewise.
17721         * streams/fdetach.c (fdetach): Likewise.
17722         * streams/getmsg.c (getmsg): Likewise.
17723         * streams/isastream.c (isastream): Likewise.
17724         * string/ffs.c (__ffs): Likewise.
17725         * string/ffsll.c (ffsll): Likewise.
17726         * string/memcmp.c (memcmp_common_alignment): Likewise.
17727         (memcmp_not_common_alignment): Likewise.
17728         (MEMCMP): Likewise.
17729         * string/memcpy.c (memcpy): Likewise.
17730         * string/memmove.c (MEMMOVE): Likewise.
17731         * string/memset.c (memset): Likewise.
17732         * string/rawmemchr.c (RAWMEMCHR): Likewise.
17733         * string/strchrnul.c (STRCHRNUL): Likewise.
17734         * string/strerror.c (strerror): Likewise.
17735         * string/strndup.c (__strndup): Likewise.
17736         * string/strverscmp.c (__strverscmp): Likewise.
17737         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
17738         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
17739         (clnttcp_freeres): Likewise.
17740         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
17741         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
17742         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
17743         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
17744         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
17745         (xdr_callhdr): Likewise.
17746         * sunrpc/rpcinfo.c (udpping): Likewise.
17747         (tcpping): Likewise.
17748         (pstatus): Likewise.
17749         (pmapdump): Likewise.
17750         (brdcst): Likewise.
17751         (deletereg): Likewise.
17752         (getprognum): Likewise.
17753         (getvers): Likewise.
17754         (get_inet_address): Likewise.
17755         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
17756         * sunrpc/svc_udp.c (svcudp_create): Likewise.
17757         (svcudp_stat): Likewise.
17758         (svcudp_recv): Likewise.
17759         (svcudp_reply): Likewise.
17760         (svcudp_getargs): Likewise.
17761         (svcudp_freeargs): Likewise.
17762         (svcudp_destroy): Likewise.
17763         * sunrpc/xdr.c (xdr_bytes): Likewise.
17764         (xdr_netobj): Likewise.
17765         (xdr_string): Likewise.
17766         (xdr_wrapstring): Likewise.
17767         * sunrpc/xdr_float.c (xdr_float): Likewise.
17768         (xdr_double): Likewise.
17769         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
17770         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
17771         * sysvipc/ftok.c (ftok): Likewise.
17772         * sysvipc/msgctl.c (msgctl): Likewise.
17773         * sysvipc/msgget.c (msgget): Likewise.
17774         * sysvipc/msgrcv.c (msgrcv): Likewise.
17775         * sysvipc/msgsnd.c (msgsnd): Likewise.
17776         * sysvipc/semget.c (semget): Likewise.
17777         * sysvipc/semop.c (semop): Likewise.
17778         * sysvipc/shmat.c (shmat): Likewise.
17779         * sysvipc/shmctl.c (shmctl): Likewise.
17780         * sysvipc/shmdt.c (shmdt): Likewise.
17781         * sysvipc/shmget.c (shmget): Likewise.
17782         * termios/cfmakeraw.c (cfmakeraw): Likewise.
17783         * termios/speed.c (cfgetospeed): Likewise.
17784         (cfgetispeed): Likewise.
17785         (cfsetospeed): Likewise.
17786         (cfsetispeed): Likewise.
17787         * termios/tcflow.c (tcflow): Likewise.
17788         * termios/tcflush.c (tcflush): Likewise.
17789         * termios/tcgetattr.c (__tcgetattr): Likewise.
17790         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
17791         * termios/tcgetsid.c (tcgetsid): Likewise.
17792         * termios/tcsendbrk.c (tcsendbreak): Likewise.
17793         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
17794         * time/adjtime.c (__adjtime): Likewise.
17795         * time/dysize.c (dysize): Likewise.
17796         * time/ftime.c (ftime): Likewise.
17797         * time/getitimer.c (__getitimer): Likewise.
17798         * time/gettimeofday.c (__gettimeofday): Likewise.
17799         * time/gmtime.c (__gmtime_r): Likewise.
17800         (gmtime): Likewise.
17801         * time/localtime.c (__localtime_r): Likewise.
17802         (localtime): Likewise.
17803         * time/offtime.c (__offtime): Likewise.
17804         * time/settimeofday.c (__settimeofday): Likewise.
17805         * time/stime.c (stime): Likewise.
17806         * time/strftime_l.c (tm_diff): Likewise.
17807         (iso_week_days): Likewise.
17808         * time/strptime.c (strptime): Likewise.
17809         * time/time.c (time): Likewise.
17810         * time/timespec_get.c (timespec_get): Likewise.
17811         * time/tzset.c (tzset_internal): Likewise.
17812         (compute_change): Likewise.
17813         (__tz_compute): Likewise.
17814         * wcsmbs/btowc.c (__btowc): Likewise.
17815         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
17816         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
17817         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
17818         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
17819         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
17820         * wcsmbs/wcscat.c (__wcscat): Likewise.
17821         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17822         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
17823         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
17824         * wcsmbs/wcscspn.c (wcscspn): Likewise.
17825         * wcsmbs/wcsdup.c (wcsdup): Likewise.
17826         * wcsmbs/wcslen.c (__wcslen): Likewise.
17827         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
17828         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
17829         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
17830         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
17831         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17832         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
17833         * wcsmbs/wcsspn.c (wcsspn): Likewise.
17834         * wcsmbs/wcsstr.c (wcsstr): Likewise.
17835         * wcsmbs/wcstok.c (wcstok): Likewise.
17836         * wcsmbs/wctob.c (wctob): Likewise.
17837         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
17838         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17839         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
17840         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
17841         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
17842         * wcsmbs/wmemset.c (__wmemset): Likewise.
17843         * wctype/wcfuncs.c (__towlower): Likewise.
17844         (__towupper): Likewise.
17846         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
17847         (lll_unlock_elision): Add adapt_count parameter.
17849 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
17851         * sysdeps/nptl/configure.ac: Do not give errors based on the
17852         results of top-level configure tests.
17853         * sysdeps/nptl/configure: Regenerated.
17855         * configure.ac (libc_cv_Bgroup): Remove configure test.
17856         * configure: Regenerated.
17857         * config.make.in (have-Bgroup): Remove variable.
17859         * configure.ac (sizeof_long_double): Remove configure test.
17860         * configure: Regenerated.
17861         * config.make.in (sizeof-long-double): Remove variable.
17863         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
17864         * configure: Regenerated.
17865         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
17866         variable.
17867         (exceptions): Likewise.
17868         * sysdeps/arm/configure: Regenerated.
17869         * config.make.in (exceptions): Remove variable.
17870         * Makeconfig (uses-callbacks): Use -fexceptions instead of
17871         $(exceptions).
17872         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
17873         (CFLAGS-vdprintf_chk.c): Likewise.
17874         (CFLAGS-printf_chk.c): Likewise.
17875         (CFLAGS-fprintf_chk.c): Likewise.
17876         (CFLAGS-vprintf_chk.c): Likewise.
17877         (CFLAGS-vfprintf_chk.c): Likewise.
17878         (CFLAGS-gets_chk.c): Likewise.
17879         (CFLAGS-fgets_chk.c): Likewise.
17880         (CFLAGS-fgets_u_chk.c): Likewise.
17881         (CFLAGS-fread_chk.c): Likewise.
17882         (CFLAGS-fread_u_chk.c): Likewise.
17883         (CFLAGS-wprintf_chk.c): Likewise.
17884         (CFLAGS-fwprintf_chk.c): Likewise.
17885         (CFLAGS-vwprintf_chk.c): Likewise.
17886         (CFLAGS-vfwprintf_chk.c): Likewise.
17887         (CFLAGS-fgetws_chk.c): Likewise.
17888         (CFLAGS-fgetws_u_chk.c): Likewise.
17889         * libio/Makefile (CFLAGS-fileops.c): Likewise.
17890         (CFLAGS-fputc.c): Likewise.
17891         (CFLAGS-fputwc.c): Likewise.
17892         (CFLAGS-freopen64.c): Likewise.
17893         (CFLAGS-freopen.c): Likewise.
17894         (CFLAGS-fseek.c): Likewise.
17895         (CFLAGS-fseeko64.c): Likewise.
17896         (CFLAGS-fseeko.c): Likewise.
17897         (CFLAGS-ftello64.c): Likewise.
17898         (CFLAGS-ftello.c): Likewise.
17899         (CFLAGS-fwide.c): Likewise.
17900         (CFLAGS-genops.c): Likewise.
17901         (CFLAGS-getc.c): Likewise.
17902         (CFLAGS-getchar.c): Likewise.
17903         (CFLAGS-getwc.c): Likewise.
17904         (CFLAGS-getwchar.c): Likewise.
17905         (CFLAGS-iofclose.c): Likewise.
17906         (CFLAGS-iofflush.c): Likewise.
17907         (CFLAGS-iofgetpos64.c): Likewise.
17908         (CFLAGS-iofgetpos.c): Likewise.
17909         (CFLAGS-iofgets.c): Likewise.
17910         (CFLAGS-iofgetws.c): Likewise.
17911         (CFLAGS-iofputs.c): Likewise.
17912         (CFLAGS-iofputws.c): Likewise.
17913         (CFLAGS-iofread.c): Likewise.
17914         (CFLAGS-iofsetpos64.c): Likewise.
17915         (CFLAGS-iofsetpos.c): Likewise.
17916         (CFLAGS-ioftell.c): Likewise.
17917         (CFLAGS-iofwrite.c): Likewise.
17918         (CFLAGS-iogetdelim.c): Likewise.
17919         (CFLAGS-iogetline.c): Likewise.
17920         (CFLAGS-iogets.c): Likewise.
17921         (CFLAGS-iogetwline.c): Likewise.
17922         (CFLAGS-ioputs.c): Likewise.
17923         (CFLAGS-ioseekoff.c): Likewise.
17924         (CFLAGS-ioseekpos.c): Likewise.
17925         (CFLAGS-iosetbuffer.c): Likewise.
17926         (CFLAGS-iosetvbuf.c): Likewise.
17927         (CFLAGS-ioungetc.c): Likewise.
17928         (CFLAGS-ioungetwc.c): Likewise.
17929         (CFLAGS-oldfileops.c): Likewise.
17930         (CFLAGS-oldiofclose.c): Likewise.
17931         (CFLAGS-oldiofgetpos64.c): Likewise.
17932         (CFLAGS-oldiofgetpos.c): Likewise.
17933         (CFLAGS-oldiofsetpos64.c): Likewise.
17934         (CFLAGS-oldiofsetpos.c): Likewise.
17935         (CFLAGS-peekc.c): Likewise.
17936         (CFLAGS-putc.c): Likewise.
17937         (CFLAGS-putchar.c): Likewise.
17938         (CFLAGS-putwc.c): Likewise.
17939         (CFLAGS-putwchar.c): Likewise.
17940         (CFLAGS-rewind.c): Likewise.
17941         (CFLAGS-wfileops.c): Likewise.
17942         (CFLAGS-wgenops.c): Likewise.
17943         (CFLAGS-oldiofopen.c): Likewise.
17944         (CFLAGS-iofopen.c): Likewise.
17945         (CFLAGS-iofopen64.c): Likewise.
17946         (CFLAGS-oldtmpfile.c): Likewise.
17947         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
17948         (CFLAGS-fprintf.c): Likewise.
17949         (CFLAGS-printf.c): Likewise.
17950         (CFLAGS-vfwprintf.c): Likewise.
17951         (CFLAGS-vfscanf.c): Likewise.
17952         (CFLAGS-vfwscanf.c): Likewise.
17953         (CFLAGS-fscanf.c): Likewise.
17954         (CFLAGS-scanf.c): Likewise.
17955         (CFLAGS-isoc99_vfscanf.c): Likewise.
17956         (CFLAGS-isoc99_vscanf.c): Likewise.
17957         (CFLAGS-isoc99_fscanf.c): Likewise.
17958         (CFLAGS-isoc99_scanf.c): Likewise.
17959         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
17960         (CFLAGS-isoc99_fwscanf.c): Likewise.
17961         (CFLAGS-isoc99_vwscanf.c): Likewise.
17962         (CFLAGS-isoc99_vfwscanf.c): Likewise.
17964         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
17965         after mkstemp64.
17966         * login/tst-utmp.c (do_prepare): Likewise.
17967         * rt/tst-aio.c (do_prepare): Likewise.
17968         * rt/tst-aio64.c (do_prepare): Likewise.
17970 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17972         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
17973         (__lll_lock_elision): Remove adapt_count decrement...
17974         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17975         (__lll_trylock_elision): Likewise.
17976         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
17977         (__lll_unlock_elision): ... to here. And utilize
17978         new adapt_count parameter.
17979         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
17980         (__lll_unlock_elision): Update to include adapt_count
17981         parameter.
17982         (lll_unlock_elision): Pass pointer to adapt_count
17983         variable.
17985 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17987         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
17988         Add elision adapt_count parameter to list of arguments.
17989         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
17990         (lll_unlock_elision): Update with new parameter list
17991         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
17992         (lll_unlock_elision): Likewise.
17993         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
17994         (lll_unlock_elision): Likewise.
17996 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
17998         [BZ #19122]
17999         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
18000         attribute_hidden.
18002         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
18003         attribute_hidden.
18004         [IS_IN (rtld)] (__strdup): Likewise.
18005         [IS_IN (rtld)] (__strerror_r): Likewise.
18006         [IS_IN (rtld)] (__strsep_g): Likewise.
18007         [IS_IN (rtld)] (memchr): Likewise.
18008         [IS_IN (rtld)] (memcmp): Likewise.
18009         [IS_IN (rtld)] (memcpy): Likewise.
18010         [IS_IN (rtld)] (memmove): Likewise.
18011         [IS_IN (rtld)] (memset): Likewise.
18012         [IS_IN (rtld)] (rawmemchr): Likewise.
18013         [IS_IN (rtld)] (stpcpy): Likewise.
18014         [IS_IN (rtld)] (strchr): Likewise.
18015         [IS_IN (rtld)] (strcmp): Likewise.
18016         [IS_IN (rtld)] (strlen): Likewise.
18017         [IS_IN (rtld)] (strnlen): Likewise.
18018         [IS_IN (rtld)] (strsep): Likewise.
18020         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
18021         attribute_hidden.
18022         [IS_IN (rtld)] (__strtoul_internal): Likewise.
18024         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
18025         attribute_hidden.
18026         [IS_IN (rtld)] (__libc_sigaction): Likewise.
18028         * include/setjmp.h (__longjmp): Add attribute_hidden.
18029         [IS_IN (rtld)] (__sigsetjmp): Likewise.
18031         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
18032         Add attribute_hidden.
18034         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
18035         [IS_IN (rtld)] (__open): Likewise.
18036         [IS_IN (rtld)] (__fcntl): Likewise.
18038         * include/dirent.h (__opendirat): Add attribute_hidden.
18039         (__getdents): Likewise.
18040         (__getdents64): Likewise.
18041         (__alloc_dir): Likewise.
18042         [IS_IN (rtld)] (__closedir): Likewise.
18043         [IS_IN (rtld)] (__fdopendir): Likewise.
18044         [IS_IN (rtld)] (__readdir): Likewise.
18045         [IS_IN (rtld)] (__readdir64): Likewise.
18046         [IS_IN (rtld)] (__rewinddir): Likewise.
18048         * include/dlfcn.h (_dl_catch_error): Moved to ...
18049         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
18050         attribute_hidden.
18052         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
18053         (_itoa_word): Likewise.
18055         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
18056         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
18057         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
18058         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
18059         (_dl_higher_prime_number): Likewise.
18060         (_dl_debug_printf_c): Likewise.
18061         (_dl_signal_cerror): Likewise.
18062         (_dl_receive_error): Likewise.
18063         (_dl_reloc_bad_type): Likewise.
18064         (_dl_resolve_conflicts): Likewise.
18065         (_dl_check_all_versions): Likewise.
18066         (_dl_check_map_versions): Likewise.
18067         (_dl_sort_fini): Likewise.
18068         (_dl_debug_initialize): Likewise.
18069         (_dl_init_paths): Likewise.
18070         (_dl_show_auxv): Likewise.
18071         (_dl_next_ld_env_entry): Likewise.
18072         (_dl_important_hwcaps): Likewise.
18073         (_dl_load_cache_lookup): Likewise.
18074         (_dl_update_slotinfo): Likewise.
18075         (_dl_show_scope): Likewise.
18077         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
18078         attribute_hidden.
18079         (_wordcopy_fwd_dest_aligned): Likewise.
18080         (_wordcopy_bwd_aligned): Likewise.
18081         (_wordcopy_bwd_dest_aligned): Likewise.
18083         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18084         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18085         Likewise.
18086         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18087         Likewise.
18088         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
18090 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18092         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
18093         GCC 5 requirement.
18095 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
18097         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
18098         test.
18099         * sysdeps/i386/configure: Regenerated.
18100         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
18101         code unconditional.
18103         * configure.ac (libc_cv_asm_previous_directive): Remove configure
18104         test.
18105         (libc_cv_asm_popsection_directive): Likewise.
18106         * configure: Regenerated.
18107         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
18108         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
18109         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
18110         (__make_section_unallocated): Make definition unconditional.
18111         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
18112         Remove conditional definition.
18113         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
18114         (__make_section_unallocated): Likewise.
18116         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
18117         * configure: Regenerated.
18118         * config.make.in (static-libgcc): Remove variable.
18119         * Makerules (build-shlib-helper): Use -static-libgcc instead of
18120         $(static-libgcc).
18121         (build-module-helper): Likewise.
18123         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
18124         * configure: Regenerated.
18126 2015-10-15  Florian Weimer  <fweimer@redhat.com>
18128         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
18129         (struct char_buffer): New type.
18130         (char_buffer_start, char_buffer_size, char_buffer_error)
18131         (char_buffer_rewind, char_buffer_add): New functions.
18132         (ADDW): Remove macro, replaced by the char_buffer_add function.
18133         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
18134         of extend_alloca.  Make control flow more explicit.
18136 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18138         [BZ #19137]
18139         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
18140         Add -fomit-frame-pointer.
18141         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
18143 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18145         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
18146         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
18147         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
18148         only if !__GNUC_PREREQ (5,0).
18149         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
18150         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
18151         (INTERNAL_SYSCALL_NCS): Likewise.
18152         (LOADREGS_0): New macro for GCC 5.
18153         (ASMARGS_0): Likewise.
18154         (LOADREGS_1): Likewise.
18155         (ASMARGS_1): Likewise.
18156         (LOADREGS_2): Likewise.
18157         (ASMARGS_2): Likewise.
18158         (LOADREGS_3): Likewise.
18159         (ASMARGS_3): Likewise.
18160         (LOADREGS_4): Likewise.
18161         (ASMARGS_4): Likewise.
18162         (LOADREGS_5): Likewise.
18163         (ASMARGS_5): Likewise.
18164         (LOADREGS_6): Likewise.
18165         (ASMARGS_6): Likewise.
18167 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18169         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
18170         -fomit-frame-pointer.
18171         (CFLAGS-mmap64.c): Likewise.
18172         (CFLAGS-semtimedop.c): Likewise.
18173         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
18174         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
18175         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18176         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18178 2015-10-15  Florian Weimer  <fweimer@redhat.com>
18180         [BZ #18928]
18181         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
18182         _dl_pointer_guard member.
18183         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
18184         initializer.
18185         (security_init): Always set up pointer guard.
18186         (process_envvars): Do not process LD_POINTER_GUARD.
18188 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
18190         [BZ #19134]
18191         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
18192         (.LC2): Likewise.
18193         (.LC3): Likewise.
18194         (__lround): Do not add 0.5 to integer or out-of-range arguments.
18196 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18198         [BZ #19129]
18199         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
18200         r0 and r1.
18202 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
18204         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
18206 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
18208         * include/stap-probe.h: Fix macro definition formatting.
18210 2015-10-14  Florian Weimer  <fweimer@redhat.com>
18212         [BZ #19074]
18213         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
18214         load and store num_ifs.
18216 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
18218         [BZ #18822]
18219         * sysdeps/unix/sysv/linux/sched_getaffinity.c
18220         (__sched_getaffinity_new): Add libc_hidden_proto and
18221         libc_hidden_def.
18223 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
18225         [BZ #19007]
18226         * scripts/localplt.awk: Also allow GOT references.
18227         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
18228         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
18229         with "+ REL R_386_GLOB_DAT".
18230         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
18231         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
18233 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
18235         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
18236         INLINE_SYSCALL_ERROR_RETURN_VALUE.
18237         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
18238         Likewise.
18239         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
18240         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
18241         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
18242         INTERNAL_SYSCALLINTERNAL_SYSCALL and
18243         INLINE_SYSCALL_ERROR_RETURN_VALUE.
18244         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
18245         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18246         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
18247         Likewise.
18248         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18250 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
18252         [BZ #19125]
18253         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
18254         <math_private.h> and <stdint.h>.
18255         (__llround): Avoid conversions to and from long long int, and
18256         subtractions, where those might raise spurious exceptions.
18257         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
18258         <math_private.h> and <stdint.h>.
18259         (__llroundf): Avoid conversions to and from long long int, and
18260         subtractions, where those might raise spurious exceptions.
18262 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
18264         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
18265         INLINE_SYSCALL_ERROR_RETURN_VALUE.
18266         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
18267         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
18268         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18269         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18270         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
18271         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
18272         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
18273         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18274         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18275         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18276         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
18277         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18278         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18279         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
18280         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
18281         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18282         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
18283         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
18284         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
18285         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
18286         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
18287         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
18288         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
18289         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
18290         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
18291         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18292         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18293         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
18294         (__xstat64_conv): Likewise.
18295         (__xstat32_conv): Likewise.
18297 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
18299         * sysdeps/unix/sysv/linux/sysdep.h: New file.
18300         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
18301         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
18302         <sysdeps/unix/sysv/linux/sysdep.h>.
18303         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
18304         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
18305         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
18306         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18307         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
18308         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
18309         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
18310         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
18311         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
18312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18314         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18315         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18316         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18317         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18318         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18319         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
18320         (sysdep-dl-routines): Add sysdep.
18321         [$(subdir) == nptl] (libpthread-routines): Likewise.
18322         [$(subdir) == rt] (librt-routines): Likewise.
18323         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
18324         PIC when branching to SYSCALL_ERROR_LABEL.
18325         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
18326         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
18327         <sysdeps/unix/sysv/linux/sysdep.h>.
18328         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
18329         (SYSCALL_ERROR_ERRNO): Removed.
18330         (SYSCALL_ERROR_HANDLER): Changed to empty.
18331         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
18332         (__syscall_error): New prototype.
18333         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
18334         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
18336 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
18338         [BZ #19124]
18339         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
18340         (_dl_runtime_resolve_avx512): Make it a hidden alias of
18341         _dl_runtime_resolve_avx.
18342         (_dl_runtime_profile_avx512): Make it a hidden alias of
18343         _dl_runtime_profile_avx.
18345 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
18347         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
18348         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
18349         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
18350         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
18352         [BZ #16422]
18353         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
18354         New configure test.
18355         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
18356         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
18357         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
18358         <math_private.h> and <stdint.h>.
18359         (__llrint): Avoid conversions to long long int where those might
18360         raise spurious exceptions.
18361         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
18362         <math_private.h> and <stdint.h>.
18363         (__llrintf): Avoid conversions to long long int where those might
18364         raise spurious exceptions.
18366 2015-10-12  Andreas Schwab  <schwab@suse.de>
18368         [BZ #18969]
18369         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
18370         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
18371         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
18372         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
18373         $(gen-locales).
18374         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
18375         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
18376         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
18377         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
18378         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
18379         $(gen-locales).
18380         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
18381         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
18382         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
18383         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
18384         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
18385         ($(objpfx)tst-ftell-active-handler.out)
18386         ($(objpfx)tst-ftell-append.out)
18387         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
18388         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
18389         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
18390         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
18391         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
18392         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
18393         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
18394         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
18395         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
18396         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
18397         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
18398         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
18399         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
18400         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
18401         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
18402         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
18403         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
18404         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
18405         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
18406         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
18407         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
18408         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
18409         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
18410         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
18411         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
18412         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
18413         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
18414         $(gen-locales).
18415         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
18416         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
18417         $(gen-locales).
18418         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
18419         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
18420         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
18421         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
18422         $(gen-locales).
18423         * libio/tst_wprintf2.c (main): Use explicit locale.
18424         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
18426 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18428         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
18429         __msg_sig_post.
18430         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
18432 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
18434         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18435         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18437         * sysdeps/arm/libm-test-ulps: Regenerated.
18439         [BZ #15470]
18440         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
18442         [BZ #16399]
18443         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
18444         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
18445         and <fix-fp-int-convert-overflow.h>.
18446         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
18447         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18448         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
18449         and <fix-fp-int-convert-overflow.h>.
18450         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
18451         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18452         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
18453         <fix-fp-int-convert-overflow.h>.
18454         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
18455         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18456         * sysdeps/ieee754/dbl-64/s_lround.c: Include
18457         <fix-fp-int-convert-overflow.h>.
18458         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
18459         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18460         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
18461         and <fix-fp-int-convert-overflow.h>.
18462         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
18463         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18464         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
18465         <limits.h> and <fix-fp-int-convert-overflow.h>.
18466         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
18467         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18468         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
18469         and <fix-fp-int-convert-overflow.h>.
18470         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
18471         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18472         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
18473         and <fix-fp-int-convert-overflow.h>.
18474         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
18475         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18476         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
18478 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
18480         [BZ #18589]
18481         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
18482         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
18483         $(gen-locales).
18485 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18486             Phil Blundell <pb@pbcl.net>
18488         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
18489         * nptl/tst-cancel26.c: New file.
18490         * nptl/tst-cancel27.c: Likewise.
18492 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
18494         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
18495         __ILP32__ isn't defined.
18496         (lrint): Likewise.
18497         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
18498         (lrintf): Likewise.
18499         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
18500         (lrintl): Likewise.
18501         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
18502         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
18503         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
18505 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18507         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
18508         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
18510         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
18511         file.
18512         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
18513         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
18515 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
18517         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
18518         configure test.
18519         * sysdeps/i386/configure: Regenerated.
18520         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
18521         configure test.
18522         * sysdeps/x86_64/configure: Regenerated.
18523         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
18524         Make code unconditional.
18526         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
18527         test.
18528         * sysdeps/i386/configure: Regenerated.
18529         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
18530         test.
18531         * sysdeps/x86_64/configure: Regenerated.
18532         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
18533         Make code unconditional.
18534         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
18535         Likewise.
18536         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
18537         Likewise.
18538         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18539         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
18540         code unconditional.
18541         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18542         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
18543         code unconditional.
18544         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18545         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
18546         code unconditional.
18547         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
18548         code unconditional.
18549         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18550         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
18551         code unconditional.
18552         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18553         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
18554         code unconditional.
18555         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18556         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
18557         code unconditional.
18558         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18559         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
18560         code unconditional.
18561         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18562         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
18564         [BZ #19095]
18565         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
18566         mantissa to long int before shifting left.
18568 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
18570         [BZ #19094]
18571         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
18572         <limits.h>.
18573         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18574         when result overflows but exception would not result from cast.
18575         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
18576         <limits.h>.
18577         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18578         when result overflows but exception would not result from cast.
18579         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
18580         <limits.h>.
18581         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18582         when result overflows but exception would not result from cast.
18583         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
18584         <limits.h>.
18585         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18586         when result overflows but exception would not result from cast.
18587         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
18588         <limits.h>.
18589         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18590         when result overflows but exception would not result from cast.
18591         * math/libm-test.inc (lrint_test_data): Add more tests.
18592         (llrint_test_data): Likewise.
18594 2015-10-08  Roland McGrath  <roland@hack.frob.com>
18596         [BZ #18872]
18597         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
18598         Move out from under [$(run-built-tests) = yes] conditional.
18599         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
18600         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
18602 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
18604         [BZ #18589]
18605         * string/Makefile (tests): Add bug-strcoll2.
18606         (LOCALES): Add cs_CZ.UTF-8.
18607         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
18609         [BZ #18589]
18610         * string/bug-strcoll2.c: New file.
18611         * locale/categories.def: Revert commit
18612         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
18613         * locale/langinfo.h: Likewise.
18614         * locale/localeinfo.h: Likewise.
18615         * locale/C-collate.c: Likewise.
18616         * locale/programs/ld-collate.c (collate_output): Likewise.
18617         * string/strcoll_l.c (STRDIFF): Likewise.
18618         (STRCOLL): Likewise.
18619         * wcsmbs/wcscoll_l.c: Likewise.
18621 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
18623         * math/libm-test.inc (lround_test_data): Do not expect the absence
18624         of "inexact" for some tests with non-integer arguments.
18625         (llround_test_data): Likewise.
18627         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
18628         test.
18629         (libc_cv_cc_sse2avx): Likewise.
18630         * sysdeps/i386/configure: Regenerated.
18631         * sysdeps/i386/i686/multiarch/Makefile
18632         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
18633         [$(subdir) = math].
18634         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
18635         code unconditional.
18636         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
18637         Likewise.
18638         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
18639         Likewise.
18640         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
18641         Likewise.
18642         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
18643         test.
18644         (libc_cv_cc_sse2avx): Likewise.
18645         * sysdeps/x86_64/configure: Regenerated.
18646         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
18647         unconditional.
18648         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
18649         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
18650         unconditional.
18651         (_dl_runtime_profile)
18652         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
18653         conditional code.
18654         * sysdeps/x86_64/fpu/multiarch/Makefile
18655         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
18656         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
18657         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18658         * sysdeps/x86_64/fpu/multiarch/e_exp.c
18659         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18660         * sysdeps/x86_64/fpu/multiarch/e_log.c
18661         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18662         * sysdeps/x86_64/fpu/multiarch/s_atan.c
18663         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18664         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
18665         Likewise.
18666         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
18667         Likewise.
18668         * sysdeps/x86_64/fpu/multiarch/s_sin.c
18669         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18670         * sysdeps/x86_64/fpu/multiarch/s_tan.c
18671         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18672         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
18673         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
18674         (HAVE_SSE2AVX_SUPPORT): Likewise.
18676 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
18678         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
18679         instead of #pragma optimize.
18681 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
18683         [BZ #17195]
18684         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
18685         as is similarly done in systrim and _int_free already.
18687 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18689         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
18691 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
18693         [BZ #19088]
18694         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
18695         <limits.h>.
18696         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
18697         overflows but exception would not result from cast.
18698         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
18699         and <limits.h>.
18700         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
18701         overflows but exception would not result from cast.
18702         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
18703         <limits.h>.
18704         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
18705         overflows but exception would not result from cast.
18706         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
18707         <limits.h>.
18708         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
18709         overflows but exception would not result from cast.
18710         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
18711         <limits.h>.
18712         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
18713         overflows but exception would not result from cast.
18714         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
18715         <limits.h>.
18716         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
18717         overflows but exception would not result from cast.
18718         * math/libm-test.inc (lround_test_data): Add more tests.
18719         (llround_test_data): Likewise.
18721 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
18723         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
18724         (CFLAGS-ialloc.c): Ditto.
18725         (CFLAGS-scheck.c): Ditto.
18727 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
18729         [BZ #19086]
18730         * manual/filesys.texi (Storage Allocation): Fix argument order for
18731         posix_fallocate64.
18733 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
18735         [BZ #19085]
18736         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
18737         exponent below 48 inside case for non-overflowing exponent.
18738         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
18740 2015-10-07  Florian Weimer  <fweimer@redhat.com>
18742         * iconvdata/cp737.h (from_idx): Add const.
18743         * iconvdata/cp775.h (from_idx): Likewise.
18745 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
18747         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
18748         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
18749         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
18751         [BZ #19079]
18752         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
18753         file, conditioned on [!_LP64].
18754         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
18755         [!_LP64] (__lround): Do not define as function or alias.
18756         [!_LP64] (lround): Likewise.
18757         [!_LP64] (__lroundl): Likewise.
18758         [!_LP64] (lroundl): Likewise.
18759         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
18760         macro.
18761         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
18762         Likewise.
18764 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
18766         * math/libm-test.inc (lrint_test_data): Add more tests.
18767         (llrint_test_data): Likewise.
18768         (lround_test_data): Likewise.
18769         (llround_test_data): Likewise.
18771         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
18772         (llrint_test_data): Add tests used for lrint.
18774         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
18775         test.
18776         * sysdeps/i386/configure: Regenerated.
18777         * sysdeps/i386/i686/multiarch/Makefile
18778         [$(config-cflags-sse4) = yes]: Make code unconditional.
18779         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
18780         Likewise.
18781         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
18782         Likewise.
18783         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
18784         test.
18785         * sysdeps/x86_64/configure: Regenerated.
18786         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
18787         Make code unconditional.
18788         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
18789         Likewise.
18790         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
18791         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
18793         * scripts/rpm2dynsym.sh: Remove file.
18795 2015-10-06  Florian Weimer  <fweimer@redhat.com>
18797         * configure.ac (libc_cv_cxx_thread_local): Define.
18798         * configure: Regenerate.
18799         * config.make.in (have-cxx-thread_local): Define.
18800         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
18801         (LDLIBS-tst-thread_local1): Define.
18802         (tests): Add tst-thread_local1.
18803         [have-cxx-thread_local != yes] (tests-unsupported): Add
18804         tst-thread_local1.
18805         * nptl/tst-thread_local1.cc: New file.
18807 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
18809         [BZ #19078]
18810         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
18811         (u_thres): Likewise.
18812         (__expl): Determine whether to call __kernel_standard_l based on
18813         value of result, not argument.
18815         * math/libm-test.inc (scalb_test_data): Add more expectations for
18816         the "inexact" exception.
18818         [BZ #19077]
18819         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
18820         0.0L for argument 1.0L.
18822         [BZ #19076]
18823         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
18824         constant 0.0L when computing infinite result.
18826 2015-10-06  Florian Weimer  <fweimer@redhat.com>
18828         [BZ #10432]
18829         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
18830         malloc_usable_size.
18832 2015-10-06  Florian Weimer  <fweimer@redhat.com>
18834         [BZ #19018]
18835         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18836         Mangle function pointer before storing it.
18837         (__call_tls_dtors): Demangle function pointer before calling it.
18839 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
18841         [BZ #19012]
18842         * iconv/gconv_db.c (gen_steps): Check for additional errors.
18843         Clean up on failure.
18845 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
18847         [BZ #19071]
18848         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
18849         long int variable to store possibly incremented high part of
18850         mantissa.
18851         * math/libm-test.inc (lround_test_data): Add tests used for
18852         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
18853         for tests requiring 64-bit long.  Do not condition tests on
18854         [TEST_FLOAT] unnecessarily.
18855         (llround_test_data): Add tests used for lround.  Add another
18856         expectation for the "inexact" exception.  Do not condition tests
18857         on [TEST_FLOAT] unnecessarily.
18859         [BZ #887]
18860         [BZ #19049]
18861         [BZ #19050]
18862         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
18863         * sysdeps/ieee754/dbl-64/e_log10.c: Include
18864         <fix-int-fp-convert-zero.h>.
18865         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18866         * sysdeps/ieee754/dbl-64/e_log2.c: Include
18867         <fix-int-fp-convert-zero.h>.
18868         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18869         * sysdeps/ieee754/dbl-64/s_erf.c: Include
18870         <fix-int-fp-convert-zero.h>.
18871         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18872         * sysdeps/ieee754/dbl-64/s_logb.c: Include
18873         <fix-int-fp-convert-zero.h>.
18874         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18875         * sysdeps/ieee754/flt-32/e_log10f.c: Include
18876         <fix-int-fp-convert-zero.h>.
18877         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18878         * sysdeps/ieee754/flt-32/e_log2f.c: Include
18879         <fix-int-fp-convert-zero.h>.
18880         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18881         * sysdeps/ieee754/flt-32/s_erff.c: Include
18882         <fix-int-fp-convert-zero.h>.
18883         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18884         * sysdeps/ieee754/flt-32/s_logbf.c: Include
18885         <fix-int-fp-convert-zero.h>.
18886         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18887         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
18888         <fix-int-fp-convert-zero.h>.
18889         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18890         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
18891         <fix-int-fp-convert-zero.h>.
18892         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18893         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
18894         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
18895         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
18896         file.
18897         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
18899 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
18901         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18903 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
18905         [BZ #19059]
18906         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
18907         overflowing computation.
18908         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18909         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
18910         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18911         Likewise.
18912         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18913         Likewise.
18914         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
18915         Likewise.
18916         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18917         Likewise.
18918         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18919         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18920         Likewise.
18921         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18922         Likewise.
18923         * math/libm-test.inc (nexttoward_test_data): Add more tests.
18925         * nss/rewrite_field.c (__nss_rewrite_field): Use
18926         internal_function.
18927         * nss/valid_field.c (__nss_valid_field): Likewise.
18928         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
18930 2015-10-02  Florian Weimer  <fweimer@redhat.com>
18932         [BZ #18724]
18933         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
18934         (__nss_invalid_field_characters, __nss_valid_field)
18935         (__nss_valid_list_field, __nss_rewrite_field): Declare.
18936         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
18937         tst-field.c: New file.
18938         * nss/Makefile (routines): Add valid_field, rewrite_field.
18939         (tests-static): Define unconditionally.
18940         (tests): Include tests-static.
18941         [build-static-nss] (tests-static): Use append.
18942         [build-static-nss] (tests): Remove modification.
18943         * nss/getent.c (print_group): Call putgrent.  Report error.
18944         (print_gshadow): Call putsgent.  Report error.
18945         (print_passwd): Call putpwent.  Report error.
18946         (print_shadow): Call putspent.  Report error.
18947         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
18948         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
18949         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
18950         name, password, directory, shell fields for valid syntax.  Rewrite
18951         GECOS field to match syntax.
18952         * pwd/Makefile (tests): Add tst-putpwent.
18953         * pwd/tst-putpwent.c: New file.
18954         * grp/putgrent.c (putgrent): Convert to ISO function definition.
18955         Check grName, grpasswd, gr_mem fields for valid syntax.
18956         Change loop variable i to size_t.
18957         * grp/Makefile (tests): Add tst-putgrent.
18958         * grp/tst-putgrent.c: New file.
18959         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
18960         valid syntax.
18961         * shadow/Makefile (tests): Add tst-putspent.
18962         * shadow/tst-putspent.c: New file.
18963         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
18964         sg_mem fields for valid syntax.
18965         * gshadow/Makefile (tests): Add tst-putsgent.
18966         * gshadow/tst-putsgent.c: New file.
18968 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18970         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
18971         assembly instructions.
18973 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18975         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
18976         prefix from operands.
18978 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
18980         [BZ #16347]
18981         [BZ #19046]
18982         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
18983         <libc-internal.h>.
18984         (MAXLGM): Do not use diagnostic control macros.
18985         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
18986         threshold for ldbl-128ibm.
18987         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
18988         instead of multiplying by log then subtracting.
18989         * math/auto-libm-test-in: Add more tests of lgamma.
18990         * math/auto-libm-test-out: Regenerated.
18992         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
18993         (TYPE_HEX_DIG): Likewise.
18994         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
18995         precisions when printing floating-point numbers.
18996         (check_float_internal): Likewise.
18998 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
19000         [BZ #16620]
19001         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
19002         of log (10) rounded downward to 48 bits.
19003         (log10_low): Use corresponding low part of log (10).
19005         [BZ #19032]
19006         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
19007         compute result as (x - x) / (x - x) not as 0 / 0.
19008         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19009         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
19011         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19012         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
19013         and expm1.
19014         * math/auto-libm-test-out: Regenerated.
19015         * math/libm-test.inc (acos_test_data): Add more tests.
19016         (asin_test_data): Likewise.
19017         (asinh_test_data): Likewise.
19018         (atan_test_data): Likewise.
19019         (atanh_test_data): Likewise.
19020         (atan2_test_data): Likewise.
19021         (cbrt_test_data): Likewise.
19022         (ceil_test_data): Likewise.
19023         (copysign_test_data): Likewise.
19024         (cos_test_data): Likewise.
19025         (cosh_test_data): Likewise.
19026         (erf_test_data): Likewise.
19027         (erfc_test_data): Likewise.
19028         (exp_test_data): Likewise.
19029         (exp10_test_data): Likewise.
19030         (exp2_test_data): Likewise.
19031         (expm1_test_data): Likewise.
19032         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19034 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
19036         [BZ #19006]
19037         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
19038         to ...
19039         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
19040         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
19041         to ...
19042         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
19043         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
19044         to ...
19045         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
19046         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
19047         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
19048         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
19049         to ...
19050         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
19051         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19052         Moved to ...
19053         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
19054         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19055         Moved to ...
19056         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
19057         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
19058         to ...
19059         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
19060         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19061         Moved to ...
19062         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
19063         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
19064         to ...
19065         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
19066         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
19067         Removed.
19068         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
19069         Likewise.
19070         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
19071         Likewise.
19072         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
19073         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
19074         Likewise.
19075         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19076         Likewise.
19077         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19078         Likewise.
19079         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19080         Likewise.
19081         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19082         Likewise.
19083         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
19084         Likewise.
19085         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
19086         Likewise.
19087         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
19088         Likewise.
19089         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
19090         Likewise.
19091         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
19092         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
19093         Likewise.
19094         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19095         Likewise.
19096         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19097         Likewise.
19098         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19099         Likewise.
19100         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
19101         Likewise.
19102         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19103         Replace ../i486/pthread_cond_timedwait.S with
19104         ../pthread_cond_timedwait.S.
19106 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
19108         * math/libm-test.inc (acos_test_data): Refine expectations for
19109         errno and "inexact" exceptions.
19110         (acosh_test_data): Likewise.
19111         (asin_test_data): Likewise.
19112         (asinh_test_data): Likewise.
19113         (atan_test_data): Likewise.
19114         (atanh_test_data): Likewise.
19115         (atan2_test_data): Likewise.
19116         (cbrt_test_data): Likewise.
19117         (ceil_test_data): Likewise.
19118         (copysign_test_data): Likewise.
19119         (cosh_test_data): Likewise.
19120         (erf_test_data): Likewise.
19121         (erfc_test_data): Likewise.
19122         (exp_test_data): Likewise.
19123         (exp10_test_data): Likewise.
19124         (exp2_test_data): Likewise.
19125         (expm1_test_data): Likewise.
19126         (fabs_test_data): Likewise.
19127         (floor_test_data): Likewise.
19128         (fma_test_data): Likewise.
19129         (fmax_test_data): Likewise.
19130         (fmin_test_data): Likewise.
19131         (fmod_test_data): Likewise.
19132         (fpclassify_test_data): Likewise.
19133         (frexp_test_data): Likewise.
19134         (hypot_test_data): Likewise.
19135         (ilogb_test_data): Likewise.
19136         (isgreater_test_data): Likewise.
19137         (isgreaterequal_test_data): Likewise.
19138         (isinf_test_data): Likewise.
19139         (isless_test_data): Likewise.
19140         (islessequal_test_data): Likewise.
19141         (islessgreater_test_data): Likewise.
19142         (isnan_test_data): Likewise.
19143         (isnormal_test_data): Likewise.
19144         (issignaling_test_data): Likewise.
19145         (isunordered_test_data): Likewise.
19146         (j0_test_data): Likewise.
19147         (j1_test_data): Likewise.
19148         (jn_test_data): Likewise.
19149         (lgamma_test_data): Likewise.
19150         (lrint_test_data): Likewise.
19151         (llrint_test_data): Likewise.
19152         (log_test_data): Likewise.
19153         (log10_test_data): Likewise.
19154         (log1p_test_data): Likewise.
19155         (log2_test_data): Likewise.
19156         (logb_test_data): Likewise.
19157         (lround_test_data): Likewise.
19158         (llround_test_data): Likewise.
19159         (modf_test_data): Likewise.
19160         (nearbyint_test_data): Likewise.
19161         (nextafter_test_data): Likewise.
19162         (nexttoward_test_data): Likewise.
19163         (pow_test_data): Likewise.
19164         (remainder_test_data): Likewise.
19165         (remquo_test_data): Likewise.
19166         (rint_test_data): Likewise.
19167         (round_test_data): Likewise.
19168         (signbit_test_data): Likewise.
19169         (sinh_test_data): Likewise.
19170         (sqrt_test_data): Likewise.
19171         (tanh_test_data): Likewise.
19172         (tgamma_test_data): Likewise.
19173         (trunc_test_data): Likewise.
19174         (y0_test_data): Likewise.
19175         (y1_test_data): Likewise.
19176         (yn_test_data): Likewise.
19177         (significand_test_data): Likewise.
19179 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
19181         * manual/filesys.texi (Storage Allocation): Document that
19182         posix_fallocate emulation fails when fd is open with O_WRONLY.
19184 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
19186         [BZ #19016]
19187         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
19188         allow more cases with X^2 + Y^2 >= 0.5.
19189         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
19190         normal element in sum instead of special-casing based on values of
19191         arguments.
19192         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
19193         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
19194         -1 as normal element in sum instead of special-casing based on
19195         values of arguments.
19196         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
19197         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
19198         (__x2y2m1): Update comment.
19199         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
19200         as normal element in sum instead of special-casing based on values
19201         of arguments.
19202         * math/s_clog.c (__clog): Handle more cases using log1p without
19203         hypot.
19204         * math/s_clog10.c (__clog10): Likewise.
19205         * math/s_clog10f.c (__clog10f): Likewise.
19206         * math/s_clog10l.c (__clog10l): Likewise.
19207         * math/s_clogf.c (__clogf): Likewise.
19208         * math/s_clogl.c (__clogl): Likewise.
19209         * math/auto-libm-test-in: Add more tests of clog and clog10.
19210         * math/auto-libm-test-out: Regenerated.
19211         * sysdeps/i386/fpu/libm-test-ulps: Update.
19212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19214 2015-09-28  Martin Sebor  <msebor@redhat.com>
19216         [BZ #18969]
19217         * string/Makefile (LOCALES): Define.
19218         (gen-locales.mk): Include.
19219         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
19220         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
19221         * string/tst-strxfrm2.c (do_test): Print the name of the locale
19222         on setlocale failure.
19224 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
19226         [BZ #18985]
19227         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
19228         (__strftime_internal): Likewise.
19229         * time/tst-strftime.c (do_bz18985): New test.
19230         (do_test): Call it.
19232 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
19234         [BZ #18956]
19235         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
19236         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
19237         extracting high part.
19238         * math/auto-libm-test-in: Add another test of pow.
19239         * math/auto-libm-test-out: Regenerated.
19240         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19242 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
19244         [BZ #18825]
19245         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
19246         New macro.
19247         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
19248         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19249         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
19250         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
19251         DBL_NARROW_EVAL, reloading the PIC register as needed.
19252         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
19253         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
19254         FLT_NARROW_EVAL.  Use separate return path for case when first
19255         argument is NaN.
19256         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
19257         DEFINE_LDBL_MIN.
19258         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
19259         PIC register.
19260         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
19261         math_check_force_underflow_nonneg.
19262         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
19263         underflow for subnormal result.
19264         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
19265         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
19266         math_check_force_underflow_nonneg.
19267         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
19268         math_check_force_underflow.
19269         * sysdeps/x86_64/fpu/x86_64-math-asm.h
19270         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
19271         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
19272         DEFINE_LDBL_MIN.
19273         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
19274         * math/auto-libm-test-in: Add more tests of pow.
19275         * math/auto-libm-test-out: Regenerated.
19277 2015-09-25  Florian Weimer  <fweimer@redhat.com>
19279         * nss/bug17079.c (init_test_items): Add diagnostic for
19280         inconsistent entries.
19281         (test_buffer_size): Skip inconsistent entries.
19283 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
19285         [BZ #13304]
19286         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
19287         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
19288         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
19290         [BZ #13304]
19291         * sysdeps/microblaze/s_fma.c: New file.
19292         * sysdeps/microblaze/s_fmaf.c: Likewise.
19293         * sysdeps/microblaze/sfp-machine.h: Likewise.
19295 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
19297         [BZ #17250]
19298         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
19299         member.
19301 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
19303         [BZ #18803]
19304         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
19305         (MO): New macro.
19306         (__ieee754_hypot) [PIC]: Load PIC register.
19307         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
19308         DBL_NARROW_EVAL.
19309         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
19310         math_check_force_underflow_nonneg in case where result might be
19311         tiny.
19312         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19313         Likewise.
19314         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19315         Likewise.
19316         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
19317         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
19318         * math/auto-libm-test-in: Add more tests of hypot.
19319         * math/auto-libm-test-out: Regenerated.
19321 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
19323         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
19325 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
19327         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
19328         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
19329         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
19330         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
19331         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
19332         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
19333         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
19335         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
19336         LOAD_PIC_REG.
19338         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
19339         (FLT_CHECK_FORCE_UFLOW): Likewise.
19340         (DBL_CHECK_FORCE_UFLOW): Likewise.
19341         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
19342         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
19343         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
19344         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19345         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19346         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19347         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19348         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19349         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
19350         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19351         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
19352         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
19353         (flt_min): Replace with use of DEFINE_FLT_MIN.
19354         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
19355         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
19356         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19357         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
19358         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
19359         (flt_min): Replace with use of DEFINE_FLT_MIN.
19360         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
19361         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
19362         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19363         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
19364         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
19365         (flt_min): Replace with use of DEFINE_FLT_MIN.
19366         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
19367         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
19368         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
19369         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
19370         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
19371         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
19372         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
19373         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
19374         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19375         (__atan): Use DBL_CHECK_FORCE_UFLOW.
19376         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
19377         (flt_min): Replace with use of DEFINE_FLT_MIN.
19378         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
19379         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
19380         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19381         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
19382         main computation.
19383         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
19384         (flt_min): Replace with use of DEFINE_FLT_MIN.
19385         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
19386         main computation.
19387         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
19388         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19389         (MO): New macro.
19390         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
19391         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
19392         (flt_min): Replace with use of DEFINE_FLT_MIN.
19393         (MO): New macro.
19394         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
19395         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
19396         (__log1pl): Use MO.
19398         [BZ #19003]
19399         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
19400         $(config-cflags-nofma).
19402 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19404         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19406 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
19408         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
19409         (TWO127): Likewise.
19411         * sysdeps/generic/math_private.h (fabs_tg): New macro.
19412         (min_of_type): Likewise.
19413         (math_check_force_underflow): Likewise.
19414         (math_check_force_underflow_nonneg): Likewise.
19415         (math_check_force_underflow_complex): Likewise.
19416         * math/e_exp2l.c (__ieee754_exp2l): Use
19417         math_check_force_underflow_nonneg.
19418         * math/k_casinh.c (__kernel_casinh): Likewise.
19419         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19420         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19421         * math/s_catan.c (__catan): Use
19422         math_check_force_underflow_complex.
19423         * math/s_catanf.c (__catanf): Likewise.
19424         * math/s_catanh.c (__catanh): Likewise.
19425         * math/s_catanhf.c (__catanhf): Likewise.
19426         * math/s_catanhl.c (__catanhl): Likewise.
19427         * math/s_catanl.c (__catanl): Likewise.
19428         * math/s_ccosh.c (__ccosh): Likewise.
19429         * math/s_ccoshf.c (__ccoshf): Likewise.
19430         * math/s_ccoshl.c (__ccoshl): Likewise.
19431         * math/s_cexp.c (__cexp): Likewise.
19432         * math/s_cexpf.c (__cexpf): Likewise.
19433         * math/s_cexpl.c (__cexpl): Likewise.
19434         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
19435         * math/s_clog10.c (__clog10): Likewise.
19436         * math/s_clog10f.c (__clog10f): Likewise.
19437         * math/s_clog10l.c (__clog10l): Likewise.
19438         * math/s_clogf.c (__clogf): Likewise.
19439         * math/s_clogl.c (__clogl): Likewise.
19440         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
19441         * math/s_csinf.c (__csinf): Likewise.
19442         * math/s_csinh.c (__csinh): Likewise.
19443         * math/s_csinhf.c (__csinhf): Likewise.
19444         * math/s_csinhl.c (__csinhl): Likewise.
19445         * math/s_csinl.c (__csinl): Likewise.
19446         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
19447         * math/s_csqrtf.c (__csqrtf): Likewise.
19448         * math/s_csqrtl.c (__csqrtl): Likewise.
19449         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
19450         * math/s_ctanf.c (__ctanf): Likewise.
19451         * math/s_ctanh.c (__ctanh): Likewise.
19452         * math/s_ctanhf.c (__ctanhf): Likewise.
19453         * math/s_ctanhl.c (__ctanhl): Likewise.
19454         * math/s_ctanl.c (__ctanl): Likewise.
19455         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
19456         instead of volatile.
19457         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
19458         math_check_force_underflow.
19459         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19460         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
19461         volatile when forcing underflow.
19462         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
19463         math_check_force_underflow_nonneg.
19464         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
19465         Likewise.
19466         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
19467         math_check_force_underflow.
19468         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19469         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19470         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19471         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
19472         math_check_force_underflow_nonneg.
19473         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
19474         math_check_force_underflow.
19475         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
19476         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
19477         instead of volatile.
19478         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
19479         math_check_force_underflow.
19480         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19481         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
19482         math_check_force_underflow_nonneg.
19483         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
19484         math_check_force_underflow.
19485         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
19486         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19487         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
19488         math_check_force_underflow_nonneg.
19489         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
19490         Likewise.
19491         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
19492         math_check_force_underflow.
19493         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19494         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
19495         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
19496         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
19497         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
19498         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
19499         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
19500         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
19501         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
19502         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
19503         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
19504         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
19505         Likewise.
19506         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
19507         math_check_force_underflow_nonneg.
19508         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
19509         Likewise.
19510         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
19511         math_check_force_underflow.
19512         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19513         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
19514         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
19515         Likewise.
19516         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
19517         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
19518         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
19519         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
19520         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
19521         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
19522         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
19523         instead of volatile.
19524         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
19525         math_check_force_underflow.
19526         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
19527         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
19528         math_check_force_underflow.
19529         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
19530         Likewise.
19531         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19532         Use math_check_force_underflow_nonneg.
19533         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
19534         math_check_force_underflow.
19535         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
19536         Likewise.
19537         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
19538         Likewise.
19539         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19540         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19541         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19542         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19543         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
19544         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19545         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
19546         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
19547         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
19548         math_check_force_underflow_nonneg.
19549         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
19550         math_check_force_underflow.
19551         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19552         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
19553         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
19554         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
19555         math_check_force_underflow_nonneg.
19556         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
19557         math_check_force_underflow.
19558         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
19559         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
19560         instead of volatile.
19561         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
19562         math_check_force_underflow.
19564         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
19565         * stdlib/strtod_l.c: Include <math_private.h>.
19566         (overflow_value): Use math_narrow_eval.
19567         (underflow_value): Likewise.
19568         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19569         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
19570         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
19571         (__ieee754_gamma_r): Likewise.
19572         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
19573         Likewise.
19574         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
19575         Likewise.
19576         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
19577         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
19578         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
19579         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
19580         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
19581         (__ieee754_gammaf_r): Likewise.
19582         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
19583         Likewise.
19584         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
19585         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
19586         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
19587         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
19588         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
19589         volatile.
19590         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
19591         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
19592         math_narrow_eval.
19593         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
19594         Likewise.
19595         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19596         Likewise.
19597         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
19598         Likewise.
19599         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
19600         volatile.
19601         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
19602         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
19603         math_narrow_eval.
19604         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19605         Likewise.
19606         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19607         Likewise.
19609 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
19611         * nptl/Versions: Remove ignored symbols.
19613 2015-09-22  Florian Weimer  <fweimer@redhat.com>
19615         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
19616         * nss/Makefile (tests): Update.
19618 2015-09-22  Florian Weimer  <fweimer@redhat.com>
19620         * nss/bug18287.c: New file.
19621         * nss/Makefile (tests): Add bug18287.
19623 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19625         * mach/Versions (__mach_host_self_): Add symbol.
19627 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19629         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
19630         vm_page_size.
19632 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19634         Really fix sysdeps/i386/fpu/s_scalbn.S build
19636         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
19637         (libc: GLIBC_2_22): Remove unused version set.
19639 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
19641         * config.make.in (enable-timezone-tools): New variable.
19642         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
19643         (enable_timezone_tools): Export to generated files.
19644         * configure: Regenerate.
19645         * INSTALL: Regenerate.
19646         * manual/install.texi (--disable-timezone-tools): Document new flag.
19647         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
19648         ifeq ($(enable-timezone-tools),yes) check.
19650 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
19652         * timezone/Makefile: Revert previous change.
19654         [BZ #18980]
19655         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
19656         (DEFINE_DBL_MIN): Likewise.
19657         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
19658         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
19659         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
19660         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
19661         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
19662         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19663         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
19664         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
19665         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
19666         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19667         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
19668         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
19669         (flt_min): Replace with use of DEFINE_FLT_MIN.
19670         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
19671         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
19672         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19673         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
19674         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
19675         (flt_min): Replace with use of DEFINE_FLT_MIN.
19676         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
19677         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
19678         (flt_min): Replace with use of DEFINE_FLT_MIN.
19679         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
19680         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
19681         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
19682         (__ieee754_hypot): Use DBL_NARROW_EVAL.
19683         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
19684         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
19685         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
19686         (__ieee754_pow): Use DBL_NARROW_EVAL.
19687         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
19688         (__ieee754_powf): Use FLT_NARROW_EVAL.
19689         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
19690         (__ieee754_expf_sse2): Convert double-precision result to single
19691         precision.
19692         * sysdeps/i386/fpu/libm-test-ulps: Update.
19694 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19696         * timezone/Makefile: Ignore unused variable errors due to private.h
19697         (time_t_min) and (time_t_max).
19698         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
19699         Likewise.
19701 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
19703         [BZ #18981]
19704         * sysdeps/i386/fpu/i386-math-asm.h: New file.
19705         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
19706         (__ieee754_scalb): Use DBL_NARROW_EVAL.
19707         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
19708         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
19709         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
19710         (__scalbn): Use DBL_NARROW_EVAL.
19711         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
19712         (__scalbnf): Use FLT_NARROW_EVAL.
19714 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19716         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
19717         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
19718         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
19719         * stdio-common/printf_fp.c (___printf_fp):
19720         Use signbit to get the sign. Use isinf macro to allow inlining.
19721         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
19722         * stdio-common/printf_size.c (__printf_size): Likewise.
19724 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
19726         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
19728 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
19730         [BZ #18980]
19731         * sysdeps/generic/math_private.h: Include <float.h>.
19732         (math_narrow_eval): New macro.
19733         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
19734         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
19735         math_narrow_eval on overflowing return value.
19736         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
19737         Likewise.
19738         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19739         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
19740         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
19741         Likewise.
19742         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
19744 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19746         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
19747         * math/Makefile: Remove isinf_ns.c.
19748         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
19749         * math/multc3.c (__multc3): Likewise.
19750         * math/s_casin.c (__casin): Likewise.
19751         * math/s_casinf.c (__casinf): Likewise.
19752         * math/s_casinl.c (__casinl): Likewise.
19753         * math/s_cproj.c (__cproj): Likewise.
19754         * math/s_cprojf.c (__cprojf): Likewise.
19755         * math/s_cprojl.c (__cprofl): Likewise.
19756         * math/s_ctan.c (__ctan): Likewise.
19757         * math/s_ctanf.c (__ctanf): Likewise.
19758         * math/s_ctanh.c (__ctanh): Likewise.
19759         * math/s_ctanhf.c (__ctanhf): Likewise.
19760         * math/s_ctanhl.c (__ctanhl): Likewise.
19761         * math/s_ctanl.c (__ctanl): Likewise.
19762         * math/w_fmod.c (__fmod): Likewise.
19763         * math/w_fmodf.c (__fmodf): Likewise.
19764         * math/w_fmodl.c (_fmodl): Likewise.
19765         * math/w_remainder.c (__remainder): Likewise.
19766         * math/w_remainderf.c (__remainderf): Likewise.
19767         * math/w_remainderl.c (__remainderl): Likewise.
19768         * math/w_scalb.c (__scalb): Likewise.
19769         * math/w_scalbf.c (__scalbf): Likewise.
19770         * math/w_scalbl.c (__scalbl): Likewise.
19771         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
19772         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
19773         with isinf.
19774         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
19775         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
19776         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
19777         __isinf_nsf with isinf.
19778         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
19779         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
19780         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
19781         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
19782         with isinf.
19783         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
19784         __isinf_nsl with isinf.
19785         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
19786         with isinf.
19787         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
19788         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
19789         __isinf_nsl with isinf.
19790         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
19791         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
19792         with isinf.
19794 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19796         * resolv/base64.c (rcsid): Remove unused static.
19797         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
19798         static.  (tqpi1): Likewise.
19799         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
19800         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
19801         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
19802         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
19803         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
19804         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
19805         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
19806         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
19807         Likewise.
19809 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
19811         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
19812         <nptl/pthreadP.h>.
19813         (_longjmp_unwind): Use __libc_ptf_call.
19814         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
19816 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
19818         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
19819         * sysdeps/arm/__longjmp.S: Likewise.
19821 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19823         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
19824         Use __builtin_signbit.
19825         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
19826         Use __builtin_signbitf.
19827         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
19828         Use __builtin_signbitl.
19829         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19830         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
19832 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19834         [BZ #15367]
19835         [BZ #17441]
19837         * math/Makefile: Build test-snan.c with -fsignaling-nans.
19838         * math/math.h (fpclassify): Use __builtin_fpclassify when
19839         available.  (signbit): Use __builtin_signbit(f/l).
19840         (isfinite): Use__builtin_isfinite.  (isnormal): Use
19841         __builtin_isnormal.  (isnan): Use __builtin_isnan.
19842         (isinf): Use __builtin_isinf_sign.
19844 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19846         * benchtests/Makefile: Add bench-math-inlines, link with libm.
19847         * benchtests/bench-math-inlines.c: New benchmark.
19848         * benchtests/bench-util.h: New file.
19849         * benchtests/bench-util.c: New file.
19850         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
19852 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
19854         * elf/tst-dlmopen1.c: Define TEST_SO.
19855         (do_test): Use TEST_SO.
19857         * elf/dl-load.c: Include libc-internal.h.
19858         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
19860 2015-09-18  Vincent Bernat  <vincent@bernat.im>
19862         [BZ #17887]
19863         * time/strptime_l.c (__strptime_internal): Make %z accept
19864         [+-]HH:MM time zones.
19866 2015-09-18  Vincent Bernat  <vincent@bernat.im>
19868         [BZ #17886]
19869         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
19870         valid time zone.
19872 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
19874         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
19875         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
19876         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19877         (__ASSUME_FDATASYNC): Delete.
19879 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
19881         * conform/linknamespace.pl: Require weak undefined symbols to be
19882         in the standard namespace.
19883         (%strong_syms): Rename to %seen_syms.
19884         (%strong_seen): Rename to %seen_where.
19886 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
19888         [BZ #18970]
19889         * misc/error.c (error): Replace pthread_setcancelstate with
19890         __pthread_setcancelstate.
19891         (error_at_line): Likewise.
19892         * posix/wordexp.c (parse_comm): Likewise.
19893         * stdlib/fmtmsg.c (fmtmsg): Likewise.
19894         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
19895         (__pthread_setcancelstate): This.
19896         (pthread_setcancelstate): Add an alias.
19897         * nptl/nptl-init.c (pthread_functions): Replace
19898         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
19899         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
19900         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
19901         hidden_proto.
19902         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
19903         it with hidden_def.
19904         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
19905         (pthread_setcancelstate): Renamed to ...
19906         (__pthread_setcancelstate): This.
19907         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
19908         __libc_ptf_call with __pthread_setcancelstate.
19910 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
19911             Andreas Schwab  <schwab@suse.de>
19913         [BZ #17118]
19914         * math/s_ctan.c (__ctan): Determine sign of zero real part of
19915         result when imaginary part of argument is infinite using sine and
19916         cosine.
19917         * math/s_ctanf.c (__ctanf): Likewise.
19918         * math/s_ctanl.c (__ctanl): Likewise.
19919         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
19920         of result when real part of argument is infinite using sine and
19921         cosine.
19922         * math/s_ctanhf.c (__ctanhf): Likewise.
19923         * math/s_ctanhl.c (__ctanhl): Likewise.
19924         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
19925         (ctanh_test_data): Add more tests of ctanh.
19927 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
19929         [BZ #15384]
19930         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
19931         bit-mask as in subtraction.
19932         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
19933         Likewise.
19934         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
19935         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
19936         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
19938         [BZ #18951]
19939         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
19940         underflow exception for small results.
19941         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
19942         Likewise.
19943         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
19944         Likewise.
19945         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19946         Likewise.
19947         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19948         Likewise.
19949         * math/auto-libm-test-in: Add more tests of tgamma.
19950         * math/auto-libm-test-out: Regenerated.
19952 2015-09-17  Andreas Schwab  <schwab@suse.de>
19954         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
19956 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
19958         [BZ #18977]
19959         * math/bits/mathcalls.h
19960         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
19961         not declare.
19962         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
19963         Likewise.
19964         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
19965         Likewise.
19966         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
19967         Likewise.
19968         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
19969         Likewise.
19970         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
19971         Likewise.
19972         * conform/data/math.h-data
19973         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
19974         function.
19975         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
19976         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
19977         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
19978         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
19979         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
19980         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
19981         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
19982         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
19983         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
19984         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
19985         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
19987         [BZ #6803]
19988         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
19989         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
19990         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
19991         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
19992         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
19993         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
19994         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
19995         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
19996         [NO_LONG_DOUBLE] (scalbnl): Likewise.
19997         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
19998         Likewise.
19999         [NO_LONG_DOUBLE] (scalbnl): Likewise.
20000         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
20001         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
20002         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
20003         long_double_symbol calls.
20004         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
20005         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
20006         strong alias of __ldexpl.
20007         (scalbnl): Define using long_double_symbol.
20008         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
20009         Remove alias.
20010         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
20011         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
20012         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
20013         (scalbln_test_data): Add more errno expectations.
20015 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
20017         Cache the host port like we cache the task port.  This way we do not
20018         need to call the kernel just to get the port.  Furthermore, we no
20019         longer increase the reference count on every invocation of
20020         `mach_host_self'.
20022         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
20023         Protect declarations against the macro expansion.
20024         * mach/mach_init.c (__mach_host_self_): New variable.
20025         (mach_init): Initialize `__mach_host_self_'.
20026         * mach/mach_init.h (__mach_host_self_): New declaration.
20027         (__mach_host_self, mach_host_self): New macros.
20028         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
20029         Release reference.
20031 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
20033         [BZ #4404]
20034         * po/de.po: Update from Translation Project.
20036         [BZ #16415]
20037         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
20038         (__expm1l): Remove code to handle positive infinity and overflow.
20039         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
20040         variable.
20041         (__expm1l): Remove code to handle positive infinity and overflow.
20043 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
20044             Paul Pluzhnikov  <ppluzhnikov@google.com>
20046         [BZ #18872]
20047         * stdio-common/Makefile (tst-printf-bz18872): New test.
20048         (tst-printf-bz18872-mem.out): Likewise.
20049         * stdio-common/tst-printf-bz18872.sh: Generate new test.
20050         * stdio-common/vfprintf.c: Fix memory leaks.
20052 2015-09-16  Andreas Schwab  <schwab@suse.de>
20054         [BZ #17244]
20055         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
20056         Remove extra va_start/va_end calls.
20058         [BZ #17243]
20059         * posix/execl.c (execl): Add missing va_end.
20060         * posix/execle.c (execle): Likewise.
20061         * posix/execlp.c (execlp): Likewise.
20063 2015-09-15  Roland McGrath  <roland@hack.frob.com>
20065         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
20066         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
20068 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
20070         [BZ #18967]
20071         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
20072         undefine around includes of <bits/mathcalls.h>.
20073         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
20074         not declare function.
20075         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
20076         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
20077         (scalb): Likewise.
20078         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
20079         not define macro.
20080         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
20081         variable.
20082         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20083         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20084         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20086         [BZ #18857]
20087         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
20088         return non-finite argument without doing ordered comparisons on
20089         it.
20091         [BZ #16296]
20092         * math/fenv.h (fegetround): Use __attribute_pure__.
20093         * include/fenv.h (__fegetround): Likewise.
20095         [BZ #18595]
20096         * math/s_ctan.c (__ctan): Force underflow exception for results
20097         whose real or imaginary part has small absolute value.
20098         * math/s_ctanf.c (__ctanf): Likewise.
20099         * math/s_ctanh.c (__ctanh): Likewise.
20100         * math/s_ctanhf.c (__ctanhf): Likewise.
20101         * math/s_ctanhl.c (__ctanhl): Likewise.
20102         * math/s_ctanl.c (__ctanl): Likewise.
20103         * math/auto-libm-test-in: Do not allow missing underflow for ctan
20104         and ctanh.  Add more tests of ctan and ctanh.
20106         [BZ #15918]
20107         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
20108         handling of cases where one argument is an infinity.
20110         [BZ #18875]
20111         [BZ #18966]
20112         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
20113         (MO): New macro.
20114         (__ieee754_exp10): For small results, force underflow exception
20115         and remove excess range and precision from return value.
20116         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
20117         (MO): New macro.
20118         (__ieee754_exp10f): For small results, force underflow exception
20119         and remove excess range and precision from return value.
20120         * math/auto-libm-test-in: Add more tests of exp10.
20121         * math/auto-libm-test-out: Regenerated.
20123 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
20125         [BZ #18875]
20126         [BZ #18961]
20127         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
20128         (MO): New macro.
20129         (__ieee754_exp): For small results, force underflow exception and
20130         remove excess range and precision from return value.
20131         (__exp_finite): Likewise.
20132         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
20133         (MO): New macro.
20134         (__ieee754_expf): For small results, force underflow exception and
20135         remove excess range and precision from return value.
20136         (__expf_finite): Likewise.
20137         * math/auto-libm-test-in: Add more tests of exp.
20138         * math/auto-libm-test-out: Regenerated.
20140         [BZ #16521]
20141         [BZ #18875]
20142         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
20143         small results.
20144         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
20145         (MO): New macro.
20146         (__ieee754_exp2): For small results, force underflow exception and
20147         remove excess range and precision from return value.
20148         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
20149         (MO): New macro.
20150         (__ieee754_exp2f): For small results, force underflow exception
20151         and remove excess range and precision from return value.
20152         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
20153         (MO): New macro.
20154         (__ieee754_exp2l): Force underflow exception for small results.
20155         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20156         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20157         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
20158         (MO): New macro.
20159         (__ieee754_exp2l): Force underflow exception for small results.
20160         * math/auto-libm-test-in: Add more tests or exp2.
20161         * math/auto-libm-test-out: Regenerated.
20163 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
20165         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
20167         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
20168         /dev/null.
20170 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20172         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20173         io fs process)): Drop spurious backslash.
20175 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
20177         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
20178         Use sysinfo system call instead of parsing /proc/meminfo.
20179         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
20180         Likewise.
20182 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
20184         [BZ #16985]
20185         * programs/localedef.c (main): Display argv[remaining] when
20186         output_path is NULL.
20188 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
20190         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20191         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
20192         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
20193         tanh.
20194         * math/auto-libm-test-out: Regenerated.
20195         * sysdeps/i386/fpu/libm-test-ulps: Update.
20196         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20197         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20200 2015-09-11  Roland McGrath  <roland@hack.frob.com>
20202         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
20203         Use 'override' keyword to freeze the value here, preventing
20204         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
20206 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
20208         [BZ #14912]
20209         * sysdeps/aarch64/bits/atomic.h: Move to ...
20210         * sysdeps/aarch64/atomic-machine.h: ...here.
20211         (_AARCH64_BITS_ATOMIC_H): Rename macro to
20212         _AARCH64_ATOMIC_MACHINE_H.
20213         * sysdeps/alpha/bits/atomic.h: Move to ...
20214         * sysdeps/alpha/atomic-machine.h: ...here.
20215         * sysdeps/arm/bits/atomic.h: Move to ...
20216         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
20217         * bits/atomic.h: Move to ...
20218         * sysdeps/generic/atomic-machine.h: ...here.
20219         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20220         * sysdeps/i386/bits/atomic.h: Move to ...
20221         * sysdeps/i386/atomic-machine.h: ...here.
20222         * sysdeps/ia64/bits/atomic.h: Move to ...
20223         * sysdeps/ia64/atomic-machine.h: ...here.
20224         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
20225         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
20226         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20227         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
20228         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
20229         * sysdeps/microblaze/bits/atomic.h: Move to ...
20230         * sysdeps/microblaze/atomic-machine.h: ...here.
20231         * sysdeps/mips/bits/atomic.h: Move to ...
20232         * sysdeps/mips/atomic-machine.h: ...here.
20233         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
20234         * sysdeps/powerpc/bits/atomic.h: Move to ...
20235         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
20236         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
20237         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
20238         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
20239         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
20240         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
20241         <atomic-machine.h> instead of <bits/atomic.h>.
20242         * sysdeps/s390/bits/atomic.h: Move to ...
20243         * sysdeps/s390/atomic-machine.h: ...here.
20244         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
20245         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
20246         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20247         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
20248         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
20249         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
20250         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
20251         * sysdeps/tile/bits/atomic.h: Move to ...
20252         * sysdeps/tile/atomic-machine.h: ...here.
20253         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
20254         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
20255         <sysdeps/tile/atomic-machine.h> instead of
20256         <sysdeps/tile/bits/atomic.h>.
20257         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20258         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
20259         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
20260         <sysdeps/tile/atomic-machine.h> instead of
20261         <sysdeps/tile/bits/atomic.h>.
20262         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20263         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
20264         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
20265         <sysdeps/arm/atomic-machine.h> instead of
20266         <sysdeps/arm/bits/atomic.h>.
20267         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
20268         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
20269         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20270         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
20271         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
20272         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20273         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
20274         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
20275         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
20276         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
20277         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
20278         * sysdeps/x86_64/bits/atomic.h: Move to ...
20279         * sysdeps/x86_64/atomic-machine.h: ...here.
20280         * include/atomic.h: Include <atomic-machine.h> instead of
20281         <bits/atomic.h>.
20283         * sysdeps/mips/mips32/libm-test-ulps: Update.
20284         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20286         [BZ #18952]
20287         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
20288         not convert non-integer negative arguments to int to determine the
20289         value of signgam.
20290         * math/auto-libm-test-in: Add more tests of lgamma.
20291         * math/auto-libm-test-out: Regenerated.
20293         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
20294         cosh, csqrt, erfc, expm1 and lgamma.
20295         * math/auto-libm-test-out: Regenerated.
20296         * sysdeps/i386/fpu/libm-test-ulps: Update.
20297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20299 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
20301         [BZ #2542]
20302         [BZ #2543]
20303         [BZ #2558]
20304         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
20305         __lgamma_neg for arguments from -28.0 to -2.0.
20306         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
20307         __lgamma_negf for arguments from -15.0 to -2.0.
20308         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20309         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
20310         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
20311         Call __lgamma_negl for arguments from -33.0 to -2.0.
20312         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
20313         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
20314         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
20315         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
20316         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
20317         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
20318         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
20319         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
20320         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
20321         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
20322         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
20323         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
20324         (__lgamma_neg): Likewise.
20325         (__lgamma_negl): Likewise.
20326         (__lgamma_product): Likewise.
20327         (__lgamma_productl): Likewise.
20328         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
20329         * math/auto-libm-test-in: Add more tests of lgamma.
20330         * math/auto-libm-test-out: Regenerated.
20331         * sysdeps/i386/fpu/libm-test-ulps: Update.
20332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20334 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
20336         [BZ #18675]
20337         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
20339 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
20341         [BZ #14912]
20342         * bits/libc-lock.h: Move to ...
20343         * sysdeps/generic/libc-lock.h: ...here.
20344         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20345         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
20346         * sysdeps/mach/hurd/libc-lock.h: ...here.
20347         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20348         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
20349         * sysdeps/mach/bits/libc-lock.h: Move to ...
20350         * sysdeps/mach/libc-lock.h: ...here.
20351         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20352         * sysdeps/nptl/bits/libc-lock.h: Move to ...
20353         * sysdeps/nptl/libc-lock.h: ...here.
20354         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20355         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
20356         * sysdeps/nptl/libc-lockP.h: ...here.
20357         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
20358         * crypt/crypt_util.c: Include <libc-lock.h> instead of
20359         <bits/libc-lock.h>.
20360         * dirent/scandir-tail.c: Likewise.
20361         * dlfcn/dlerror.c: Likewise.
20362         * elf/dl-close.c: Likewise.
20363         * elf/dl-iteratephdr.c: Likewise.
20364         * elf/dl-lookup.c: Likewise.
20365         * elf/dl-open.c: Likewise.
20366         * elf/dl-support.c: Likewise.
20367         * elf/dl-writev.h: Likewise.
20368         * elf/rtld.c: Likewise.
20369         * grp/fgetgrent.c: Likewise.
20370         * gshadow/fgetsgent.c: Likewise.
20371         * gshadow/sgetsgent.c: Likewise.
20372         * iconv/gconv_conf.c: Likewise.
20373         * iconv/gconv_db.c: Likewise.
20374         * iconv/gconv_dl.c: Likewise.
20375         * iconv/gconv_int.h: Likewise.
20376         * iconv/gconv_trans.c: Likewise.
20377         * include/link.h: Likewise.
20378         * inet/getnameinfo.c: Likewise.
20379         * inet/getnetgrent.c: Likewise.
20380         * inet/getnetgrent_r.c: Likewise.
20381         * intl/bindtextdom.c: Likewise.
20382         * intl/dcigettext.c: Likewise.
20383         * intl/finddomain.c: Likewise.
20384         * intl/gettextP.h: Likewise.
20385         * intl/loadmsgcat.c: Likewise.
20386         * intl/localealias.c: Likewise.
20387         * intl/textdomain.c: Likewise.
20388         * libidn/idn-stub.c: Likewise.
20389         * libio/libioP.h: Likewise.
20390         * locale/duplocale.c: Likewise.
20391         * locale/freelocale.c: Likewise.
20392         * locale/newlocale.c: Likewise.
20393         * locale/setlocale.c: Likewise.
20394         * login/getutent_r.c: Likewise.
20395         * login/getutid_r.c: Likewise.
20396         * login/getutline_r.c: Likewise.
20397         * login/utmp-private.h: Likewise.
20398         * login/utmpname.c: Likewise.
20399         * malloc/mtrace.c: Likewise.
20400         * misc/efgcvt.c: Likewise.
20401         * misc/error.c: Likewise.
20402         * misc/fstab.c: Likewise.
20403         * misc/getpass.c: Likewise.
20404         * misc/mntent.c: Likewise.
20405         * misc/syslog.c: Likewise.
20406         * nis/nis_call.c: Likewise.
20407         * nis/nis_callback.c: Likewise.
20408         * nis/nss-default.c: Likewise.
20409         * nis/nss_compat/compat-grp.c: Likewise.
20410         * nis/nss_compat/compat-initgroups.c: Likewise.
20411         * nis/nss_compat/compat-pwd.c: Likewise.
20412         * nis/nss_compat/compat-spwd.c: Likewise.
20413         * nis/nss_nis/nis-alias.c: Likewise.
20414         * nis/nss_nis/nis-ethers.c: Likewise.
20415         * nis/nss_nis/nis-grp.c: Likewise.
20416         * nis/nss_nis/nis-hosts.c: Likewise.
20417         * nis/nss_nis/nis-network.c: Likewise.
20418         * nis/nss_nis/nis-proto.c: Likewise.
20419         * nis/nss_nis/nis-pwd.c: Likewise.
20420         * nis/nss_nis/nis-rpc.c: Likewise.
20421         * nis/nss_nis/nis-service.c: Likewise.
20422         * nis/nss_nis/nis-spwd.c: Likewise.
20423         * nis/nss_nisplus/nisplus-alias.c: Likewise.
20424         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
20425         * nis/nss_nisplus/nisplus-grp.c: Likewise.
20426         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
20427         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
20428         * nis/nss_nisplus/nisplus-network.c: Likewise.
20429         * nis/nss_nisplus/nisplus-proto.c: Likewise.
20430         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
20431         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
20432         * nis/nss_nisplus/nisplus-service.c: Likewise.
20433         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
20434         * nis/ypclnt.c: Likewise.
20435         * nptl/libc_pthread_init.c: Likewise.
20436         * nss/getXXbyYY.c: Likewise.
20437         * nss/getXXent.c: Likewise.
20438         * nss/getXXent_r.c: Likewise.
20439         * nss/nss_db/db-XXX.c: Likewise.
20440         * nss/nss_db/db-netgrp.c: Likewise.
20441         * nss/nss_db/nss_db.h: Likewise.
20442         * nss/nss_files/files-XXX.c: Likewise.
20443         * nss/nss_files/files-alias.c: Likewise.
20444         * nss/nsswitch.c: Likewise.
20445         * posix/regex_internal.h: Likewise.
20446         * posix/wordexp.c: Likewise.
20447         * pwd/fgetpwent.c: Likewise.
20448         * resolv/res_hconf.c: Likewise.
20449         * resolv/res_libc.c: Likewise.
20450         * shadow/fgetspent.c: Likewise.
20451         * shadow/lckpwdf.c: Likewise.
20452         * shadow/sgetspent.c: Likewise.
20453         * socket/opensock.c: Likewise.
20454         * stdio-common/reg-modifier.c: Likewise.
20455         * stdio-common/reg-printf.c: Likewise.
20456         * stdio-common/reg-type.c: Likewise.
20457         * stdio-common/vfprintf.c: Likewise.
20458         * stdio-common/vfscanf.c: Likewise.
20459         * stdlib/abort.c: Likewise.
20460         * stdlib/cxa_atexit.c: Likewise.
20461         * stdlib/fmtmsg.c: Likewise.
20462         * stdlib/random.c: Likewise.
20463         * stdlib/setenv.c: Likewise.
20464         * string/strsignal.c: Likewise.
20465         * sunrpc/auth_none.c: Likewise.
20466         * sunrpc/bindrsvprt.c: Likewise.
20467         * sunrpc/create_xid.c: Likewise.
20468         * sunrpc/key_call.c: Likewise.
20469         * sunrpc/rpc_thread.c: Likewise.
20470         * sysdeps/arm/backtrace.c: Likewise.
20471         * sysdeps/generic/ldsodefs.h: Likewise.
20472         * sysdeps/generic/stdio-lock.h: Likewise.
20473         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
20474         * sysdeps/i386/backtrace.c: Likewise.
20475         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20476         * sysdeps/m68k/backtrace.c: Likewise.
20477         * sysdeps/mach/hurd/cthreads.c: Likewise.
20478         * sysdeps/mach/hurd/dirstream.h: Likewise.
20479         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
20480         * sysdeps/nptl/malloc-machine.h: Likewise.
20481         * sysdeps/nptl/stdio-lock.h: Likewise.
20482         * sysdeps/posix/dirstream.h: Likewise.
20483         * sysdeps/posix/getaddrinfo.c: Likewise.
20484         * sysdeps/posix/system.c: Likewise.
20485         * sysdeps/pthread/aio_suspend.c: Likewise.
20486         * sysdeps/s390/s390-32/backtrace.c: Likewise.
20487         * sysdeps/s390/s390-64/backtrace.c: Likewise.
20488         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20489         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
20490         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
20491         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
20492         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
20493         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
20494         * sysdeps/unix/sysv/linux/system.c: Likewise.
20495         * sysdeps/x86_64/backtrace.c: Likewise.
20496         * time/alt_digit.c: Likewise.
20497         * time/era.c: Likewise.
20498         * time/tzset.c: Likewise.
20499         * wcsmbs/wcsmbsload.c: Likewise.
20500         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
20501         instead of <bits/libc-lock.h> in comment.
20503 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
20505         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
20506         Only use .set mips2 if the current ISA is below mips2.
20507         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
20508         Likewise.
20509         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
20510         mips32r2 if the current ISA is below mips32r2.
20511         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
20512         (TLS_IE): Updated to use the TLD_RDHWR macro.
20513         (TLS_LE): Likewise.
20514         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
20515         __ASSEMBLER__ condition.
20517 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20519         Fix parallel build of before-compile targets.
20521         * sysdeps/mach/Makefile ($(patsubst
20522         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
20523         mach-before-compile target.
20524         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20525         io fs process)): Move rule to dedicated hurd-before-compile target.
20527 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20529         Fix rules generating headers in hurd/ and mach/ when initial make call
20530         has subdir= explicitly set.
20532         * sysdeps/mach/Makefile ($(patsubst
20533         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
20534         calling $(MAKE).
20535         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20536         io fs process)): Force subdir to hurd when calling $(MAKE).
20537         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
20538         subdir to mach when calling $(MAKE).
20540 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
20542         Check sysheaders when looking for Mach and Hurd headers
20544         * sysdeps/mach/configure.ac: Add sysheaders check.
20545         * sysdeps/mach/configure: Regenerate.
20546         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
20547         * sysdeps/mach/hurd/configure: Regenerate.
20549 2015-09-04  Roland McGrath  <roland@hack.frob.com>
20551         [BZ #18921]
20552         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
20553         Fix inverted sense of test of 'o_directory_works' value.
20554         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
20555         Bernhard Voelker <mail@bernhard-voelker.de>.
20557 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
20559         [BZ #14912]
20560         * bits/linkmap.h: Move to ...
20561         * sysdeps/generic/linkmap.h: ...here.
20562         * sysdeps/aarch64/bits/linkmap.h: Move to ...
20563         * sysdeps/aarch64/linkmap.h: ...here.
20564         * sysdeps/arm/bits/linkmap.h: Move to ...
20565         * sysdeps/arm/linkmap.h: ...here.
20566         * sysdeps/hppa/bits/linkmap.h: Move to ...
20567         * sysdeps/hppa/linkmap.h: ...here.
20568         * sysdeps/ia64/bits/linkmap.h: Move to ...
20569         * sysdeps/ia64/linkmap.h: ...here.
20570         * sysdeps/mips/bits/linkmap.h: Move to ...
20571         * sysdeps/mips/linkmap.h: ...here.
20572         * sysdeps/s390/bits/linkmap.h: Move to ...
20573         * sysdeps/s390/linkmap.h: ...here.
20574         * sysdeps/sh/bits/linkmap.h: Move to ...
20575         * sysdeps/sh/linkmap.h: ...here.
20576         * sysdeps/x86/bits/linkmap.h: Move to ...
20577         * sysdeps/x86/linkmap.h: ...here.
20578         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
20580 2015-09-04  Andreas Schwab  <schwab@suse.de>
20582         [BZ #18635]
20583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
20584         (__makecontext): Terminate FDE before return label.
20585         (__novec_makecontext): Likewise.
20587 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20589         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
20590         first member of struct sv in syscall macro.
20592 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
20594         [BZ #14912]
20595         * bits/stdio-lock.h: Move to ...
20596         * sysdeps/generic/stdio-lock.h: ...here.
20597         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
20598         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
20599         * sysdeps/nptl/stdio-lock.h: ...here.
20600         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
20601         * include/libio.h: Include <stdio-lock.h> instead of
20602         <bits/stdio-lock.h>.
20603         * sysdeps/nptl/fork.c: Likewise.
20604         * sysdeps/pthread/flockfile.c: Likewise.
20605         * sysdeps/pthread/ftrylockfile.c: Likewise.
20606         * sysdeps/pthread/funlockfile.c: Likewise.
20608         [BZ #14912]
20609         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
20610         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
20611         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
20612         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
20613         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
20614         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
20615         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
20617 2015-09-03  Roland McGrath  <roland@hack.frob.com>
20619         * elf/Makefile (test-xfail-tst-protected1a): New variable.
20620         (test-xfail-tst-protected1b): New variable.
20622 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
20624         [BZ #14912]
20625         * bits/libc-tsd.h: Move to ...
20626         * sysdeps/generic/libc-tsd.h: ...here.
20627         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
20628         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
20629         * sysdeps/mach/hurd/libc-tsd.h: ...here.
20630         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
20631         * include/ctype.h: Include <libc-tsd.h> instead of
20632         <bits/libc-tsd.h>.
20633         * include/rpc/rpc.h: Likewise.
20634         * locale/localeinfo.h: Likewise.
20635         * sunrpc/rpc_thread.c: Likewise.
20636         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
20637         * sysdeps/nptl/malloc-machine.h: Likewise.
20639         * Makefile (headers): Remove bits/libc-lock.h.
20640         * libio/Makefile (headers): Remove bits/stdio-lock.h.
20642         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
20643         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
20644         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
20645         <bits/stdio-lock.h>.
20646         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
20647         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
20649 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
20651         [BZ #18757]
20652         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
20653         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
20654         BZ #18757.
20656 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
20658         * malloc/mtrace.pl: Filter out NULL entries.
20660 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
20662         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
20663         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
20664         macro.
20666         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
20667         (TCP_CC_INFO): Likewise.
20668         (TCP_SAVE_SYN): Likewise.
20669         (TCP_SAVED_SYN): Likewise.
20671 2015-08-31  Brett Neumeier <brett@neumeier.us>
20673         [BZ #18870]
20674         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
20676 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
20678         [BZ #18873]
20679         Fix broken overflow check in posix_fallocate
20680         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
20681         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
20682         Fix parenthesization typo.
20684 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
20686         [BZ #18887]
20687         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
20688         tst-mntent-blank-passno.
20689         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
20690         * misc/tst-mntent-blank-corrupt.c: New test.
20691         * misc/tst-mntent-blank-passno.c: New test ripped from ...
20692         * misc/tst-mntent.c (do_test): ... here.
20694 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
20696         [BZ #4404]
20697         * po/de.po: Fix SIGALRM typo.
20699 2015-08-28  James Perkins  <james@loowit.net>
20701         * time/tst-strptime2.c (tests): Replace short list of test
20702         strings for strptime %z specifier with code which exhaustively
20703         tests every combination of sign and 0 to 5 digits. Tests for
20704         rejection of invalid strings.
20706 2015-08-28  James Perkins  <james@loowit.net>
20708         [BZ #16141]
20709         * time/strptime_l.c (__strptime_internal): Fix %z minutes
20710         calculation, removing incorrect decimal time rounding, so that
20711         all minute values result in a valid seconds value.
20712         * time/strptime_l.c (__strptime_internal): Extend %z time zone
20713         offset range limits to UTC-99:59 through UTC+99:59 to parse
20714         current and historical use cases.
20715         * time/tst-strptime2.c (tests): Modify and add tests for the
20716         strptime %z input field descriptor, specifically conversion of
20717         minutes to seconds and validating an offset range of -9959 to
20718         +9959.
20720 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20721             Dmitry V. Levin  <ldv@altlinux.org>
20723         [BZ #18877]
20724         * posix/Makefile (tests): Add tst-mmap-offset.
20725         * posix/tst-mmap.c: New file.
20726         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
20727         offset calculation for negative values.
20729 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20731         * sysdeps/i386/init-arch.h: New file.
20732         * sysdeps/i386/i586/init-arch.h: Likewise.
20733         * sysdeps/i386/i686/init-arch.h: Likewise.
20734         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
20735         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
20736         * sysdeps/x86/cpu-features.h (bit_I586): New.
20737         (bit_I686): Likewise.
20738         (bit_CX8): Likewise.
20739         (bit_CMOV): Likewise.
20740         (index_CX8): Likewise.
20741         (index_CMOV): Likewise.
20742         (index_I586): Likewise.
20743         (index_I686): Likewise.
20744         (reg_CX8): Likewise.
20745         (reg_CMOV): Likewise.
20746         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
20747         available at compile-time.
20748         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
20749         available at compile-time.
20750         * sysdeps/x86/init-arch.h (USE_I586): New macro.
20751         (USE_I686): Likewise.
20753 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20755         * sysdeps/i386/bcopy.S: New file.
20756         * sysdeps/i386/bzero.S: Likewise.
20757         * sysdeps/i386/memcpy.S: Likewise.
20758         * sysdeps/i386/memmove.S: Likewise.
20759         * sysdeps/i386/mempcpy.S: Likewise.
20760         * sysdeps/i386/memset.S: Likewise.
20761         * sysdeps/i386/bzero.c: Removed.
20762         * sysdeps/i386/memset.c: Likewise.
20763         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
20764         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
20765         * sysdeps/i386/i586/memset_chk.S: Likewise.
20766         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
20767         * sysdeps/i386/memcpy_chk.S: Here.
20768         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
20769         * sysdeps/i386/memmove_chk.S: Here.
20770         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
20771         * sysdeps/i386/mempcpy_chk.S: Likewise.
20772         * sysdeps/i386/i686/memset_chk.S: Moved to ...
20773         * sysdeps/i386/memset_chk.S: Likewise.
20775 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
20777         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
20778         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
20779         file, move DIAG_POP_NEEDS_COMMENT to end of file.
20780         * soft-fp/fmadf4.c: Ditto.
20781         * soft-fp/fmatf4.c: Ditto.
20783 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20785         * sysdeps/i386/i586/Implies: Removed.
20786         * sysdeps/i386/i686/Implies: Likewise.
20788 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20790         * sysdeps/i386/i486/strlen.S: Moved to ...
20791         * sysdeps/i386/strlen.S: Here.
20793 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20795         * sysdeps/i386/i486/strcat.S: Moved to ...
20796         * sysdeps/i386/strcat.S: Here.
20798 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20800         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
20801         * sysdeps/i386/pthread_spin_trylock.S: Here.
20802         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
20803         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
20805 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20807         * sysdeps/i386/i486/string-inlines.c: Moved to ...
20808         * sysdeps/i386/string-inlines.c: Here.
20810 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20812         * sysdeps/i386/i486/htonl.S: Moved ...
20813         * sysdeps/i386/htonl.S: here.
20815 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20817         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
20818         * sysdeps/i386/bits/atomic.h: Here.
20820 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20822         * sysdeps/i386/i486/Versions: Removed.
20824 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
20826         [BZ #2898]
20827         * misc/mktemp.c: Add mkdtemp to the link_warning message.
20828         Based on patch by Aurelien Jarno.
20830 2015-08-26  Stan Shebs  <stanshebs@google.com>
20832         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
20833         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20835 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20837         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
20838         * sysdeps/powerpc/dl-procinfo.c:
20839         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
20840         feature so it shows when LD_SHOW_AUXV=1.
20842 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20844         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
20845         (__arch_compare_and_exchange_val_32_acq): Remove and use common
20846         definition.  ISA 2.07B no longer requires full sync.
20848 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
20850         [BZ #18863]
20851         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
20852         (si_call_addr): Define.
20853         (si_syscall): Define.
20854         (si_arch): Define.
20856 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
20858         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
20859         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
20860         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
20861         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
20862         (__memset_zero_constant_len_parameter): New.
20863         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
20864         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
20865         (__memset_zero_constant_len_parameter): Don't define if
20866         __memset_chk or USE_AS_BZERO are defined.
20868         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
20869         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
20870         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
20872         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
20873         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
20874         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
20875         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
20876         comments.
20877         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
20878         -mno-mmx for $(all-rtld-routines).
20879         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
20880         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
20881         i386.
20883 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
20885         * sysdeps/generic/unwind.h
20886         (_Unwind_Word): Use __mode__(__unwind_word__)
20887         instead of __mode__(__word__).
20888         (_Unwind_Sword): Likewise.
20890         * sysdeps/s390/s390-64/utf8-utf16-z9.c
20891         (MAX_NEEDED_INPUT): New define.
20892         (MAX_NEEDED_OUTPUT): New define.
20894         * NEWS: New item for IBM z13 string optimizations.
20896         * sysdeps/s390/multiarch/memrchr-c.c: New File.
20897         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
20898         * sysdeps/s390/multiarch/memrchr.c: Likewise.
20899         * sysdeps/s390/multiarch/Makefile
20900         (sysdep_routines): Add memrchr functions.
20901         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20902         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
20904         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
20905         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
20906         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
20907         * sysdeps/s390/multiarch/Makefile
20908         (sysdep_routines): Add wmemcmp functions.
20909         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20910         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
20911         * benchtests/bench-wmemcmp.c: New File.
20912         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
20914         * sysdeps/s390/multiarch/wmemset-c.c: New File.
20915         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
20916         * sysdeps/s390/multiarch/wmemset.c: Likewise.
20917         * sysdeps/s390/multiarch/Makefile
20918         (sysdep_routines): Add wmemset functions.
20919         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20920         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
20921         * wcsmbs/wmemset.c: Use WMEMSET if defined.
20922         * string/test-memset.c: Add wmemset support.
20923         * wcsmbs/test-wmemset.c: New File.
20924         * wcsmbs/Makefile (strop-tests): Add wmemset.
20925         * benchtests/bench-memset.c: Add wmemset support.
20926         * benchtests/bench-wmemset.c: New File.
20927         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
20929         * sysdeps/s390/multiarch/memccpy-c.c: New File.
20930         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
20931         * sysdeps/s390/multiarch/memccpy.c: Likewise.
20932         * sysdeps/s390/multiarch/Makefile
20933         (sysdep_routines): Add memccpy functions.
20934         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20935         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
20936         * string/memccpy.c: Use MEMCCPY if defined.
20938         * sysdeps/s390/multiarch/memchr-vx.S: New File.
20939         * sysdeps/s390/multiarch/memchr.c: Likewise.
20940         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
20941         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
20942         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
20943         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
20944         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
20945         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
20946         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
20947         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
20948         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
20949         and rawmemchr functions.
20950         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20951         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
20952         and wmemchr.
20953         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
20954         * string/test-memchr.c: Add wmemchr support.
20955         * wcsmbs/test-wmemchr.c: New File.
20956         * wcsmbs/Makefile (strop-tests): Add wmemchr.
20957         * benchtests/bench-memchr.c: Add wmemchr support.
20958         * benchtests/bench-wmemchr.c: New File.
20959         * benchtests/Makefile (wcsmbs-bench): wmemchr.
20961         * sysdeps/s390/multiarch/strcspn-c.c: New File.
20962         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
20963         * sysdeps/s390/multiarch/strcspn.c: Likewise.
20964         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
20965         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
20966         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
20967         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
20968         wcscspn functions.
20969         * sysdeps/s390/multiarch/ifunc-impl-list.c
20970         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
20971         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
20972         * string/test-strcspn.c: Add wcscspn support.
20973         * wcsmbs/test-wcscspn.c: New File.
20974         * wcsmbs/Makefile (strop-tests): Add wcscspn.
20975         * benchtests/bench-strcspn.c: Add wcscspn support.
20976         * benchtests/bench-wcscspn.c: New File.
20977         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
20979         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
20980         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
20981         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
20982         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
20983         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
20984         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
20985         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
20986         wcspbrk functions.
20987         * sysdeps/s390/multiarch/ifunc-impl-list.c
20988         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
20989         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
20990         * string/test-strpbrk.c: Add wcspbrk support.
20991         * wcsmbs/test-wcspbrk.c: New File.
20992         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
20993         * benchtests/bench-strpbrk.c: Add wcspbrk support.
20994         * benchtests/bench-wcspbrk.c: New File.
20995         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
20997         * sysdeps/s390/multiarch/strspn-c.c: New File.
20998         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
20999         * sysdeps/s390/multiarch/strspn.c: Likewise.
21000         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
21001         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
21002         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
21003         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
21004         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
21005         wcsspn functions.
21006         * sysdeps/s390/multiarch/ifunc-impl-list.c
21007         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
21008         * string/test-strspn.c: Add wcsspn support.
21009         * wcsmbs/test-wcsspn.c: New File.
21010         * wcsmbs/Makefile (strop-tests): Add wcsspn.
21011         * benchtests/bench-strspn.c: Add wcsspn support.
21012         * benchtests/bench-wcsspn.c: New File.
21013         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
21015         * sysdeps/s390/multiarch/strrchr-c.c: New File.
21016         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
21017         * sysdeps/s390/multiarch/strrchr.c: Likewise.
21018         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
21019         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
21020         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
21021         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
21022         wcsrchr functions.
21023         * sysdeps/s390/multiarch/ifunc-impl-list.c
21024         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
21025         * benchtests/bench-wcsrchr.c: New File.
21026         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
21028         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
21029         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
21030         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
21031         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
21032         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
21033         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
21034         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
21035         wcschrnul functions.
21036         * sysdeps/s390/multiarch/ifunc-impl-list.c
21037         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
21038         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
21039         * string/test-strchr.c: Add wcschrnul support.
21040         * wcsmbs/test-wcschrnul.c: New File.
21041         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
21042         * benchtests/bench-strchr.c: Add wcschrnul support.
21043         * benchtests/bench-wcschrnul.c: New File.
21044         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
21046         * sysdeps/s390/multiarch/strchr-c.c: New File.
21047         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
21048         * sysdeps/s390/multiarch/strchr.c: Likewise.
21049         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
21050         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
21051         * sysdeps/s390/multiarch/wcschr.c: Likewise.
21052         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
21053         wcschr functions.
21054         * sysdeps/s390/multiarch/ifunc-impl-list.c
21055         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
21056         * string/strchr.c (STRCHR): Define and use macro.
21057         * benchtests/bench-wcschr.c: New File.
21058         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
21060         * sysdeps/s390/multiarch/strncmp-c.c: New File.
21061         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
21062         * sysdeps/s390/multiarch/strncmp.c: Likewise.
21063         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
21064         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
21065         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
21066         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
21067         wcsncmp functions.
21068         * sysdeps/s390/multiarch/ifunc-impl-list.c
21069         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
21070         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
21071         * benchtests/bench-strncmp.c: Add wcsncmp support.
21072         * benchtests/bench-wcsncmp.c: New File.
21073         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
21075         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
21076         * sysdeps/s390/multiarch/strcmp.c: Likewise.
21077         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
21078         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
21079         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
21080         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
21081         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
21082         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
21083         wcscmp functions.
21084         * sysdeps/s390/multiarch/ifunc-impl-list.c
21085         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
21086         * string/strcmp.c (STRCMP): Define and use macro.
21087         * benchtests/bench-wcscmp.c: New File.
21088         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
21089         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
21090         instead of _HAVE_STRING_ARCH_memchr.
21092         * sysdeps/s390/multiarch/strncat-c.c: New File.
21093         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
21094         * sysdeps/s390/multiarch/strncat.c: Likewise.
21095         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
21096         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
21097         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
21098         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
21099         wcsncat functions.
21100         * sysdeps/s390/multiarch/ifunc-impl-list.c
21101         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
21102         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
21103         * string/test-strncat.c: Add wcsncat support.
21104         * wcsmbs/test-wcsncat.c: New File.
21105         * wcsmbs/Makefile (strop-tests): Add wcsncat.
21106         * benchtests/bench-strncat.c: Add wcsncat support.
21107         * benchtests/bench-wcsncat.c: New File.
21108         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
21110         * sysdeps/s390/multiarch/strcat-c.c: New File.
21111         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
21112         * sysdeps/s390/multiarch/strcat.c: Likewise.
21113         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
21114         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
21115         * sysdeps/s390/multiarch/wcscat.c: Likewise.
21116         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
21117         wcscat functions.
21118         * sysdeps/s390/multiarch/ifunc-impl-list.c
21119         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
21120         * string/strcat.c (STRCAT): Define and use macro.
21121         * wcsmbs/wcscat.c: Use WCSCAT if defined.
21122         * string/test-strcat.c: Add wcscat support.
21123         * wcsmbs/test-wcscat.c: New File.
21124         * wcsmbs/Makefile (strop-tests): Add wcscat.
21125         * benchtests/bench-strcat.c: Add wcscat support.
21126         * benchtests/bench-wcscat.c: New File.
21127         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
21129         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
21130         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
21131         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
21132         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
21133         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
21134         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
21135         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
21136         wcpncpy functions.
21137         * sysdeps/s390/multiarch/ifunc-impl-list.c
21138         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
21139         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
21140         * string/test-stpncpy.c: Add wcpncpy support.
21141         * wcsmbs/test-wcpncpy.c: New File.
21142         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
21143         * benchtests/bench-stpncpy.c: Add wcpncpy support.
21144         * benchtests/bench-wcpncpy.c: New File.
21145         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
21147         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
21148         * sysdeps/s390/multiarch/strncpy.c: Likewise.
21149         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
21150         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
21151         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
21152         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
21153         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
21154         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
21155         wcsncpy functions.
21156         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
21157         * sysdeps/s390/multiarch/ifunc-impl-list.c
21158         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
21159         * string/test-strncpy.c: Add wcsncpy support.
21160         * wcsmbs/test-wcsncpy.c: New File.
21161         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
21162         * benchtests/bench-strncpy.c: Add wcsncpy support.
21163         * benchtests/bench-wcsncpy.c: New File.
21164         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
21166         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
21167         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
21168         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
21169         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
21170         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
21171         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
21172         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
21173         wcpcpy functions.
21174         * string/stpcpy.c: Use STPCPY if defined.
21175         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
21176         * sysdeps/s390/multiarch/ifunc-impl-list.c
21177         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
21178         * string/test-stpcpy.c: Add wcpcpy support.
21179         * wcsmbs/test-wcpcpy.c: New File.
21180         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
21181         * benchtests/bench-stpcpy.c: Add wcpcpy support.
21182         * benchtests/bench-wcpcpy.c: New File.
21183         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
21185         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
21186         * sysdeps/s390/multiarch/strcpy.c: Likewise.
21187         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
21188         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
21189         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
21190         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
21191         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
21192         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
21193         wcscpy functions.
21194         * sysdeps/s390/multiarch/ifunc-impl-list.c
21195         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
21196         * benchtests/bench-wcscpy.c: New File.
21197         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
21199         * sysdeps/s390/multiarch/strnlen-c.c: New File.
21200         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
21201         * sysdeps/s390/multiarch/strnlen.c: Likewise.
21202         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
21203         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
21204         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
21205         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
21206         wcsnlen functions.
21207         * sysdeps/s390/multiarch/ifunc-impl-list.c
21208         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
21209         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
21210         * string/test-strnlen.c: Add wcsnlen support.
21211         * wcsmbs/test-wcsnlen.c: New File.
21212         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
21213         * benchtests/bench-strnlen.c: Add wcsnlen support.
21214         * benchtests/bench-wcsnlen.c: New File.
21215         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
21217         * sysdeps/s390/multiarch/Makefile: New File.
21218         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
21219         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
21220         * sysdeps/s390/multiarch/strlen.c: Likewise.
21221         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
21222         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
21223         * sysdeps/s390/multiarch/wcslen.c: Likewise.
21224         * string/strlen.c (STRLEN): Define and use macro.
21225         * sysdeps/s390/multiarch/ifunc-impl-list.c
21226         (IFUNC_VX_IMPL): New macro function.
21227         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
21228         * benchtests/Makefile (wcsmbs-bench): New variable.
21229         (string-bench-all): Added wcsmbs-bench.
21230         * benchtests/bench-wcslen.c: New File.
21232         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
21233         s390_vx_libc_ifunc2): New macro function.
21235         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
21236         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
21237         assembler support.
21238         * sysdeps/s390/configure: Regenerated.
21240         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
21241         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
21243         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
21244         * sysdeps/s390/dl-procinfo.h: Add vector capability.
21245         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
21247         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
21248         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
21249         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
21250         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
21251         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
21252         (memcmp, bcmp): Use __memcmp_default as alias source.
21253         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
21254         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
21255         Rename to __memcmp_default.
21256         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
21257         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
21258         (memcpy): Use __memcpy_default as alias source.
21259         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
21260         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
21261         Rename to __memcpy_default.
21262         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
21263         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
21264         (memset): Use __memset_default as alias source.
21265         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
21266         * sysdeps/s390/s390-32/memset.S (__memset_g5):
21267         Rename to __memset_default.
21268         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
21269         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
21270         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
21271         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
21272         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
21273         (memcmp, bcmp): Use __memcmp_default as alias source.
21274         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
21275         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
21276         Rename to __memcmp_default.
21277         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
21278         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
21279         (memcpy): Use __memcpy_default as alias source.
21280         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
21281         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
21282         Rename to __memcpy_default.
21283         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
21284         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
21285         (memset): Use __memset_default as alias source.
21286         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
21287         * sysdeps/s390/s390-64/memset.S (__memset_z900):
21288         Rename to __memset_default.
21289         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
21290         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
21292         [BZ #18610]
21293         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
21294         __ieee_instruction_pointer to __unused.
21295         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
21296         __ieee_instruction_pointer.
21297         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
21298         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
21299         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21300         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21301         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
21302         Mark dxc-field as reserved.
21304 2015-08-25  Roland McGrath  <roland@hack.frob.com>
21306         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
21307         if the weak reference is not null.
21309 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
21311         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
21313         [BZ #11214]
21314         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
21316 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21318         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
21319         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
21320         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
21321         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
21322         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
21323         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
21324         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
21325         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
21326         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
21327         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
21328         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
21329         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
21330         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
21331         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
21332         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
21333         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
21334         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
21335         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
21337 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21339         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
21340         register other than r0 for tabort, it has special meaning.
21341         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
21342         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
21343         transaction before starting syscall.
21345 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21347         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
21349 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
21351         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
21353         * sysdeps/x86_64/rtld-memcmp.c: Removed.
21354         * sysdeps/x86_64/rtld-memset.S: Likewise.
21355         * sysdeps/x86_64/rtld-strchr.S: Likewise.
21356         * sysdeps/x86_64/rtld-strlen.S: Likewise.
21357         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
21358         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
21360         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
21362 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
21364         * debug/strcpy_chk.c: Improve performance.
21365         * debug/stpcpy_chk.c: Likewise.
21366         * sysdeps/x86_64/strcpy_chk.S: Remove.
21367         * sysdeps/x86_64/stpcpy_chk.S: Remove.
21369         [BZ #18240]
21370         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
21372 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
21374         [BZ #15128]
21375         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
21376         ifuncmain8.
21377         (modules-names): Add ifuncmod8.
21378         ($(objpfx)ifuncmain8): New rule.
21379         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
21380         <cpuid.h>.
21381         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
21382         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
21383         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
21384         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
21385         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
21386         * sysdeps/x86_64/dl-trampoline.h: Likewise.
21387         * sysdeps/x86_64/ifuncmain8.c: New file.
21388         * sysdeps/x86_64/ifuncmod8.c: Likewise.
21389         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
21390         Removed.
21391         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
21392         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
21393         Change rtld_savespace_sse to __glibc_unused2.
21394         (RTLD_CHECK_FOREIGN_CALL): Removed.
21395         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
21396         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
21397         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
21399 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
21401         * sysdeps/aarch64/bzero.S (__bzero): Remove.
21403 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
21405         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
21406         Unconditionally set __fpcr to avoid uninialized warning.
21407         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
21409 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21411         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
21412         is corrupt.
21414         * malloc/arena.c (arena_get2): Drop unused argument.
21415         (arena_lock): Adjust.
21416         (arena_get_retry): Likewise.
21418 2015-08-24  Andreas Schwab  <schwab@suse.de>
21420         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
21421         Don't define.
21422         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21423         (__ASSUME_IPC64): Don't undef.
21424         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
21425         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21426         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21427         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
21428         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
21429         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
21430         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
21431         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
21432         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
21433         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
21434         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
21435         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
21436         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
21437         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
21438         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
21439         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
21440         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
21441         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
21442         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
21443         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
21444         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
21446 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
21448         * manual/Makefile (install): Only build manual when perl is available.
21450 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21452         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
21453         '#undef memcpy' by '#undef memchr'.
21455 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21457         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
21458         memchr not point to the internal __GI_memchr implementation.
21460 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
21462         * timezone/Makefile (CFLAGS-zdump.c): Remove
21463         -Wno-strict-prototypes.
21464         (CFLAGS-zic.c): Likewise.
21465         (CFLAGS-ialloc.c): Likewise.
21466         (CFLAGS-scheck.c): Likewise.
21468         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
21469         -Wno-error=undef.
21471 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
21473         * i386/i686/multiarch/strcasestr-c.c: Removed.
21474         * x86_64/multiarch/strcasestr.c: Likewise.
21475         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21476         Remove strcasestr.
21478 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
21480         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
21482         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
21483         variables for high and low parts before possibly modifying them.
21485 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
21487         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
21488         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
21489         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
21490         of "multiarch/init-arch.h".
21491         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
21492         * sysdeps/x86/init-arch.h: This.
21494 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
21496         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
21497         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
21499 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
21501         [BZ #17787]
21502         * manual/macros.texi: Add twoexp macro.
21503         * manual/filesys.texi: Fix exponents.
21504         * manual/llio.texi: Likewise.
21505         * manual/stdio.texi: Likewise.
21507 2015-08-20  Florian Weimer  <fweimer@redhat.com>
21509         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
21510         incorrect use.
21512 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
21514         [BZ #18370]
21515         * math/s_csqrt.c (__csqrt): Force underflow exception for results
21516         whose real or imaginary part has small absolute value.
21517         * math/s_csqrtf.c (__csqrtf): Likewise.
21518         * math/s_csqrtl.c (__csqrtl): Likewise.
21519         * math/auto-libm-test-in: Add more tests of csqrt.
21520         * math/auto-libm-test-out: Regenerated.
21521         * sysdeps/i386/fpu/libm-test-ulps: Update.
21523 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
21525         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
21526         __ppc_set_ppr_very_low): New functions.
21527         * manual/platform.texi: Add documentation about
21528         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
21530 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
21532         * string/stpncpy.c (stpncpy): Improve performance using
21533         __strnlen/memcpy/memset.
21535 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
21537         [BZ #18796]
21538         * scripts/test-installation.pl: Don't add -lmvec to build options if
21539         libmvec wasn't built.
21541 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
21543         [BZ #14341]
21544         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
21545         case when there is a gap between DT_REL and DT_JMPREL sections.
21546         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
21547         (LDFLAGS-tst-split-dynreloc): New.
21548         (tst-split-dynreloc-ENV): Likewise.
21549         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
21550         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
21552 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
21554         [BZ #18822]
21555         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
21556         attribute_hidden.
21557         (__xstat64_conv): Likewise.
21558         (__xstat32_conv): Likewise.
21560 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
21562         [BZ #18822]
21563         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
21564         Don't load %ebx when calling __setcontext.  Call __setcontext
21565         with HIDDEN_JUMPTARGET.
21566         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
21567         libc_hidden_def.
21569 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
21571         * sysdeps/i386/i686/Makefile
21572         [$(subdir) == string] (sysdep_routines): Moved to ...
21573         * sysdeps/i386/Makefile: Here.
21574         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
21575         * sysdeps/i386/cacheinfo.c: Here.
21576         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
21577         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
21578         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
21579         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
21581 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
21583         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
21584         __i586__ is defined.
21585         (HAS_I686): Defined to 1 if __i686__ is defined.
21587 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
21589         * elf/Makefile [$(have-z-execstack) = yes]
21590         (CPPFLAGS-tst-execstack.c): New variable.
21592         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
21593         conditional to [defined UTMPX || _HAVE_UT_TYPE].
21594         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
21595         UTMPX || _HAVE_UT_TV].
21596         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
21597         UTMPX || _HAVE_UT_TV - 0].
21599 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
21601         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
21602         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
21603         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
21605 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21607         * sysdeps/powerpc/dl-procinfo.c:
21608         (_dl_powerpc_cap_flags): Added missing strings for some
21609         hwcap features.
21610         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
21612 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
21614         Port the 0x7efe...feff pattern to GCC 6.
21615         See Steve Ellcey's bug report in:
21616         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
21617         * string/memrchr.c (MEMRCHR):
21618         * string/rawmemchr.c (RAWMEMCHR):
21619         * string/strchr.c (strchr):
21620         * string/strchrnul.c (STRCHRNUL):
21621         Rewrite code to avoid issues with signed shift overflow.
21623 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
21625         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
21626         whether cpuid is available only if HAS_CPUID is 0.
21627         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
21628         (HAS_I586): Likewise.
21629         (HAS_I686): Likewise.
21631 2015-08-18  Zack Weinberg  <zackw@panix.com>
21633         * misc/Versions (libc): Add GLIBC_2.23.
21635 2015-08-18  Alan Modra  <amodra@gmail.com>
21637         [BZ #18421]
21638         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
21639         .Lp__global.
21640         (_start): Load %dp via .Lp__global.
21641         [!SHARED]: Use .section .rodata.
21643 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21645         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
21646         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
21648 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21650         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
21651         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
21653 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21655         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
21656         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
21658 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21660         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
21661         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
21663 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21665         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
21666         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
21668 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21670         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
21671         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
21673 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21675         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
21677 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21679         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
21680         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
21681         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21682         (__ASSUME_LWS_CAS): Delete.
21684 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21686         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
21687         * sysdeps/hppa/configure: Regenerated.
21688         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
21689         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
21690         * sysdeps/hppa/nptl/tls.h: Likewise.
21692 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
21694         [BZ #18823]
21695         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
21696         for scaling up small arguments.
21697         * math/s_csqrtf.c (__csqrtf): Likewise.
21698         * math/s_csqrtl.c (__csqrtl): Likewise.
21699         * math/auto-libm-test-in: Add more tests of csqrt.
21700         * math/auto-libm-test-out: Regenerated.
21702 2015-08-17  Andreas Schwab  <schwab@suse.de>
21704         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
21705         version set GLIBC_2.19.
21707 2015-08-16  Zack Weinberg  <zackw@panix.com>
21709         [BZ #18681]
21710         * misc/regexp.h: This interface is no longer supported.
21711         Remove all contents, leaving only an #error directive.
21712         * misc/regexp.c (loc1, loc2, locs, step, advance):
21713         Demote to compatibility symbols.
21715 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
21717         [BZ #18084]
21718         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
21719         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
21720         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
21721         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
21722         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
21723         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
21724         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
21725         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
21726         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
21728 2015-08-15  Zack Weinberg  <zackw@panix.com>
21730         [BZ #18795]
21731         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
21732         buffer length is known to be too large, not if it's known to be
21733         small enough.
21734         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
21735         overflow at runtime, involving a length parameter, twice: once
21736         with a compile-time constant length parameter, once without.
21738 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
21740         [BZ #18824]
21741         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
21742         scaling x * y up instead of down.
21743         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21744         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21745         * math/auto-libm-test-in: Add more tests of fma.
21746         * math/auto-libm-test-out: Regenerated.
21748 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
21750         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21752 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21754         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
21755         unnecessary movq.
21756         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
21757         Likewise.
21759 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
21761         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
21762         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
21763         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
21764         and tgamma.
21765         * math/auto-libm-test-out: Regenerated.
21766         * sysdeps/i386/fpu/libm-test-ulps: Update.
21767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21769         [BZ #16520]
21770         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
21771         (__tanh): Force underflow exception for arguments with small
21772         absolute value.
21773         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
21774         (__tanhf): Force underflow exception for arguments with small
21775         absolute value.
21776         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
21777         (__tanhl): Force underflow exception for arguments with small
21778         absolute value.
21779         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
21780         (__tanhl): Force underflow exception for arguments with small
21781         absolute value.
21782         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
21783         (__tanhl): Force underflow exception for arguments with small
21784         absolute value.
21785         * math/auto-libm-test-in: Add more tests of tanh.
21786         * math/auto-libm-test-out: Regenerated.
21787         * sysdeps/i386/fpu/libm-test-ulps: Update.
21789 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21791         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
21792         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
21794 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21796         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
21797         <cpuid.h>.
21799 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21801         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
21802         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
21804 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21806         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
21807         Remove $(objpfx)init-arch.o.
21808         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
21809         init-arch.
21810         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
21811         (INIT_ARCH_EXT): Defined as empty.
21812         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
21813         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
21814         __init_cpu_features call.  Replace HAS_XXX with
21815         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21816         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
21817         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
21818         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
21819         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
21820         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
21821         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
21822         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
21823         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
21824         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
21825         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
21826         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
21827         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
21828         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
21829         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
21830         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
21831         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
21832         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
21833         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
21834         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
21835         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
21836         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
21837         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
21838         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
21839         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
21840         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
21841         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
21842         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
21843         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
21844         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
21845         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
21846         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
21847         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
21848         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
21849         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
21850         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
21852 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21854         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
21855         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21856         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
21857         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
21858         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
21859         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
21860         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
21861         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
21862         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
21863         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
21864         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
21865         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
21866         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21867         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21868         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21869         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21870         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21871         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21872         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21873         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21874         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21875         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21876         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21877         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21878         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21879         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21880         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21881         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21882         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21883         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21884         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21885         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21886         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21887         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21888         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21889         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21890         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21891         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21892         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21893         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21894         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21895         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21896         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21898 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21900         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
21901         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21902         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21903         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21904         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21905         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
21906         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21907         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
21908         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21909         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21910         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21911         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
21912         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
21913         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
21914         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
21915         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
21916         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
21917         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
21918         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
21919         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
21920         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
21921         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
21922         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
21923         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21924         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21925         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
21926         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
21927         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
21928         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21929         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
21930         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21931         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21932         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21933         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21934         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21935         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
21936         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
21937         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21938         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
21939         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
21940         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21941         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
21942         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
21944 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21946         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
21947         (dl_platform_init): Call init_cpu_features.
21948         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
21949         * sysdeps/i386/i686/cacheinfo.c
21950         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
21951         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
21952         * sysdeps/i386/i686/multiarch/Versions: Removed.
21953         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
21954         Removed.
21955         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
21956         * sysdeps/unix/sysv/linux/x86/Makefile
21957         (libpthread-sysdep_routines): Remove init-arch.
21958         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
21959         <sysdeps/x86_64/dl-procinfo.c> instead of
21960         sysdeps/generic/dl-procinfo.c>.
21961         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
21962         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
21963         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
21964         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
21965         [$(subdir) == elf] (tests-static): Add
21966         tst-get-cpu-features-static.
21967         * sysdeps/x86/Versions: New file.
21968         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
21969         * sysdeps/x86/cpu-features.c: Likewise.
21970         * sysdeps/x86/cpu-features.h: Likewise.
21971         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
21972         * sysdeps/x86/libc-start.c: Likewise.
21973         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
21974         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
21975         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
21976         * sysdeps/x86_64/dl-procinfo.c: Likewise.
21977         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
21978         Assume USE_MULTIARCH is defined and don't check it.
21979         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
21980         (is_amd): Likewise.
21981         (max_cpuid): Likewise.
21982         (intel_check_word): Likewise.
21983         (__cache_sysconf): Don't call __init_cpu_features.
21984         (__x86_preferred_memory_instruction): Removed.
21985         (init_cacheinfo): Don't call __init_cpu_features. Replace
21986         __cpu_features with GLRO(dl_x86_cpu_features).
21987         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
21988         (dl_platform_init): Call init_cpu_features.
21989         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
21990         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
21991         * sysdeps/x86_64/multiarch/Versions: Removed.
21992         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
21993         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
21994         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
21995         Removed.
21996         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
21998 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22000         [BZ #18820]
22001         * libio/Makefile (test-fmemopen-mem): New test.
22002         * libio/test-fmemopen.c (do_bz18820): New test.
22003         * libio/fmemopen.c (__fmemopen): Fix memory leak.
22004         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
22006 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22008         [BZ #16734]
22009         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
22010         (FREE_BUF): Delete.
22011         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
22012         * libio/genops.c (_IO_setb): Use malloc and free directly.
22013         (_IO_default_doallocate, _IO_default_finish): Likewise.
22014         ( _IO_unbuffer_all): Likewise.
22015         ( libc_freeres_fn): Likewise.
22016         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22017         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
22018         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
22019         (_IO_wdefault_doallocate): Likewise.
22021 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
22023         [BZ #18086]
22024         * sysdeps/posix/nice.c (nice): Restore old errno.
22025         * posix/tst-nice.c (do_test): Add test for BZ #18086.
22027 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
22029         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
22031 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22033         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
22034         __bcopy and add a weak_alias to bcopy.
22035         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
22036         for static build.
22038         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
22039         cleanup macro usage.
22040         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
22041         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
22042         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
22043         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
22044         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
22045         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
22046         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
22047         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22048         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22049         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
22050         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22051         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
22052         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22053         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
22054         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
22055         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
22056         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
22057         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
22058         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22060         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
22061         libc_hidden_def.
22062         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
22064         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
22065         (sysdep_routines): Add strstr-ppc64.
22066         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
22068 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
22070         [BZ #18778]
22071         * elf/Makefile (tests): Add Add tst-nodelete2.
22072         (modules-names): Add tst-nodelete2mod.
22073         (tst-nodelete2mod.so-no-z-defs): New.
22074         ($(objpfx)tst-nodelete2): Likewise.
22075         ($(objpfx)tst-nodelete2.out): Likewise.
22076         (LDFLAGS-tst-nodelete2): Likewise.
22077         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
22078         out of loop through all loaded libraries.
22079         * elf/tst-nodelete2.c: New file.
22080         * elf/tst-nodelete2mod.c: Likewise.
22081         * elf/tst-znodelete-zlib.cc: Delete.
22083 2015-08-11  Andreas Schwab  <schwab@suse.de>
22085         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
22086         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
22087         (__openat64_nocancel): Likewise.
22089 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
22091         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
22092         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
22093         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
22094         * math/auto-libm-test-out: Regenerated.
22095         * sysdeps/i386/fpu/libm-test-ulps: Update.
22096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22098 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
22100         [BZ #18790]
22101         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
22102         threshold for returning +/- 1.
22103         * math/auto-libm-test-in: Add more tests of tanh.
22104         * math/auto-libm-test-out: Regenerated.
22105         * sysdeps/i386/fpu/libm-test-ulps: Update.
22107 2015-08-10  Andreas Schwab  <schwab@suse.de>
22109         [BZ #18781]
22110         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
22111         MORE_OFLAGS to oflag.
22112         * io/test-lfs.c (do_test): Test openat64.
22114 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
22116         [BZ #18789]
22117         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
22118         smaller threshold for returning the argument.
22119         * math/auto-libm-test-in: Add more tests of sinh.
22120         * math/auto-libm-test-out: Regenerated.
22121         * sysdeps/i386/fpu/libm-test-ulps: Update.
22123 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
22125         [BZ #18674]
22126         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
22127         break.
22129 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
22131         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
22132         (generated): Don't add $(addprefix z.,$(tzfiles)).
22134 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
22136         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
22137         * scripts/sysd-rules.awk: Likewise.
22139 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
22141         * iconvdata/tst-tables.sh: Change echo -n to printf.
22142         * nss/db-Makefile: Likewise.
22143         * posix/tst-getconf.sh: Likewise.
22144         * stdio-common/tst-unbputc.sh: Likewise.
22146 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
22148         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
22149         MADV_*_PAGES defines behind this feature check.
22151 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
22153         [BZ #18480]
22154         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
22155         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
22156         Define.
22157         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
22158         LOAD_REGS_5, LOAD_REGS_6): Update.
22159         (INTERNAL_SYSCALL): Update using new LOAD defines.
22160         (INTERNAL_SYSCALL_NCS): Likewise.
22161         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
22163 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22165         [BZ #16734]
22166         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
22168 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22170         [BZ #17905]
22171         * catgets/Makefile (tst-catgets-mem): New test.
22172         * catgets/catgets.c (catopen): Don't use unbounded alloca.
22173         * catgets/open_catalog.c (__open_catalog): Likewise.
22174         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
22176 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
22178         [BZ #18787]
22179         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
22180         clobber registers.
22181         (atomic_compare_and_exchange_val_acq): Use register asms to assign
22182         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
22183         Cast return to __typeof (oldval).
22185 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
22187         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
22188         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
22189         and delete sys/syscall.h include.
22191 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
22193         [BZ #16517]
22194         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
22195         (tan): Force underflow exception for arguments with small absolute
22196         value.
22197         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
22198         (__kernel_tanf): Force underflow exception for arguments with
22199         small absolute value.
22200         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
22201         (__kernel_tanl): Force underflow exception for arguments with
22202         small absolute value.
22203         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
22204         (__kernel_tanl): Force underflow exception for arguments with
22205         small absolute value.
22206         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
22207         (__kernel_tanl): Force underflow exception for arguments with
22208         small absolute value.
22209         * math/auto-libm-test-in: Add more tests of tan.
22210         * math/auto-libm-test-out: Regenerated.
22212 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22214         Fix sysdeps/i386/fpu/s_scalbn.S build
22216         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
22218 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
22220         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
22222 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22224         Fix gcrt0.o compilation
22226         When static-start-installed-name is different from
22227         start-installed-name, we must not use the shared objects.
22229         * csu/Makefile
22230         (extra-objs): Add gmon-start.o when building shared library and
22231         $(static-start-installed-name) is different from
22232         $(start-installed-name).
22233         $(objpfx)g$(static-start-installed-name): When building shared
22234         library and $(static-start-installed-name) is different from
22235         $(static-start-installed-name), revert to non-shared rule,
22236         i.e. using $(objpfx)% and gmon-start.o.
22238 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
22240         [BZ #16519]
22241         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
22242         (__ieee754_sinh): Force underflow exception for arguments with
22243         small absolute value.
22244         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
22245         (__ieee754_sinhf): Force underflow exception for arguments with
22246         small absolute value.
22247         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
22248         (__ieee754_sinhl): Force underflow exception for arguments with
22249         small absolute value.
22250         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
22251         (__ieee754_sinhl): Force underflow exception for arguments with
22252         small absolute value.
22253         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
22254         (__ieee754_sinhl): Force underflow exception for arguments with
22255         small absolute value.
22256         * math/auto-libm-test-in: Add more tests of sinh.
22257         * math/auto-libm-test-out: Regenerated.
22258         * sysdeps/i386/fpu/libm-test-ulps: Update.
22260 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22262         * libio/oldfileops.c: Include unistd.h.
22264 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
22266         * stdlib/isomac.c: Include ctype.h.
22268 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
22270         * dirent/tst-seekdir.c (main): Converted to ...
22271         (do_test): ... this.
22272         (TEST_FUNCTION): New macro.
22273         Include test-skeleton.c.
22274         * elf/tst-dlmodcount.c (main): Converted to ...
22275         (do_test): ... this.
22276         (TEST_FUNCTION): New macro.
22277         Include test-skeleton.c.
22278         * elf/tst-order-main.c (main): Converted to ...
22279         (do_test): ... this.
22280         (TEST_FUNCTION): New macro.
22281         Include test-skeleton.c.
22282         * elf/tst-pie2.c (main): Converted to ...
22283         (do_test): ... this.
22284         (TEST_FUNCTION): New macro.
22285         Include test-skeleton.c.
22286         * inet/tst-ether_aton.c (main): Converted to ...
22287         (do_test): ... this.
22288         (TEST_FUNCTION): New macro.
22289         Include test-skeleton.c.
22290         * misc/tst-mntent.c (main): Converted to ...
22291         (do_test): ... this.
22292         (TEST_FUNCTION): New macro.
22293         Include test-skeleton.c.
22294         * misc/tst-tsearch.c (main): Converted to ...
22295         (do_test): ... this.
22296         (TEST_FUNCTION): New macro.
22297         Include test-skeleton.c.
22298         * posix/tst-regexloc.c (main): Converted to ...
22299         (do_test): ... this.
22300         (TEST_FUNCTION): New macro.
22301         Include test-skeleton.c.
22302         * resolv/tst-aton.c (main): Converted to ...
22303         (do_test): ... this.
22304         (TEST_FUNCTION): New macro.
22305         Include test-skeleton.c.
22306         * stdio-common/test-fwrite.c (main): Converted to ...
22307         (do_test): ... this.
22308         (TEST_FUNCTION): New macro.
22309         Include test-skeleton.c.
22310         * stdio-common/tst-ferror.c (main): Converted to ...
22311         (do_test): ... this.
22312         (TEST_FUNCTION): New macro.
22313         Include test-skeleton.c.
22314         * stdio-common/tst-printf.c (main): Converted to ...
22315         (do_test): ... this.
22316         (TEST_FUNCTION): New macro.
22317         Include test-skeleton.c.
22318         * stdio-common/tst-printfsz.c (main): Converted to ...
22319         (do_test): ... this.
22320         (TEST_FUNCTION): New macro.
22321         Include test-skeleton.c.
22322         * stdlib/tst-strtod.c (main): Converted to ...
22323         (do_test): ... this.
22324         (TEST_FUNCTION): New macro.
22325         Include test-skeleton.c.
22326         * string/tst-strlen.c (main): Converted to ...
22327         (do_test): ... this.
22328         (TEST_FUNCTION): New macro.
22329         Include test-skeleton.c.
22330         * string/tst-svc.c (main): Converted to ...
22331         (do_test): ... this.
22332         (TEST_FUNCTION): New macro.
22333         Include test-skeleton.c.
22334         * time/tst-strptime.c (main): Converted to ...
22335         (do_test): ... this.
22336         (TEST_FUNCTION): New macro.
22337         Include test-skeleton.c.
22338         * timezone/tst-timezone.c (main): Converted to ...
22339         (do_test): ... this.
22340         (TEST_FUNCTION): New macro.
22341         Include test-skeleton.c.
22343 2015-08-05  Zack Weinberg  <zackw@panix.com>
22345         * misc/regexp.h: Update comments.
22347 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
22349         [BZ #18635]
22350         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
22351         before return label.
22353 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
22355         [BZ #18661]
22356         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
22357         when calling __errno_location.
22358         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
22359         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
22361 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
22363         [BZ #18661]
22364         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
22365         (__lll_timedwait_tid): Align stack to 16 bytes when calling
22366         __gettimeofday.
22368 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
22370         [BZ #18661]
22371         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22372         (__start_context): Don't use pop to restore %rdi so that stack
22373         is aligned to 16 bytes when calling __setcontext.
22375 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
22377         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
22378         only for libc.
22379         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22381 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
22383         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
22384         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
22385         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
22387 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
22389         * string/memccpy.c (memccpy):
22390         Improve performance by using memchr/memcpy/__mempcpy.
22392 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
22394         * string/strncpy.c (strncpy):
22395         Improve performance by using __strnlen/memcpy.
22397 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
22399         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22400         Optimize to avoid an unnecessary FPCR read.
22402 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
22404         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
22405         Optimize to reduce FPCR/FPSR accesses.
22407 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
22409         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
22410         dead->data[category] != NULL.
22412 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
22414         [BZ #18647]
22415         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
22416         and |x| close to 1, use absolute value of x when computing log.
22417         * math/auto-libm-test-in: Add more tests of pow.
22418         * math/auto-libm-test-out: Regenerated.
22420 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22422         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
22423         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
22424         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
22426 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
22428         [BZ #18525]
22429         * locales/km_KH: Remove timezone definition.
22430         * locales/lo_LA: Likewise.
22431         * locales/my_MM: Likewise.
22432         * locales/nan_TW@latin: Likewise.
22433         * locales/th_TH: Likewise.
22434         * locales/uk_UA: Likewise.
22436 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
22438         [BZ #18265]
22439         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
22440         (wcsncat): Likewise.
22441         (wcscmp): Likewise.
22442         (wcsncmp): Likewise.
22444 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
22446         * test-skeleton.c (usage): New function.
22447         (main): Call usage when opt is '?'.
22449 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
22451         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
22452         before first use.
22454 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
22456         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
22457         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
22458         in there too.
22460 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
22462         * version.h (RELEASE): Set to "development".
22463         (VERSION): Set to "2.22.90"
22465         * version.h (RELEASE): Set to "stable".
22466         (VERSION): Set to "2.22"
22467         * include/features.h (__GLIBC_MINOR__): Set to 22.
22469 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
22471         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
22472         Restructure macro to avoid "value computed is not used" warning.
22473         (atomic_compare_and_exchange_val_acq): Likewise.
22475 2015-08-04  Andreas Schwab  <schwab@suse.de>
22477         [BZ #18635]
22478         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
22479         ret.
22480         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
22482 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
22484         * po/pl.po: Updated translation.
22485         * po/uk.po: Likewise.
22486         * po/fi.po: Likewise.
22487         * po/ko.po: Likewise.
22488         * po/ru.po: Likewise.
22489         * po/vi.po: Likewise.
22491 2015-07-31  Zack Weinberg  <zackw@panix.com>
22493         [BZ #18681]
22494         * regexp.h: Add unconditional #warning stating that this header
22495         will be removed soon.  Revise banner comment to match.
22496         (compile): Consistently use ERROR instead of RETURN to report
22497         errors (partial fix for bz#18681).
22498         * regexp.c: Don't include regexp.h. Remove some unnecessary
22499         declarations.
22501 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
22503         * po/libc.pot: Regenerated.
22505 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
22507         [BZ #18740]
22508         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
22509         float-vlen4-arch-ext-cflags): Removed.
22510         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
22511         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
22513 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
22515         [BZ #14113]
22516         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
22517         aligned to __aligned__.
22518         (pthread_cond_t, pthread_rwlock_t): Likewise.
22520 2015-07-30  Torvald Riegel  <triegel@redhat.com>
22522         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
22524 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
22526         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
22527         (struct sigaction): Change sa_flags from a long to an int, and add
22528         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
22530 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
22532         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
22533         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
22534         sysdeps/generic/sysdep.h include.
22535         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
22536         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
22537         sysdeps/hppa/sysdep.h.
22538         (ENTRY, PSEUDO): Undefine before defining.
22540 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
22542         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
22543         from scratch to use INTERNAL_SYSCALL.
22545 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
22547         [BZ #18078]
22548         * scripts/check-localplt.awk: Support alternate relocations.
22549         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
22550         sections.
22551         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
22552         malloc entries with + REL R_386_GLOB_DAT.
22553         * sysdeps/x86_64/localplt.data: New file.
22555 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
22557         [BZ #18731]
22558         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
22559         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22560         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22562 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
22564         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
22566 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
22568         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
22569         directly in terms of __sync_fetch_and_add and delete (int) cast.
22571 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
22573         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
22574         the -D_ASM_IA64_CURRENT_H flag.
22576 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
22578         [BZ #18641]
22579         * pwd/pwd.h (putpwent): Delete __nonnull markings.
22581 2015-07-27  Andreas Schwab  <schwab@suse.de>
22583         * conform/conformtest.pl (checknamespace): Filter out string
22584         literals while tokenizing.
22586 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
22588         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
22589         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
22590         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
22592 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
22594         * nptl/tst-join7mod.c: Add #include <string.h>.
22596 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
22598         * sysdeps/nios2/libm-test-ulps: Update.
22600 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
22602         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
22603         Fix order of arguments to the rt_sigprocmask syscall.
22604         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
22605         Likewise.
22607 2015-07-24  Roland McGrath  <roland@hack.frob.com>
22609         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
22611 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22613         [BZ #18457]
22614         * nptl/Makefile (tests): New test case tst-join7.
22615         (modules-names): New test case module tst-join7mod.
22616         * nptl/tst-join7.c: New file.
22617         * nptl/tst-join7mod.c: New file.
22618         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
22619         all translation units in libc.so, libpthread.so and rtld.
22621 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22623         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22625 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
22627         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
22628         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
22629         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
22630         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
22631         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
22632         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
22633         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
22634         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
22635         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
22636         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
22637         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
22638         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
22639         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
22640         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
22641         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
22642         implementation.
22644 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22646         [BZ #17711]
22647         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
22648         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
22649         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
22650         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
22651         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
22652         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
22654 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22656         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
22657         instead of just saying load lock in the comments.
22659 2015-07-23  Roland McGrath  <roland@hack.frob.com>
22661         * sysdeps/unix/Subdirs: Moved ...
22662         * sysdeps/posix/Subdirs: ... here.
22663         * login/pty.h (struct termios, struct winsize): Add forward decls.
22664         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
22665         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
22666         * sysdeps/arm/nacl/libc.abilist: Updated.
22667         * sysdeps/nacl/libutil.abilist: New file.
22669         * bits/signum.h: Update comments to mention 1003.1-2013 too.
22670         (SIGWINCH): New macro.
22672         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
22673         * sysdeps/arm/nacl/libc.abilist: Add it.
22675 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
22677         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
22679 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
22681         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
22682         Swap __glibc_reserved0 and sa_flags order.
22684 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22686         [BZ #18657]
22687         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
22688         are pending TLS destructor calls.
22689         * include/link.h (struct link_map): Add concurrency note for
22690         L_TLS_DTOR_COUNT.
22691         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22692         Don't touch the link map flag.  Atomically increment
22693         l_tls_dtor_count.
22694         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
22695         Avoid taking the load lock and don't touch the link map flag.
22696         * stdlib/tst-tls-atexit-nodelete.c: New test case.
22697         * stdlib/Makefile (tests): Use it.
22698         * stdlib/tst-tls-atexit.c (do_test): dlopen
22699         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
22700         to allow tst-tls-atexit-nodelete test case to use it.
22702 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
22704         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
22705         to bits/types.h.
22706         (msgqnum_t): New typedef.
22707         (msglen_t): Likewise.
22708         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
22709         and msg_qbytes type to msglen_t.
22711 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
22713         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
22714         pad0 to __glibc_reserved0.
22715         (struct stat64): Likewise.
22717 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
22719         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
22720         Change sa_flags from a long to an int and add __glibc_reserved0 before
22721         it for padding.
22723 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
22725         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
22726         anonymous by deleting "siginfo" name.
22728 2015-07-21  Roland McGrath  <roland@hack.frob.com>
22730         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
22731         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
22732         rather than __nacl_irt_filename.
22733         * sysdeps/nacl/xstat.c (__xstat): Likewise.
22735         * NEWS: New item for arm-nacl port.
22736         * sysdeps/arm/nacl/libc.abilist: New file.
22737         * sysdeps/nacl/ld.abilist: New file.
22738         * sysdeps/nacl/libBrokenLocale.abilist: New file.
22739         * sysdeps/nacl/libanl.abilist: New file.
22740         * sysdeps/nacl/libcrypt.abilist: New file.
22741         * sysdeps/nacl/libdl.abilist: New file.
22742         * sysdeps/nacl/libm.abilist: New file.
22743         * sysdeps/nacl/libpthread.abilist: New file.
22744         * sysdeps/nacl/libresolv.abilist: New file.
22745         * sysdeps/nacl/librt.abilist: New file.
22747 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
22749         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
22750         __startcontext to initialize the new context.
22751         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
22752         up CFI directive to forbid further backtracing.
22754 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
22756         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
22757         reference.
22758         * charmaps/ANSI_X3.4-1968: Likewise.
22759         * charmaps/BS_4730: Likewise.
22760         * charmaps/BS_VIEWDATA: Likewise.
22761         * charmaps/CP1250: Likewise.
22762         * charmaps/CP1251: Likewise.
22763         * charmaps/CP1252: Likewise.
22764         * charmaps/CP1253: Likewise.
22765         * charmaps/CP1254: Likewise.
22766         * charmaps/CP1255: Likewise.
22767         * charmaps/CP1256: Likewise.
22768         * charmaps/CSN_369103: Likewise.
22769         * charmaps/EBCDIC-DK-NO: Likewise.
22770         * charmaps/GB_1988-80: Likewise.
22771         * charmaps/GREEK-CCITT: Likewise.
22772         * charmaps/GREEK7: Likewise.
22773         * charmaps/INIS-8: Likewise.
22774         * charmaps/ISIRI-3342: Likewise.
22775         * charmaps/ISO_2033-1983: Likewise.
22776         * charmaps/ISO_5427-EXT: Likewise.
22777         * locales/POSIX: Likewise.
22778         * locales/ar_SA: Likewise.
22779         * locales/be_BY: Likewise.
22780         * locales/be_BY@latin: Likewise.
22781         * locales/ca_ES: Likewise.
22782         * locales/cs_CZ: Likewise.
22783         * locales/da_DK: Likewise.
22784         * locales/de_BE: Likewise.
22785         * locales/de_CH: Likewise.
22786         * locales/de_LU: Likewise.
22787         * locales/en_AU: Likewise.
22788         * locales/en_BW: Likewise.
22789         * locales/en_CA: Likewise.
22790         * locales/en_DK: Likewise.
22791         * locales/en_GB: Likewise.
22792         * locales/en_IE: Likewise.
22793         * locales/en_NZ: Likewise.
22794         * locales/en_ZA: Likewise.
22795         * locales/en_ZW: Likewise.
22796         * locales/es_AR: Likewise.
22797         * locales/es_BO: Likewise.
22798         * locales/es_CL: Likewise.
22799         * locales/es_CO: Likewise.
22800         * locales/es_DO: Likewise.
22801         * locales/es_EC: Likewise.
22802         * locales/es_ES: Likewise.
22803         * locales/es_HN: Likewise.
22804         * locales/es_MX: Likewise.
22805         * locales/es_PA: Likewise.
22806         * locales/es_PE: Likewise.
22807         * locales/es_PY: Likewise.
22808         * locales/es_SV: Likewise.
22809         * locales/es_US: Likewise.
22810         * locales/es_UY: Likewise.
22811         * locales/es_VE: Likewise.
22812         * locales/et_EE: Likewise.
22813         * locales/fa_IR: Likewise.
22814         * locales/fo_FO: Likewise.
22815         * locales/fr_CA: Likewise.
22816         * locales/fr_CH: Likewise.
22817         * locales/gv_GB: Likewise.
22818         * locales/he_IL: Likewise.
22819         * locales/hr_HR: Likewise.
22820         * locales/id_ID: Likewise.
22821         * locales/is_IS: Likewise.
22822         * locales/it_CH: Likewise.
22823         * locales/iw_IL: Likewise.
22824         * locales/kl_GL: Likewise.
22825         * locales/ko_KR: Likewise.
22826         * locales/kw_GB: Likewise.
22827         * locales/lg_UG: Likewise.
22828         * locales/lt_LT: Likewise.
22829         * locales/lv_LV: Likewise.
22830         * locales/mi_NZ: Likewise.
22831         * locales/nhn_MX: Likewise.
22832         * locales/nl_BE: Likewise.
22833         * locales/pl_PL: Likewise.
22834         * locales/sk_SK: Likewise.
22835         * locales/sl_SI: Likewise.
22836         * locales/sv_FI: Likewise.
22837         * locales/tl_PH: Likewise.
22838         * locales/tr_TR: Likewise.
22839         * locales/vi_VN: Likewise.
22841 2015-07-21  Khem Raj  <raj.khem@gmail.com>
22843         [BZ #17475]
22844         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
22845         of tu_IN and bh_IN.
22847 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
22849         [BZ #18694]
22850         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
22851         bits/wordsize.h.
22852         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
22854 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22856         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
22857         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
22858         (spawn_thread): New function.
22859         (load): Rename to reg_dtor_and_close.  Move dlopen to...
22860         (do_test): ... here.  Use IS_LOADED to test for its
22861         availability.
22863 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
22865         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
22867 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
22869         [BZ #18696]
22870         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
22871         si_addr_bnd.
22872         (si_lower): New.
22873         (si_upper): Likewise.
22875 2015-07-16  David S. Miller  <davem@davemloft.net>
22877         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
22879 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22881         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
22882         buffer.
22883         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
22884         fail output information.
22886 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22888         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
22889         and strstr-ppc64..
22890         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
22891         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
22892         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
22893         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
22894         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
22896 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
22898         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
22899         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
22900         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
22901         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
22903 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
22905         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
22906         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
22907         rtld_hidden_proto.
22908         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
22910 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22912         * tst-nodelete-opened.c (do_test): Add comment to clarify how
22913         the test can fail.
22915         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
22917         [BZ #18676]
22918         * elf/tst-nodelete-opened.c: New test case.
22919         * elf/tst-nodelete-opened-lib.c: New test case module.
22920         * elf/Makefile (tests, modules-names): Use them.
22921         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
22922         early.
22924 2015-07-15  David S. Miller  <davem@davemloft.net>
22926         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
22927         futex-intenal.h
22928         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
22929         * sysdeps/sparc/sparc64/Makefile: Likewise.
22930         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
22931         Remove space from macro define.
22932         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
22934 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
22936         [BZ #17475]
22937         * locale/iso-639.def: Update Bhili and Tulu language codes as
22938         per iso639-3.
22940 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
22942         * elf/tst-leaks1.c (main): Converted to ...
22943         (do_test): ... this.
22944         (TEST_FUNCTION): New macro.
22945         Include test-skeleton.c.
22946         * localedata/tst-langinfo.c (main): Converted to ...
22947         (do_test): ... this.
22948         (TEST_FUNCTION): New macro.
22949         Include test-skeleton.c.
22950         * math/test-fpucw.c (main): Converted to ...
22951         (do_test): ... this.
22952         (TEST_FUNCTION): New macro.
22953         Include test-skeleton.c.
22954         * math/test-tgmath.c (main): Converted to ...
22955         (do_test): ... this.
22956         (TEST_FUNCTION): New macro.
22957         Include test-skeleton.c.
22958         * math/test-tgmath2.c (main): Converted to ...
22959         (do_test): ... this.
22960         (TEST_FUNCTION): New macro.
22961         Include test-skeleton.c.
22962         * setjmp/tst-setjmp.c (main): Converted to ...
22963         (do_test): ... this.
22964         (TEST_FUNCTION): New macro.
22965         Include test-skeleton.c.
22966         * stdio-common/tst-sscanf.c (main): Converted to ...
22967         (do_test): ... this.
22968         (TEST_FUNCTION): New macro.
22969         Include test-skeleton.c.
22970         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
22971         (do_test): ... this.
22972         (TEST_FUNCTION): New macro.
22973         Include test-skeleton.c.
22975         * elf/tst-audit9.c (main): Converted to ...
22976         (do_test): ... this.
22977         (TEST_FUNCTION): New macro.
22978         Include test-skeleton.c.
22980 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
22982         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
22984 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
22986         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
22987         New variable.
22989 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
22991         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
22993 2015-07-14  Roland McGrath  <roland@hack.frob.com>
22995         * sysdeps/generic/dl-fileid.h: New file.
22996         * sysdeps/posix/dl-fileid.h: New file.
22997         * sysdeps/nacl/dl-fileid.h: New file.
22998         * include/link.h: Include <dl-fileid.h>.
22999         (struct link_map): Replace l_dev and l_ino with l_file_id.
23000         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
23001         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
23002         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
23004 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23006         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
23008 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23010         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
23011         Add iff $CXX is set.
23012         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
23013         Likewise.
23014         (tst-nodelete-zmodiff): Likewise.
23015         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
23017 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23019         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
23021 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
23023         * sysdeps/aarch64/fpu/math_private.h
23024         (define math_opt_barrier): Add AArch64 version.
23025         (math_force_eval): Likewise.
23027 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
23029         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
23031 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
23033         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
23034         %ld with %jd and cast to intmax_t.
23035         (do_test_length_zero): Likewise.
23037 2015-07-10  Roland McGrath  <roland@hack.frob.com>
23039         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
23041 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
23043         * sysdeps/tile/libm-test-ulps: Regenerated.
23045         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
23046         Comment out the whole function, not just its body.
23048 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23050         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
23051         locks.
23053         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
23055 2015-07-10  Torvald Riegel  <triegel@redhat.com>
23057         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
23058         (sem_assume_only_signals_cause_futex_EINTR): Remove.
23060 2015-07-10  Torvald Riegel  <triegel@redhat.com>
23062         * sysdeps/nptl/futex-internal.h: New file.
23063         * sysdeps/nacl/futex-internal.h: New file.
23064         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
23065         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
23066         error checking.
23067         (setxid_unmark_thread): Likewise.
23068         (__nptl_setxid): Likewise.
23069         (__wait_lookup_done): Likewise.
23070         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
23071         * nptl/nptl-init.c (sighandler_setxid): Likewise.
23072         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23073         * nptl/pthread_once.c (clear_once_control): Likewise.
23074         (__pthread_once_slow): Likewise.
23075         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
23076         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
23077         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
23078         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23079         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
23080         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
23081         Likewise.
23082         (__pthread_rwlock_rdlock): Likewise.
23083         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23084         Likewise.
23085         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23086         Likewise.
23087         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
23088         Likewise.
23089         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
23090         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
23091         Likewise.
23092         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
23093         __ASSUME_PRIVATE_FUTEX check.
23094         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
23095         Check that shared futexes are supported.
23096         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
23097         wrappers with error checking.
23098         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
23099         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
23100         * nptl/pthread_barrierattr_setpshared.c
23101         (pthread_barrierattr_setpshared): Check that shared futexes are
23102         supported.
23103         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
23104         Likewise.
23105         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
23106         Likewise.
23107         * nptl/sem_init.c (futex_private_if_supported): Remove.
23108         (__new_sem_init): Adapt and check that shared futexes are supported.
23109         * nptl/sem_open.c (sem_open): Likewise.
23110         * nptl/sem_post.c (futex_wake): Remove.
23111         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
23112         (do_futex_wait): Use futex wrappers with error checking.
23113         * nptl/sem_wait.c: Include lowlevellock.h.
23114         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
23115         Use futex_supports_pshared.
23116         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
23117         Use futex wrappers with error checking.
23118         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
23119         Likewise.
23120         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
23121         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
23122         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
23123         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
23124         (futex_wake): Likewise.
23125         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
23126         (do_futex_wait): Use futex wrappers with error checking.
23127         (__new_sem_wait_slow): Update EINTR handling.
23128         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
23130 2015-07-09  Martin Sebor  <msebor@redhat.com>
23132         [BZ #18435]
23133         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
23134         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
23135         * nptl/Makefile (test-xfail-tst-once5): Define.
23137 2015-07-09  Roland McGrath  <roland@hack.frob.com>
23139         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
23140         * elf/dl-minimal.c: For readability, reorder some definitions and
23141         introduce more page breaks.  Include <stdio.h>.
23142         (__libc_fatal): New function.
23144         * include/unistd.h: Add rtld_hidden_proto for _exit.
23145         * posix/_exit.c: Add rtld_hidden_def.
23146         * sysdeps/mach/hurd/_exit.c: Likewise.
23147         * sysdeps/nacl/_exit.c: Likewise.
23148         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
23149         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
23151 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
23153         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
23154         bndmov encoding with zero displacement.
23156 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
23157             H.J. Lu  <hongjiu.lu@intel.com>
23159         [BZ #18134]
23160         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
23161         * sysdeps/i386/configure: Regenerated.
23162         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
23163         (_dl_runtime_profile): Save and restore Intel MPX return bound
23164         registers when calling _dl_call_pltexit.  Add
23165         PRESERVE_BND_REGS_PREFIX before return.
23166         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
23167         (LRV_BND1_OFFSET): Likewise.
23168         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
23169         lrv_bnd1.
23170         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
23171         typo in bndmov encoding.
23172         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
23173         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
23174         branch instructions to preserve bounds.
23176 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
23179         [GLIBC_2.22]: Add fmemopen.
23181 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23183         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
23184         returns an error, also try to use host port from __mach_host_self for
23185         the __vm_wire call.
23186         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
23188 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23190         [BZ #18400]
23191         [BZ #18648]
23192         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
23193         Fix pr_uid and pr_gid members.
23194         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
23195         definition to elf_greg_t.
23197 2015-07-08  Roland McGrath  <roland@hack.frob.com>
23199         [BZ #18383]
23200         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
23201         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
23202         * sysdeps/arm/configure: Regenerated.
23203         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
23204         (test-xfail-tst-tlsalign-static): Variable removed.
23206         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
23207         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
23208         rather than explicit 'ln -s'.
23210         * resolv/rpc/netdb.h: New file.
23211         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
23213 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23215         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
23216         length buffers.
23217         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
23218         test-skeleton.c.
23220         [BZ #6544]
23221         [BZ #11216]
23222         [BZ #12836]
23223         [BZ #13151]
23224         [BZ #13152]
23225         [BZ #14292]
23226         * include/stdio.h (fmemopen): Remove hidden prototype.
23227         (__fmemopen): Add new hidden prototype.
23228         * libio/Makefile: Add oldfmemopen object.
23229         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
23230         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
23231         compliance.
23232         * libio/oldfmemopen.c: New file: old fmemopen implementation for
23233         symbol compatibility.
23234         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
23235         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
23236         fmemopen.
23237         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
23238         on append and read mode.
23239         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
23240         fmemopen.
23241         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
23242         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
23243         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
23244         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
23245         Likewise.
23246         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
23247         [GLIBC_2.22]: Likewise.
23248         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
23249         Likewise.
23250         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
23251         Likewise.
23252         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
23253         [GLIBC_2.22]: Likewise.
23254         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
23255         [GLIBC_2.22]: Likewise.
23256         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
23257         [GLIBC_2.22]: Likewise.
23258         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
23259         [GLIBC_2.22]: Likewise.
23260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
23261         [GLIBC_2.22]: Likewise.
23262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
23263         [GLIBC_2.22]: Likewise.
23264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
23265         [GLIBC_2.22]: Likewise.
23266         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
23267         Likewise.
23268         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
23269         Likewise.
23270         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
23271         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
23272         [GLIBC_2.22]: Likewise.
23273         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
23274         [GLIBC_2.22]: Likewise.
23275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
23276         [GLIBC_2.22]: Likewise.
23277         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
23278         [GLIBC_2.22]: Likewise.
23279         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
23280         Likewise.
23281         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
23282         Likewise.
23283         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
23284         Likewise.
23285         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
23286         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
23288 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
23290         [BZ #18643]
23291         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
23292         IPV6_PATHMTU, and IPV6_DONTFRAG.
23294 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
23296         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
23297         and _IO_UNBUFFERED.
23298         * libio/oldfileops.c: Likewise.
23299         * libio/wfileops.c: Likewise.
23301 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
23303         * nscd/selinux.c: Delete selinux/flask.h include.
23305 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
23307         [BZ #18641]
23308         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
23309         (putpwent): Likewise.
23310         (getpwnam): Likewise.
23311         (getpwent_r): Likewise.
23312         (getpwuid_r): Likewise.
23313         (getpwnam_r): Likewise.
23314         (fgetpwent_r): Likewise.
23316 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
23318         [BZ #18557]
23319         * inet/rcmd.c (__validuser2_sa): Check user first to
23320         short-circuit host check.
23322 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
23323             Mikhail Ilin  <m.ilin@samsung.com>
23325         [BZ #17833]
23326         * elf/Makefile (tests): Add tst-nodelete.
23327         (modules-names): Add tst-nodelete-uniquemod.
23328         (tst-nodelete-uniquemod.so-no-z-defs): New.
23329         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
23330         (tst-nodelete-zmod.so-no-z-defs): Likewise.
23331         ($(objpfx)tst-nodelete): Likewise.
23332         ($(objpfx)tst-nodelete.out): Likewise.
23333         (LDFLAGS-tst-nodelete): Likewise.
23334         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
23335         * elf/dl-close.c (_dl_close_worker): Add a parameter to
23336         implement forced object deletion.
23337         (_dl_close): Pass false to _dl_close_worker.
23338         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
23339         * elf/tst-nodelete.cc: New file.
23340         * elf/tst-nodeletelib.cc: Likewise.
23341         * elf/tst-znodeletelib.cc: Likewise.
23342         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
23344 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
23346         [BZ #18508]
23347         * stdlib/Makefile ($(objpfx)tst-makecontext3):
23348         Depend on $(libdl).
23349         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
23350         is not called infinitely times.
23351         (backtrace_helper): New function.
23352         (trace_arg): New struct.
23353         (st1): Enlarge stack size.
23354         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
23355         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
23356         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
23357         Likewise.
23359 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
23361         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23363 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
23365         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
23366         Include sys/types.h instead of bits/types.h.
23367         Remove inclusion of bits/wordsize.h.
23369 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
23371         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
23372         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
23373         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
23374         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
23375         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
23376         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
23378 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
23380         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
23381         link-defines.sym.
23382         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
23383         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
23384         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
23385         and LR_SIZE.
23386         * sysdeps/i386/link-defines.sym: New file.
23388 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
23390         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
23391         (modules-names): Add tst-auditmod3a tst-auditmod3b.
23392         ($(objpfx)tst-audit3): New rule.
23393         ($(objpfx)tst-audit3.out): Likewise.
23394         * sysdeps/i386/tst-audit3.c: New file.
23395         * sysdeps/i386/tst-audit3.h: Likewise.
23396         * sysdeps/i386/tst-auditmod3a.c: Likewise.
23397         * sysdeps/i386/tst-auditmod3b.c: Likewise.
23399 2015-07-07  Torvald Riegel  <triegel@redhat.com>
23401         [BZ #18633]
23402         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
23403         pointer in C code.
23404         (__strcat_c): Likewise.
23405         (__strcat_g): Likewise.
23407 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
23409         [BZ #18592]
23410         * misc/sbrk.c: Set errno to ENOMEM on overflow.
23412 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
23414         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
23415         New function.  (__ieee754_sqrtf): New function.
23416         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
23417         New function.
23418         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
23419         New function.
23421 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
23423         * sysdeps/ieee754/support.c: Remove unused file.
23425 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23427         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
23428         registers instead of d ones so the layout is kernel abi compatible.
23429         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
23430         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
23431         Likewise.
23433 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23435         * sysdeps/aarch64/libm-test-ulps: Regenerated.
23437 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
23439         [BZ #18619]
23440         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
23441         and return argument in case of subnormal argument.
23443 2015-07-01  Martin Sebor  <msebor@redhat.com>
23445         [BZ #18435]
23446         * nptl/Makefile: Add tst-once5.cc.
23447         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
23448         Remove macro redefinitions.
23449         * nptl/tst-once5.cc: New test.
23451 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
23453         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23455         * sysdeps/arm/libm-test-ulps: Regenerated.
23457         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23458         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23460 2015-06-30  Torvald Riegel  <triegel@redhat.com>
23462         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
23463         lll_lock_wait_private and lll_futex_wake probes.
23465         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
23466         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
23467         Likewise.
23468         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
23469         atomic_spin_nop.
23470         * sysdeps/x86_64/bits/atomic.h: Likewise.
23471         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
23472         to atomic_spin_nop and move ...
23473         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
23474         ... here and ...
23475         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
23476         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
23477         atomic_spin_nop instead of BUSY_WAIT_NOP.
23478         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
23479         Likewise.
23480         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
23481         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
23482         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
23483         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
23484         instead of atomic_delay.
23486 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
23488         [BZ #18613]
23489         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
23490         X_ADJ not X when adjusting exponent.
23491         (__ieee754_gamma_r): Do intermediate computations in
23492         round-to-nearest then adjust overflowing and underflowing results
23493         as needed.
23494         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
23495         of X_ADJ not X when adjusting exponent.
23496         (__ieee754_gammaf_r): Do intermediate computations in
23497         round-to-nearest then adjust overflowing and underflowing results
23498         as needed.
23499         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
23500         log of X_ADJ not X when adjusting exponent.
23501         (__ieee754_gammal_r): Do intermediate computations in
23502         round-to-nearest then adjust overflowing and underflowing results
23503         as needed.  Use 1.0L not 1.0f as numerator of division.
23504         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
23505         log of X_ADJ not X when adjusting exponent.
23506         (__ieee754_gammal_r): Do intermediate computations in
23507         round-to-nearest then adjust overflowing and underflowing results
23508         as needed.  Use 1.0L not 1.0f as numerator of division.
23509         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
23510         of X_ADJ not X when adjusting exponent.
23511         (__ieee754_gammal_r): Do intermediate computations in
23512         round-to-nearest then adjust overflowing and underflowing results
23513         as needed.  Use 1.0L not 1.0f as numerator of division.
23514         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
23515         to auto-libm-test-in.
23516         (tgamma_test): Use ALL_RM_TEST.
23517         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
23518         tests of tgamma with spurious-overflow.
23519         * math/auto-libm-test-out: Regenerated.
23520         * math/gen-libm-have-vector-test.sh: Do not check for START.
23521         * sysdeps/i386/fpu/libm-test-ulps: Update.
23522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23524         [BZ #18612]
23525         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
23526         arguments, just return 0.5 times the argument, with underflow
23527         forced as needed.
23528         * math/auto-libm-test-in: Add more tests of j1.
23529         * math/auto-libm-test-out: Regenerated.
23531         [BZ #16559]
23532         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
23533         (__ieee754_j1): Force underflow exception for small results.
23534         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
23535         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
23536         (__ieee754_j1f): Force underflow exception for small results.
23537         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23538         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23539         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23540         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
23541         (__ieee754_j1l): Force underflow exception for small results.
23542         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23543         * math/auto-libm-test-in: Add more tests of j1 and jn.
23544         * math/auto-libm-test-out: Regenerated.
23546         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
23547         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
23548         (PF_MPLS): Likewise.
23549         (AF_IB): Likewise.
23550         (AF_MPLS): Likewise.
23551         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
23552         value and macro.
23553         (MS_RMT_MASK): Include MS_LAZYTIME.
23555 2015-06-26  Mel Gorman  <mgorman@suse.de>
23557         [BZ #18502]
23558         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
23559         already minimal.
23561 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
23563         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
23564         (DT_MIPS_NUM): Update.
23565         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
23566         DT_MIPS_RLD_MAP_REL.
23568 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
23570         [BZ #16559]
23571         [BZ #18602]
23572         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
23573         round-to-nearest internally then recompute results that
23574         underflowed to zero in the original rounding mode.
23575         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23576         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23577         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23578         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23579         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
23580         * sysdeps/i386/fpu/libm-test-ulps: Update.
23581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23583 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
23585         * NEWS: Fixed description of link with vector math library.
23587 2015-06-25  Andreas Schwab  <schwab@suse.de>
23589         [BZ #18549]
23590         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
23591         * libio/test-fmemopen.c (do_test): Add test for it.
23593 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
23595         [BZ #17841]
23596         * Makeconfig (no-pie-ldflag): New.
23597         (+link): Set to $(+link-pie) if default to PIE.
23598         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
23599         * config.make.in (build-pie-default): New.
23600         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
23601         is default.  AC_SUBST.
23602         * configure: Regenerated.
23603         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
23605 2015-06-24  Roland McGrath  <roland@hack.frob.com>
23607         * nptl/descr.h (struct pthread): Change type of field setxid_futex
23608         to 'unsigned int'.
23610         * resolv/gai_misc.h (struct waitlist): Change type of field
23611         counterp to 'volatile unsigned int *'.
23612         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
23613         FUTEXADDR and OLDVAL.
23614         * resolv/getaddrinfo_a.c (getaddrinfo_a):
23615         Give local variable TOTAL type 'volatile unsigned int'.
23616         (struct async_waitlist): Change type of field counter to 'unsigned int'.
23617         * resolv/gai_suspend.c (gai_suspend):
23618         Give local variable CNTR type 'unsigned int'.
23620         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
23621         counterp to 'volatile unsigned int *'.
23622         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
23623         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
23624         (aio_suspend): Give local variable CNTR type 'unsigned int'.
23625         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
23626         Give local variable TOTAL type 'volatile unsigned int'.
23627         (struct async_waitlist): Change type of field counter to 'unsigned int'.
23629 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
23631         [BZ #18383]
23632         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
23633         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
23634         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
23635         comment for i386/x86-64.
23636         (test-xfail-tst-tlsalign-extern-static): Removed.
23638 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
23640         * math/test-double.h: New file.
23641         * math/test-float.h: Likewise.
23642         * math/test-ldouble.h: Likewise.
23643         * math/test-math-inline.h: Likewise.
23644         * math/test-math-no-inline.h: Likewise.
23645         * math/test-math-scalar.h: Likewise.
23646         * math/test-math-vector.h: Likewise.
23647         * math/test-vec-loop.h: Remove file.  Contents moved into
23648         test-math-vector.h.
23649         * math/libm-test.inc (MATHCONST): Do not document macro.
23650         * math/test-double.c: Include test-double.h, test-math-no-inline.h
23651         and test-math-scalar.h.
23652         (FUNC): Remove macro.
23653         (FUNC_TEST): Likewise.
23654         (FLOAT): Likewise.
23655         (MATHCONST): Likewise.
23656         (PRINTF_EXPR): Likewise.
23657         (PRINTF_XEXPR): Likewise.
23658         (PRINTF_NEXPR): Likewise.
23659         (TEST_DOUBLE): Likewise.
23660         (TEST_MATHVEC): Likewise.
23661         (__NO_MATH_INLINES): Likewise.
23662         * math/test-float.c: Include test-float.h, test-math-no-inline.h
23663         and test-math-scalar.h.
23664         (FUNC): Remove macro.
23665         (FUNC_TEST): Likewise.
23666         (FLOAT): Likewise.
23667         (MATHCONST): Likewise.
23668         (PRINTF_EXPR): Likewise.
23669         (PRINTF_XEXPR): Likewise.
23670         (PRINTF_NEXPR): Likewise.
23671         (TEST_FLOAT): Likewise.
23672         (TEST_MATHVEC): Likewise.
23673         (__NO_MATH_INLINES): Likewise.
23674         * math/test-idouble.c: Include test-double.h, test-math-inline.h
23675         and test-math-scalar.h.
23676         (FUNC): Remove macro.
23677         (FUNC_TEST): Likewise.
23678         (FLOAT): Likewise.
23679         (MATHCONST): Likewise.
23680         (PRINTF_EXPR): Likewise.
23681         (PRINTF_XEXPR): Likewise.
23682         (PRINTF_NEXPR): Likewise.
23683         (TEST_DOUBLE): Likewise.
23684         (TEST_MATHVEC): Likewise.
23685         (TEST_INLINE): Likewise.
23686         (__NO_MATH_INLINES): Likewise.
23687         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
23688         test-math-scalar.h.
23689         (FUNC): Remove macro.
23690         (FUNC_TEST): Likewise.
23691         (FLOAT): Likewise.
23692         (MATHCONST): Likewise.
23693         (PRINTF_EXPR): Likewise.
23694         (PRINTF_XEXPR): Likewise.
23695         (PRINTF_NEXPR): Likewise.
23696         (TEST_FLOAT): Likewise.
23697         (TEST_MATHVEC): Likewise.
23698         (TEST_INLINE): Likewise.
23699         (__NO_MATH_INLINES): Likewise.
23700         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
23701         and test-math-scalar.h.
23702         (FUNC): Remove macro.
23703         (FUNC_TEST): Likewise.
23704         (FLOAT): Likewise.
23705         (MATHCONST): Likewise.
23706         (PRINTF_EXPR): Likewise.
23707         (PRINTF_XEXPR): Likewise.
23708         (PRINTF_NEXPR): Likewise.
23709         (TEST_LDOUBLE): Likewise.
23710         (TEST_MATHVEC): Likewise.
23711         (TEST_INLINE): Likewise.
23712         (__NO_MATH_INLINES): Likewise.
23713         * math/test-ldouble.c: Include test-ldouble.h,
23714         test-math-no-inline.h and test-math-scalar.h.
23715         (FUNC): Remove macro.
23716         (FUNC_TEST): Likewise.
23717         (FLOAT): Likewise.
23718         (MATHCONST): Likewise.
23719         (PRINTF_EXPR): Likewise.
23720         (PRINTF_XEXPR): Likewise.
23721         (PRINTF_NEXPR): Likewise.
23722         (TEST_LDOUBLE): Likewise.
23723         (TEST_MATHVEC): Likewise.
23724         (__NO_MATH_INLINES): Likewise.
23725         * math/test-double-vlen2.h: Include test-double.h,
23726         test-math-no-inline.h and test-math-vector.h.
23727         (FLOAT): Remove macro.
23728         (FUNC): Likewise.
23729         (MATHCONST): Likewise.
23730         (PRINTF_EXPR): Likewise.
23731         (PRINTF_XEXPR): Likewise.
23732         (PRINTF_NEXPR): Likewise.
23733         (TEST_DOUBLE): Likewise.
23734         (TEST_MATHVEC): Likewise.
23735         (__NO_MATH_INLINES): Likewise.
23736         (CNCT): Likewise.
23737         (CONCAT): Likewise.
23738         (WRAPPER_NAME): Likewise.
23739         (WRAPPER_DECL): Likewise.
23740         (WRAPPER_DECL_ff): Likewise.
23741         (WRAPPER_DECL_fFF): Likewise.
23742         (VECTOR_WRAPPER): Likewise.
23743         (VECTOR_WRAPPER_ff): Likewise.
23744         (VECTOR_WRAPPER_fFF): Likewise.
23745         (VEC_LEN): New macro.
23746         * math/test-double-vlen4.h: Include test-double.h,
23747         test-math-no-inline.h and test-math-vector.h.
23748         (FLOAT): Remove macro.
23749         (FUNC): Likewise.
23750         (MATHCONST): Likewise.
23751         (PRINTF_EXPR): Likewise.
23752         (PRINTF_XEXPR): Likewise.
23753         (PRINTF_NEXPR): Likewise.
23754         (TEST_DOUBLE): Likewise.
23755         (TEST_MATHVEC): Likewise.
23756         (__NO_MATH_INLINES): Likewise.
23757         (CNCT): Likewise.
23758         (CONCAT): Likewise.
23759         (WRAPPER_NAME): Likewise.
23760         (WRAPPER_DECL): Likewise.
23761         (WRAPPER_DECL_ff): Likewise.
23762         (WRAPPER_DECL_fFF): Likewise.
23763         (VECTOR_WRAPPER): Likewise.
23764         (VECTOR_WRAPPER_ff): Likewise.
23765         (VECTOR_WRAPPER_fFF): Likewise.
23766         (VEC_LEN): New macro.
23767         * math/test-double-vlen8.h: Include test-double.h,
23768         test-math-no-inline.h and test-math-vector.h.
23769         (FLOAT): Remove macro.
23770         (FUNC): Likewise.
23771         (MATHCONST): Likewise.
23772         (PRINTF_EXPR): Likewise.
23773         (PRINTF_XEXPR): Likewise.
23774         (PRINTF_NEXPR): Likewise.
23775         (TEST_DOUBLE): Likewise.
23776         (TEST_MATHVEC): Likewise.
23777         (__NO_MATH_INLINES): Likewise.
23778         (CNCT): Likewise.
23779         (CONCAT): Likewise.
23780         (WRAPPER_NAME): Likewise.
23781         (WRAPPER_DECL): Likewise.
23782         (WRAPPER_DECL_ff): Likewise.
23783         (WRAPPER_DECL_fFF): Likewise.
23784         (VECTOR_WRAPPER): Likewise.
23785         (VECTOR_WRAPPER_ff): Likewise.
23786         (VECTOR_WRAPPER_fFF): Likewise.
23787         (VEC_LEN): New macro.
23788         * math/test-float-vlen4.h: Include test-float.h,
23789         test-math-no-inline.h and test-math-vector.h.
23790         (FLOAT): Remove macro.
23791         (FUNC): Likewise.
23792         (MATHCONST): Likewise.
23793         (PRINTF_EXPR): Likewise.
23794         (PRINTF_XEXPR): Likewise.
23795         (PRINTF_NEXPR): Likewise.
23796         (TEST_FLOAT): Likewise.
23797         (TEST_MATHVEC): Likewise.
23798         (__NO_MATH_INLINES): Likewise.
23799         (CNCT): Likewise.
23800         (CONCAT): Likewise.
23801         (WRAPPER_NAME): Likewise.
23802         (WRAPPER_DECL): Likewise.
23803         (WRAPPER_DECL_ff): Likewise.
23804         (WRAPPER_DECL_fFF): Likewise.
23805         (VECTOR_WRAPPER): Likewise.
23806         (VECTOR_WRAPPER_ff): Likewise.
23807         (VECTOR_WRAPPER_fFF): Likewise.
23808         (VEC_LEN): New macro.
23809         * math/test-float-vlen8.h: Include test-float.h,
23810         test-math-no-inline.h and test-math-vector.h.
23811         (FLOAT): Remove macro.
23812         (FUNC): Likewise.
23813         (MATHCONST): Likewise.
23814         (PRINTF_EXPR): Likewise.
23815         (PRINTF_XEXPR): Likewise.
23816         (PRINTF_NEXPR): Likewise.
23817         (TEST_FLOAT): Likewise.
23818         (TEST_MATHVEC): Likewise.
23819         (__NO_MATH_INLINES): Likewise.
23820         (CNCT): Likewise.
23821         (CONCAT): Likewise.
23822         (WRAPPER_NAME): Likewise.
23823         (WRAPPER_DECL): Likewise.
23824         (WRAPPER_DECL_ff): Likewise.
23825         (WRAPPER_DECL_fFF): Likewise.
23826         (VECTOR_WRAPPER): Likewise.
23827         (VECTOR_WRAPPER_ff): Likewise.
23828         (VECTOR_WRAPPER_fFF): Likewise.
23829         (VEC_LEN): New macro.
23830         * math/test-float-vlen16.h: Include test-float.h,
23831         test-math-no-inline.h and test-math-vector.h.
23832         (FLOAT): Remove macro.
23833         (FUNC): Likewise.
23834         (MATHCONST): Likewise.
23835         (PRINTF_EXPR): Likewise.
23836         (PRINTF_XEXPR): Likewise.
23837         (PRINTF_NEXPR): Likewise.
23838         (TEST_FLOAT): Likewise.
23839         (TEST_MATHVEC): Likewise.
23840         (__NO_MATH_INLINES): Likewise.
23841         (CNCT): Likewise.
23842         (CONCAT): Likewise.
23843         (WRAPPER_NAME): Likewise.
23844         (WRAPPER_DECL): Likewise.
23845         (WRAPPER_DECL_ff): Likewise.
23846         (WRAPPER_DECL_fFF): Likewise.
23847         (VECTOR_WRAPPER): Likewise.
23848         (VECTOR_WRAPPER_ff): Likewise.
23849         (VECTOR_WRAPPER_fFF): Likewise.
23850         (VEC_LEN): New macro.
23851         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
23852         test-vec-loop.h.
23853         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23854         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23855         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23856         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23857         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23858         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23859         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
23861 2015-06-24  Roland McGrath  <roland@hack.frob.com>
23863         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
23864         (__getlogin_r): ... this.
23866 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
23868         [BZ #18594]
23869         * math/s_ccosh.c (__ccosh): Compare with least normal value
23870         instead of comparing class with FP_SUBNORMAL.
23871         * math/s_ccoshf.c (__ccoshf): Likewise.
23872         * math/s_ccoshl.c (__ccoshl): Likewise.
23873         * math/s_cexp.c (__cexp): Likewise.
23874         * math/s_cexpf.c (__cexpf): Likewise.
23875         * math/s_cexpl.c (__cexpl): Likewise.
23876         * math/s_csin.c (__csin): Likewise.
23877         * math/s_csinf.c (__csinf): Likewise.
23878         * math/s_csinh.c (__csinh): Likewise.
23879         * math/s_csinhf.c (__csinhf): Likewise.
23880         * math/s_csinhl.c (__csinhl): Likewise.
23881         * math/s_csinl.c (__csinl): Likewise.
23882         * math/s_ctan.c (__ctan): Likewise.
23883         * math/s_ctanf.c (__ctanf): Likewise.
23884         * math/s_ctanh.c (__ctanh): Likewise.
23885         * math/s_ctanhf.c (__ctanhf): Likewise.
23886         * math/s_ctanhl.c (__ctanhl): Likewise.
23887         * math/s_ctanl.c (__ctanl): Likewise.
23888         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
23889         csin, csinh, ctan and ctanh.
23890         * math/auto-libm-test-out: Regenerated.
23891         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
23892         * sysdeps/i386/fpu/libm-test-ulps: Update.
23893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23895 2015-06-24  Roland McGrath  <roland@hack.frob.com>
23897         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
23898         return value is wrong, print the expected value too.
23900 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
23902         [BZ #18585]
23903         * elf/readlib.c (is_gdb_python_file): New.
23904         (process_file): Don't issue errors on filenames with -gdb.py
23905         suffix.
23907 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
23909         * math/auto-libm-test-in: Add more tests of csin and csinh.
23910         * math/auto-libm-test-out: Regenerated.
23911         * math/libm-test.inc (csin_test_data): Remove tests moved to
23912         auto-libm-test-in.
23913         (csinh_test_data): Likewise.
23915         [BZ #18593]
23916         * math/s_csin.c (__csin): Negate before rather than after possibly
23917         overflowing multiplication.
23918         * math/s_csinf.c (__csinf): Likewise.
23919         * math/s_csinh.c (__csinh): Likewise.
23920         * math/s_csinhf.c (__csinhf): Likewise.
23921         * math/s_csinhl.c (__csinhl): Likewise.
23922         * math/s_csinl.c (__csinl): Likewise.
23923         * math/auto-libm-test-in: Add some tests of csin and csinh.
23924         * math/auto-libm-test-out: Regenerated.
23925         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
23926         (csinh_test_data): Likewise.
23927         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23929         [BZ #18586]
23930         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
23931         underflow exception for small results.
23933 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
23935         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
23936         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
23937         variable and included header.
23938         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
23939         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
23940         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
23941         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
23942         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
23943         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
23944         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
23945         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
23946         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
23947         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
23948         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
23949         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
23950         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
23951         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
23952         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
23953         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
23955 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
23957         [BZ #16526]
23958         [BZ #16538]
23959         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
23960         (__sin): Force underflow exception for arguments with small
23961         absolute value.
23962         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
23963         (__kernel_sinf): Force underflow exception for arguments with
23964         small absolute value.
23965         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
23966         (__kernel_sincosl): Force underflow exception for arguments with
23967         small absolute value.
23968         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
23969         (__kernel_sinl): Force underflow exception for arguments with
23970         small absolute value.
23971         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
23972         (__kernel_sincosl): Force underflow exception for arguments with
23973         small absolute value.
23974         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
23975         (__kernel_sinl): Force underflow exception for arguments with
23976         small absolute value.
23977         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
23978         (__kernel_sinl): Force underflow exception for arguments with
23979         small absolute value.
23980         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
23981         (__kernel_sinf): Force underflow exception for arguments with
23982         small absolute value.
23983         * math/auto-libm-test-in: Add more tests of sin and sincos.
23984         * math/auto-libm-test-out: Regenerated.
23986         [BZ #18245]
23987         [BZ #18583]
23988         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
23989         (__kernel_standard_l): Use feholdexcept and fesetenv around
23990         conversion to double instead of special-casing overflow and
23991         underflow.
23992         * math/libm-test.inc (fmod_test_data): Add more tests.
23993         (remainder_test_data): Likewise.
23994         (sqrt_test_data): Likewise.
23996 2015-06-23  Torvald Riegel  <triegel@redhat.com>
23998         [BZ #17403]
23999         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
24000         atomic_read_barrier, atomic_write_barrier): Define.
24001         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
24002         atomic_read_barrier, atomic_write_barrier): Define.
24004 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
24006         * math/Makefile [$(PERL) != no]
24007         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
24008         dependency on libm-test.stmp below the inclusion of Rules.
24010 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
24012         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
24013         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
24014         and included header.
24015         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
24016         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
24017         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
24018         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
24019         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
24020         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
24021         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
24022         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
24023         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
24024         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
24025         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
24026         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
24027         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
24028         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
24029         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
24030         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
24031         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
24032         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
24033         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
24035 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
24037         [BZ #18371]
24038         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
24039         intermediate but not final result might underflow.
24040         * math/s_csqrtf.c (__csqrtf): Likewise.
24041         * math/s_csqrtl.c (__csqrtl): Likewise.
24042         * math/auto-libm-test-in: Add more tests of csqrt.
24043         * math/auto-libm-test-out: Regenerated.
24044         * sysdeps/i386/fpu/libm-test-ulps: Update.
24046         [BZ #18219]
24047         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
24048         threshold on absolute value of exponent for which scaling is used.
24049         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24050         * math/auto-libm-test-in: Add more tests of exp2.
24051         * math/auto-libm-test-out: Regenerated.
24053 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
24055         [BZ #17977]
24056         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
24057         when initializing interface list, based on the bug analysis
24058         and the patch proposed by Eric Newton.
24059         * resolv/tst-res_hconf_reorder.c: New test.
24060         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
24061         tst-res_hconf_reorder.
24062         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
24063         and $(shared-thread-library).
24064         (tst-res_hconf_reorder-ENV): New variable.
24066         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
24067         in comment.
24069 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
24071         [BZ #16353]
24072         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
24073         (__expm1): Force underflow exception for arguments with small
24074         absolute value.
24075         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
24076         (__expm1f): Force underflow exception for arguments with small
24077         absolute value.
24078         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
24079         (__expm1): Force underflow exception for arguments with small
24080         absolute value.
24081         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
24082         (__expm1f): Force underflow exception for arguments with small
24083         absolute value.
24084         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
24085         Check for small arguments before calling __expm1.
24086         * math/auto-libm-test-in: Do not mark underflow exceptions as
24087         possibly missing for bug 16353.
24088         * math/auto-libm-test-out: Regenerated.
24090 2015-06-22  Andreas Schwab  <schwab@suse.de>
24092         [BZ #18513]
24093         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
24094         PTR queries.
24096 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
24098         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
24100         * string/strcoll_l.c: Remove unused struct element idxnow.
24102 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
24104         [BZ #18569]
24105         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
24106         underflow and return argument in case of subnormal argument.
24107         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24108         Likewise.
24109         * math/auto-libm-test-in: Add more tests of expm1.
24110         * math/auto-libm-test-out: Regenerated.
24112         [BZ #16361]
24113         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24114         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24115         tiny results.
24116         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24117         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24118         tiny results.
24119         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
24120         mark underflow exceptions as possibly missing for bug 16361.
24121         * math/auto-libm-test-out: Regenerated.
24123 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
24125         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
24126         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
24127         Remove variable.
24128         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24129         (test-xfail-XOPEN2K8/utmpx.h/conform).
24131         * conform/conformtest.pl ($xerrors): New variable.
24132         (note_error): New function.
24133         (compiletest): New argument $xfail.  Use not_error.
24134         (runtest): Likewise.
24135         (top level): Handle xfail- lines.  Update calls to compiletest and
24136         runtest.  Handle xfail- and optional- in headers listed with
24137         allow-header.
24138         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
24139         (O_EXEC): Likewise.
24140         (O_SEARCH): Likewise.
24141         * conform/data/stropts.h-data (ioctl): Likewise.
24142         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
24143         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
24144         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
24145         (msghdr.msg_controllen): Likewise.
24146         (cmsghdr.cmsg_len): Likewise.
24147         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
24148         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
24149         variable.
24150         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24151         (test-xfail-XPG4/stropts.h/conform): Likewise.
24152         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24153         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24154         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24155         (test-xfail-UNIX98/stropts.h/conform): Likewise.
24156         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24157         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24158         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24159         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24160         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24161         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24162         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24163         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24164         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24165         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24166         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24167         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
24168         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
24169         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
24170         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
24172 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
24174         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
24175         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
24176         definitions for proper unfolding of __MATHDECL_VEC.
24178 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
24180         * benchtests/bench-strcoll.c:
24181         Include string.h.
24182         (main): Remove unused variable res.
24184 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
24186         * timezone/Makefile (%/UTC %/Universal):
24187         Generate test-result files for UTC and Universal.
24189 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
24191         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24193 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
24195         [BZ #16350]
24196         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
24197         for arguments with small absolute value.
24198         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
24199         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
24200         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
24201         (__asinh): Force underflow exception for arguments with small
24202         absolute value.
24203         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
24204         (__asinhf): Force underflow exception for arguments with small
24205         absolute value.
24206         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
24207         (__asinhl): Force underflow exception for arguments with small
24208         absolute value.
24209         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
24210         (__asinhl): Force underflow exception for arguments with small
24211         absolute value.
24212         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
24213         (__asinhl): Force underflow exception for arguments with small
24214         absolute value.
24215         * math/auto-libm-test-in: Do not mark underflow exceptions as
24216         possibly missing for bug 16350.
24217         * math/auto-libm-test-out: Regenerated.
24219         * include/bits/ipc.h: Remove file.
24220         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
24221         variable.
24222         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24223         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24224         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24225         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
24226         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
24227         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
24228         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
24229         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
24230         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
24232         * math/auto-libm-test-in: Remove spurious underflow allowance for
24233         tests of cexp.
24234         * math/auto-libm-test-out: Regenerated.
24236         [BZ #18558]
24237         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
24238         unconditional definition.
24239         (MCAST_BLOCK_SOURCE): Likewise.
24240         (MCAST_UNBLOCK_SOURCE): Likewise.
24241         (MCAST_LEAVE_GROUP): Likewise.
24242         (MCAST_JOIN_SOURCE_GROUP): Likewise.
24243         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
24244         (MCAST_MSFILTER): Likewise.
24245         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
24246         Remove variable.
24247         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
24248         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
24249         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
24250         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
24251         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
24253 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
24255         * NEWS: Mention addition of x86_64 vector sincosf.
24256         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
24257         * math/test-float-vlen4.h: Likewise.
24258         * math/test-float-vlen8.h: Likewise.
24259         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24260         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
24261         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24262         * sysdeps/x86_64/fpu/Versions: New versions added.
24263         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24264         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24265         Added build of SSE, AVX2 and AVX512 IFUNC versions.
24266         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
24267         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
24268         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
24269         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
24270         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
24271         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
24272         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
24273         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
24274         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
24275         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
24276         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
24277         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
24278         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
24279         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
24280         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
24281         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24282         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24283         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24284         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24285         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24286         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24288         * NEWS: Mention addition of x86_64 vector sincos.
24289         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
24290         * math/math.h (__MATHDECL_VEC): New macro.
24291         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
24292         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
24293         declaration under condition.
24294         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
24295         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
24296         TEST_VEC_LOOP change.
24297         * math/test-double-vlen4.h: Likewise.
24298         * math/test-double-vlen8.h: Likewise.
24299         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
24300         * math/test-float-vlen4.h: Likewise.
24301         * math/test-float-vlen8.h: Likewise.
24302         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24303         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
24304         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24305         * sysdeps/x86_64/fpu/Versions: New versions added.
24306         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24307         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24308         Added build of SSE, AVX2 and AVX512 IFUNC versions.
24309         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
24310         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
24311         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
24312         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
24313         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
24314         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
24315         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
24316         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
24317         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
24318         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
24319         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
24320         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
24321         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
24322         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
24323         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24324         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24325         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24326         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24327         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24328         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24329         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24331         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24332         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24333         redirections for powf.
24334         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24335         * sysdeps/x86_64/fpu/Versions: New versions added.
24336         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24337         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24338         Added build of SSE, AVX2 and AVX512 IFUNC versions.
24339         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
24340         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
24341         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
24342         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
24343         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
24344         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
24345         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
24346         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
24347         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
24348         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
24349         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
24350         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
24351         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
24352         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
24353         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24354         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24355         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24356         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24357         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24358         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24359         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24360         * math/test-float-vlen16.h: Fixed 2 argument macro.
24361         * math/test-float-vlen4.h: Likewise.
24362         * math/test-float-vlen8.h: Likewise.
24363         * NEWS: Mention addition of x86_64 vector powf.
24365 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
24367         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24368         and redefine.
24369         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24370         and redefine.
24371         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
24372         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24373         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24375         [BZ #18553]
24376         * resource/getpriority.c (getpriority): Rename to __getpriority
24377         and define as weak alias of __getpriority.
24378         * resource/setpriority.c (setpriority): Rename to __setpriority
24379         and define as weak alias of __setpriority.
24380         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
24381         __getpriority and define as weak alias of __getpriority.
24382         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
24383         __setpriority and define as weak alias of __setpriority.
24384         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
24385         strong name.
24386         (setpriority): Use __setpriority as strong name.
24387         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
24388         __getpriority and define as weak alias of __getpriority.
24389         * include/sys/resource.h (__getpriority): Declare.  Use
24390         libc_hidden_proto.
24391         (__setpriority): Likewise.
24392         (getpriority): Don't use libc_hidden_proto.
24393         (setpriority): Likewise.
24394         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
24395         getpriority.  Call __setpriority instead of setpriority.
24396         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
24397         Remove variable.
24399         [BZ #18547]
24400         * misc/getttyent.c (getttynam): Rename to __getttynam and define
24401         as weak alias of __getttynam.  Use prototype function definition.
24402         Call __setttyent, __getttyent and __endttyent instead of
24403         setttyent, getttyent and endttyent.
24404         (getttyent): Rename to __getttyent and define as weak alias of
24405         __getttyent.  Call __setttyent instead of setttyent.  Call
24406         __fgets_unlocked instead of fgets_unlocked.
24407         (setttyent): Rename to __setttyent and define as weak alias of
24408         __setttyent.
24409         (endttyent): Rename to __endttyent and define as weak alias of
24410         __endttyent.
24411         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
24412         (__setttyent): Likewise.
24413         (__endttyent): Likewise.
24414         (getttyent): Don't use libc_hidden_proto.
24415         (setttyent): Likewise.
24416         (endttyent): Likewise.
24417         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
24418         __endttyent instead of setttyent, getttyent and endttyent.
24419         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
24420         Remove variable.
24422         [BZ #18546]
24423         * socket/recv.c (__recv): Use libc_hidden_def.
24424         * socket/socket.c (__socket): Likewise.
24425         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
24426         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
24427         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
24428         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
24429         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
24430         libc_hidden_def.
24431         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
24432         libc_hidden_weak.
24433         * include/sys/socket.h (__socket): Do not use attribute_hidden.
24434         Use libc_hidden_proto.
24435         (__recv): Likewise.
24436         * socket/Versions (libc): Export __recv and __socket at version
24437         GLIBC_PRIVATE.
24438         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
24439         instead of recv.
24440         (init_mq_netlink): Call __socket instead of socket.
24441         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
24442         Remove variable.
24444         [BZ #18545]
24445         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
24446         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
24447         hidden_weak.
24448         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
24449         define as alias of __mq_timedsend.  Use hidden_weak.
24450         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
24451         __mq_timedsend as strong name.
24452         (mq_timedreceive): Use __mq_timedreceive as strong name.
24453         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
24454         (__mq_timedreceive): Likewise.
24455         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
24456         __mq_timedreceive instead of mq_timedreceive.
24457         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
24458         instead of mq_timedsend.
24459         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
24460         Remove variable.
24462         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
24463         hidden_def and hidden_weak instead of libc_hidden_def and
24464         libc_hidden_weak.
24465         (top level): Refer to hidden_def in comment.
24466         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
24467         macro.  Use it instead of libc_hidden_def.
24468         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
24469         specify __GI_* name explicitly.
24470         (mq_timedreceive): Likewise.
24471         (mq_setattr): Likewise.
24473         [BZ #18544]
24474         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
24475         __pthread_barrier_init and define as weak alias of
24476         __pthread_barrier_init.
24477         * sysdeps/sparc/nptl/pthread_barrier_init.c
24478         (pthread_barrier_init): Likewise.
24479         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
24480         __pthread_barrier_wait and define as weak alias of
24481         __pthread_barrier_wait.
24482         * sysdeps/sparc/nptl/pthread_barrier_wait.c
24483         (pthread_barrier_wait): Likewise.
24484         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
24485         (pthread_barrier_wait): Likewise.
24486         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
24487         (pthread_barrier_wait): Likewise.
24488         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
24489         (pthread_barrier_wait): Likewise.
24490         * nptl/Versions (libpthread): Export __pthread_barrier_init and
24491         __pthread_barrier_wait at version GLIBC_PRIVATE.
24492         * include/pthread.h (__pthread_barrier_init): Declare.
24493         (__pthread_barrier_wait): Likewise.
24494         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
24495         Call __pthread_barrier_wait instead of pthread_barrier_wait.
24496         (helper_thread): Likewise.
24497         (init_mq_netlink): Call __pthread_barrier_init instead of
24498         pthread_barrier_init.
24500         [BZ #18542]
24501         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
24502         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
24503         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
24504         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
24505         vswscanf.
24506         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
24507         Remove variable.
24509         [BZ #18540]
24510         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
24511         strong alias of _IO_fflush.  Use libc_hidden_def.
24512         * libio/iofflush_u.c (fflush_unlocked): Rename to
24513         __fflush_unlocked and define as weak alias of __fflush_unlocked.
24514         Use libc_hidden_weak.
24515         * include/stdio.h (__fflush_unlocked): Declare.  Use
24516         libc_hidden_proto.
24517         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
24518         fflush_unlocked.
24519         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
24520         Remove variable.
24522         [BZ #18539]
24523         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
24524         define as weak alias of __addseverity.
24525         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
24526         Remove variable.
24527         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
24528         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
24529         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
24531         [BZ #18536]
24532         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
24533         (__tfind): Likewise.
24534         (__tdelete): Likewise.
24535         (__twalk): Likewise.
24536         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
24537         __twalk to GLIBC_PRIVATE.
24538         * include/search.h (__tsearch): Use libc_hidden_proto.
24539         (__tfind): Likewise.
24540         (__tdelete): Likewise.
24541         (__twalk): Likewise.
24542         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
24543         Call __tdelete instead of tdelete.
24544         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
24545         tfind.  Call __tsearch instead of tsearch.
24546         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
24547         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
24548         Remove variable.
24549         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
24551         [BZ #18534]
24552         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
24553         (dprintf): Define as a weak alias of __dprintf, not a strong
24554         alias.
24555         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
24556         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
24557         dprintf.
24558         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
24559         Remove variable.
24560         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
24561         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
24563         [BZ #18533]
24564         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
24565         not a strong alias.
24566         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
24567         Remove variable.
24569         [BZ #18532]
24570         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
24571         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
24572         (in6addr_loopback): Rename to __in6addr_loopback and define as
24573         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
24574         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
24575         libc_hidden_proto.
24576         (__in6addr_any): Likewise.
24577         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
24578         in6addr_any.
24579         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
24580         variable.
24581         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
24583 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
24585         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
24586         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
24587         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24588         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24589         redirections for pow.
24590         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24591         * sysdeps/x86_64/fpu/Versions: New versions added.
24592         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24593         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24594         build of SSE, AVX2 and AVX512 IFUNC versions.
24595         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
24596         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
24597         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
24598         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
24599         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
24600         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
24601         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
24602         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
24603         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
24604         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
24605         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
24606         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
24607         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
24608         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
24609         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24610         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24611         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24612         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24613         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24614         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24615         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24616         * NEWS: Mention addition of x86_64 vector pow.
24618         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24619         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24620         redirections for expf.
24621         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24622         * sysdeps/x86_64/fpu/Versions: New versions added.
24623         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24624         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24625         build of SSE, AVX2 and AVX512 IFUNC versions.
24626         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
24627         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
24628         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
24629         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
24630         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
24631         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
24632         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
24633         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
24634         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
24635         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
24636         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
24637         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
24638         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
24639         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24640         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24641         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24642         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24643         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24644         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24645         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24646         * NEWS: Mention addition of x86_64 vector expf.
24648         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
24649         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
24650         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24651         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24652         redirections for exp.
24653         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24654         * sysdeps/x86_64/fpu/Versions: New versions added.
24655         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24656         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24657         build of SSE, AVX2 and AVX512 IFUNC versions.
24658         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
24659         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
24660         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
24661         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
24662         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
24663         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
24664         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
24665         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
24666         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
24667         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
24668         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
24669         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
24670         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
24671         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24672         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24673         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24674         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24675         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24676         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24677         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24678         * NEWS: Mention addition of x86_64 vector exp.
24680         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24681         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24682         redirections for logf.
24683         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24684         * sysdeps/x86_64/fpu/Versions: New versions added.
24685         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24686         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24687         build of SSE, AVX2 and AVX512 IFUNC versions.
24688         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
24689         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
24690         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
24691         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
24692         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
24693         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
24694         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
24695         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
24696         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
24697         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
24698         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
24699         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
24700         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
24701         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24702         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24703         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24704         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24705         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24706         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24707         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24708         * NEWS: Mention addition of x86_64 vector logf.
24710         * bits/libm-simd-decl-stubs.h: Added stubs for log.
24711         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
24712         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24713         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24714         redirections for log.
24715         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24716         * sysdeps/x86_64/fpu/Versions: New versions added.
24717         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24718         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24719         build of SSE, AVX2 and AVX512 IFUNC versions.
24720         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
24721         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
24722         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
24723         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
24724         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
24725         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
24726         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
24727         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
24728         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
24729         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
24730         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
24731         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
24732         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
24733         test.
24734         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24735         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24736         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24737         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24738         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24739         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24740         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24741         * NEWS: Mention addition of x86_64 vector log.
24743 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24745         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
24746         cfi_adjust_cfa_offset argument.
24747         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
24748         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
24750         [BZ #18034]
24751         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
24752         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
24753         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
24754         ordering using ldar.
24755         (_dl_tlsdesc_dynamic): Likewise.
24756         (_dl_tlsdesc_return_lazy): Likewise.
24757         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
24758         relaxed atomics instead of volatile and synchronize with release store.
24759         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
24760         volatile.
24761         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24763 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
24765         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24766         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
24767         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24768         * sysdeps/x86_64/fpu/Versions: New versions added.
24769         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24770         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24771         build of SSE, AVX2 and AVX512 IFUNC versions.
24772         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
24773         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
24774         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
24775         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
24776         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
24777         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
24778         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
24779         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
24780         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
24781         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
24782         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
24783         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
24784         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
24785         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24786         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24787         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24788         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24789         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24790         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24791         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24792         * NEWS: Mention addition of x86_64 vector sinf.
24794 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
24796         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
24797         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
24798         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
24799         Remove variable.
24800         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
24801         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
24803 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
24805         [BZ #18530]
24806         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
24807         strong alias of _IO_fputs.  Use libc_hidden_def.
24808         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
24809         and define as weak alias of __fputs_unlocked.  Use
24810         libc_hidden_weak.
24811         * include/stdio.h (__fputs_unlocked): Declare.  Use
24812         libc_hidden_proto.
24813         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
24814         fputs_unlocked.
24816         [BZ #18529]
24817         * resolv/netdb.h [__USE_POSIX]: Change condition to
24818         [__USE_XOPEN2K].
24819         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
24820         not expect.
24821         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
24822         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
24823         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
24824         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
24825         [XPG4 || UNIX98] (AI_ALL): Likewise.
24826         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
24827         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
24828         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
24829         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
24830         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
24831         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
24832         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
24833         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
24834         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
24835         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
24836         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
24837         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
24838         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
24839         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
24840         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
24841         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
24842         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
24843         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
24844         [XPG4 || UNIX98] (gai_strerror): Likewise.
24845         [XPG4 || UNIX98] (getaddrinfo): Likewise.
24846         [XPG4 || UNIX98] (getnameinfo): Likewise.
24848         [BZ #18528]
24849         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
24850         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
24851         __USE_XOPEN2K8].
24852         (getgrent): Likewise.
24853         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
24854         expect.
24855         [XPG3 || POSIX2008] (endgrent): Likewise.
24856         [XPG3] (setgrent): Likewise.
24857         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
24858         variable.
24859         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
24861         [BZ #18527]
24862         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
24863         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
24864         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
24865         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
24866         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
24867         * include/unistd.h (__getlogin_r): Declare.  Use
24868         libc_hidden_proto.
24869         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
24870         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
24871         variable.
24872         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
24873         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
24874         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
24876 2015-06-12  Martin Sebor  <msebor@redhat.com>
24878         [BZ #18512]
24879         * Makerules (check-install-supported): New target.
24880         (install): Add check-install-supported as a dependency.
24881         * manual/install.texi (Installing the C Library): Document
24882         that overriding prefix and exec_prefix is not supported.
24883         Mention DESTDIR.
24884         * INSTALL: Regenerate from the above.
24886 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
24888         [BZ #18519]
24889         * posix/Versions (libc): Export __libc_pread at version
24890         GLIBC_PRIVATE.
24891         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
24892         instead of pread.
24893         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
24894         variable.
24896         [BZ #18522]
24897         * misc/efgcvt_r.c
24898         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
24899         (cvt_symbol): Use weak_alias instead of strong_alias.
24900         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
24901         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
24902         Remove variable.
24903         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
24904         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
24906         [BZ #18520]
24907         * inet/herrno.c (h_errno): Rename to __h_errno.
24908         (__libc_h_errno): Define as alias of __h_errno not h_errno.
24909         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
24910         to __h_errno instead of h_errno.
24911         * nptl/herrno.c (h_errno): Rename to __h_errno.
24912         (__h_errno_location): Refer to __h_errno not h_errno.
24913         * resolv/Versions (h_errno): Rename to __h_errno.
24914         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
24915         Remove variable.
24916         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
24918 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
24920         * configure.ac: More strict check for AVX512 assembler support.
24921         * configure: Regenerated.
24923         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
24924         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
24925         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24926         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
24927         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24928         * sysdeps/x86_64/fpu/Versions: New versions added.
24929         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24930         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24931         Added build of SSE, AVX2 and AVX512 IFUNC versions.
24932         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
24933         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
24934         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
24935         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
24936         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
24937         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
24938         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
24939         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
24940         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
24941         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
24942         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
24943         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
24944         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
24945         test.
24946         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24947         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24948         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24949         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24950         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24951         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24952         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24953         * NEWS: Mention addition of x86_64 vector sin.
24955 2015-06-11  Florian Weimer  <fweimer@redhat.com>
24957         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
24958         comment.
24960 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
24962         [BZ #18479]
24963         * nptl/pt-interp.c: New file.
24964         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
24965         Add pt-interp.
24966         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
24967         $(common-objpfx)runtime-linker.h.
24969 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
24971         * Makeconfig (+interp): Remove unused variable.
24972         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
24973         only.  Depend on $(common-objpfx)runtime-linker.h instead of
24974         $(elf-objpfx)runtime-linker.h.
24975         ($(elf-objpfx)runtime-linker.h): Rename to
24976         $(common-objpfx)runtime-linker.h and move ...
24977         * Makerules [$(build-shared) = yes]: ... here.
24978         * elf/interp.c: Include <runtime-linker.h> instead of
24979         <elf/runtime-linker.h>.
24981 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24983         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
24984         (__gettimeofday_syscall): Remove vsyscall fallback.
24985         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
24986         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
24987         Add syscall fallback function.
24988         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
24989         if vDSO is not present.
24990         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
24991         fallback function.
24992         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
24993         present.
24994         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
24995         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24997 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
24999         [BZ #18497]
25000         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
25001         of wcscmp.
25002         (wcscmp): Define as weak alias of WCSCMP.
25003         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
25004         wcscoll.
25005         (USE_HIDDEN_DEF): Define.
25006         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
25007         __wcscoll.  Don't use libc_hidden_weak.
25008         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
25009         wcscmp.
25010         * sysdeps/i386/i686/multiarch/wcscmp-c.c
25011         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
25012         __GI_wcscmp.
25013         (weak_alias): Undefine and redefine.
25014         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
25015         __wcscmp and define as weak alias of __wcscmp.
25016         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
25017         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
25018         (__wcscoll): Likewise.
25019         (wcscmp): Don't use libc_hidden_proto.
25020         (wcscoll): Likewise.
25021         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
25022         wcscoll.
25023         * posix/regexec.c (check_node_accept_bytes): Likewise.
25024         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
25025         variable.
25026         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
25027         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
25029         [BZ #18507]
25030         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
25031         __fstatvfs and define as weak alias of __fstatvfs.  Use
25032         libc_hidden_weak.
25033         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
25034         and define as weak alias of __statvfs.  Use libc_hidden_weak.
25035         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
25036         Define as alias of __fstatvfs, not fstatvfs.
25037         (fstatvfs64): Likewise.
25038         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
25039         Define as alias of __statvfs, not statvfs.
25040         (statvfs64): Likewise.
25041         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
25042         Remove variable.
25044 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25047         (HAVE_GETCPU_VSYSCALL): Define.
25048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25049         (HAVE_GETCPU_VSYSCALL): Likewise.
25050         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
25051         * sysdeps/unix/sysv/linux/sched_getcpu.c
25052         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
25053         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
25054         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
25055         prototype.
25056         * sysdeps/unix/sysv/linux/x86_64/init-first.c
25057         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
25058         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
25059         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
25060         Define.
25061         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
25062         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25063         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
25064         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25066 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
25068         * sysdeps/x86_64/fpu/Makefile: New file.
25069         * sysdeps/x86_64/fpu/Versions: New file.
25070         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
25071         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
25072         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
25073         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
25074         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
25075         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
25076         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
25077         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
25078         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
25079         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
25080         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
25081         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
25082         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
25083         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25084         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25085         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
25086         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
25087         * sysdeps/x86_64/configure.ac: Options for libmvec build.
25088         * sysdeps/x86_64/configure: Regenerated.
25089         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
25090         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
25091         * manual/install.texi (Configuring and compiling): Document
25092         --disable-mathvec.
25093         * INSTALL: Regenerated.
25094         * NEWS: Mention addition of libmvec and x86_64 vector cos.
25096         * math/Makefile: Added rules for vector tests.
25097         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
25098         declaration under condition.
25099         * math/test-double-vlen2.h: New file.
25100         * math/test-double-vlen4.h: New file.
25101         * math/test-double-vlen8.h: New file.
25102         * math/test-vec-loop.h: Added initialization macro.
25103         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
25104         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
25105         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
25106         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
25107         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
25108         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
25109         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
25110         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
25111         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
25112         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
25113         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
25115         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25116         * sysdeps/x86_64/fpu/Versions: New versions added.
25117         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
25118         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
25119         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
25120         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
25121         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
25122         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
25123         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
25124         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
25125         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
25126         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
25127         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
25128         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
25129         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
25130         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25131         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25132         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25133         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
25134         * NEWS: Mention addition of x86_64 vector cosf.
25136         * math/Makefile: Added CFLAGS for new tests.
25137         * math/test-float-vlen16.h: New file.
25138         * math/test-float-vlen4.h: New file.
25139         * math/test-float-vlen8.h: New file.
25140         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
25141         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
25142         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25143         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
25144         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
25145         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
25146         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
25147         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
25148         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
25149         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
25150         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
25152 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
25154         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
25155         * locale/programs/ld-ctype.c: Likewise.
25157 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
25159         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
25160         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
25161         bit_ZMM16_31_state): New macro.
25162         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25163         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
25165 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
25167         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
25169 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
25171         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
25173 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
25175         [BZ #18498]
25176         * libio/memstream.c (open_memstream): Rename to __open_memstream
25177         and define as weak alias of __open_memstream.
25178         * include/stdio.h (__open_memstream): Declare.  Use
25179         libc_hidden_proto.
25180         (open_memstream): Don't use libc_hidden_proto.
25181         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
25182         open_memstream.
25183         * posix/getopt.c (_getopt_internal_r): Likewise.
25184         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
25185         variable.
25186         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
25187         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25188         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25190         [BZ #18496]
25191         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
25192         instead of wcrtomb.
25194         [BZ #18483]
25195         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
25196         [__USE_XOPEN2K8].  Remove redundant #endif.
25197         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
25198         Remove redundant #if.
25199         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
25200         Remove variable.
25201         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25202         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25204         [BZ #18495]
25205         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
25206         (__iswlower): Likewise.
25207         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
25208         (__iswlower): Likewise.
25209         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
25210         instead of towlower.
25211         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
25212         instead of iswlower.  Call __towupper instead of towupper.
25213         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
25214         instead of iswalnum.
25216 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25218         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
25219         errors to stderr.
25221 2015-06-05  Florian Weimer  <fweimer@redhat.com>
25223         [BZ #15661]
25224         [BZ #17322]
25225         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
25226         Check for overflow properly.  Check for O_APPEND.  Ignore large
25227         file system block sizes.  Add comments about problems.
25228         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
25229         * manual/filesys.texi (Storage Allocation): New node.
25231 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25233         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
25234         cancellable syscalls.
25235         (SYS_ify): Add guard to no redefine it.
25236         (INLINE_SYSCALL): Likewise.
25237         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
25238         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
25239         SYSCALL_CANCEL instead.
25240         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
25241         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
25242         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
25243         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
25244         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
25245         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
25246         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
25247         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
25248         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
25249         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
25250         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
25251         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
25252         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
25253         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
25254         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
25255         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
25256         Likewise.
25257         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
25258         (__libc_pread64): Likewise.
25259         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
25260         (__libc_preadv): Likewise.
25261         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
25262         (__libc_readv64): Likewise.
25263         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
25264         (__libc_pwrite): Likewise.
25265         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
25266         (__libc_pwrite64): Likewise.
25267         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
25268         (__libc_pwritev): Likewise.
25269         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
25270         (__libc_pwritev64): Likewise.
25271         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
25272         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
25273         (sync_file_range): Likewise.
25274         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
25275         Likewise.
25276         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
25277         Likewise.
25278         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
25279         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
25280         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
25281         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
25282         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
25283         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
25284         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
25285         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
25286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
25287         Likewise.
25288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25289         (__libc_read64): Likewise.
25290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
25291         Likewise.
25292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
25293         Likewise.
25294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
25295         Likewise.
25296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
25297         Likewise.
25298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25299         (__libc_pread64): Likewise.
25300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
25301         Likewise.
25302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25303         (__libc_pwrite64): Likewise.
25304         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
25305         (sync_file_range): Likewise.
25306         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
25307         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
25308         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
25309         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
25310         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
25311         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
25312         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
25313         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
25314         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
25315         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25316         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25317         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
25318         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
25319         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
25320         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
25321         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
25322         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
25323         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25324         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
25325         Likewise.
25326         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
25327         Likewise.
25328         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
25329         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
25330         Likewise.
25331         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
25332         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
25333         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
25334         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
25335         Likewise.
25336         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
25337         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
25338         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
25339         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
25340         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
25342 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
25344         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
25345         Include dl-vdso.
25346         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
25347         Use VDSO routines for gettimeofday, clock_gettime if
25348         available.
25349         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
25350         Declare VDSO symbols.
25351         * sysdeps/unix/sysv/linux/arm/sysdep.h:
25352         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
25353         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25354         * sysdeps/unix/sysv/linux/arm/Versions: Add
25355         __vdso_clock_gettime.
25357 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25359         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
25360         be an inline implementation regardless of library is built within.
25361         (open_not_cancel_2): Likewise.
25362         (__read_nocancel): Likewise.
25363         (__write_nocancel): Likewise.
25364         (openat_not_cancel): Likewise.
25365         (openat_not_cancel_3): Likewise.
25366         (openat64_not_cancel): Likewise.
25367         (openat64_not_cancel_3): Likewise.
25368         (__close_nocancel): Likewise.
25369         (pause_not_cancel): Likewise.
25370         (nanosleep_not_cancel): Likewise.
25371         (sigsuspend_not_cancel): Likewise.
25373 2015-06-04  Torvald Riegel  <triegel@redhat.com>
25375         [BZ #14958]
25376         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
25377         wake-up.
25378         (__pthread_rwlock_rdlock_slow): Likewise.
25379         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25380         Likewise.
25381         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
25382         Likewise.
25383         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
25384         * nptl/tst-rwlock16.c: New file.
25385         * nptl/Makefile (tests): Add new test.
25387 2015-06-04  Torvald Riegel  <triegel@redhat.com>
25389         [BZ #18324]
25390         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
25391         missing wake-up of readers.
25392         * nptl/tst-rwlock15.c: New file.
25393         * nptl/Makefile (tests): Add new test.
25395 2015-06-03  Roland McGrath  <roland@hack.frob.com>
25397         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
25398         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
25399         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
25400         and __nacl_supply_interface_rtld.
25401         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
25402         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
25403         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
25404         Add __nacl_supply_interface_rtld.
25405         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
25407 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
25409         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
25410         isfinite.
25411         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25412         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
25414 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
25416         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
25417         __signbit* with standard C99 macros.
25418         * math/e_exp10l.c: Likewise.
25419         * math/e_exp2l.c: Likewise.
25420         * math/e_scalb.c: Likewise.
25421         * math/e_scalbf.c: Likewise.
25422         * math/e_scalbl.c: Likewise.
25423         * math/s_ldexp.c: Likewise.
25424         * math/s_ldexpf.c: Likewise.
25425         * math/s_ldexpl.c: Likewise.
25426         * math/w_atan2.c: Likewise.
25427         * math/w_atan2f.c: Likewise.
25428         * math/w_atan2l.c: Likewise.
25429         * math/w_cosh.c: Likewise.
25430         * math/w_coshf.c: Likewise.
25431         * math/w_coshl.c: Likewise.
25432         * math/w_exp10.c: Likewise.
25433         * math/w_exp10f.c: Likewise.
25434         * math/w_exp10l.c: Likewise.
25435         * math/w_exp2.c: Likewise.
25436         * math/w_exp2f.c: Likewise.
25437         * math/w_exp2l.c: Likewise.
25438         * math/w_fmod.c: Likewise.
25439         * math/w_fmodf.c: Likewise.
25440         * math/w_fmodl.c: Likewise.
25441         * math/w_hypot.c: Likewise.
25442         * math/w_hypotf.c: Likewise.
25443         * math/w_hypotl.c: Likewise.
25444         * math/w_jnl.c: Likewise.
25445         * math/w_lgamma.c: Likewise.
25446         * math/w_lgamma_r.c: Likewise.
25447         * math/w_lgammaf.c: Likewise.
25448         * math/w_lgammaf_r.c: Likewise.
25449         * math/w_lgammal.c: Likewise.
25450         * math/w_lgammal_r.c: Likewise.
25451         * math/w_pow.c: Likewise.
25452         * math/w_powf.c: Likewise.
25453         * math/w_powl.c: Likewise.
25454         * math/w_remainder.c: Likewise.
25455         * math/w_remainderf.c: Likewise.
25456         * math/w_remainderl.c: Likewise.
25457         * math/w_scalb.c: Likewise.
25458         * math/w_scalbf.c: Likewise.
25459         * math/w_scalbl.c: Likewise.
25460         * math/w_scalbln.c: Likewise.
25461         * math/w_scalblnf.c: Likewise.
25462         * math/w_scalblnl.c: Likewise.
25463         * math/w_sinh.c: Likewise.
25464         * math/w_sinhf.c: Likewise.
25465         * math/w_sinhl.c: Likewise.
25466         * math/w_tgamma.c: Likewise.
25467         * math/w_tgammaf.c: Likewise.
25468         * math/w_tgammal.c: Likewise.
25469         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25470         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
25471         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25472         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25473         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25474         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25475         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25476         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25477         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25478         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25479         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25480         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25481         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25482         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25483         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25484         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25485         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25486         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25487         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25488         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25489         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25490         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25491         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25492         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25493         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25494         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25495         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
25496         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25497         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25498         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25499         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
25500         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
25501         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
25502         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
25503         * stdio-common/printf_fp.c: Likewise.
25504         * stdio-common/printf_fphex.c: Likewise.
25505         * stdio-common/printf_size.c: Likewise.
25507 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
25509         [BZ #18470]
25510         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
25511         strnlen.
25512         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
25513         Remove variable.
25514         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
25515         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
25516         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
25517         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
25518         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
25519         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
25520         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
25521         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
25522         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
25523         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
25525         [BZ #18468]
25526         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
25527         weak alias of __wmemchr.  Use libc_hidden_weak.
25528         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
25529         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
25530         instead of wmemchr.
25532 2015-06-02  Roland McGrath  <roland@hack.frob.com>
25534         [BZ #18383]
25535         * elf/tst-tlsalign-extern.c: New file.
25536         * elf/tst-tlsalign-extern-static.c: New file.
25537         * elf/tst-tlsalign-vars.c: New file.
25538         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
25539         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
25540         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
25541         ($(objpfx)tst-tlsalign-extern-static): Likewise.
25542         (test-xfail-tst-tlsalign-extern-static): New variable.
25544 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
25546         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
25547         Use variable name _sc_err instead of err.
25548         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
25549         instead of ret.
25550         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
25551         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
25552         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
25553         (INLINE_SYSCALL): Likewise.
25555         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
25556         * include/string.h (__strnlen): Use libc_hidden_proto.
25557         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
25558         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
25559         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
25560         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
25561         (libc_hidden_def): Undefine and redefine.
25562         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
25563         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
25564         __GI_strnlen.
25565         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
25566         libc_hidden_def.
25567         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
25569         [BZ #18469]
25570         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
25571         weak alias of __towlower.  Use libc_hidden_weak.
25572         (towupper): Rename to __towupper and define as weak alias of
25573         __towupper.  Use libc_hidden_weak.
25574         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
25575         (__towupper): Likewise.
25576         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
25577         __towlower instead of towlower.
25579 2015-06-02  Roland McGrath  <roland@hack.frob.com>
25581         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
25582         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
25584 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25586         * sysdeps/aarch64/libm-test-ulps: Update.
25588 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25590         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
25591         Define.
25592         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25593         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
25594         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
25595         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25596         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
25597         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
25598         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
25600 2015-06-01  Martin Sebor  <msebor@redhat.com>
25602         [BZ #18116]
25603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25604         (__setcontext): Use extended four-operand version of mtsf whenever
25605         possible.
25606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25607         (__novec_swapcontext): Likewise.
25609 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
25611         * benchtests/scripts/compare_bench.py: New file.
25612         * benchtests/scripts/import_bench.py (mean): New function.
25613         (split_list): Likewise.
25614         (do_for_all_timings): Likewise.
25615         (compress_timings): Likewise.
25617         * benchtests/scripts/import_bench.py: New file.
25618         * benchtests/scripts/validate_benchout.py: Import import_bench
25619         instead of jsonschema.
25620         (validate_bench): Remove function.
25621         (main): Use import_bench.
25623 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
25625         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
25626         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
25628 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25630         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25632 2015-05-28  Roland McGrath  <roland@hack.frob.com>
25634         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
25635         set THREAD_SELF->tid to a magic value and futex-wake it.
25636         Pass its address to the thread_exit system call.
25637         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
25638         bit is clear.
25639         * sysdeps/nacl/lowlevellock.h: New file.
25640         * sysdeps/nacl/lll_timedwait_tid.c: New file.
25642         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
25643         Add TIMEOUT to current time, don't subtract it.
25645 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
25647         [BZ #2981]
25648         [BZ #18422]
25649         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
25650         ($(objpfx)tst-audit2.out): Also depend on
25651         $(objpfx)tst-auditmod9b.so.
25652         * elf/tst-audit2.c: Include <dlfcn.h>.
25653         (calloc_called): New.
25654         (calloc): Allow to be called more than once.
25655         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
25657 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
25659         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
25660         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
25662 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
25664         * stdlib/monetary.h: Fix comment.
25666 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
25668         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
25669         Avoid using variables in #defines that might cause shadowing.
25670         (INTERNAL_VSYSCALL_CALL): Likewise.
25672 2015-05-26  Roland McGrath  <roland@hack.frob.com>
25674         * sysdeps/nacl/lll_timedlock_wait.c: New file.
25676         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
25677         * nptl/lll_timedlock_wait.c: ... to this new file.
25678         * nptl/Makefile (libpthread-routines): Add it.
25679         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
25680         * nptl/lll_timedwait_tid.c: ... to this new file.
25681         * nptl/Makefile (libpthread-routines): Add it.
25682         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
25683         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
25684         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
25685         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
25686         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
25687         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
25688         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
25689         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
25690         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
25691         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
25693 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25695         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
25696         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
25697         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
25698         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
25699         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
25700         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25701         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25702         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25703         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25704         * sysdeps/unix/sysv/linux/tile/sysdep.h
25705         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25706         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
25707         using vDSO syscall macro.
25709 2015-05-26  Andriy Rysin  <arysin@gmail.com>
25711         [BZ #17293]
25712         * uk_UA: Fix sorting order for Ukrainian locale
25714 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
25716         * stdlib/monetary.h: Fix comment.
25718 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25720         [BZ #18234]
25721         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
25722         st_mtim and st_ctim members.
25723         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
25724         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
25725         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
25726         (struct stat64): Likewise.
25727         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
25728         (struct stat64): Likewise.
25729         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
25730         (struct stat64): Likewise.
25732 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25734         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
25735         Define and include sysdep-vdso.h.
25736         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
25737         Likewise.
25738         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
25739         Likewise.
25740         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
25741         Define with VDSO_SYMBOL and use PTR_MANGLE.
25742         (__vdso_clock_gettime): Likewise.
25743         (__vdso_clock_getres): Likewise.
25744         (_libc_vdso_platform_setup): Likewise.
25745         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
25746         Likewise.
25747         (_libc_vdso_platform_setup): Likewise.
25748         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
25749         Likewise.
25750         (__vdso_clock_gettime): Likewise.
25751         (__vdso_clock_getres): Likewise.
25752         (__vdso_get_tbfreq): Likewise.
25753         (__vdso_getcpu): Likewise.
25754         (__vdso_time): Likewise.
25755         (__vdso_sigtramp_rt64): Likewise.
25756         (__vdso_signtramp32): Likewise.
25757         (__vdso_sigtramp_rt32): Likewise.
25758         (_libc_vdso_platform_setup): Likewise.
25759         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
25760         Likewise.
25761         (__vdso_clock_gettime): Likewise.
25762         (__vdso_clock_getres): Likewise.
25763         (_libc_vdso_platform_setup): Likewise.
25764         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
25765         Likewise.
25766         (__vdso_clock_gettime): Likewise.
25767         (_libc_vdso_platform_setup): Likewise.
25768         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
25769         Likewise.
25770         (__vdso_getcpu): Likewise.
25771         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
25772         Use VDSO_SYMBOL macro to define.
25773         (__vdso_clock_gettime): Likewise.
25774         (__vdso_clock_getres): Likewise.
25775         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
25776         Likewise.
25777         (__vdso_clock_gettime): Likewise.
25778         (__vdso_clock_getres): Likewise.
25779         (__vdso_get_tbfreq): Likewise.
25780         (__vdso_getcpu): Likewise.
25781         (__vdso_time): Likewise.
25782         (__vdso_sigtramp_rt64): Likewise.
25783         (__vdso_signtramp32): Likewise.
25784         (__vdso_sigtramp_rt32): Likewise.
25785         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
25786         Likewise.
25787         (__vdso_clock_gettime): Likewise.
25788         (__vdso_clock_getres): Likewise.
25789         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
25790         Likewise.
25791         (__vdso_clock_gettime): Likewise.
25792         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
25793         Likewise.
25794         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
25795         macro.
25796         (INTERNAL_VSYSCALL): Likewise.
25797         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
25798         Remove macro.
25799         (INTERNAL_VSYSCALL): Likewise.
25800         (INTERNAL_VSYSCALL_NCS): Likewise.
25801         (INTERNAL_VSYSCALL_CALL): New macro.
25802         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
25803         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
25804         Likewise.
25805         (INTERNAL_VSYSCALL): Likewise.
25806         (INTERNAL_VSYSCALL_NCS): Likewise.
25807         (INTERNAL_VSYSCALL_CALL): New macro.
25808         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
25809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25810         (INLINE_VSYSCALL): Remove macro.
25811         (INTERNAL_VSYSCALL): Remove macro.
25812         (INTERNAL_VSYSCALL_NCS): Remove macro.
25813         (INTERNAL_VSYSCALL_CALL): New macro.
25814         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
25815         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
25816         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
25817         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
25818         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
25819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25820         (INLINE_VSYSCALL): Remove macro.
25821         (INTERNAL_VSYSCALL): Likewise.
25822         (INTERNAL_VSYSCALL_NCS): Likewise.
25823         (INTERNAL_VSYSCALL_CALL): New macro.
25824         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
25825         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
25826         PTR_DEMANGLE on vDSO pointer.
25827         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
25828         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
25829         macro.
25830         (INTERNAL_SYSCALL): Likewise.
25831         (INTERNAL_VSYSCALL_NCS): Remove macro.
25832         (INTERNAL_VSYSCALL_CALL): New macro.
25833         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
25834         Remove macro.
25835         (INTERNAL_VSYSCALL): Likewise.
25836         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
25837         sysdep-vdso.h instead of libc-vdso.h.
25838         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
25839         definition.
25840         (INLINE_VSYSCALL): Likewise.
25841         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
25842         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
25843         definition.
25844         (INLINE_VSYSCALL): Likewise.
25845         (INTERNAL_VSYSCALL): Likewise.
25846         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25847         * sysdeps/unix/sysv/linux/timespec_get.c
25848         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25849         (timespec_get): Use ANSI prototype.
25850         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
25851         and definition for Linux.
25853 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
25855         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
25856         * include/libc-symbols.h: libmvec_hidden_* macro series added.
25858 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
25860         [BZ #2981]
25861         [BZ #18410]
25862         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
25863         for missing DT_PLTRELSZ.
25865 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
25867         Remove obsolete aliases that broke 'locale -a'
25868         [BZ #18412]
25869         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
25870         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
25871         breaking some applications that use 'locale -a' output.
25872         Change the encoding of this file from Latin-1 to ASCII to avoid
25873         other potential problems with people grepping this file.
25875 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25877         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
25878         -fasynchronous-unwind-tables.
25879         (CFLAGS-sendto.c): Likewise.
25880         (CFLAGS-sendmsg.c): Likewise.
25881         (CFLAGS-connect.c): Likewise.
25882         (CFLAGS-recvmsg.c): Likewise.
25883         (CFLAGS-recvfrom.c): Likewise.
25884         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
25885         (SOCKETCALL): New macro: non-cancellable socketcall.
25886         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
25887         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
25888         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
25889         * sysdeps/unix/sysv/linux/accept.c: New file.
25890         * sysdeps/unix/sysv/linux/bind.c: Likewise.
25891         * sysdeps/unix/sysv/linux/connect.c: Likewise.
25892         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
25893         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
25894         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
25895         * sysdeps/unix/sysv/linux/listen.c: Likewise.
25896         * sysdeps/unix/sysv/linux/recv.c: Likewise.
25897         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
25898         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
25899         * sysdeps/unix/sysv/linux/send.c: Likewise.
25900         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
25901         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
25902         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
25903         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
25904         * sysdeps/unix/sysv/linux/socket.c: Likewise.
25905         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
25906         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
25907         prototype.
25908         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
25909         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25910         instead of __internal_xxx function.
25911         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
25912         prototype.
25913         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
25914         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25915         instead of __internal_xxx function.
25916         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
25917         prototype.
25918         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
25919         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25920         instead of __internal_xxx function.
25921         * sysdeps/unix/sysv/linux/accept.S: Remove file.
25922         * sysdeps/unix/sysv/linux/bind.S: Likewise.
25923         * sysdeps/unix/sysv/linux/connect.S: Likewise.
25924         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
25925         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
25926         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
25927         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
25928         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
25929         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
25930         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
25931         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
25932         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25933         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
25934         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
25935         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
25936         * sysdeps/unix/sysv/linux/listen.S: Likewise.
25937         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
25938         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
25939         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
25940         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
25941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
25942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
25943         * sysdeps/unix/sysv/linux/recv.S: Likewise.
25944         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
25945         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
25946         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
25947         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25948         * sysdeps/unix/sysv/linux/send.S: Likewise.
25949         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
25950         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
25951         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
25952         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
25953         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
25954         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
25955         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
25956         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
25957         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
25958         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
25959         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
25960         socketcall is implemented in GLIBC.
25962 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
25964         * soft-fp/fmadf4.c: Include <libc-internal.h>.
25965         (__fma): Ignore uninitialized warnings around packing.
25966         * soft-fp/fmasf4.c: Include <libc-internal.h>.
25967         (__fmaf): Ignore uninitialized warnings around packing.
25968         * soft-fp/fmatf4.c: Include <libc-internal.h>.
25969         (__fmal): Ignore uninitialized warnings around packing.
25971         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
25972         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
25973         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
25974         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
25976         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
25977         switch statement into default case.
25978         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
25980         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
25981         a conditional in forcing "inexact".
25982         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
25983         Likewise.
25985 2015-05-22  Roland McGrath  <roland@hack.frob.com>
25987         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25988         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
25989         for each INTERNAL_SYSCALL use.
25991 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
25993         [BZ #438]
25994         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
25995         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
25996         variable.
25998         [BZ #18444]
25999         * string/basename.c (basename): Rename to __basename and define as
26000         weak alias of __basename.  Use libc_hidden_weak.
26001         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
26002         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
26003         __basename instead of basename.
26004         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
26005         Remove variable.
26006         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
26008 2015-05-18  Florian Weimer  <fweimer@redhat.com>
26010         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
26011         (_IO_JUMPS_FILE_plus): New.
26012         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
26013         _IO_CAST_FIELD_ACCESS.
26014         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
26015         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
26016         * libio/freopen.c (freopen): Likewise.
26017         * libio/freopen64.c (freopen64): Likewise.
26018         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
26019         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
26020         * libio/iofwide.c (_IO_fwide): Likewise.
26021         * libio/memstream.c (open_memstream): Likewise.
26022         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26023         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
26024         * libio/oldiopopen.c (_IO_old_popen): Likewise.
26026 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
26028         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
26029         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
26030         NADJ.
26031         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
26032         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
26033         NADJ.
26034         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
26035         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
26036         NADJ.
26038         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
26039         (p == 4) case.
26041         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
26042         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
26043         Remove variable.
26044         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
26045         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
26046         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
26048 2015-05-21  Florian Weimer  <fweimer@redhat.com>
26050         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
26051         Adjust jump table label generation macros.
26053 2015-05-21  Florian Weimer  <fweimer@redhat.com>
26055         * stdio-common/vfprintf.c (vfprintf): Move local variables
26056         args_malloced, specs, specs_malloced, and the code after
26057         do_positional to the printf_positional function.
26058         (printf_positional): New function.
26060 2015-05-21  Florian Weimer  <fweimer@redhat.com>
26062         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
26063         function.
26064         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
26065         STEP4_TABLE, process_arg): Move macro definitions
26066         out of the vfprintf function.  (Cosmetic change only.)
26068 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
26070         * benchtests/Makefile (stdio-common-bench): Define.
26071         (benchset): Add stdio-common-bench.
26072         * sprintf-inputs: New file.
26073         * sprintf-source.c: New file.
26075 2015-05-21  Andreas Schwab  <schwab@suse.de>
26077         [BZ #13028]
26078         [BZ #17053]
26079         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
26080         of struct __res_state.
26081         * resolv/res_send.c (__libc_res_nsend): Likewise.
26082         (get_nsaddr): New function.
26083         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
26084         statp directly.
26086 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
26088         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
26089         -D_POSIX_C_SOURCE=199506L.
26091         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
26093         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
26094         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
26095         Do not mention otherwise.
26096         [POSIX] (_XOPEN_VERSION): Do not expect.
26097         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
26098         [POSIX] (_POSIX2_C_BIND): Likewise.
26099         [POSIX] (_POSIX2_VERSION): Likewise.
26100         [POSIX] (_XOPEN_XPG2): Likewise.
26101         [POSIX] (_XOPEN_XPG3): Likewise.
26102         [POSIX] (_XOPEN_XPG4): Likewise.
26103         [POSIX] (_XOPEN_UNIX): Likewise.
26104         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
26105         [POSIX] (_POSIX_BARRIERS): Likewise.
26106         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
26107         [POSIX] (_POSIX_CPUTIME): Likewise.
26108         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
26109         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
26110         [POSIX] (_POSIX_SHELL): Likewise.
26111         [POSIX] (_POSIX_SPAWN): Likewise.
26112         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
26113         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
26114         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
26115         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
26116         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
26117         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
26118         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
26119         [POSIX] (_XBS5_LP64_OFF64): Likewise.
26120         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
26121         [POSIX] (_POSIX_TIMEOUTS): Likewise.
26122         [POSIX] (_POSIX2_PBS): Likewise.
26123         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
26124         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
26125         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
26126         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
26127         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
26128         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
26129         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
26130         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
26131         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
26132         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
26133         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
26134         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
26135         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
26136         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
26137         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
26138         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
26139         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
26140         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
26141         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
26142         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
26143         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
26144         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
26145         [POSIX] (_SC_2_C_BIND): Likewise.
26146         [POSIX] (_SC_2_C_VERSION): Likewise.
26147         [POSIX] (_SC_2_PBS): Likewise.
26148         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
26149         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
26150         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
26151         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
26152         [POSIX] (_SC_2_PBS_TRACK): Likewise.
26153         [POSIX] (_SC_ATEXIT_MAX): Likewise.
26154         [POSIX] (_SC_BARRIERS): Likewise.
26155         [POSIX] (_SC_BASE): Likewise.
26156         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
26157         [POSIX] (_SC_DEVICE_IO): Likewise.
26158         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
26159         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
26160         [POSIX] (_SC_FD_MGMT): Likewise.
26161         [POSIX] (_SC_FIFO): Likewise.
26162         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
26163         [POSIX] (_SC_FILE_LOCKING): Likewise.
26164         [POSIX] (_SC_FILE_SYSTEM): Likewise.
26165         [POSIX] (_SC_IOV_MAX): Likewise.
26166         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
26167         [POSIX] (_SC_NETWORKING): Likewise.
26168         [POSIX] (_SC_PAGE_SIZE): Likewise.
26169         [POSIX] (_SC_PASS_MAX): Likewise.
26170         [POSIX] (_SC_PIPE): Likewise.
26171         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
26172         [POSIX] (_SC_REGEXP): Likewise.
26173         [POSIX] (_SC_SHELL): Likewise.
26174         [POSIX] (_SC_SIGNALS): Likewise.
26175         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
26176         [POSIX] (_SC_SPIN_LOCKS): Likewise.
26177         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
26178         [POSIX] (_SC_USER_GROUPS): Likewise.
26179         [POSIX] (_SC_USER_GROUPS_R): Likewise.
26180         [POSIX] (_SC_STREAMS): Likewise.
26181         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
26182         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
26183         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
26184         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
26185         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
26186         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
26187         [POSIX] (_PC_FILESIZEBITS): Likewise.
26188         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
26189         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
26190         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
26191         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
26192         [POSIX] (uid_t): Likewise.
26193         [POSIX] (gid_t): Likewise.
26194         [POSIX] (off_t): Likewise.
26195         [POSIX] (pid_t): Likewise.
26196         [POSIX] (cuserid): Allow.
26197         (_SC_2_CHAR_TERM): Require constant.
26198         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
26199         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
26200         variable.
26202 2015-05-20  Roland McGrath  <roland@hack.frob.com>
26204         * sysdeps/nacl/pthread-pids.h: New file.
26205         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
26206         (create_thread): Use __nacl_get_tid to initialize PD->tid.
26208         * nptl/pthread-pids.h: New file.
26209         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
26210         * nptl/nptl-init.c: Include <pthread-pids.h>.
26211         (__pthread_initialize_minimal_internal):
26212         Call __pthread_initialize_pids instead of set_tid_address syscall.
26214         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
26215         * sysdeps/posix/usleep.c: ... here.
26217 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26219         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
26220         call_pselect6 object.
26221         [$(subdir) = io]: Remove call_sync_file_range object.
26222         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
26223         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
26224         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
26225         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
26227 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
26229         * math/s_cproj.c: Add include "math_private.h".
26230         * math/s_cprojf.c: Likewise.
26231         * math/s_cprojl.c: Likewise.
26233 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
26235         [BZ #18244]
26236         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
26237         high mantissa bit when testing whether P is a NaN.
26238         * math/libm-test.inc (remainder_test_data): Add more tests.
26239         (remquo_test_data): Likewise.
26241         [BZ #18049]
26242         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
26243         below -32, return the argument, with underflow if subnormal.
26244         * math/auto-libm-test-in: Add more tests of atanh.
26245         * math/auto-libm-test-out: Regenerated.
26247 2015-05-19  Roland McGrath  <roland@hack.frob.com>
26249         [BZ #18434]
26250         * nptl/tst-sem15.c: New file.
26251         * nptl/Makefile (tests): Add it.
26252         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
26253         s/<</>>/ to fix typo in EOVERFLOW check.
26254         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
26256 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26258         * manual/strings.texi (envz_remove): Fix typo in safety
26259         annotations.
26261 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
26262             Steve Ellcey  <sellcey@imgtec.com>
26264         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
26265         in order to avoid strict alias warnings.
26266         (iruserok_af): Ditto for ra.
26268 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
26270         [BZ #17581]
26271         * malloc/hooks.c
26272         (magicbyte): Convert to a function and avoid returning 0x01.
26273         (mem2mem_check): Avoid using a length byte equal to the magic byte.
26274         (mem2chunk_check): Fix unsigned comparisons to zero.
26275         Hoist defs of sz and magic.
26277 2015-05-19  Richard Henderson  <rth@redhat.com>
26279         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
26281         * sysdeps/alpha/fpu/libm-test-ulps: Update.
26283 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26285         [BZ #16159]
26286         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
26287         * malloc/arena.c (arena_lock): Check if arena is corrupt.
26288         (reused_arena): Find a non-corrupt arena.
26289         (heap_trim): Pass arena to unlink.
26290         * malloc/hooks.c (malloc_check_get_size): Pass arena to
26291         malloc_printerr.
26292         (top_check): Likewise.
26293         (free_check): Likewise.
26294         (realloc_check): Likewise.
26295         * malloc/malloc.c (malloc_printerr): Add arena argument.
26296         (unlink): Likewise.
26297         (munmap_chunk): Adjust.
26298         (ARENA_CORRUPTION_BIT): New macro.
26299         (arena_is_corrupt): Likewise.
26300         (set_arena_corrupt): Likewise.
26301         (sysmalloc): Use mmap if there are no usable arenas.
26302         (_int_malloc): Likewise.
26303         (__libc_malloc): Don't fail if arena_get returns NULL.
26304         (_mid_memalign): Likewise.
26305         (__libc_calloc): Likewise.
26306         (__libc_realloc): Adjust for additional argument to
26307         malloc_printerr.
26308         (_int_free): Likewise.
26309         (malloc_consolidate): Likewise.
26310         (_int_realloc): Likewise.
26311         (_int_memalign): Don't touch corrupt arenas.
26312         * malloc/tst-malloc-backtrace.c: New test case.
26314         * Makefile (summarize-tests): Fix return value on success.
26316         * manual/string.texi (Envz Functions): Add envz_remove.
26318 2015-05-18  Roland McGrath  <roland@hack.frob.com>
26320         * sysdeps/posix/opendir.c: Include <stdbool.h>.
26321         (invalid_name): New function, broken out of ...
26322         (__opendirat): ... here.  Call it.
26323         (need_isdir_precheck): New function, broken out of ...
26324         (__opendirat): ... here.  Call it.
26325         Use __fxstatat64, not __xstatat64.
26326         (opendir_oflags): New function, broken out of ...
26327         (__opendirat): ... here.  Call it.
26328         (opendir_tail): New function, broken out of ...
26329         (__opendirat): ... here.  Call it.
26330         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
26331         opendir_tail, rather than punting to __opendirat.
26332         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
26334 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26336         * .gitignore: Ignore generated *.pyc.
26338 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
26340         * include/stdio.h: Define __need_wint_t.
26341         * test-skeleton.c: Avoid `for' loop initial declaration.
26342         * nptl/tst-initializers1.c: Use test-skeleton.c.
26344 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26346         [BZ #18418]
26347         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
26349 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
26351         [BZ #16352]
26352         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
26353         (__ieee754_atanh): Force underflow exception for results with
26354         small absolute value.
26355         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
26356         (__ieee754_atanhf): Force underflow exception for results with
26357         small absolute value.
26358         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
26359         (__ieee754_atanh): Force underflow exception for results with
26360         small absolute value.
26361         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
26362         (__ieee754_atanhf): Force underflow exception for results with
26363         small absolute value.
26364         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
26365         (__ieee754_atanhl): Force underflow exception for results with
26366         small absolute value.
26367         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
26368         (__ieee754_atanhl): Force underflow exception for results with
26369         small absolute value.
26370         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
26371         (__ieee754_atanhl): Force underflow exception for results with
26372         small absolute value.
26373         * math/auto-libm-test-in: Do not allow missing underflow
26374         exceptions from atanh.
26375         * math/auto-libm-test-out: Regenerated.
26377         [BZ #18221]
26378         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
26379         2**-28 as threshold for returning x or +/- 1/x.
26380         * math/auto-libm-test-in: Add more tests of tan.
26381         * math/auto-libm-test-out: Regenerated.
26383         [BZ #18220]
26384         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
26385         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
26386         * math/auto-libm-test-in: Add another test of lgamma.
26387         * math/auto-libm-test-out: Regenerated.
26389 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
26391         * stdio-common/printf_fp.c (___printf_fp): Use abs.
26392         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
26393         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
26394         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
26395         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
26396         (ADD2A): Use fabs.  (SUB2A): Use fabs.
26397         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
26398         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
26399         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
26400         (log1): Use fabs.  (my_log2): Use fabs.
26401         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
26402         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
26403         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
26404         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
26405         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
26406         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
26407         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
26408         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
26409         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
26410         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
26411         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
26413 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
26415         [BZ #18217]
26416         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
26417         as threshold for returning 1 - x.
26418         * math/auto-libm-test-in: Add more tests of erfc.
26419         * math/auto-libm-test-out: Regenerated.
26421 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
26423         [BZ #18196]
26424         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
26425         threshold for large arguments.
26426         * math/auto-libm-test-in: Add another test of atan.
26427         * math/auto-libm-test-out: Regenerated.
26429         [BZ #16339]
26430         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
26431         (__log1p): Force underflow exception for results with small
26432         absolute value.
26433         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
26434         (__log1pf): Force underflow exception for results with small
26435         absolute value.
26436         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
26437         (__log1p): Force underflow exception for results with small
26438         absolute value.
26439         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
26440         (__log1pf): Force underflow exception for results with small
26441         absolute value.
26442         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
26443         (__log1pl): Force underflow exception for results with small
26444         absolute value.
26445         * math/auto-libm-test-in: Do not allow missing underflow
26446         exceptions from log1p.
26447         * math/auto-libm-test-out: Regenerated.
26449 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
26450             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26452         [BZ #16704]
26453         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
26455 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
26457         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
26458         (libmvec): New variable.
26459         * configure.ac: Added option for mathvec build.
26460         * configure: Regenerated.
26461         * mathvec/Depend: New file.
26462         * mathvec/Makefile: New file.
26463         * shlib-versions: Added libmvec.
26464         * math/Makefile: Added rule for libm.so installation.
26466         * bits/math-vector.h: New file.
26467         * bits/libm-simd-decl-stubs.h: New header.
26468         * math/Makefile (headers): Added new header
26469         libm-simd-decl-stubs.h.
26470         * math/math.h (__MATHCALL_VEC): New macro.
26472         * math/gen-libm-have-vector-test.sh: Script generates series of macros
26473         for conditions in testing functions.
26474         * math/Makefile: Added call of libm-have-vector-test.sh.
26475         * math/libm-test.inc (HAVE_VECTOR): New macros.
26477         * math/libm-test.inc: START refactored.
26478         * math/test-double.c (TEST_MATHVEC): Add define.
26479         * math/test-float.c: Likewise.
26480         * math/test-idouble.c: Likewise.
26481         * math/test-ifloat.c: Likewise.
26482         * math/test-ildoubl.c: Likewise.
26483         * math/test-ldouble.c: Likewise.
26484         * sysdeps/generic/math-tests-arch.h
26485         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
26486         architecture check.
26488         * math/test-double.c (FUNC_TEST): New macro.
26489         * math/test-float.c: Likewise.
26490         * math/test-idouble.c: Likewise.
26491         * math/test-ifloat.c: Likewise.
26492         * math/test-ildoubl.c: Likewise.
26493         * math/test-ldouble.c: Likewise.
26494         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
26496 2015-05-13  Roland McGrath  <roland@hack.frob.com>
26498         * sysdeps/nacl/fdopendir.c: New file.
26500         * dirent/scandir-tail.c: New file.
26501         * dirent/scandir64-tail.c: New file.
26502         * dirent/Makefile (routines): Add them.
26503         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
26504         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
26505         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
26506         [!SCANDIR] (SCANDIR_TAIL): New macro.
26507         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
26508         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
26509         (SCANDIRAT): Macro removed.
26510         (SCANDIR_TAIL): New macro.
26511         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
26512         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
26513         (SCANDIRAT): Just call __opendirat and __scandir_tail.
26514         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
26515         (READDIR): Macro removed.
26516         (SCANDIR_TAIL): New macro.
26517         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
26518         (SCANDIR_TAIL): New macro.
26520         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
26521         * dirent/scandir-cancel.c: ... to this new file.
26522         * dirent/Makefile (routines): Add it.
26523         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
26524         * sysdeps/unix/sysv/linux/i386/scandir64.c
26525         (SKIP_SCANDIR_CANCEL): Macro removed.
26526         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
26528         * dirent/tst-scandir.c: New file.
26529         * dirent/tst-scandir64.c: New file.
26530         * dirent/Makefile (tests): Add them.
26532 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
26534         [BZ #18409]
26535         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
26537 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26539         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
26540         list.
26542 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
26544         * benchtests/bench-strcoll.c: New benchmark.
26545         * benchtests/Makefile: Generate locales and run benchmark.
26546         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
26547         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
26548         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
26549         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
26550         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
26551         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
26552         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
26553         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
26554         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
26555         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
26556         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
26557         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
26558         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
26559         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
26560         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
26561         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
26562         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
26563         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
26564         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
26565         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
26566         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
26567         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
26568         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
26569         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
26571 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
26573         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
26574         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26576 2015-05-12  Roland McGrath  <roland@hack.frob.com>
26578         * posix/uname-values.h: New file.
26579         * posix/uname.c: Include that instead of <config-name.h>.
26580         * sysdeps/nacl/uname-values.h: New file.
26581         * sysdeps/arm/nacl/uname-values.h: New file.
26583 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
26585         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
26586         splitting into fields.
26588 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
26590         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
26591         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
26592         * locale/localeinfo.h: Add enum collation_encoding_type.
26593         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
26594         * programs/ld-collate.c (collate_output): Add encoding type info.
26595         * string/strcoll_l.c (STRDIFF): New function.
26596         * (STRCOLL): Use STRDIFF to skip over equal prefix.
26597         * wcsmbs/wcscoll_l.c: Define STRDIFF.
26599 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
26601         [BZ #18397]
26602         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
26603         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
26604         <fpu_control.h> instead of <math/fpu_control.c>.
26605         * sysdeps/mips/mips32/fpu/Makefile: New file.
26607 2015-05-11  Andreas Schwab  <schwab@suse.de>
26609         [BZ #18007]
26610         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
26611         nss_endgrent.
26612         (_nss_compat_endgrent): Call nss_endgrent.
26613         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
26614         nss_endpwent.
26615         (_nss_compat_endpwent): Call nss_endpwent.
26616         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
26617         needent, call nss_setspent only if non-zero.
26618         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
26619         (internal_endspent): Don't call nss_endspent.
26620         (_nss_compat_endspent): Call nss_endspent.
26621         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
26622         Remove.  All uses removed.
26623         (internal_setent): Remove parameter stayopen, add parameter
26624         stream.  Use it instead of global variable.
26625         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
26626         (internal_endent, internal_getent): Add parameter stream.  Use it
26627         instead of global variable.
26628         (CONCAT(_nss_files_end,ENTNAME))
26629         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
26630         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
26631         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
26632         uses removed.
26633         (internal_setent, internal_endent): Add parameter stream.  Use it
26634         instead of global variable.
26635         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
26636         stream.
26637         (get_next_alias): Add parameter stream.
26638         (_nss_files_getaliasent_r): Pass global stream.
26639         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
26640         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
26641         (_nss_files_gethostbyname4_r): Pass local stream to
26642         internal_setent, internal_getent and internal_endent.  Remove
26643         locking.
26645 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26647         * tst-strfmon1.c (tests): Update expected currency symbol.
26649 2015-05-08  Roland McGrath  <roland@hack.frob.com>
26651         * sysdeps/nacl/gethostname.c: New file.
26653 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
26655         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
26656         and sinh.
26657         * math/auto-libm-test-out: Regenerated.
26658         * sysdeps/i386/fpu/libm-test-ulps: Update.
26659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26661 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
26663         [BZ #18125]
26664         * stdlib/tst-setcontext3.c: New file.
26665         * stdlib/tst-setcontext3.sh: New file.
26666         * stdlib/Makefile (tests): Add tst-setcontext3.
26667         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
26668         to verify test program created output file.
26669         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
26670         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
26671         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
26672         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
26674 2015-05-06  Roland McGrath  <roland@hack.frob.com>
26676         [BZ #18383]
26677         * elf/tst-tlsalign.c: New file.
26678         * elf/tst-tlsalign-static.c: New file.
26679         * elf/tst-tlsalign-lib.c: New file.
26680         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
26681         (tests-static): Add tst-tlsalign-static.
26682         (modules-names): Add tst-tlsalign-lib.
26683         (test-xfail-tst-tlsalign): New variable.
26684         (test-xfail-tst-tlsalign-static): New variable.
26686         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
26687         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
26689 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
26691         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
26692         csqrt, erfc, sin and sincos.
26693         * math/auto-libm-test-out: Regenerated.
26694         * sysdeps/i386/fpu/libm-test-ulps: Update.
26695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26697 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26699         * sysdeps/aarch64/libm-test-ulps: Update.
26701 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
26703         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
26704         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
26705         * math/auto-libm-test-out: Regenerated.
26706         * sysdeps/i386/fpu/libm-test-ulps: Update.
26707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26709 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
26711         [BZ #18265]
26712         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
26713         (wcsncpy): Likewise.
26715 2015-05-05  Florian Weimer  <fweimer@redhat.com>
26717         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
26718         Assume __ASSUME_FALLOCATE is always true.
26719         * sysdeps/unix/sysv/linux/posix_fallocate64.c
26720         (__posix_fallocate64_l64): Likewise.
26721         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
26722         (posix_fallocate): Likewise.
26723         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
26724         (__posix_fallocate64_l64): Likewise.
26725         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26726         [!__ASSUME_FALLOCATE]: Add comment.
26728 2015-05-05  Florian Weimer  <fweimer@redhat.com>
26730         * sysdeps/unix/sysv/linux/i386/Makefile
26731         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
26732         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
26733         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
26734         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26735         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26736         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
26737         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
26739 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
26741         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
26742         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
26743         tgamma.
26744         * math/auto-libm-test-out: Regenerated.
26745         * sysdeps/i386/fpu/libm-test-ulps: Update.
26746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26748 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
26750         * math/auto-libm-test-in: Add more tests of tgamma.
26751         * math/auto-libm-test-out: Regenerated.
26752         * sysdeps/i386/fpu/libm-test-ulps: Update.
26753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26755         * math/auto-libm-test-in: Add more tests of tanh.
26756         * math/auto-libm-test-out: Regenerated.
26757         * sysdeps/i386/fpu/libm-test-ulps: Update.
26758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26760         * math/auto-libm-test-in: Add more tests of tan.
26761         * math/auto-libm-test-out: Regenerated.
26762         * sysdeps/i386/fpu/libm-test-ulps: Update.
26763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26765         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
26766         * math/auto-libm-test-out: Regenerated.
26767         * sysdeps/i386/fpu/libm-test-ulps: Update.
26768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26770         * math/auto-libm-test-in: Add another test of pow.
26771         * math/auto-libm-test-out: Regenerated.
26772         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26774         * math/auto-libm-test-in: Add more tests of lgamma.
26775         * math/auto-libm-test-out: Regenerated.
26776         * sysdeps/i386/fpu/libm-test-ulps: Update.
26777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26779         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
26780         log1p.
26781         * math/auto-libm-test-out: Regenerated.
26782         * sysdeps/i386/fpu/libm-test-ulps: Update.
26783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26785 2015-05-01  Mark Wielaard  <mjw@redhat.com>
26787         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
26788         Elf64_Chdr structs and ELFCOMPRESS constants.
26790 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
26792         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
26793         expm1.
26794         * math/auto-libm-test-out: Regenerated.
26795         * sysdeps/i386/fpu/libm-test-ulps: Update.
26796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26798         * math/auto-libm-test-in: Add more tests of erf and erfc.
26799         * math/auto-libm-test-out: Regenerated.
26800         * sysdeps/i386/fpu/libm-test-ulps: Update.
26801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26803 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26805         * config.h.in (HAVE_AARCH64_BE): Add.
26807 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
26809         * math/auto-libm-test-in: Add more tests of csqrt.
26810         * math/auto-libm-test-out: Regenerated.
26811         * sysdeps/i386/fpu/libm-test-ulps: Update.
26812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26814         * math/auto-libm-test-in: Add more tests of cosh and sinh.
26815         * math/auto-libm-test-out: Regenerated.
26816         * sysdeps/i386/fpu/libm-test-ulps: Update.
26817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26819         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
26821 2015-04-29  Roland McGrath  <roland@hack.frob.com>
26823         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
26824         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
26826         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
26827         (euidaccess, eaccess): Define as weak aliases.
26829         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
26830         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
26831         but __suseconds_t is often 'long int' so some sources assume that
26832         type is being used (e.g. they use %ld to print tv_usec).
26834 2015-04-29  Florian Weimer  <fweimer@redhat.com>
26836         [BZ #18007]
26837         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
26838         (CVE-2014-8121)
26839         * nss/tst-nss-getpwent.c: New file.
26840         * nss/Makefile (tests): Add new test.
26842 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
26844         [BZ #18346]
26845         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
26846         exponents less than 48 as cases where high part of mantissa needs
26847         examining to determine whether argument is integral.
26848         * math/libm-test.inc (round_test_data): Add more tests.
26850 2015-04-28  Mark Wielaard  <mjw@redhat.com>
26852         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
26854 2015-04-27  David S. Miller  <davem@davemloft.net>
26856         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
26857         __tls_get_addr.
26858         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
26860 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
26862         [BZ#18333]
26863         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
26865 2015-04-27  Florian Weimer  <fweimer@redhat.com>
26867         [BZ#18333]
26868         * time/tzset.c (parse_tzname): Return error on memory allocation
26869         failure.
26870         * test-skeleton.c (struct temp_name_list): Change type of name
26871         member to non-const.
26872         (add_temp_file): Create a copy of the file name.
26873         (delete_temp_files): Deallocate memory.
26874         (create_temp_file): Add comment.
26876 2015-04-24  Florian Weimer  <fweimer@redhat.com>
26878         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
26879         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
26881 2015-04-24  Roland McGrath  <roland@hack.frob.com>
26883         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
26884         * sysdeps/arm/configure: Regenerated.
26886 2015-04-24  Florian Weimer  <fweimer@redhat.com>
26888         [BZ #17715]
26889         * time/tzfile.c (__tzfile_read): Check for large values of
26890         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
26891         * time/tzset.c (__tzstring_len): New function, based on the old
26892         __tzstring function.
26893         (__tzstring): Call __tzstring_len.
26894         (parse_tzname): New helper function extracted from
26895         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
26896         the input string.
26897         (parse_offset): New helper function extracted from
26898         __tzset_parse_tz.  Replace switch with fallthrough with
26899         initialization before sscanf.
26900         (parse_rule): Likewise.
26901         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
26902         new-style function definition.
26903         * timezone/Makefile (tests): Add tst-tzset.
26904         (tst-tzset.out): Dependencies on time zone files.
26905         (tst-tzset-ENV): Set TZDIR.
26906         (testdata/XT%): Copy crafted time zone files.
26907         * timezone/README: Mention crafted time zone files.
26908         * timezone/testdata/XT1, timezone/testdata/XT2,
26909         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
26910         files.
26911         * timezone/tst-tzset.c: New test.
26913 2015-04-24  Florian Weimer  <fweimer@redhat.com>
26915         * Makeconfig (+gccwarn): Remove -Winline.
26917 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
26919         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
26921 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
26923         * NEWS: Mention sysconf() cache information support for s390.
26924         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
26926 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
26928         * math/k_casinh.c (__kernel_casinh): Use __copysign.
26929         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
26930         (__nearbyint): Likewise.
26931         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
26932         (copysignl): Likewise.
26934 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
26936         [BZ #18287]
26937         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
26938         based on padding.  (CVE-2015-1781)
26940 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26942         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
26943         libc-vdso.h.
26944         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
26945         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
26946         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
26947         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
26948         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
26949         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
26950         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
26951         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
26952         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26953         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
26954         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
26955         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26956         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
26957         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
26958         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
26959         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
26960         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
26961         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
26962         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
26963         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
26964         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
26965         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
26966         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
26968 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
26970         * stdlib/setenv.c (__add_to_environ):
26971         Dump core quickly if setenv (..., NULL, ...) is called.
26972         This time, do it the right way, and pacify GCC with a pragma.
26974 2015-04-17  Roland McGrath  <roland@hack.frob.com>
26976         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
26977         IMAP->l_prev cannot be null, and #if out the code for the contrary
26978         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
26979         believe that NS (&_dl_ns[NSID]) could point outside the array.
26981         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
26982         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
26983         before using NSID as an index.
26985 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
26987         [BZ #17825]
26988         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
26989         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
26990         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26992 2015-04-17  Roland McGrath  <roland@hack.frob.com>
26994         Add preliminary port to Google Native Client on ARM.
26995         * abi-tags (.*-.*-nacl.*): New entry.
26996         * sysdeps/arm/nacl: New directory.
26997         * sysdeps/nacl: New directory.
26999 2015-04-16  David S. Miller  <davem@davemloft.net>
27001         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
27002         lowlevellock-futex.h
27004 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
27006         * sysdeps/tile/configure.ac: New file.
27007         * sysdeps/tile/configure: Regenerated.
27009 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27011         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
27012         conditionals for weak_alias and libc_hidden_weak.
27013         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
27014         libc_hidden_weak and weak_alias.
27015         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
27016         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
27017         and weak_alias for static one.
27019 2015-04-15  David S. Miller  <davem@davemloft.net>
27021         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
27023 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27025         [BZ #18206]
27026         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
27027           Use signed comparision instead of substraction to avoid
27028           overflow bug.
27029         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
27030           Take the sign of ret.
27031         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
27032           Do not expect precise return values. Only the sign matters.
27033         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
27034         * wcsmbs/test-wcsncmp.c: New File.
27035         * string/test-strncmp.c: Add wcsncmp support.
27037 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27039         [BZ #6792]
27040         * math/w_log1p.c: New file.
27041         * math/w_log1pf.c: Likewise.
27042         * math/w_log1pl.c: Likewise.
27043         * math/Makefile (libm-calls): Add w_log1p.
27044         * math/s_log1pl.c (log1pl): Remove weak_alias.
27045         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
27046         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
27047         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
27048         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
27049         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
27050         [NO_LONG_DOUBLE] (log1pl): Likewise.
27051         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
27052         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
27053         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
27054         (log1p): Remove long_double_symbol.
27055         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
27056         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
27057         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
27058         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
27059         remove weak_alias for corresponding log1p function.
27060         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
27061         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
27062         * sysdeps/ia64/fpu/w_log1p.c: New file.
27063         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
27064         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
27065         * math/libm-test.inc (log1p_test_data): Add errno expectations.
27067 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
27069         [BZ #18247]
27070         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
27071         decimal exponent by 1.
27072         * stdlib/tst-strtod-round-data: Add more tests.
27073         * stdlib/tst-strtod-round.c (tests): Regenerated.
27075 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
27077         * math/auto-libm-test-in: Add more tests of clog and clog10.
27078         * math/auto-libm-test-out: Regenerated.
27079         * sysdeps/i386/fpu/libm-test-ulps: Update.
27080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27082 2015-04-09  Roland McGrath  <roland@hack.frob.com>
27084         * Makeconfig (module-cppflags): Exclude all .v.i files.
27085         (skip-module-cppflags): Variable removed.
27087         * configure.ac (libc_config_ok): Initialize before reading
27088         preconfigure scripts, not after.
27089         * configure: Regenerated.
27091         * test-skeleton.c (TIMEOUT): Move #define to top level.
27092         (main): Grok environment variable TEST_DIRECT.  If set, print
27093         test expectation details into that file and then behave as if
27094         given --direct.
27096 2015-04-09  Florian Weimer  <fweimer@redhat.com>
27098         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
27099         warning on 32-bit.
27101 2015-04-08  David S. Miller  <davem@davemloft.net>
27103         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27105 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
27107         * math/auto-libm-test-in: Add more tests of atanh.
27108         * math/auto-libm-test-out: Regenerated.
27109         * sysdeps/i386/fpu/libm-test-ulps: Update.
27110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27112         * math/auto-libm-test-in: Add more tests of atan.
27113         * math/auto-libm-test-out: Regenerated.
27114         * sysdeps/i386/fpu/libm-test-ulps: Update.
27115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27117 2015-04-08  Florian Weimer  <fweimer@redhat.com>
27119         * elf/pldd.c (main): Rewrite to use struct
27120         scratch_buffer instead of extend_alloca.
27121         * elf/pldd-xx.c (find_maps): Likewise.
27122         * grp/initgroups.c: Include <scratch_buffer.h> instead of
27123         <alloca.h>.
27124         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
27125         scratch_buffer instead of extend_alloca.
27126         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
27127         grp/compat-initgroups.c.
27128         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
27129         Rewrite to use struct scratch_buffer instead of extend_alloca.
27130         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
27131         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27133 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
27135         * math/auto-libm-test-in: Add more tests of cbrt.
27136         * math/auto-libm-test-out: Regenerated.
27137         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27139         * math/auto-libm-test-in: Add more tests of cabs.
27140         * math/auto-libm-test-out: Regenerated.
27141         * sysdeps/i386/fpu/libm-test-ulps: Update.
27142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27144         [BZ #18210]
27145         [BZ #18211]
27146         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
27147         (__ieee754_atan2): Set FE_TONEAREST mode for internal
27148         computations.
27149         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
27150         clog10.
27151         * math/auto-libm-test-out: Regenerated.
27152         * sysdeps/i386/fpu/libm-test-ulps: Update.
27153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27155         [BZ #18197]
27156         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
27157         (atan): Set FE_TONEAREST mode for internal computations.
27158         * math/auto-libm-test-in: Add more tests of atan.
27159         * math/auto-libm-test-out: Regenerated.
27161 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
27163         [BZ #17930]
27164         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
27166 2015-04-07  Florian Weimer  <fweimer@redhat.com>
27168         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
27170 2015-04-07  Florian Weimer  <fweimer@redhat.com>
27172         * include/scratch_buffer.h: New file.
27173         * malloc/scratch_buffer_grow.c: Likewise.
27174         * malloc/scratch_buffer_grow_preserve.c: Likewise.
27175         * malloc/scratch_buffer_set_array_size.c: Likewise.
27176         * malloc/tst-scratch_buffer.c: Likewise.
27177         * malloc/Makefile (routines): Add scratch_buffer_grow.
27178         (tests): Add test case.
27179         * malloc/Versions (GLIBC_PRIVATE): Export
27180         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
27181         __libc_scratch_buffer_set_array_size.
27183 2015-04-06  Richard Henderson  <rth@redhat.com>
27185         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
27186         * sysdeps/alpha/fpu/libm-test-ulps: Update.
27188         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
27189         unsigned int before printing.
27191 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27193         [BZ #17596]
27194         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
27195         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27197 2015-04-02  Florian Weimer  <fweimer@redhat.com>
27199         * include/libc-internal.h (libc_max_align_t): Define.
27201 2015-04-02  Andreas Schwab  <schwab@suse.de>
27203         [BZ #16850]
27204         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
27206 2015-04-02  Mel Gorman  <mgorman@suse.de>
27208         [BZ #17195]
27209         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
27210         as well as the main arena.
27212 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
27214         [BZ #18185]
27215         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
27216         sharing L2 cache to 2 for Silvermont/Knights Landing.
27218 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
27220         [BZ #17711]
27221         * config.make.in (have-protected-data): New.
27222         * configure.ac: Check linker support for protected data symbol.
27223         * configure: Regenerated.
27224         * elf/Makefile (modules-names): Add tst-protected1moda and
27225         tst-protected1modb if $(have-protected-data) is yes.
27226         (tests): Add tst-protected1a and tst-protected1b if
27227         $(have-protected-data) is yes.
27228         ($(objpfx)tst-protected1a): New.
27229         ($(objpfx)tst-protected1b): Likewise.
27230         (tst-protected1modb.so-no-z-defs): Likewise.
27231         * elf/tst-protected1a.c: New file.
27232         * elf/tst-protected1b.c: Likewise.
27233         * elf/tst-protected1mod.h: Likewise.
27234         * elf/tst-protected1moda.c: Likewise.
27235         * elf/tst-protected1modb.c: Likewise.
27237 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
27239         [BZ #17711]
27240         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
27241         indicates it is called from do_lookup_x on relocation against
27242         protected data, skip the data definion in the executable from
27243         copy reloc.
27244         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
27245         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
27246         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
27247         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
27248         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
27249         otherwise to 0.
27250         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
27251         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
27252         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
27253         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
27254         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
27255         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
27257 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
27259         * sysdeps/nptl/pthread.h: Remove duplicate definition of
27260         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
27262 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
27264         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
27265         THREAD_SETMEM_NC.
27266         * sysdeps/x86_64/nptl/tls.h: Ditto.
27268 2015-03-27  Roland McGrath  <roland@hack.frob.com>
27270         * dlfcn/tststatic.c (main): Converted to ...
27271         (do_test): ... this.
27272         (TEST_FUNCTION): New macro.
27273         Include test-skeleton.c.
27275 2015-03-26  Alan Modra  <amodra@gmail.com>
27277         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
27278         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
27279         zero for undefined weak.
27280         (elf_machine_plt_conflict): Similarly.
27282 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
27284         * math/auto-libm-test-in: Add more tests of acosh, asinh and
27285         atanh.
27286         * math/auto-libm-test-out: Regenerated.
27287         * sysdeps/i386/fpu/libm-test-ulps: Update.
27288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27290         * math/auto-libm-test-in: Add another test of asin.
27291         * math/auto-libm-test-out: Regenerated.
27292         * sysdeps/i386/fpu/libm-test-ulps: Update.
27293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27295         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
27296         Remove macro.
27297         (LLL_EBX_REG): Likewise.
27298         (LLL_ENTER_KERNEL): Likewise.
27300         * math/auto-libm-test-in: Add more tests of asin.
27301         * math/auto-libm-test-out: Regenerated.
27302         * sysdeps/i386/fpu/libm-test-ulps: Update.
27303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27305         [BZ #18138]
27306         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
27307         libc_do_syscall_args): New structure.
27308         (INTERNAL_SYSCALL_MAIN_0): New macro.
27309         (INTERNAL_SYSCALL_MAIN_1): Likewise.
27310         (INTERNAL_SYSCALL_MAIN_2): Likewise.
27311         (INTERNAL_SYSCALL_MAIN_3): Likewise.
27312         (INTERNAL_SYSCALL_MAIN_4): Likewise.
27313         (INTERNAL_SYSCALL_MAIN_5): Likewise.
27314         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
27315         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
27316         Replace conditional definitions by conditional definitions of ....
27317         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
27318         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
27319         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
27320         (libpthread-sysdep_routines): Add libc-do-syscall.
27321         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
27322         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
27323         to __NR_futex not 240.
27325 2015-03-25  Alan Modra  <amodra@gmail.com>
27327         * NEWS: Advertise TLS optimization.
27328         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
27329         (DT_PPC_NUM): Increment.
27330         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
27331         (CHECK_STATIC_TLS): Use here.
27332         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
27333         TLS descriptors.
27334         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27335         * sysdeps/powerpc/dl-tls.c: New file.
27336         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
27337         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
27338         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
27339         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
27340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
27341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
27342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
27344 2015-03-25  Alan Modra  <amodra@gmail.com>
27346         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
27347         for overlapping .opd entries" to "support...".
27348         * sysdeps/powerpc/powerpc64/configure: Regenerate
27350 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
27352         * math/auto-libm-test-in: Add more tests of acos.
27353         * math/auto-libm-test-out: Regenerated.
27354         * sysdeps/i386/fpu/libm-test-ulps: Update.
27355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27357         * math/auto-libm-test-in: Add more tests of expm1.
27358         * math/auto-libm-test-out: Regenerated.
27359         * sysdeps/i386/fpu/libm-test-ulps: Update.
27360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27362 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
27364         * math/auto-libm-test-in: Add more tests of cosh and sinh.
27365         * math/auto-libm-test-out: Regenerated.
27366         * sysdeps/i386/fpu/libm-test-ulps: Update.
27367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27369         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27372         * math/auto-libm-test-in: Add more tests of log2.
27373         * math/auto-libm-test-out: Regenerated.
27374         * sysdeps/i386/fpu/libm-test-ulps: Update.
27375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27377 2015-03-23  Roland McGrath  <roland@hack.frob.com>
27379         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
27380         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
27381         _IO_IS_APPENDING bit in READ_WRITE instead.
27383 2015-03-23  Florian Weimer  <fweimer@redhat.com>
27385         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
27386         (__determine_cpumask_size): Replace extend_alloca with a
27387         variable-length array.  Do not treat res == 0 as an error.
27389 2015-03-23  Florian Weimer  <fweimer@redhat.com>
27391         [BZ #18100]
27392         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
27393         and integer overflow.
27394         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
27395         (main): Add integer overflow tests.
27396         * manual/pattern.texi (Calling Wordexp): Document additional use
27397         for WRDE_SYNTAX.
27399 2015-03-23  Alan Modra  <amodra@gmail.com>
27401         * config.h.in: Remove HAVE_ASM_PPC_REL16.
27402         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
27403         and false branch of conditional.
27404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
27405         Likewise.
27407 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
27409         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
27410         libc-modules.h
27411         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
27412         unused declaration of _hurd_intr_rpc_msg_in_trap.
27413         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
27414         defined instead of whether it is non-zero.
27415         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
27416         input constraint instead of both input and output constraint.  Use ecx
27417         clobber instead of %ecx.
27418         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
27419         mutex_unlock): Use a statement expression instead of an expression list.
27420         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
27421         type to vm_size_t instead of vm_address_t.
27422         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
27423         defined instead of whether it is non-zero.
27424         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
27425         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
27426         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
27427         comparisons with mapaddr.
27428         * nscd/nscd-client.h: Include <time.h>.
27429         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
27430         9th parameter to __vm_region instead of int.
27431         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
27432         * scripts/check-local-headers.sh (exclude): Add device/,
27433         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
27434         cthreads.h.
27436 2015-03-19  Roland McGrath  <roland@hack.frob.com>
27438         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
27439         to account for alignment padding.
27440         * sysdeps/arm/memmove.S: Likewise.
27442 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
27444         * sysdeps/unix/sysv/linux/generic/README: New file.
27446 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
27448         [BZ #18138]
27449         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
27450         (futex_abstimed_wait)
27451         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
27452         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
27453         of lll_futex_timed_wait.
27455 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
27457         [BZ #17542]
27458         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
27460 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
27462         [BZ #17090]
27463         [BZ #17620]
27464         [BZ #17621]
27465         [BZ #17628]
27466         * NEWS: Update.
27467         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
27468         entries with Static TLS too.  Skip entries past the end of the
27469         allocated DTV, from Alan Modra.
27470         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
27471         Static TLS DTV entry set up from...
27472         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
27473         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
27474         * nptl/allocatestack.c (init_one_static_tls): ... and here...
27475         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
27476         for Static TLS.
27477         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
27478         that the slot we find is associated with the given map before
27479         using its generation count.
27480         * nptl_db/db_info.c: Include ldsodefs.h.
27481         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
27482         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
27483         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
27484         (link_map::l_tls_offset): New struct field.
27485         (dtv_t::counter): Likewise.
27486         (rtld_global): New struct.
27487         (_rtld_global): New rtld variable.
27488         (dl_tls_dtv_slotinfo_list): New rtld global field.
27489         (dtv_slotinfo_list): New struct.
27490         (dtv_slotinfo): Likewise.
27491         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
27492         (td_lookup): Rename to...
27493         (td_mod_lookup): ... this.  Use new mod parameter instead of
27494         LIBPTHREAD_SO.
27495         * nptl_db/td_thr_tlsbase.c: Include link.h.
27496         (dtv_slotinfo_list, dtv_slotinfo): New functions.
27497         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
27498         addresses even if the DTV is out of date or missing them.
27499         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
27500         index zero-length arrays.
27501         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
27502         (td_lookup): Make it a macro implemented in terms of...
27503         (td_mod_lookup): ... this declaration.
27504         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
27505         (DB_MAIN_VARIABLE): Likewise.
27507 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27509         [BZ #18134]
27510         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
27512 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
27514         * stdlib/setenv.c (__add_to_environ): Revert previous change.
27516 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
27518         [BZ #18128]
27519         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
27520         (atomic_add, atomic_increment_and_test)
27521         (atomic_decrement_and_test): Fix 64-bit arithmetic.
27523 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
27525         * stdlib/setenv.c (__add_to_environ):
27526         Dump core quickly if setenv (..., NULL, ...) is called.
27528 2015-03-13  Roland McGrath  <roland@hack.frob.com>
27530         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
27531         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
27532         all the necessary asm magic in one place.
27533         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
27534         using those.
27536 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
27538         [BZ #14906]
27539         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
27540         traced file mtime. Use consistent log message.
27541         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
27542         (register_traced_file): Call install_watches. Always set mtime.
27543         (invalidate_cache): Iterate over all trace files. Call install_watches.
27544         (inotify_check_files): Don't inline. Handle watching parent
27545         directories and configuration file movement in and out.
27546         (handle_inotify_events): New function.
27547         (main_loop_poll): Call handle_inotify_events.
27548         (main_loop_epoll): Likewise.
27549         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
27550         (struct traced_file): Use array of inotify fds. Add parent directory,
27551         and basename.
27552         (struct database_dyn): Remove unused file_mtime.
27553         (init_traced_file): New inline function.
27554         (define_traced_file): New macro.
27555         * nss/nss_db/db-init.c: Use define_traced_file.
27556         (_nss_db_init): Use init_traced_file.
27557         * nss/nss_files/files-init.c: Use define_traced_file.
27558         (_nss_files_init): Use init_traced_file.
27560 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
27562         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
27563         [_LIBC]: Do not include <stdlib.h>.
27564         [!_LIBC] (abort): Remove declaration.
27565         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
27566         _FP_STATIC_ASSERT instead of conditionally calling abort.
27567         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
27568         (_FP_EXTEND_CNAN): Likewise.
27569         (FP_TRUNC): Likewise.
27570         (__FP_CLZ): Likewise.
27571         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
27573 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
27575         * manual/string.texi (XPG basename): Fix prototype.
27577 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27579         [BZ #18080]
27580         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
27581         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
27582         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
27583         (__setcontext): Likewise.
27584         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
27585         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
27586         Call rt_sigprocmask syscall one time to set new signal mask
27587         and retrieve the current signal mask instead of two calls.
27588         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
27589         (__swapcontext): Likewise.
27590         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
27591         * stdlib/tst-setcontext2.c: New file.
27593 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27595         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27597 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
27599         [BZ #18093]
27600         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
27601         the wrong size.
27603 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
27605         [BZ #18043]
27606         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
27608 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27610         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
27611         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
27612         Remove define.
27613         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
27614         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
27615         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
27616         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
27617         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
27618         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
27619         define.
27620         * nptl_db/td_symbol_list.c (td_lookup): Remove
27621         HAVE_ASM_GLOBAL_DOT_NAME code.
27622         * sysdeps/powerpc/powerpc64/configure.ac: Remove
27623         HAVE_ASM_GLOBAL_DOT_NAME check.
27624         * sysdeps/powerpc/powerpc64/configure: Regenerate.
27625         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
27626         (DOT_LABEL): Remove define.
27627         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
27628         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
27629         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
27630         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
27631         (__TLS_GET_ADDR): Likewise.
27632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
27633         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
27635 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
27637         [BZ #18111]
27638         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
27639         (_FPU_SETCW): Initialize cw from fpsr before storing.
27640         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
27641         (fesetexceptflag): Rewrite using fpu_control.h.
27642         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
27644 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
27646         [BZ #18110]
27647         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
27648         asms.
27649         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
27651 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
27653         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
27654         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
27655         abort.
27656         (_FP_FMA): Likewise.
27657         (_FP_DIV): Likewise.
27659 2015-03-10  Roland McGrath  <roland@hack.frob.com>
27661         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
27662         with 0 in that case.
27663         * Makefile (summarize-tests): New canned sequence, factored out of
27664         commands for targets tests and xtests.  Display summary lines that
27665         don't start with PASS: or XFAIL: rather than ones that do start with
27666         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
27667         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
27668         do start with ERROR: or FAIL:.
27669         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
27670         (except for [$(build-shared) = yes]).
27671         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
27672         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
27673         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
27674         * nptl/Makefile: Revert 2015-03-04 changes.
27675         [$(CXX) empty] (tests-unsupported): New variable.
27676         * debug/Makefile: Likewise.
27678         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
27679         gnulib file.  Replace __attribute with __attribute__ throughout.
27681 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
27683         * sysdeps/hppa/fpu/libm-test-ulps: Update.
27685 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
27687         [BZ #18104]
27688         * math/auto-libm-test-in: Add another test of pow.
27689         * math/auto-libm-test-out: Regenerated.
27691 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27693         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
27694         $(config-cflags-nofma).
27696 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
27698         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
27699         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
27700         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
27701         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
27702         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
27703         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
27704         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
27705         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
27706         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
27707         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
27708         Add comment on closing #endif.
27710 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
27712         * posix/wordexp.c (CHAR_IN_SET): New macro.
27713         (parse_param): Use it.
27715 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27717         * sysdeps/powerpc/fpu/libm-test-ulps: update.
27719 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
27721         [BZ #18043]
27722         * posix/wordexp.c (parse_param): Fix buffer overflow.
27723         * posix/wordexp-test.c (test_case): Add test case.
27725 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
27727         [BZ #18042]
27728         * posix/wordexp.c (parse_backtick): Fix off-by-one.
27729         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
27731 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
27733         [BZ #18043]
27734         * posix/wordexp-test.c (test_case): Add test for BZ #18043
27735         (do_bz18043): Delete.
27736         (at_page_end): New.
27737         (testit): Refactor to have words at the edge of unreadable page.
27739 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27741         [BZ #16734]
27742         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
27743         Cleanup read-only streams as well.
27744         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
27746 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27748         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
27749         <bits/libc-lockP.h>
27751 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
27753         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
27754         on [__KERNEL__].
27755         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
27756         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
27757         * soft-fp/op-common.h (_FP_DECL): Likewise.
27759 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
27761         * elf/ifuncdep2.c (global): Replace
27762         __attribute__((visibility("protected"))) with
27763         asm (".protected global").
27764         * elf/ifuncmod1.c (global): Likewise.
27765         * elf/ifuncmod5.c (global): Likewise.
27767 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
27769         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
27770         <asm/sfp-machine.h> instead of <sfp-machine.h>.
27772 2015-03-06  Roland McGrath  <roland@hack.frob.com>
27774         * manual/install.texi (Configuring and compiling):
27775         Document test-wrapper-env-only.
27776         * INSTALL: Regenerated.
27778 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27780         [BZ #18043]
27781         * posix/wordexp.c (parse_param): Fix buffer overflow.
27782         * posix/wordexp-test.c (do_bz18043): Add test case.
27784 2015-03-06  Vincent Bernat  <vincent@bernat.im>
27786         * time/tst-strptime2.c (do_test): Ensure failing tests are
27787         reported correctly.
27788         * time/tst-strptime3.c (do_test): Likewise.
27790 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
27792         Fix aio_error thread-safety.
27793         * sysdeps/pthread/aio_error.c: New file
27794         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
27795         synchronization.
27797 2015-03-06  Florian Weimer  <fweimer@redhat.com>
27799         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
27800         (group_number, vfprintf): Use it.
27801         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
27802         (JUMP, REF): Use it.
27803         (WORK_BUFFER_SIZE): New enum constant.
27804         (process_arg, vfprintf): Use it.
27806 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
27808         * manual/errno.texi (Error Messages): Complete example function
27809         by adding missing #define.
27810         (program_invocation_name): Add statement indicating GNU
27811         extension and reference which header file declares the variable.
27812         (program_invocation_short_name): Likewise.
27814 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
27816         * manual/errno.texi (Error Messages): Delete strerror ISO C89
27817         compatibility note.
27819 2015-03-05  Roland McGrath  <roland@hack.frob.com>
27821         * Makeconfig (test-wrapper-env-only): New variable.
27822         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
27823         then use that with $(test-wrapper-env-only) rather than using
27824         $(test-wrapper-env) $(run-program-env) $($*-ENV).
27826 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
27828         [BZ #18082]
27829         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
27830         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
27831         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
27832         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
27833         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
27834         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
27835         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
27836         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
27837         Likewise.
27838         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
27839         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
27840         Likewise.
27841         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
27842         Likewise.
27843         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
27844         Likewise.
27845         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
27846         Likewise.
27847         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
27848         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
27849         Likewise.
27850         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
27851         Likewise.
27852         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
27853         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
27855 2015-03-04  Roland McGrath  <roland@hack.frob.com>
27857         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
27858         (ETH_ALEN): New macro.
27859         (struct ether_addr): Use it for length of ether_addr_octet.
27861         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
27862         (setdb): Don't call __nss_configure_lookup for "rpc".
27863         (do_test): Don't call test_rpc.
27864         (output_rpcent, test_rpc): Functions moved ...
27865         * sunrpc/test-rpcent.c: ... to this new file.
27866         * sunrpc/Makefile (tests): Add it.
27868         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
27869         __xpg_sigpause.
27870         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
27871         * nptl/tst-signal6.c: Likewise.
27872         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
27873         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
27875         * configure.ac (libc_cv_cxx_link_ok): New check.
27876         Reset CXX to empty if it fails to link.
27877         * configure: Regenerated.
27878         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
27879         bug-atexit3-lib only if $(CXX) is nonempty.
27880         * nptl/Makefile (tests): Likewise for tst-cancel24.
27881         (tests, tests-static): Likewise for tst-cancel24-static.
27882         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
27883         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
27884         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
27885         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
27887 2015-03-04  Andreas Schwab  <schwab@suse.de>
27889         [BZ #17631]
27890         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
27891         for non-GCC compilers.
27892         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
27893         Likewise.
27895 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27897         [BZ #17776]
27898         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
27899         integer before bitwise and assembly operations.
27900         (feclearexcept): Likewise.
27901         * math/test-fenvinline.c: New file.
27902         * math/Makefile: Add test-fenvinline test.
27904 2015-03-03  Alan Modra  <amodra@gmail.com>
27906         [BZ #16512]
27907         * scripts/localplt.awk: Strip off symbol version.
27908         * NEWS: Mention bug fix.
27910 2015-03-02  Roland McGrath  <roland@hack.frob.com>
27912         * sysdeps/pthread/timer_routines.c
27913         (timer_free_list, thread_free_list, thread_active_list): Make static.
27915 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
27917         [BZ #17779]
27918         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27919         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27920         Undefine.
27921         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27922         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27923         Likewise.
27924         * sysdeps/unix/sysv/linux/sh/kernel-features.h
27925         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27926         Likewise.
27928 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
27930         [BZ #18036]
27931         * posix/fnmatch_loop.c (END): Detect invalid pattern.
27932         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
27934 2015-03-02  Andreas Schwab  <schwab@suse.de>
27936         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
27937         variable name.
27939 2015-03-02  Florian Weimer  <fweimer@redhat.com>
27941         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
27942         Return error status.
27944 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
27946         [BZ #15969]
27947         * locale/findlocale.c (_nl_find_locale): Introduce const
27948         version of loc_name and drop unsafe type casts.
27950 2015-02-27  Roland McGrath  <roland@hack.frob.com>
27952         * dlfcn/tststatic2.c (main): Converted to ...
27953         (do_test): ... this.
27954         (TEST_FUNCTION): New macro.
27955         Include test-skeleton.c.
27957 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
27959         [BZ #17711]
27960         * elf/Makefile (tests): Add vismain only if PIE is enabled.
27961         (tests-pie): Add vismain.
27962         (CFLAGS-vismain.c): New.
27963         * elf/vismain.c: Add comments for PIE requirement.
27965 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
27967         [BZ #18046]
27968         [BZ #18047]
27969         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
27970         0x1p-56L as threshold for just returning the argument.
27971         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
27972         0x1p-32L as threshold for just returning the argument.
27973         * math/auto-libm-test-in: Add more tests of atanh.
27974         * math/auto-libm-test-out: Regenerated.
27975         * sysdeps/i386/fpu/libm-test-ulps: Update.
27976         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
27978 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
27980         * string/bcopy.c (bcopy): Call memmove for performance.
27982 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
27984         * string/bzero.c (__bzero): Call memset for performance.
27986 2015-02-27  John David Anglin  <dave.anglin@bell.net>
27988         [BZ #18068]
27989         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
27990         to 00100000.
27992 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
27994         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
27996 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
27998         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
27999         (__kernel_standard): Use CSTR macro when setting exc.name.
28000         * sysdeps/ieee754/Makefile [$(subdir) = math]
28001         (CFLAGS-k_standard.c): Remove variable.
28003         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
28004         setting p and q from "else if" to "else".
28005         (qzero): Likewise.
28006         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
28007         (qone): Likewise.
28008         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
28009         (qzerof): Likewise.
28010         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
28011         (qonef): Likewise.
28012         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
28013         (qzero): Likewise.
28014         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
28015         (qone): Likewise.
28017         [BZ #18038]
28018         [BZ #18039]
28019         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
28020         return pi/2 for arguments below 0x1p-113L.
28021         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
28022         return pi/2 for arguments below 0x1p-106L.
28023         * math/auto-libm-test-in: Add more tests of acos.
28024         * math/auto-libm-test-out: Regenerated.
28026         [BZ #16351]
28027         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
28028         (MO): New macro.
28029         (__ieee754_asin): Force underflow exception for results with small
28030         absolute value.
28031         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
28032         (MO): New macro.
28033         (__ieee754_asinf): Force underflow exception for results with
28034         small absolute value.
28035         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
28036         (__ieee754_asin): Force underflow exception for results with small
28037         absolute value.
28038         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
28039         (__ieee754_asinf): Force underflow exception for results with
28040         small absolute value.
28041         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
28042         (__ieee754_asinl): Force underflow exception for results with
28043         small absolute value.
28044         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
28045         (__ieee754_asinl): Force underflow exception for results with
28046         small absolute value.
28047         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
28048         (__ieee754_asinl): Force underflow exception for results with
28049         small absolute value.
28050         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
28051         Include <math.h>.
28052         * math/auto-libm-test-in: Do not mark underflow exceptions as
28053         possibly missing for bug 16351.
28054         * math/auto-libm-test-out: Regenerated.
28056         [BZ #18030]
28057         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
28058         of power of 2 down when low part has opposite sign.
28059         * math/libm-test.inc (logb_test_data): Add more tests.
28061 2015-02-26  Andreas Schwab  <schwab@suse.de>
28063         [BZ #18032]
28064         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
28065         over collating symbol inside a bracket expression.  Minor cleanup.
28066         * posix/tst-fnmatch3.c (do_test): Add test case.
28068 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
28070         [BZ #18029]
28071         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
28072         Adjust exponent of power of 2 down when low part has opposite
28073         sign.
28074         * math/libm-test.inc (ilogb_test_data): Add more tests.
28076 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
28078         [BZ #15969]
28079         * locale/findlocale.c (_nl_find_locale): Fix constness error in
28080         the previous change.
28082         [BZ #15969]
28083         * locale/findlocale.c (_nl_find_locale): Retry archive search
28084         after alias expansion.
28086 2015-02-25  Roland McGrath  <roland@hack.frob.com>
28088         * iconv/tst-iconv3.c (main): Converted to ...
28089         (do_test): ... this.
28090         (TEST_FUNCTION): New macro.
28091         Include test-skeleton.c.
28093         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
28094         (convert): Make function static.
28095         (test_unalign): Likewise.  Add const to argument pointee types.
28096         (main): Replace with static function do_test.
28097         Print "Succeeded." only if RET is zero.
28098         (TEST_FUNCTION): New macro.
28099         Include test-skeleton.c.
28101         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
28102         returns a null pointer.
28104 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28106         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
28107         to __memcpy_ppc only for static builds.
28109 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
28111         [BZ #18020]
28112         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
28113         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
28114         * math/auto-libm-test-in: Add more tests of asinh.
28115         * math/auto-libm-test-out: Regenerated.
28116         * sysdeps/i386/fpu/libm-test-ulps: Update.
28117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28119 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
28121         [BZ #15850]
28122         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
28123         and ip6_mtuinfo definitions here.
28124         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
28125         in this define too.  Update comment.
28127 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
28129         * elf/sprof.c (load_shobj): Tweak error message to match others.
28131 2015-02-24  Kevin Easton  <kevin@guarana.org>
28133         [BZ #16145] (partial fix)
28134         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
28135         to reduce lock contention.
28137 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
28139         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
28140         (struct timex): Update time comment.
28141         (ADJ_SETOFFSET): Define.
28143 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
28145         [BZ #18019]
28146         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28147         2**56 not 2**28 as threshold for log (2x) formula.
28148         * math/auto-libm-test-in: Add more tests of acosh.
28149         * math/auto-libm-test-out: Regenerated.
28150         * sysdeps/i386/fpu/libm-test-ulps: Update.
28151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28153 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
28155         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
28156         parenthesis around the buf assignment.
28157         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
28159 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
28161         [BZ #16783]
28162         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
28163         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
28164         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
28165         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28166         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28167         * math/libm-test.inc (scalb_test_data): Add more tests.
28169 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
28171         [BZ #17916]
28172         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
28173         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
28175 2015-02-24  Eric Rannaud  <e@nanocritical.com>
28177         [BZ #17523]
28178         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
28179         * io/bits/fcntl2.h (open): Use it.
28180         (openat): Likewise.
28181         * io/open.c (__libc_open): Likewise.
28182         * io/open64.c (__libc_open64): Likewise.
28183         * io/open64_2.c (__open64_2): Likewise.
28184         * io/open_2.c (__open_2): Likewise.
28185         * io/openat.c (__openat): Likewise.
28186         * io/openat64.c (__openat64): Likewise.
28187         * io/openat64_2.c (__openat64_2): Likewise.
28188         * io/openat_2.c (__openat_2): Likewise.
28189         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
28190         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
28191         * sysdeps/posix/open64.c (__libc_open64): Likewise.
28192         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
28193         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
28194         (__open_nocancel): Likewise.
28195         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
28196         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
28197         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
28199 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28201         [BZ #14841]
28202         * resolv/gethnamaddr.c (getanswer): Skip logging if
28203         RES_USE_DNSSEC is set.
28204         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
28206 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
28208         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
28210 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
28212         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
28213         201304L, for Unicode 7.
28215 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
28217         [BZ #17836]
28218         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
28219         shared library.  Add gmon-start.os otherwise.
28220         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
28221         $(objpfx)gmon-start.os if builing shared library.
28222         ($(objpfx)g$(static-start-installed-name)): Likewise.
28224 2015-02-23  Andreas Schwab  <schwab@suse.de>
28226         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
28228 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
28230         [BZ #17269]
28231         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
28232         (enlarge_userbuf): Likewise.
28234 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
28236         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
28237         * math/atest-exp.c (TIMEOUT): Adjust to 200.
28238         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
28239         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
28241 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
28243         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
28244         expression inside statement expression.
28246 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
28248         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
28249         <sysdeps/nptl/lowlevellock.h> and remove macros and
28250         functions that are now defined there.
28251         (SYS_futex): Remove.
28252         (lll_compare_and_swap): Remove.
28253         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
28255 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
28257         [BZ #17999]
28258         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
28259         instead of scandirat.
28260         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
28261         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
28262         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
28263         __scandirat.
28264         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
28265         (__scandirat): Declare.  Use libc_hidden_proto.
28266         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
28267         Remove variable.
28268         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
28270 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
28272         [BZ #15319]
28273         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
28274         (MO): New macro.
28275         (__ieee754_atan2): For results with small absolute value, force
28276         underflow exception and remove excess range and precision from
28277         return value.
28278         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
28279         (MO): New macro.
28280         (__ieee754_atan2f): For results with small absolute value, force
28281         underflow exception and remove excess range and precision from
28282         return value.
28283         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
28284         (MO): New macro.
28285         (__atan): For results with small absolute value, force underflow
28286         exception and remove excess range and precision from return value.
28287         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
28288         (MO): New macro.
28289         (__atanf): For results with small absolute value, force underflow
28290         exception and remove excess range and precision from return value.
28291         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
28292         <math.h>.
28293         (__ieee754_atan2): Force underflow exception for results with
28294         small absolute value.
28295         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
28296         <math_private.h>.
28297         (atan): Force underflow exception for results with small absolute
28298         value.
28299         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
28300         (__atanf): Force underflow exception for results with small
28301         absolute value.
28302         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
28303         <math.h>.
28304         (__atanl): Force underflow exception for results with small
28305         absolute value.
28306         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
28307         (__atanl): Force underflow exception for results with small
28308         absolute value.
28309         * sysdeps/x86/fpu/bits/mathinline.h
28310         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
28311         (__ieee754_atan2): Only define inline for long double.
28312         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
28313         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
28314         * math/auto-libm-test-in: Do not mark underflow exceptions as
28315         possibly missing for bug 15319.  Add more tests of atan2.
28316         * math/auto-libm-test-out: Regenerated.
28317         * math/libm-test.inc (casin_test_data): Do not mark underflow
28318         exceptions as possibly missing for bug 15319.
28319         (casinh_test_data): Likewise.
28320         * sysdeps/i386/fpu/libm-test-ulps: Update.
28322 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
28324         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
28325         * sysdeps/mips/bits/endian.h: Fix comments.
28327 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
28329         [BZ #17996]
28330         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
28331         (hdestroy_r): Likewise.
28332         (hsearch_r): Likewise.
28333         (__hcreate_r): Declare and use libc_hidden_proto.
28334         (__hdestroy_r): Likewise.
28335         (__hsearch_r): Likewise.
28336         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
28337         (hcreate): Call __hcreate_r instead of hcreate_r.
28338         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
28339         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
28340         as weak alias of __hcreate_r.
28341         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
28342         __hdestroy_r.
28343         (hsearch_r): Rename to __hsearch_r and define as weak alias of
28344         __hsearch_r.
28345         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
28346         Remove variable.
28347         (test-xfail-XPG4/search.h/linknamespace): Likewise.
28348         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28349         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
28350         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
28352 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28354         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
28355         arena_lock into a single arena_get.
28357 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
28359         * dl-reloc.c: Inlucde libc-internal.h.
28360         (_dl_try_allocate_static_tls): Call ALIGN_UP.
28361         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
28362         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
28363         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
28364         (grow_heap): Likewise.
28365         * malloc/malloc.c: Include libc-internal.h.
28366         (do_check_malloc): Call powerof2.
28367         (sysmalloc): Use pagesize. Call ALIGN_UP.
28368         (systrim): Use pagesize.
28369         (mremap_chunk): Use pagesize. Call ALIGN_UP.
28370         (__libc_valloc): Use pagesize.
28371         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
28373 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
28375         [BZ #17991]
28376         * include/sys/resource.h (__getrlimit64): Declare.  Use
28377         libc_hidden_proto.
28378         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
28379         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
28380         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
28381         getrlimit64.
28382         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
28383         __getrlimit64.
28384         [!getrlimit64] (getrlimit64): Define as weak alias of
28385         __getrlimit64.  Use libc_hidden_weak.
28386         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
28387         using __getrlimit64 not __new_getrlimit64.
28388         (__GI_getrlimit64): Likewise.
28389         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
28390         Likewise.
28391         (__GI_getrlimit64): Likewise.
28392         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
28393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
28394         (getrlimit): Add __getrlimit64 alias.
28395         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
28396         Likewise.
28397         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
28398         Remove variable.
28399         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
28400         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
28402 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
28404         * libio/fileops.c: Add missing sys/mman.h
28405         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
28407 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
28409         * manual/math.texi (Errors in Math Functions): Clarify goals
28410         regarding inexact and underflow exceptions.
28412 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
28414         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
28415         * sysdeps/mips/memset.S: Ditto.
28417 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
28419         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
28421 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
28423         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
28424         (__v1longjmp): Remove versioned symbol.
28425         (__v1siglongjmp): Remove alias and versioned symbol.
28426         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
28427         (__v2siglongjmp): Likewise.
28429 2015-02-16  Torvald Riegel  <triegel@redhat.com>
28431         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
28433 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
28435         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
28437 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
28439         [BZ #17987]
28440         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
28441         zero result does not depend on the sign resulting from
28442         subtraction.
28443         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28444         Likewise.
28445         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
28446         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
28447         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28448         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
28449         * math/libm-test.inc (remquo_test_data): Add more tests.
28451 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
28453         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
28454         Problem reported by J William Piggott.
28456 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
28458         [BZ #17978]
28459         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
28460         products 4 * y and 2 * y where those would overflow.
28461         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28462         Likewise.
28463         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
28464         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
28465         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28466         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
28467         * math/libm-test.inc (remquo_test_data): Add more tests.
28469         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
28471         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
28472         [defined _COMPILING_NEWLIB].
28473         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
28474         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
28476         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
28477         [!defined __mips_isa_rev || __mips_isa_rev < 6].
28479 2015-02-16  Torvald Riegel  <triegel@redhat.com>
28481         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
28482         acquired.
28484 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
28486         [BZ #17792]
28487         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
28488         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
28489         HOST_STACK_END_ADDR): Likewise.
28491 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
28493         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
28494         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
28495         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
28497 2015-02-13  Roland McGrath  <roland@hack.frob.com>
28499         * sysdeps/generic/c++-types.data: New file.
28500         * sysdeps/generic/ld.abilist: New file.
28501         * sysdeps/generic/libBrokenLocale.abilist: New file.
28502         * sysdeps/generic/libanl.abilist: New file.
28503         * sysdeps/generic/libc.abilist: New file.
28504         * sysdeps/generic/libcrypt.abilist: New file.
28505         * sysdeps/generic/libdl.abilist: New file.
28506         * sysdeps/generic/libm.abilist: New file.
28507         * sysdeps/generic/libpthread.abilist: New file.
28508         * sysdeps/generic/libresolv.abilist: New file.
28509         * sysdeps/generic/librt.abilist: New file.
28511 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
28513         [BZ #17569]
28514         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28515         Compute absolute value of x as modified by fmod, not original
28516         value of x.
28517         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
28518         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
28519         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
28520         RUN_TEST_ffI_f1_mod8.
28521         (remquo_test_data): Add more tests.
28523 2015-02-13  Roland McGrath  <roland@hack.frob.com>
28525         * sysdeps/init_array/pt-crti.S: New file.
28527 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
28529         [BZ #17967]
28530         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
28531         __builtin_fmaf instead of relying on contraction of a * b + c.
28533 2015-02-12  J William Piggott  <elseifthen@gmx.com>
28535         [BZ #17969]
28536         * manual/time.texi: correct the zoneinfo path in the TZ Variable
28537         node.
28539 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
28541         [BZ #17964]
28542         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
28543         __builtin_fma instead of relying on contraction of a * b + c.
28545 2015-02-12  Roland McGrath  <roland@hack.frob.com>
28547         * Makeconfig (ASFLAGS): Add -Werror=undef.
28548         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
28549         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
28550         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
28552         * Makeconfig (after-link): New variable.
28553         (+link-pie, +link-pie-tests): Use it.
28554         (+link-static, +link-static-tests): Likewise.
28555         (+link, +link-tests): Likewise.
28556         * Makerules (build-module, build-module-asneeded): Likewise.
28557         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
28558         Likewise.
28559         * elf/Makefile ($(objpfx)ld.so): Likewise.
28561 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
28563         [BZ #17965]
28564         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
28565         both struct timeval and struct timespec.
28567 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
28569         [BZ #16560]
28570         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28571         and redefine.
28572         (__ieee754_exp2l): Do not multiply small fractional parts by
28573         M_LN2l.
28574         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
28575         small argument.
28576         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
28577         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
28578         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
28579         * math/auto-libm-test-in: Add more tests of exp2.
28580         * math/auto-libm-test-out: Regenerated.
28582 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28584         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
28585         unaligned path.
28587 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28589         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
28590         little endian.
28592 2015-02-12  Andreas Schwab  <schwab@suse.de>
28594         [BZ #15790]
28595         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
28596         Filter out elision flags from value returned in kind.
28597         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
28598         * nptl/tst-pthread-mutexattr.c: New file.
28600 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28602         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
28603         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
28604         into gnu-gnu, and update comment to refer to abi-tags.
28606 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
28608         [BZ #15467]
28609         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
28610         (__sincos): Set errno to EDOM for infinite argument.
28611         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
28612         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
28613         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
28614         (__sincosl): Set errno to EDOM for infinite argument.
28615         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
28616         (__sincosl): Set errno to EDOM for infinite argument.
28617         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
28618         (__sincosl): Set errno to EDOM for infinite argument.
28619         * math/libm-test.inc (sincos_test_data): Test errno setting.
28621 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
28623         * string/strxfrm_l.c: Remove #define STRCMP.
28624         * string/strcoll_l.c: Remove #define STRLEN.
28625         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
28626         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
28628 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
28630         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
28631         * sysdeps/mips/mips32/sfp-machine.h: ... here.
28632         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
28633         * sysdeps/mips/mips64/Makefile: ... here.
28634         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
28635         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
28636         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
28637         * sysdeps/mips/mips64/sfp-machine.h: ... here.
28638         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
28639         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
28640         * sysdeps/mips/mips64/n64/Implies: Likewise.
28642 2015-02-10  Roland McGrath  <roland@hack.frob.com>
28644         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
28645         <sys/time.h>, <string.h>, and <errno.h>.
28646         (dest_offset, dest_address, value, zero): Remove unused variables.
28647         (ldouble): Remove typedef.
28648         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
28649         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
28650         1).  Fix code style.
28651         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
28652         (check): Function removed.
28653         (CHECK): New macro.
28654         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
28655         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
28656         Don't call set_sigaction_FP and remove_sigaction_FP here.
28657         (ldouble_test): Just use 'long double' as macro argument, no need for
28658         the 'ldouble' typedef.
28659         (do_test): Set up SIGFPE handler at start, using plain signal rather
28660         than sigaction.  Fix code style.
28662 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
28664         [BZ #17949]
28665         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
28666         jump label.
28668 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
28670         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
28671         * sysdeps/powerpc/powerpc32/configure: Regenerated.
28673         * sysdeps/powerpc/configure.ac: Remove file.
28674         * sysdeps/powerpc/configure: Likewise.
28676         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
28677         [sysdep_routines]: Remove wordcopy-power6 object.
28678         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
28679         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
28680         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
28681         (__memmove_ppc32): Likewise.
28682         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
28683         file.
28684         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
28685         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
28686         Remove preprocessor.
28688         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
28689         [sysdep_routines]: Remove wide chars objects.
28690         [wcsmbs]: New rule for wide char objects.
28692         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28693         Remove wordcopy-power6 obejct.
28694         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
28695         Use local call for wordcopy and memcpy symbols.
28696         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
28697         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
28698         implementation for loader.
28699         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
28701         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28702         Remove wordcopy-power7 object.
28703         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
28704         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
28705         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
28706         (_wordcopy_fwd_dest_aligned): Likewise.
28707         (_wordcopy_bwd_aligned): Likewise.
28708         (_wordcopy_bwd_dest_aligned): Likewise.
28710         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
28711         Rewrite to call __memmove_ppc instead of include default
28712         implementation.
28714         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28715         Remove wide chars objects.
28716         [wcsmbs]: New rule for wide char objects.
28718 2015-02-09  Andreas Schwab  <schwab@suse.de>
28720         [BZ #17912]
28721         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
28722         in terms of __O_DIRECTORY.
28724 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28726         * time/getdate.c: Include <stdbool.h>.
28727         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
28728         call PTR_MANGLE.
28729         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
28730         PTR_DEMANGLE.
28732 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
28734         Add ersatz _Static_assert on older C hosts
28735         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
28736         pre-C11 C platform that is not known to support _Static_assert.
28738 2015-02-07  Richard Braun  <rbraun@sceen.net>
28740         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
28741         sigstate.
28742         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
28744 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28746         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
28747         priority against unexistent AIO_PRIO_DELTA_MAX.
28748         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
28749         instead of int.
28750         * misc/fchflags.c (fchflags): Likewise.
28751         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
28752         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
28753         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
28754         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
28755         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
28756         Declare macros.
28757         [__USE_MISC] (chflags, fchflags): Declare functions.
28758         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
28759         EINVAL when nfds is greater than FD_SETSIZE.
28760         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
28761         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
28762         45.
28763         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
28764         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
28765         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
28766         MACH_RCV_TIMED_OUT.
28767         * hurd/hurd/signal.h (_hurd_self_sigstate,
28768         _hurd_critical_section_lock, _hurd_critical_section_unlock):
28769         Explicit casts from void *.
28770         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
28771         * abi-tags: Rename gnu-gnu os into gnu.
28773         [BZ #4719]
28774         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
28775         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
28776         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
28777         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
28778         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
28779         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
28781         [BZ #17944]
28782         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
28783         duplicates ADDR->sun_path with sockaddr LEN limitation.
28784         * sysdeps/mach/hurd/connect.c: Include <string.h>
28785         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
28786         * sysdeps/mach/hurd/sendmsg.c: Likewise.
28787         * sysdeps/mach/hurd/sendto.c: Likewise.
28788         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
28789         implementing it by hand.
28791 2015-02-06  Roland McGrath  <roland@hack.frob.com>
28793         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
28794         Use sfi_breg on ldr.
28795         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
28796         Likewise.
28798         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
28799         it's defined.
28800         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
28801         Test SIGSETXID only if it's defined.
28803         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
28805         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
28806         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
28808         * nptl/tst-align2.c: Moved ...
28809         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
28810         * nptl/Makefile (tests): Remove tst-align2.
28811         * sysdeps/unix/sysv/linux/Makefile
28812         [$(subdir) = nptl] (tests): Add tst-align-clone.
28813         * nptl/tst-getpid1.c: Moved ...
28814         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
28815         * nptl/tst-getpid2.c: Moved ...
28816         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
28817         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
28818         * sysdeps/unix/sysv/linux/Makefile
28819         [$(subdir) = nptl] (tests): ... here.
28820         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
28821         * sysdeps/unix/sysv/linux/Makefile
28822         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
28824         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
28825         Drop trailing \n from perror argument.  Use return rather than exit.
28827         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
28828         on [SA_SIGINFO].
28829         * nptl/tst-cancel21.c (do_test): Likewise.
28830         * debug/tst-backtrace6.c: Include <signal.h> first thing.
28831         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
28832         [!SA_SIGINFO]: Make it a stub test.
28834         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
28835         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
28837         * posix/tst-getlogin.c: Move to ...
28838         * login/tst-getlogin.c: ... here.
28839         * posix/Makefile (tests): Move tst-getlogin to ...
28840         * login/Makefile (tests): ... here.
28842         * libio/tst-atime.c (do_test): Move local variables SV and E
28843         inside [ST_NOATIME] conditional.
28845         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
28847         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
28849         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
28850         (wait_code): New function replaces macro.
28851         Call nanosleep rather than syscall.
28853         * nptl/pt-system.c: Rewritten.  Put everything under
28854         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28855         Use IFUNC to redirect when possible.
28857         * nptl/pt-longjmp.c: Rewritten.  Put everything under
28858         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28859         Use IFUNC to redirect when possible.
28861         * nptl/pt-fork.c: Rewritten.  Put everything under
28862         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28863         Use IFUNC to redirect when possible.
28864         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
28866         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
28867         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
28868         unconditionally nowadays.  This included the only reference to
28869         __vdso_clock_gettime that appears outside libc proper.
28870         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
28871         Remove version set (containing only __vdso_clock_gettime).
28872         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
28873         Add attribute_hidden.
28874         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
28875         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
28876         libc_hidden_data_def.
28877         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28878         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28880         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
28881         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
28882         setrpcent, and getrpcport to ...
28883         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
28884         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
28885         getrpcbynumber_r, and getrpcent_r to ...
28886         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
28887         * inet/getrpcbyname.c: Moved ...
28888         * sunrpc/getrpcbyname.c: ... here.
28889         * inet/getrpcbyname_r.c: Moved ...
28890         * sunrpc/getrpcbyname_r.c: ... here.
28891         * inet/getrpcbynumber.c: Moved ...
28892         * sunrpc/getrpcbynumber.c: ... here.
28893         * inet/getrpcbynumber_r.c: Moved ...
28894         * sunrpc/getrpcbynumber_r.c: ... here.
28895         * inet/getrpcent.c: Moved ...
28896         * sunrpc/getrpcent.c: ... here.
28897         * inet/getrpcent_r.c: Moved ...
28898         * sunrpc/getrpcent_r.c: ... here.
28899         * inet/Makefile (routines): Move those to ...
28900         * sunrpc/Makefile (routines): ... here.
28901         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
28902         the $(subdirs) list.
28903         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
28904         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
28905         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
28906         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
28908         * elf/Makefile (routines): Include $(all-dl-routines), not just
28909         $(dl-routines).
28910         (rtld-routines): Likewise.  Use = rather than :=.
28911         * sysdeps/aarch64/Makefile [$(subdir) = elf]
28912         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
28913         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
28914         * sysdeps/arm/Makefile: Likewise.
28915         * sysdeps/i386/Makefile: Likewise.
28916         * sysdeps/x86_64/Makefile: Likewise.
28917         * sysdeps/hppa/Makefile [$(subdir) = elf]
28918         (sysdep_routines, sysdep-rtld-routines): Don't add
28919         $(sysdep-dl-routines) to these.
28920         * sysdeps/ia64/Makefile: Likewise.
28921         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
28922         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
28923         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
28924         Don't add dl-static to these; sysdep-dl-routines alone is enough.
28925         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
28926         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
28927         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
28928         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
28929         * sysdeps/powerpc/Makefile [$(subdir) = elf]
28930         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
28931         these; sysdep-dl-routines alone is enough.
28933 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
28935         [BZ #17932]
28936         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
28937         where multiplication results in zero and third argument is finite
28938         and nonzero.
28939         * math/auto-libm-test-in: Add more tests of fma.
28940         * math/auto-libm-test-out: Regenerated.
28942         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
28943         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
28944         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
28945         (_FP_CMP_EQ): Likewise.
28946         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
28948         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
28949         extra argument CHECK_NAN.  Redefine as wrapper around
28950         _FP_EXTEND_CNAN.
28952 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
28954         * version.h (RELEASE): Set to "stable".
28955         (VERSION): Set to "2.21"
28956         * include/features.h (__GLIBC_MINOR__): Set to 21.
28958         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
28960 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28961             Paul Eggert  <eggert@cs.ucla.edu>
28963         [BZ #16618]
28964         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
28965         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
28966         size in bytes. Store needed elements in wpmax. Use needed size
28967         in bytes for extend_alloca.
28969 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
28971         * manual/install.texi: Latest tested versions are GCC 4.9.2,
28972         binutls 2.25, and texinfo 5.2.
28973         * INSTALL: Regenerate.
28974         * sysdeps/nios2/configure: Regenerate.
28975         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
28976         * manual/contrib.texi: Update.
28977         * po/be.po: Update.
28978         * po/bg.po: Update.
28979         * po/ca.po: Update.
28980         * po/cs.po: Update.
28981         * po/da.po: Update.
28982         * po/de.po: Update.
28983         * po/el.po: Update.
28984         * po/eo.po: Update.
28985         * po/es.po: Update.
28986         * po/fi.po: Update.
28987         * po/fr.po: Update.
28988         * po/gl.po: Update.
28989         * po/hr.po: Update.
28990         * po/hu.po: Update.
28991         * po/ia.po: Update.
28992         * po/id.po: Update.
28993         * po/it.po: Update.
28994         * po/ja.po: Update.
28995         * po/ko.po: Update.
28996         * po/lt.po: Update.
28997         * po/nb.po: Update.
28998         * po/nl.po: Update.
28999         * po/pl.po: Update.
29000         * po/pt_BR.po: Update.
29001         * po/ru.po: Update.
29002         * po/rw.po: Update.
29003         * po/sk.po: Update.
29004         * po/sl.po: Update.
29005         * po/sv.po: Update.
29006         * po/tr.po: Update.
29007         * po/uk.po: Update.
29008         * po/vi.po: Update.
29009         * po/zh_CN.po: Update.
29010         * po/zh_TW.po: Update.
29012         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
29013         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
29014         * sysdeps/hppa/dl-irel.h: Remove #warning.
29015         * sysdeps/hppa/entry.h: Provide prototype for
29016         __canonicalize_funcptr_for_compare and cast argument.
29017         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
29018         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
29019         * sysdeps/hppa/sotruss-lib.c: New file.
29020         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
29021         (atomic_compare_and_exchange_val_acq): Use __typeof__.
29022         (atomic_compare_and_exchange_bool_acq): Likewise.
29023         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
29024         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
29026         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
29027         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
29028         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
29030 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
29032         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
29033         called function in non-PIC case.
29035 2015-01-31  David S. Miller  <davem@davemloft.net>
29037         * sysdeps/sparc/sparc32/bits/atomic.h
29038         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
29039         unlock not after it.
29040         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
29041         volatile register usage warnings from the compiler.
29043         * sysdeps/sparc/nptl/sem_init.c: Delete.
29044         * sysdeps/sparc/nptl/sem_post.c: Delete.
29045         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
29046         * sysdeps/sparc/nptl/sem_wait.c: Delete.
29047         * sysdeps/sparc/sparc32/sem_init.c: New file.
29048         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
29049         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
29050         padding explicitly initialized.
29051         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
29052         padding for in-semaphore spinlock.
29053         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
29054         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
29055         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
29056         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
29057         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
29058         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
29059         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
29060         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
29061         version.
29062         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
29063         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
29065 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
29067         [BZ #17801]
29068         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29069         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
29070         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
29071         New.
29072         (index_AVX_Fast_Unaligned_Load): Likewise.
29073         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
29074         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
29075         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
29076         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
29077         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
29078         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
29079         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
29080         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
29081         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
29083 2015-01-29  Andreas Schwab  <schwab@suse.de>
29085         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
29087 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
29089         [BZ #17892]
29090         * nscd/nscd_stat.c (send_stats): Initialize DATA.
29092 2015-01-28  Martin Sebor  <msebor@redhat.com>
29094         * math/README.libm-test: Clarify. Add "How to read the test output."
29096 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
29098         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
29099         Define to 0.
29101 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
29103         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
29104         (__HAVE_64B_ATOMICS): Define to 0.
29106 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
29108         [BZ #17885]
29109         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
29110         value to set as new flag.
29112         [BZ #16576]
29113         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
29114         and use _ARCH_PPCSQ instead.
29115         (__ieee754_sqrt): Likewise.
29116         (__ieee754_sqrtf): Likewise.
29117         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
29118         _ARCH_PPCSQ is defined.
29119         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
29120         fsqrt instruction.
29121         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
29122         _ARCH_PPCSQ is defined.
29123         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
29124         fsqrts instruction.
29125         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
29127 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29129         * iconv/loop.c: Suppress array out of bound warning caused by GCC
29130         bug (GCC BZ #64739).
29132 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
29134         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
29135         Mark _retval as used.
29136         (lll_futex_wake_unlock): Likewise.
29137         (lll_futex_timed_wait_requeue_pi): Likewise.
29139         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
29140         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
29141         register variables.
29143         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
29144         libm_hidden_def.
29146         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
29147         (__bswap_64): Mark as __always_inline.
29149 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
29151         [BZ #15378]
29152         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
29153         when none of the search directories exist.
29155 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
29157         [BZ #17869]
29158         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
29159         power8 in .machine directive.
29161         [BZ #17868]
29162         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
29163         set dependency from opd value.
29165 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
29167         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29168         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
29169         architecture.
29171 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
29173         [BZ #17870]
29174         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
29175         with uint64_t.
29176         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
29177         (uint64_t) 1.
29178         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
29179         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
29180         Replace 1UL with (uint64_t) 1.
29181         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
29182         int with uint64_t.
29184 2015-01-23  Roland McGrath  <roland@hack.frob.com>
29186         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
29187         (if_freenameindex): Likewise.
29189         * resource/getrlimit64.c: Add missing libc_hidden_def.
29191 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
29193         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
29194         __label__.
29195         (_FP_FMA): Likewise.
29196         (_FP_TO_INT_ROUND): Likewise.
29197         (_FP_FROM_INT): Likewise.
29199 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29201         [BZ #16418]
29202         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
29203         Make code racy and cancel safe.
29205 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
29207         * sysdeps/arm/unwind-resume.h: Fix copyright year.
29208         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
29209         attribution.
29211         * pwd/tst-getpw.c: Rewrite.
29213         [BZ #17702]
29214         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
29215         (modules-names): Add moddummy1 and moddummy2.
29216         ($(objpfx)tst-rec-dlopen): Define.
29217         * dlfcn/moddummy1.c: New file.
29218         * dlfcn/moddummy2.c: New file.
29219         * dlfcn/tst-rec-dlopen.c: New file.
29220         * elf/dl-cache.c (_dl_load_cache_lookup):
29221         Return char*. Copy result with alloca/strcpy/strdup.
29222         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
29223         returns char*. Free cached. If not saving realname
29224         free cached.
29225         * elf/dl-open.c (dl_open_worker): Do not assert that
29226         _r_debug->r_state is RT_CONSISTENT.
29227         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
29228         returns char*.
29230 2015-01-21  Torvald Riegel  <triegel@redhat.com>
29231             Carlos O'Donell  <carlos@redhat.com>
29233         [BZ #12674]
29234         * nptl/sem_waitcommon.c: New file.
29235         * nptl/sem_wait.c: Include sem_waitcommon.c.
29236         (__sem_wait_cleanup, do_futex_wait): Remove.
29237         (__new_sem_wait): Adapt.
29238         (__new_sem_trywait): New function.
29239         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
29240         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
29241         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
29242         (sem_timedwait): Adapt.
29243         * nptl/sem_post.c (__new_sem_post): Adapt.
29244         (futex_wake): New function.
29245         (__old_sem_post): Add release MO fence.
29246         * nptl/sem_open.c (sem_open): Adapt.
29247         * nptl/sem_init.c (__new_sem_init): Adapt.
29248         (futex_private_if_supported): New function.
29249         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
29250         (__old_sem_getvalue): Add using previous code.
29251         * sysdeps/nptl/internaltypes.h: Adapt.
29252         * nptl/tst-sem13.c (do_test): Adapt.
29253         * nptl/tst-sem11.c (main): Adapt.
29254         * nptl/sem_trywait.c: Remove.
29255         * nptl/DESIGN-sem.txt: Remove.
29256         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
29257         (gen-as-const-headers): Remove structsem.sym.
29258         * nptl/structsem.sym: Remove.
29259         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
29260         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
29261         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
29262         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
29263         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
29264         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
29265         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
29266         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
29267         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
29268         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
29269         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
29270         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
29271         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
29272         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
29273         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
29274         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
29275         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
29276         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
29277         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
29278         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
29279         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
29280         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
29282 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
29284         * INSTALL: Regenerated.
29286         * po/libc.pot: Regenerated.
29288 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
29289             Sandra Loosemore  <sandra@codesourcery.com>
29290             Andrew Jenner  <andrew@codesourcery.com>
29291             Joseph Myers  <joseph@codesourcery.com>
29292             Nathan Sidwell  <nathan@codesourcery.com>
29294         * NEWS: Mention new Nios II port.
29295         * sysdeps/nios2/Implies: New file.
29296         * sysdeps/nios2/Makefile: New file.
29297         * sysdeps/nios2/Subdirs: New file.
29298         * sysdeps/nios2/Versions: New file.
29299         * sysdeps/nios2/__longjmp.S: New file.
29300         * sysdeps/nios2/abort-instr.h: New file.
29301         * sysdeps/nios2/backtrace.c: New file.
29302         * sysdeps/nios2/bits/endian.h: New file.
29303         * sysdeps/nios2/bits/fenv.h: New file.
29304         * sysdeps/nios2/bits/link.h: New file.
29305         * sysdeps/nios2/bits/setjmp.h: New file.
29306         * sysdeps/nios2/bsd-_setjmp.S: New file.
29307         * sysdeps/nios2/bsd-setjmp.S: New file.
29308         * sysdeps/nios2/configure: New generated file.
29309         * sysdeps/nios2/configure.ac: New file.
29310         * sysdeps/nios2/crti.S: New file.
29311         * sysdeps/nios2/crtn.S: New file.
29312         * sysdeps/nios2/dl-init.c: New file.
29313         * sysdeps/nios2/dl-machine.h: New file.
29314         * sysdeps/nios2/dl-sysdep.h: New file.
29315         * sysdeps/nios2/dl-tls.h: New file.
29316         * sysdeps/nios2/dl-trampoline.S: New file.
29317         * sysdeps/nios2/gccframe.h: New file.
29318         * sysdeps/nios2/gmp-mparam.h: New file.
29319         * sysdeps/nios2/jmpbuf-offsets.h: New file.
29320         * sysdeps/nios2/jmpbuf-unwind.h: New file.
29321         * sysdeps/nios2/ldsodefs.h: New file.
29322         * sysdeps/nios2/libc-tls.c: New file.
29323         * sysdeps/nios2/libm-test-ulps: New file.
29324         * sysdeps/nios2/machine-gmon.h: New file.
29325         * sysdeps/nios2/math-tests.h: New file.
29326         * sysdeps/nios2/math_private.h: New file.
29327         * sysdeps/nios2/memusage.h: New file.
29328         * sysdeps/nios2/nptl/Makefile: New file.
29329         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
29330         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
29331         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
29332         * sysdeps/nios2/nptl/pthreaddef.h: New file.
29333         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
29334         * sysdeps/nios2/nptl/tls.h: New file.
29335         * sysdeps/nios2/preconfigure: New file.
29336         * sysdeps/nios2/s_fma.c: New file.
29337         * sysdeps/nios2/s_fmaf.c: New file.
29338         * sysdeps/nios2/setjmp.S: New file.
29339         * sysdeps/nios2/sfp-machine.h: New file.
29340         * sysdeps/nios2/sotruss-lib.c: New file.
29341         * sysdeps/nios2/stackguard-macros.h: New file.
29342         * sysdeps/nios2/stackinfo.h: New file.
29343         * sysdeps/nios2/start.S: New file.
29344         * sysdeps/nios2/sysdep.h: New file.
29345         * sysdeps/nios2/tls-macros.h: New file.
29346         * sysdeps/nios2/tst-audit.h: New file.
29347         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
29348         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
29349         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
29350         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
29351         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
29352         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
29353         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
29354         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
29355         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
29356         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
29357         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
29358         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
29359         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
29360         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
29361         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
29362         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
29363         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
29364         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
29365         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
29366         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
29367         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
29368         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
29369         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
29370         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
29371         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
29372         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
29373         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
29374         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
29375         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
29376         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
29377         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
29378         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
29379         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
29380         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
29381         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
29382         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
29383         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
29384         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
29385         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
29386         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
29387         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
29388         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
29389         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
29390         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
29392 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
29394         [BZ #17844]
29395         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
29396         (getutent): Use weak_alias in non SHARED case
29397         and default_symbol_version in SHARED case.
29398         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
29399         (getutent_r, pututline): Likewise.
29400         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
29401         (getutid): Likewise.
29402         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
29403         (getutid_r): Likewise.
29404         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
29405         (getutline): Likewise.
29406         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
29407         (getutline_r): Likewise.
29408         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
29409         (updwtmp): Likewise.
29411 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
29413         [BZ #17848]
29414         * sysdeps/s390/s390-32/memcmp.S
29415         (memcmp_g5): Rename to __memcmp_g5.
29416         * sysdeps/s390/s390-32/memcpy.S
29417         (memcpy_g5): Rename to __memcpy_g5.
29418         Jump to __memcpy_mvcle instead of memcpy_mvcle.
29419         (memcpy_mvcle) Rename to __memcpy_mvcle.
29420         * sysdeps/s390/s390-32/memset.S
29421         (memset_g5): Rename to __memset_g5.
29422         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29423         (IFUNC_RESOLVE): Prefix ifunc-resolve function
29424         and use prefixed functions.
29425         * sysdeps/s390/s390-32/multiarch/memcmp.S
29426         (memcmp_z196): Rename to __memcmp_z196.
29427         (memcmp_z10): Rename to __memcmp_z10.
29428         (memcmp): Set alias to __memcmp_g5.
29429         (bcmp): Set alias to __memcmp_g5.
29430         * sysdeps/s390/s390-32/multiarch/memcpy.S
29431         (memcpy_z196): Rename to __memcpy_z196.
29432         Jump to __memcpy_mvcle instead of memcpy_mvcle.
29433         (memcpy_z10): Rename to __memcpy_z10.
29434         Jump to __memcpy_mvcle instead of memcpy_mvcle.
29435         (memcpy): Set alias to __memcpy_g5.
29436         * sysdeps/s390/s390-32/multiarch/memset.S
29437         (memset_z196): Rename to __memset_z196.
29438         Jump to __memset_mvcle instead of memset_mvcle.
29439         (memset_z10): Rename to __memset_z10.
29440         Jump to __memset_mvcle instead of memset_mvcle.
29441         (memset_mvcle) Rename to __memset_mvcle.
29442         (memset): Set alias to __memset_g5.
29443         * sysdeps/s390/s390-64/memcmp.S
29444         (memcmp_z900): Rename to __memcmp_z900.
29445         * sysdeps/s390/s390-64/memcpy.S
29446         (memcpy_z900): Rename to __memcpy_z900.
29447         Jump to __memcpy_mvcle instead of memcpy_mvcle.
29448         (memcpy_mvcle) Rename to __memcpy_mvcle.
29449         * sysdeps/s390/s390-64/memset.S
29450         (memset_z900): Rename to __memset_z900.
29451         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
29452         (IFUNC_RESOLVE): Prefix ifunc-resolve function
29453         and use prefixed functions.
29454         * sysdeps/s390/s390-64/multiarch/memcmp.S
29455         (memcmp_z196): Rename to __memcmp_z196.
29456         (memcmp_z10): Rename to __memcmp_z10.
29457         (memcmp): Set alias to __memcmp_z900.
29458         (bcmp): Set alias to __memcmp_z900.
29459         * sysdeps/s390/s390-64/multiarch/memcpy.S
29460         (memcpy_z196): Rename to __memcpy_z196.
29461         Jump to __memcpy_mvcle instead of memcpy_mvcle.
29462         (memcpy_z10): Rename to __memcpy_z10.
29463         Jump to __memcpy_mvcle instead of memcpy_mvcle.
29464         (memcpy): Set alias to __memcpy_z900.
29465         * sysdeps/s390/s390-64/multiarch/memset.S
29466         (memset_z196): Rename to __memset_z196.
29467         Jump to __memset_mvcle instead of memset_mvcle.
29468         (memset_z10): Rename to __memset_z10.
29469         Jump to __memset_mvcle instead of memset_mvcle.
29470         (memset_mvcle) Rename to __memset_mvcle.
29471         (memset): Set alias to __memset_z900.
29473 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
29475         [BZ #17748]
29476         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
29477         __fesetenv instead of fesetenv.
29479 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29481         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
29482         macro.
29484 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29486         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
29487         regression on LE.
29489         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
29490         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
29491         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
29492         strncmp-power8 object.
29493         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29494         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
29495         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
29496         * NEWS: Update.
29498 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29499             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29501         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
29502         trailing byte check.
29504 2015-01-13  David S. Miller  <davem@davemloft.net>
29506         * include/signal.h (__sigreturn): Guard with __USE_MISC.
29508 2015-01-13  Roland McGrath  <roland@hack.frob.com>
29510         * login/logout.c (logout): Use memset rather than bzero.
29511         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
29512         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
29513         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
29514         (_gethtbyaddr): Likewise.
29515         * locale/programs/simple-hash.c (bcopy): Macro removed.
29517 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29519         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29520         Add strcmp-power8 object.
29521         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29522         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
29523         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
29524         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
29525         __strcmp_power8 implementation.
29526         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
29527         * NEWS: Update.
29529         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29530         Add strncpy-power8 and stpncpy-power8 objects.
29531         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29532         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
29533         implementations.
29534         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
29535         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
29536         __stpncpy_power8 implementation.
29537         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
29538         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
29539         __strncpy_power8 implementation.
29540         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
29541         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
29542         * NEWS: Update.
29544         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
29545         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
29546         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
29548         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
29549         strncat-power8 object.
29550         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
29551         __strcat_power8 implementation.
29552         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29553         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
29554         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
29555         optimized strcat for power8.
29557         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
29558         strcpy-power8 and stpcpy-power8 objects.
29559         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29560         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
29561         implementations.
29562         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
29563         multiarch stpcpy implementation for POWER8.
29564         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
29565         multiarch strcpy implementation for POWER8.
29566         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
29567         __strcpy_power8 function.
29568         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
29569         stpcpy for POWER8.
29570         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
29571         strcpy for POWER8.
29572         * NEWS: Update.
29574 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
29576         [BZ #16009]
29577         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
29578         weights and rules. Use do_xfrm_cached if data fits in cache,
29579         do_xfrm otherwise.  Moved former main loop to...
29580         * (do_xfrm_cached): New function.
29581         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
29582         find_idx, find_position and stack_push.
29583         * (find_idx): New function.
29584         * (find_position): Likewise.
29585         * localedata/sort-test.sh: Added test run for do_xfrm.
29586         * localedata/xfrm-test.c (main): Added command line option
29587         -nocache to run the test with strings that are too large for
29588         the STRXFRM cache.
29590 2015-01-13  Torvald Riegel  <triegel@redhat.com>
29592         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
29593         variable to lll_futex_wake call, not the value itself.
29595 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
29597         [BZ #17803]
29598         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
29599         twom64.  Adjust value to 0x1p-64L.
29600         (__scalblnl): Only return standard underflowing result for K <=
29601         -64 not K <= -63; adjust exponent for underflowing result by 64
29602         not 63.
29603         * math/libm-test.inc (scalbn_test_data): Add more tests.
29604         (scalbln_test_data): Likewise.
29606         [BZ #17834]
29607         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
29608         0x1p63L.
29609         (__scalblnl): Get new exponent of adjusted subnormal value from ES
29610         not HX.
29611         * math/libm-test.inc (scalbn_test_data): Add more tests.
29612         (scalbln_test_data): Likewise.
29614 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29615             Stefani Seibold  <stefani@seibold.net>
29617         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
29618         (sysdep_routines): Add dl-vdso here, ...
29619         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
29620         (sysdep_routines): ... not here.
29621         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
29622         fallback when vDSO is not presented.
29623         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
29624         Define with libc_hidden_proto/libc_hidden_data_def definitions.
29625         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
29626         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
29627         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
29628         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
29629         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
29630         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
29631         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
29632         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
29633         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
29634         fallback configurable symbol when vDSO is not available.
29635         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
29636         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
29637         be able to redefine fallback symbol when vDSO is not available.
29638         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
29639         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
29641 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29643         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
29644         (TLS_INIT_TP): Add tm_capable initialization.
29645         (TLS_DEFINE_INIT_TP): Likewise.
29646         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
29647         TCB.
29648         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
29649         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
29650         calculation.
29651         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
29652         transactoion is lock elision is built and TCB tm_capable is set.
29653         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
29654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29655         (INTERNAL_SYSCALL_NCS): Likewise.
29656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29657         (INTERNAL_SYSCALL_NCS): Likewise.
29658         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
29660         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
29661         for powerpc.
29662         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29663         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
29664         and remove it for 32 bits case.
29665         [pthread_rwlock_t] (__rwelision): New field for lock elision.
29666         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
29667         initialization.
29668         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
29669         Disable lock elision with rdlocks if elision is not available.
29671         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
29672         (sysdep_routines): Add lock elision objects.
29673         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29674         [pthread_mutex_t] (__spins): Rework to add lock elision field.
29675         [pthread_mutex_t] (__elision): Add field.
29676         [__PTHREAD_SPINS]: Adjust to init lock elision field.
29677         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
29678         elision definitions for powerpc.
29679         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
29680         implementation of lock elision for powerpc.
29681         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
29682         implementation of timed lock elision for powerpc.
29683         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
29684         implementation of trylock with lock elision for powerpc.
29685         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
29686         implementaion of unlock for lock elision for powerpc.
29687         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
29688         automatic enable lock elision for mutexes.
29689         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
29690         transaction execution definitions for powerpc.
29691         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
29692         definitions.
29693         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
29694         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
29695         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
29696         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
29697         * NEWS: Update.
29699 2015-01-09  Roland McGrath  <roland@hack.frob.com>
29701         * sysdeps/posix/shm-directory.c: Use <> rather than ""
29702         for #include of <shm-directory.h>.
29704 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
29706         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
29707         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
29709 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
29711         [BZ #17791]
29712         * NEWS: Mention bug fix.
29713         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
29714         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
29715         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
29717 2015-01-09  Torvald Riegel <triegel@redhat.com>
29719         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
29721 2015-01-09  Torvald Riegel <triegel@redhat.com>
29723         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
29725 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
29727         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
29728         pointer and cast to uintptr_t.
29730 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
29732         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
29733         removed.
29734         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
29736 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
29738         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
29739         of 0.
29741 2015-01-08  Roland McGrath  <roland@hack.frob.com>
29743         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
29744         <nptl/pthreadP.h> instead.
29745         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
29747         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
29748         already defined.
29749         [__SIGRTMIN] (init): Function removed.
29750         [__SIGRTMIN] (initialized): Variable removed.
29751         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
29752         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
29753         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
29754         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
29755         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
29756         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
29757         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
29758         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
29759         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
29760         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
29761         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
29762         * sysdeps/nptl/allocrtsig.c: New file.
29763         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
29764         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
29765         * sysdeps/generic/testrtsig.h: File removed.
29767         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
29768         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
29770         * nptl/nptl-init.c (pthread_functions): Conditionalize
29771         .ptr__nptl_setxid initialization on [SIGSETXID].
29773         * sysdeps/nptl/sys/procfs.h: New file.
29774         * nptl_db/Makefile (headers): Add it.
29775         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
29777         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
29778         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
29779         * nptl/pthread_attr_setaffinity.c: Include it.
29780         * nptl/pthread_setattr_default_np.c: Likewise.
29781         * nptl/check-cpuset.h: New file.
29783 2015-01-08  Richard Henderson  <rth@redhat.com>
29785         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
29786         (CFLAGS-tst-execstack-prog.c): Likewise.
29787         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
29789 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
29790             Sandra Loosemore  <sandra@codesourcery.com>
29791             Andrew Jenner  <andrew@codesourcery.com>
29792             Joseph Myers  <joseph@codesourcery.com>
29793             Nathan Sidwell  <nathan@codesourcery.com>
29795         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
29796         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
29797         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
29798         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
29799         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
29800         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
29801         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
29802         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
29803         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
29804         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
29805         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
29806         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
29807         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
29808         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
29809         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
29810         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
29811         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
29813 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29815         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
29816         timespec struct member in syscall macro.
29817         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
29818         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
29819         first timeval struct member in syscall macro.
29820         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
29822 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
29824         [BZ #17748]
29825         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
29826         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
29827         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
29828         __feupdateenv and define as weak alias of __feupdateenv.  Use
29829         libm_hidden_weak.
29830         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
29831         libm_hidden_def.
29832         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
29833         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
29834         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
29835         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
29836         libm_hidden_def.
29837         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
29838         __feupdateenv and define as weak alias of __feupdateenv.  Use
29839         libm_hidden_weak.
29840         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
29841         libm_hidden_def.
29842         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
29843         __feupdateenv and define as weak alias of __feupdateenv.  Use
29844         libm_hidden_weak.
29845         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
29846         libm_hidden_def.
29847         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29848         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
29849         (__feupdateenv): Likewise.
29850         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
29851         __feupdateenv and define as weak alias of __feupdateenv.  Use
29852         libm_hidden_weak.
29853         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29854         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
29855         libm_hidden_def.
29856         * sysdeps/tile/math_private.h (__feupdateenv): New inline
29857         function.
29858         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
29859         libm_hidden_def.
29860         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
29861         __feupdateenv instead of feupdateenv.
29862         (default_libc_feupdateenv_test): Likewise.
29863         (libc_feresetround_ctx): Likewise.
29865 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29867         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
29868         prototype.
29870 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
29872         * posix/regcomp.c (parse_bracket_exp): Initialize type to
29873         COLL_SYM in a couple of places to avoid uninitialized variable
29874         wanings on tilegx gcc 4.8.2.
29876 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
29878         * sysdeps/aarch64/strcpy.S: New file.
29879         * sysdeps/aarch64/stpcpy.S: New file.
29880         * NEWS: Updated.
29882 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
29884         * sysdeps/aarch64/strrchr.S: New file.
29885         * NEWS: Updated.
29887 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
29889         [BZ #17658]
29890         * stdlib/setenv.c: Fix memory leak when setting large,
29891         duplicate string.
29893 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
29895         [BZ #17273]
29896         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
29897         and tabs from buffer before parsing fstab entry.
29898         * misc/tst-mntent.c (main): Add test for mount entry with
29899         trailing spaces and tabs.
29901 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
29903         [BZ #17748]
29904         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
29905         * math/fesetround.c (fesetround): Rename to __fesetround and
29906         define as weak alias of __fesetround.  Use libm_hidden_weak.
29907         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
29908         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
29909         * sysdeps/arm/fesetround.c (fesetround): Likewise.
29910         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
29911         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
29912         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
29913         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
29914         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
29915         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
29916         __fesetround_inline.
29917         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
29918         __fesetround_inline instead of __fesetround.
29919         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
29920         __fesetround and define as weak alias of __fesetround.  Use
29921         libm_hidden_weak.  Call __fesetround_inline instead of
29922         __fesetround.
29923         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
29924         __fesetround and define as weak alias of __fesetround.  Use
29925         libm_hidden_weak.
29926         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
29927         Likewise.
29928         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
29929         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29930         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
29931         * sysdeps/tile/math_private.h (__fesetround): New inline function.
29932         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
29933         __fesetround and define as weak alias of __fesetround.  Use
29934         libm_hidden_weak.
29935         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
29936         __fesetround instead of fesetround.
29937         (default_libc_feholdexcept_setround): Likewise.
29938         (libc_feholdsetround_ctx): Likewise.
29939         (libc_feholdsetround_noex_ctx): Likewise.
29941         [BZ #17748]
29942         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
29943         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
29944         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
29945         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
29946         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29947         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
29948         define as weak alias of __fesetenv.  Use libm_hidden_weak.
29949         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
29950         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29951         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29952         define as weak alias of __fesetenv.  Use libm_hidden_weak.
29953         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29954         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29955         define as weak alias of __fesetenv.  Use libm_hidden_weak.
29956         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
29957         libm_hidden_def.
29958         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
29959         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
29960         Likewise.
29961         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29962         define as weak alias of __fesetenv.  Use libm_hidden_weak.
29963         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29964         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29965         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
29966         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
29967         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
29968         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
29969         __fesetenv instead of fesetenv.
29970         (libc_feresetround_noex_ctx): Likewise.
29971         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
29972         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
29973         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
29974         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
29975         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
29976         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
29977         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29978         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
29979         (__feupdateenv): Likewise.
29980         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
29981         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29982         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
29983         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
29985 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
29987         [BZ #17806]
29988         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
29989         addresses have been freed.
29991 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
29993         * resolv/res_init.c (__res_vinit): Improve comments about nserv
29994         and nservall.
29996 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
29998         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
29999         Clean up check_pf allocation pattern. addresses
30001 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30003         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
30004         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
30005         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
30006         * nptl/pthread_exit.c (__pthread_exit): Likewise.
30007         * nptl/pthread_join.c (pthread_join): Likewise.
30008         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
30009         * sysdeps/posix/waitid.c (__waitid): Likewise.
30010         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
30011         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
30012         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
30013         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
30014         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
30015         Likewise.
30016         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
30017         (__libc_pread64): Likewise.
30018         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
30019         (__libc_pwrite): Likewise.
30020         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
30021         (__libc_pwrite64): Likewsie.
30022         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
30023         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
30024         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
30025         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
30026         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
30027         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
30028         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
30029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
30030         Likewise.
30031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30032         (__libc_pread64): Likewise.
30033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
30034         Likewise.
30035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30036         (__libc_pwrite64): Likewise.
30037         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
30038         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
30039         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
30040         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
30041         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
30042         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
30043         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
30044         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
30045         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
30046         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
30047         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
30048         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
30049         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
30050         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
30051         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
30052         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
30053         Likewise.
30055 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
30057         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
30058         (CFLAGS-test-double.c): Likewise.
30059         (CFLAGS-test-ldouble.c): Likewise.
30060         (CPPFLAGS-test-ifloat.c): Likewise.
30061         (CPPFLAGS-test-idouble.c): Likewise.
30062         (CPPFLAGS-test-ildoubl.c): Likewise.
30063         (CFLAGS-test-test-fenv.c): Remove variable.
30064         (CFLAGS-test-misc.c): Likewise.
30066 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
30068         [BZ #17797]
30069         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
30070         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
30071         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
30072         CLOCKS_PER_SEC == 1000000.
30073         * time/clocktest.c (main): Replace %ld with %jd and cast to
30074         intmax_t.
30076 2015-01-05  Roland McGrath  <roland@hack.frob.com>
30078         * sysdeps/generic/unwind-resume.h: New file.
30079         * sysdeps/gnu/unwind-resume.c: Include it.
30080         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
30081         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
30082         argument list.
30083         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
30084         global rather than static.
30085         (_Unwind_Resume): Update user.
30086         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
30087         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
30088         rather than static.  Add __attribute__ ((cold)).
30089         (_Unwind_Resume, __gcc_personality_v0): Update callers.
30090         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
30091         * sysdeps/arm/arm-unwind-resume.S: New file.
30092         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
30093         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
30094         * sysdeps/arm/Makefile [$(subdir) = csu]
30095         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
30096         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
30097         Add rt-arm-unwind-resume.
30098         [$(subdir) = nptl]
30099         (libpthread-sysdep_routines, libpthread-shared-only-routines):
30100         Add pt-arm-unwind-resume.
30101         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
30102         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
30104 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
30106         [BZ #17748]
30107         * include/fenv.h (__feholdexcept): Declare.  Use
30108         libm_hidden_proto.
30109         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
30110         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
30111         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30112         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
30113         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
30114         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
30115         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
30116         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30117         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
30118         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
30119         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30120         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
30121         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
30122         (feholdexcept): Likewise.
30123         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30124         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30125         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30126         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30127         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
30128         __feholdexcept instead of feholdexcept.
30129         (default_libc_feholdexcept_setround): Likewise.
30131 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
30133         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
30134         to avoid using stl/str to align destination.
30136 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
30138         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
30140 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
30142         [BZ #17796]
30143         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
30144         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
30145         Define as weak alias not strong alias.
30147 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
30149         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
30150         bltzal with addiupc.
30151         (RTLD_START): Ditto.
30153 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
30155         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
30156         for __vdso_* functions in declarations.
30157         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
30158         definitions.
30159         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
30160         INTERNAL_VSYSCALL): Use struct return types to check for error.
30162         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
30163         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
30164         function with cast from llround().
30165         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
30166         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
30167         Define.
30169 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
30171         [BZ #17793]
30172         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
30173         Define as weak alias not strong alias.
30175         [BZ #17635]
30176         * ctype/ctype-c99.c: New file.  isblank implementation moved from
30177         ...
30178         * ctype/ctype-extn.c: ... here.
30179         (__isblank_l): Move to ...
30180         * ctype/ctype-c99_l.c: ... here.  New file.
30181         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
30182         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
30183         Remove variable.
30184         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
30185         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
30186         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
30187         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
30188         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
30190         [BZ #17777]
30191         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
30192         (posix_fadvise64): Define as weak alias not strong alias.
30193         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30194         (posix_fallocate64): Likewise.
30195         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
30196         Remove variable.
30197         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
30198         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
30199         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
30200         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
30201         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
30203 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
30205         [BZ #16191]
30206         * NEWS: Mention bug fix.
30207         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
30208         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
30209         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
30210         (HOST_STACK_END_ADDR): Likewise.
30212 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
30214         [BZ #17748]
30215         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
30216         * math/fegetround.c (fegetround): Rename to __fegetround and
30217         define as weak alias of __fegetround.  Use libm_hidden_weak.
30218         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
30219         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
30220         * sysdeps/arm/fegetround.c (fegetround): Likewise.
30221         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
30222         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
30223         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
30224         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
30225         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
30226         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
30227         Undefine after rather than before function definition; use
30228         parentheses around function name in definition.
30229         (__fegetround): Also undefine macro after function definition.
30230         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
30231         __fegetround and define as weak alias of __fegetround.  Use
30232         libm_hidden_weak.  Do not undefine as macro.
30233         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
30234         Likewise.
30235         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
30236         __fegetround and define as weak alias of __fegetround.  Use
30237         libm_hidden_weak.
30238         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30239         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
30240         * sysdeps/tile/math_private.h (__fegetround): New inline function.
30241         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
30242         __fegetround and define as weak alias of __fegetround.  Use
30243         libm_hidden_weak.
30244         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
30245         __fegetround instead of fegetround.
30247         [BZ #17782]
30248         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
30249         Condition macro definition on [__USE_MISC].
30251         [BZ #17781]
30252         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
30253         (struct sigaction): Change type of sa_flags field to int.
30255         [BZ #17780]
30256         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
30257         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
30258         __glibc_reserved0.
30260         * nptl/version.c (banner): Use single year in copyright notice.
30262         * NEWS: Update copyright dates.
30263         * catgets/gencat.c (print_version): Likewise.
30264         * csu/version.c (banner): Likewise.
30265         * debug/catchsegv.sh: Likewise.
30266         * debug/pcprofiledump.c (print_version): Likewise.
30267         * debug/xtrace.sh (do_version): Likewise.
30268         * elf/ldconfig.c (print_version): Likewise.
30269         * elf/ldd.bash.in: Likewise.
30270         * elf/pldd.c (print_version): Likewise.
30271         * elf/sotruss.sh: Likewise.
30272         * elf/sprof.c (print_version): Likewise.
30273         * iconv/iconv_prog.c (print_version): Likewise.
30274         * iconv/iconvconfig.c (print_version): Likewise.
30275         * locale/programs/locale.c (print_version): Likewise.
30276         * locale/programs/localedef.c (print_version): Likewise.
30277         * login/programs/pt_chown.c (print_version): Likewise.
30278         * malloc/memusage.sh (do_version): Likewise.
30279         * malloc/memusagestat.c (print_version): Likewise.
30280         * malloc/mtrace.pl: Likewise.
30281         * manual/libc.texinfo: Likewise.
30282         * nptl/version.c (banner): Likewise.
30283         * nscd/nscd.c (print_version): Likewise.
30284         * nss/getent.c (print_version): Likewise.
30285         * nss/makedb.c (print_version): Likewise.
30286         * posix/getconf.c (main): Likewise.
30287         * scripts/test-installation.pl: Likewise.
30288         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
30290 2015-01-02  Will Newton  <will.newton@linaro.org>
30292         * sysdeps/arm/armv7/configure: Removed.
30293         * sysdeps/arm/armv7/configure.ac: Likewise.
30295 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
30297         * All files with FSF copyright notices: Update copyright dates
30298         using scripts/update-copyrights.
30299         * intl/plural.c: Regenerated.
30300         * locale/programs/charmap-kw.h: Likewise.
30301         * locale/programs/locfile-kw.h: Likewise.
30303 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30305         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
30307 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
30309         [BZ #17748]
30310         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
30311         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
30312         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
30313         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
30314         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30315         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
30316         define as weak alias of __fegetenv.  Use libm_hidden_weak.
30317         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
30318         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30319         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30320         define as weak alias of __fegetenv.  Use libm_hidden_weak.
30321         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30322         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30323         define as weak alias of __fegetenv.  Use libm_hidden_weak.
30324         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
30325         libm_hidden_def.
30326         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
30327         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
30328         Likewise.
30329         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30330         define as weak alias of __fegetenv.  Use libm_hidden_weak.
30331         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30332         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30333         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
30334         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
30335         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
30336         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
30337         __fegetenv instead of fegetenv.
30338         (libc_feholdsetround_noex_ctx): Likewise.
30340 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
30342         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
30343         (Elf_MIPS_ABIFlags_v0): New structure.
30344         (EF_MIPS_FP64): Define.
30345         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
30346         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
30347         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
30348         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
30349         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
30350         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
30351         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
30352         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
30353         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
30354         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
30355         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
30356         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
30357         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
30358         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
30359         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
30360         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
30361         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
30362         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
30363         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
30364         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
30365         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
30366         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
30367         field.
30368         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
30369         EF_MIPS_FP64.
30370         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
30371         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
30372         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
30373         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
30374         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
30375         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
30376         * sysdeps/mips/tst-abi-interlink.c: Likewise.
30377         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
30378         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
30379         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
30380         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
30381         record the current FP ABI extension.
30382         (mips-mode-switch): Define to show if kernel headers support mode
30383         switching.
30384         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
30385         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
30386         supported SYSV ABI version to 3.
30387         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
30388         feature.
30390 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30391             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30393         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
30394         path.
30395         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
30397 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
30399         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
30400         __fegetround and redefine to call __fegetround.  Remove condition
30401         on [!__NO_MATH_INLINES].
30402         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
30403         function.
30404         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
30405         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
30406         Remove macro.
30407         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
30408         instead of <fenv_libc.h>.
30409         (__llrintl): Call fegetround instead of __fegetround.
30410         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
30411         instead of <fenv_libc.h>.
30412         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30413         (__lrintl): Call fegetround instead of __fegetround.
30414         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
30415         instead of <fenv_libc.h>.
30416         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30417         (__rintl): Call fegetround instead of __fegetround.
30419 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
30421         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
30422         arrays.
30424 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
30426         [BZ #17775]
30427         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
30428         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
30429         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
30431 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
30433         * sysdeps/i386/tls-macros.h: Include <features.h>.
30434         (TLS_LE): Use non-PIC version for GCC >= 5.0.
30435         (TLS_IE): Likewise.
30436         (TLS_LD): Likewise.
30437         (TLS_GD): Likewise.
30438         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
30439         define for GCC >= 5.0.
30441 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
30443         * math/test-fenv.c (test_single_exception, set_single_exc,
30444         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
30445         feexcp_mask_test, feenable_test, fe_single_test): Add
30446         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
30447         case where they are not used.
30448         * math/libm-test.inc: Likewise.
30449         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
30450         unused in the absence of FP rounding/exception support.
30451         * stdio-common/tst-printf-round.c: Likewise.
30452         * stdlib/tst-strtod-round.c: Likewise.
30453         * stdlib/tst-strtod-underflow.c: Likewise.
30455 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
30457         [BZ #17723]
30458         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
30459         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
30460         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30461         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
30462         libm_hidden_weak.
30463         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
30464         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
30465         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
30466         libm_hidden_def.
30467         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30468         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
30469         libm_hidden_weak.
30470         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
30471         Likewise.
30472         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
30473         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30474         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
30475         libm_hidden_weak.
30476         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
30477         libm_hidden_def.
30478         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
30479         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
30480         (__feraiseexcept): Likewise.
30481         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30482         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
30483         libm_hidden_weak.
30484         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
30485         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
30486         libm_hidden_def.
30487         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
30488         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
30489         Use libm_hidden_def.
30490         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
30491         libm_hidden_def.
30492         (feraiseexcept): Define as weak not strong alias.  Use
30493         libm_hidden_weak.
30494         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
30495         New inline function.  Factored out of ...
30496         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
30497         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
30498         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
30499         feraiseexcept.
30500         * math/w_acos.c (__acos): Likewise.
30501         * math/w_asin.c (__asin): Likewise.
30502         * math/w_ilogb.c (__ilogb): Likewise.
30503         * math/w_j0.c (y0): Likewise.
30504         * math/w_j1.c (y1): Likewise.
30505         * math/w_jn.c (yn): Likewise.
30506         * math/w_log.c (__log): Likewise.
30507         * math/w_log10.c (__log10): Likewise.
30508         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
30509         * sysdeps/aarch64/fpu/math_private.h
30510         (libc_feupdateenv_test_aarch64): Likewise.
30511         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
30512         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
30513         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
30514         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
30515         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
30516         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
30517         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
30518         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30519         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30520         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30522 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
30524         [BZ #17732]
30525         * io/test-utime.c (main): Replace %ld with %jd and cast to
30526         intmax_t.
30527         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
30528         * nptl/tst-mutex5.c: Include <stdint.h>.
30529         (do_test): Replace %ld with %jd and cast to intmax_t.
30530         * posix/tst-regex.c (run_test): Likewise.
30531         (run_test_backwards): Likewise.
30532         * rt/tst-clock.c: Include <stdint.h>.
30533         (clock_test): Replace %ld with %jd and cast to intmax_t.
30534         * rt/tst-cpuclock1.c: Include <stdint.h>.
30535         (do_test): Replace %lu with %ju and cast to uintmax_t.
30536         * rt/tst-cpuclock2.c: Include <stdint.h>.
30537         (do_test): Replace %lu with %ju and cast to uintmax_t.
30538         * rt/tst-mqueue1.c: Include <stdint.h>.
30539         (check_attrs): Replace %ld with %jd and cast to intmax_t.
30540         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
30541         intmax_t.
30542         * rt/tst-mqueue4.c (do_test): Likewise.
30543         * rt/tst-timer4.c: Include <stdint.h>.
30544         (check_ts): Replace %ld with %jd and cast to intmax_t.
30545         (do_test): Likewise.
30546         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
30547         and cast to intmax_t.
30548         * sysdeps/pthread/tst-timer.c (main): Likewise.
30549         * time/clocktest.c (main): Likewise.
30550         * time/tst-posixtz.c (do_test): Likewise.
30551         * timezone/tst-timezone.c (main): Likewise.
30553 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
30554             H.J. Lu  <hongjiu.lu@intel.com>
30556         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
30557         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
30558         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
30559         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
30560         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
30561         version if bit_Fast_Unaligned_Load is set.
30562         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30563         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30564         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30565         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30566         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30567         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30568         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30569         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
30570         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
30571         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
30572         to 4.
30573         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
30574         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
30575         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
30576         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
30578 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
30580         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
30581         instead of #if to avoid a Wundef warning.
30582         * stdlib/tst-limits.c (do_test): Likewise.
30584         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
30585         parallel other exception macros.
30586         (fegetenv): Convert from macro to extern inline so that it applies
30587         retroactively to inline functions already seen by the compiler.
30588         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
30590         * posix/Makefile (before-compile): Use $(objpfx) for
30591         posix-conf-vars-def.h.
30593 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30595         * posix/getconf.c (main): Use size_t for type of I.
30596         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
30597         NSPEC.
30599         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
30600         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
30601         * posix/posix-envs.def: Likewise.
30602         * sysdeps/posix/sysconf.c: Likewise.
30603         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
30604         (specs): Remove array.
30605         * scripts/gen-posix-conf-vars.awk: Support generation of specs
30606         array.
30608         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
30609         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
30610         (__sysconf): Use CONF_IS_* macros.
30612         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
30613         ($(objpfx)posix-conf-vars-def.h): New target.
30614         * posix/posix-conf-vars.list: New file.
30615         * posix/posix-conf-vars.h: New file.
30616         * posix/confstr.c: Include posix-conf-vars.h.
30617         (confstr): Use CONF_IS_* macros.
30618         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
30619         CONF_IS_* macros.
30620         * scripts/gen-posix-conf-vars.awk: New file.
30622 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
30624         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
30625         fegetround): Add no-op macros to avoid linknamespace issues.
30627         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
30628         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
30630         * sysdeps/unix/sysv/linux/tile/sysdep.h
30631         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
30632         assembly-specific section to avoid a redefinition warning.
30634         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
30635         long before casting to pointer to avoid a cast warning.
30637 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
30639         * sysdeps/tile/tilegx/Implies: New file.
30641 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
30643         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
30645 2014-12-23  Florian Weimer  <fweimer@redhat.com>
30647         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
30649 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
30651         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
30652         not define.
30653         * sysdeps/unix/sysv/linux/utimes.c: Do not include
30654         <kernel-features.h>.
30655         (__utimes) [__NR_utimes]: Make code unconditional.
30656         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
30657         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30658         (__ASSUME_UTIMES): Do not undefine.
30659         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30660         (__ASSUME_UTIMES): Likewise.
30661         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30662         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
30663         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
30664         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
30666 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
30668         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
30670 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
30672         [BZ #17747]
30673         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
30674         alias to weak alias for j0l, y0l.
30675         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
30676         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
30678         [BZ #17746]
30679         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
30680         conversion.
30682 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
30684         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
30685         to zero if not already defined.
30687 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
30689         [BZ #17724]
30690         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
30691         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
30692         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
30693         (char *) casts added.
30694         * sysdeps/ieee754/k_standardf.c: New file.
30695         * sysdeps/ieee754/k_standardl.c: Likewise.
30696         * math/Makefile (libm-support): Remove k_standard.
30697         (libm-calls): Add k_standard.
30699 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
30701         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
30702         Optimize to avoid an unnecessary FPCR read.
30704 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
30706         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
30707         Optimize to reduce FPCR/FPSR accesses.
30709 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
30711         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
30712         Call libc_fetestexcept_aarch64.
30714 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
30716         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
30717         Call libc_fesetround_aarch64.
30719 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
30721         [BZ #17733]
30722         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
30723         (__bind): Do not define as weak alias.
30724         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
30725         define.
30726         (__getsockname): Do not define as weak alias.
30728 2014-12-22  Will Newton  <will.newton@linaro.org>
30730         * manual/install.texi: Document that we require bison 2.7
30731         or above.
30732         * INSTALL: Regenerate.
30733         * configure.ac: Use AC_CHECK_PROG_VER instead of
30734         AC_PATH_PROG when checking for bison and check for
30735         version 2.7 or above.
30736         * configure: Regenerate.
30738 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
30740         [BZ #17745]
30741         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
30742         * sysdeps/tile/ffsll.c (ffsll): To here.
30744         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
30746 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
30748         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
30749         if not defined.
30750         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
30751         definition.
30752         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
30753         hidden ___tls_get_addr.
30754         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
30755         hidden __tls_get_addr.
30756         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
30757         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
30758         Likewise.
30760 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
30762         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
30763         _dl_init call.
30765 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
30767         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
30768         from "call _dl_init@PLT".
30769         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
30771 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
30773         * manual/search.texi: (Array Sort Function): Clarify stable sorting
30774         guarantees.
30776 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
30778         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
30780 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
30782         [BZ #17744]
30783         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
30784         strnlen.
30786 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
30788         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
30789         of multu on MIPSr6.
30790         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
30791         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
30792         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
30793         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
30794         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
30796 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
30798         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
30799         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
30800         (PTR_SUBU): Use subu for mips32r6/mips64r6.
30801         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
30802         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
30803         mips32r6/mips64r6.
30804         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
30806 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
30808         * string/strncat.c (STRNCAT): Simplify implementation.
30810 2014-12-19  David S. Miller  <davem@davemloft.net>
30812         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
30813         access the quad as both a long double and as a series of 4 words.
30815         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
30816         link_map->l_info array access.
30818 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
30820         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
30822         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
30823         * math/atest-exp2.c (TIMEOUT): Likewise.
30824         * math/atest-sincos.c (TIMEOUT): Likewise.
30826 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
30828         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
30829         -Wno-error with -fno-builtin-lround.
30831 2014-12-19  Torvald Riegel  <triegel@redhat.com>
30833         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
30834         Contains futex constants and functions moved over from ...
30835         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
30836         <lowlevellock-futex.h>.
30837         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
30838         (lll_timedwait_tid): Add comments and parentheses around macro
30839         arguments.
30841 2014-12-19  Torvald Riegel  <triegel@redhat.com>
30843         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
30844         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
30845         (__lll_private_flag): Remove.
30846         (lll_futex_wait): Likewise.
30847         (lll_futex_timed_wait): Likewise.
30848         (lll_futex_wake): Likewise.
30849         (lll_futex_requeue): Likewise.
30850         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
30851         (__lll_timedwait_tid): Spell out argument names.
30852         (lll_timedwait_tid): Add comments and parentheses around macro
30853         arguments.
30854         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
30855         LLL_SHARED and LLL_PRIVATE usable from assembly code.
30857 2014-12-19  Torvald Riegel  <triegel@redhat.com>
30859         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
30860         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
30861         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30862         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
30863         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
30864         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
30865         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
30866         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
30867         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
30868         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
30869         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
30870         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
30871         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
30872         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
30873         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
30874         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
30875         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
30876         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
30877         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
30879 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
30881         * sysdeps/x86_64/x32/Makefile: New file.
30883 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
30885         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
30886         1L with (mp_limb_t) 1.
30888 2014-12-17  Roland McGrath  <roland@hack.frob.com>
30890         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
30891         * nptl/libc_pthread_init.c: ... here.
30892         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
30893         * nptl/register-atfork.c: ... here.
30895         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
30896         Use pthread_sigmask rather than INTERNAL_SYSCALL.
30897         Use assert_perror to check its return value.
30898         (__gai_create_helper_thread): Likewise.
30900         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
30902         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
30904 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
30906         [BZ #17725]
30907         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
30908         __profil_counter.
30909         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
30910         Likewise.
30911         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
30912         Likewise.
30913         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
30914         Likewise.
30915         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
30916         (profil_counter): Likewise.
30917         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
30918         (profil_counter): Likewise.
30919         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
30920         Likewise.
30921         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
30922         Likewise.
30923         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
30924         (profil_counter): Likewise.
30925         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
30926         Likewise.
30927         [!__profil_counter] (profil_counter): Define as weak alias of
30928         __profil_counter.
30929         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
30930         (profil_counter): Rename to __profil_counter.
30931         [!__profil_counter] (profil_counter): Define as weak alias of
30932         __profil_counter.
30933         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
30934         (profil_counter): Rename to __profil_counter.
30935         [!__profil_counter] (profil_counter): Define as weak alias of
30936         __profil_counter.
30937         * sysdeps/posix/profil.c: Update comment referring to
30938         profil_counter.
30939         (__profil): Use __profil_counter instead of profil_counter.
30940         * sysdeps/posix/sprofil.c (profil_counter): Rename to
30941         __profil_counter.  Use __profil_counter_ushort and
30942         __profil_counter_uint in definitions.
30943         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
30944         instead of profil_counter_uint and profil_counter_ushort.
30946         [BZ #17722]
30947         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
30948         define as weak alias of __inet_makeaddr.
30949         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
30950         as weak alias of __inet_addr.
30951         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
30952         as weak alias of __inet_pton.  Use libc_hidden_weak.
30953         * include/arpa/inet.h (__inet_pton): Declare.  Use
30954         libc_hidden_proto.
30955         (inet_makeaddr): Don't use libc_hidden_proto.
30956         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
30957         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
30958         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
30959         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
30960         Remove variable.
30961         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
30962         (test-xfail-POSIX/time.h/linknamespace): Likewise.
30964 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
30966         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
30968 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
30970         * stdio-common/bug-vfprintf-nargs.c (do_test):
30971         Cast value to intptr_t to avoid format warning
30972         for usage with PRIdPTR printing macro.
30974 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
30976         * libio/tst-widetext.c (do_test):
30977         Use format type %td instead of %Zd for ptrdiff_t
30978         in order to avoid format warning.
30980 2014-12-17  Andreas Schwab  <schwab@suse.de>
30982         * nscd/mem.c (gc): Add size_t cast to match printf format.
30984 2014-12-16  Roland McGrath  <roland@hack.frob.com>
30986         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
30987         (init): Apply PTR_MANGLE to pointers before storing them.
30988         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
30989         before using them.
30991 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
30993         [BZ #17719]
30994         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
30995         define as weak alias of __memrchr.
30996         (__memrchr): Do not define as strong alias of memrchr.
30997         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
30998         Remove variable.
30999         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
31000         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
31001         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
31003         [BZ #17717]
31004         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
31005         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
31006         (if_indextoname): Rename to __if_indextoname and define as weak
31007         alias of __if_indextoname.  Use libc_hidden_weak.
31008         (if_freenameindex): Rename to __if_freenameindex and define as
31009         weak alias of __if_freenameindex.
31010         (if_nameindex): Rename to __if_nameindex and define as weak alias
31011         of __if_nameindex.
31012         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
31013         __if_nametoindex and define as weak alias of __if_nametoindex.
31014         Use libc_hidden_weak.
31015         (if_freenameindex): Rename to __if_freenameindex and define as
31016         weak alias of __if_freenameindex.
31017         (if_nameindex): Rename to __if_nameindex and define as weak alias
31018         of __if_nameindex.
31019         (if_indextoname): Rename to __if_indextoname and define as weak
31020         alias of __if_indextoname.  Use libc_hidden_weak.
31021         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
31022         __if_nametoindex and define as weak alias of __if_nametoindex.
31023         Use libc_hidden_weak.
31024         (if_freenameindex): Rename to __if_freenameindex and define as
31025         weak alias of __if_freenameindex.  Use libc_hidden_weak.
31026         (if_nameindex_netlink): Use __if_freenameindex instead of
31027         if_freenameindex.
31028         (if_nameindex): Rename to __if_nameindex and define as weak alias
31029         of __if_nameindex.  Use libc_hidden_weak.
31030         (if_indextoname): Rename to __if_indextoname and define as weak
31031         alias of __if_indextoname.  Use libc_hidden_weak.
31032         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
31033         libc_hidden_proto.
31034         [!_ISOMAC] (__if_freenameindex): Likewise.
31035         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
31036         if_nametoindex.
31037         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
31038         variable.
31039         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
31040         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
31041         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
31042         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
31043         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
31044         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
31045         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
31047         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
31048         Remove variable.
31049         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
31050         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
31052 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31054         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
31055         subscript above bounds'
31057         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
31058         bounds.
31060 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
31062         * libio/tst-fopenloc.c: Use test-skeleton.c.
31064         * stdlib/tst-bsearch.c: Use test-skeleton.c.
31065         (entry): Rename to ITEM.
31066         (do_test, comp): Adjust.
31068         * stdio-common/tst-fseek.c: Use test-skeleton.c.
31070 2014-12-16  Torvald Riegel  <triegel@redhat.com>
31072         * string/tester.c: Include <libc-internal.h>.
31073         (test_memset): Ignore -Wmemset-transposed-args.
31075 2014-12-16  Torvald Riegel  <triegel@redhat.com>
31077         * misc/tst-mntent2.c (do_test): Fix warning.
31079 2014-12-16  Torvald Riegel  <triegel@redhat.com>
31081         * elf/tst-unique4lib.cc(a): Mark as used.
31083 2014-12-16  Florian Weimer  <fweimer@redhat.com>
31085         [BZ #17630]
31086         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
31087         names.
31089 2014-12-16  Allan McRae  <allan@archlinux.org>
31091         * stdio-common/Makefile (tests): Re-add bug26.
31093 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
31095         [BZ #17657]
31096         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
31097         static array.
31099 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
31101         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
31102         (__lll_lock_wait): Likewise.
31103         (__lll_timedlock_wait): Likewise.
31104         (__lll_timedwait_tid): Likewise.
31105         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
31106         (__lll_robust_timedlock_wait): Likewise.
31107         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
31108         (lll_cond_trylock): Likewise.
31109         (__lll_lock): Likewise.
31110         (__lll_robust_lock): Likewise.
31111         (__lll_cond_lock): Likewise.
31112         (lll_robust_cond_lock): Likewise.
31113         (__lll_timedlock): Likewise.
31114         (__lll_robust_timedlock): Likewise.
31115         (__lll_unlock): Likewise.
31116         (__lll_robust_unlock): Likewise.
31117         (lll_wait_tid): Likewise.
31118         (lll_timedwait_tid): Likewise.
31120 2014-12-15  Torvald Riegel  <triegel@redhat.com>
31122         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
31124 2014-12-15  Torvald Riegel  <triegel@redhat.com>
31126         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
31128 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
31130         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
31131         * stdio-common/tst-sprintf.c: Likewise.
31133 2014-12-15  Torvald Riegel  <triegel@redhat.com>
31135         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
31137 2014-12-15  Jeff Law  <law@redhat.com>
31139         [BZ #16617]
31140         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
31141         on the heap.  (CVE-2012-3406)
31142         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
31143         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
31144         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
31146 2014-12-15  Will Newton  <will.newton@linaro.org>
31148         * manual/install.texi: Bump required version of texinfo
31149         to 4.7 from 4.5.
31150         * INSTALL: Regenerated.
31151         * configure.ac: Check for makeinfo version 4.7 and above.
31152         * configure: Regenerated.
31154 2014-12-12  Roland McGrath  <roland@hack.frob.com>
31156         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
31157         PREFIX, string constant to insert between directory and name.
31158         * sysdeps/posix/shm_open.c: Update caller.
31159         * sysdeps/posix/shm_unlink.c: Likewise.
31160         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
31161         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
31162         (SEM_SHM_PREFIX): New macro.
31163         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
31164         [$(have-thread-library) = no].
31165         * nptl/Makefile (libpthread-routines): Add shm-directory.
31166         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
31167         * sysdeps/nptl/shm-directory.h: New file.
31168         * sysdeps/posix/shm-directory.c
31169         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
31170         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31171         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
31172         INTERNAL_SYSCALL.
31173         (__where_is_shmfs): Function removed.
31174         (mountpoint, defaultmount, defaultdir, __namedsem_once):
31175         Variables removed.
31176         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
31177         Use SHM_GET_NAME.
31178         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
31180         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
31181         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
31182         unconditional for use inside libpthread.
31183         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
31185 2014-12-12  Roland McGrath  <roland@hack.frob.com>
31187         * nptl/pthread_getaffinity.c: New file.
31188         * nptl/pthread_setaffinity.c: New file.
31189         * nptl/pthread_getname.c: New file.
31190         * nptl/pthread_setname.c: New file.
31192         * nptl/pthread_create.c (START_THREAD_DEFN)
31193         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
31195 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31196             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31198         * resolv/res_send.c (send_vc): Disable warning resplen may
31199         be used uninitialized.
31201 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31203         * nptl/tst-mutex6.c
31204         (ATTR_NULL): New define checks ATTR against NULL.
31205         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
31206         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
31208 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
31210         [BZ #17581]
31211         * malloc/hooks.c
31212         (mem2mem_check): Revert my previous change.
31213         (malloc_check_get_size): Revert my previous change.
31214         (mem2chunk_check): Revert my previous change.
31216 2014-12-11  Roland McGrath  <roland@hack.frob.com>
31218         * sysdeps/posix/shm-directory.c: New file.
31219         * sysdeps/posix/shm-directory.h: New file.
31220         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
31221         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
31222         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
31223         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
31224         Transmute EPERM to EACCES.
31225         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
31226         from ...
31227         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
31228         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
31230 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31232         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
31233         pointer and cast to uintptr_t.
31234         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
31235         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
31236         Add cast to avoid warning.
31237         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
31239 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
31241         * nptl/semaphore.h: Move to ...
31242         * sysdeps/pthread/semaphore.h: ... here.
31243         * Makefile (installed-headers): Change nptl/semaphore.h to
31244         sysdeps/pthread/semaphore.h.
31246 2014-12-11  Roland McGrath  <roland@hack.frob.com>
31248         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
31249         generated error format strings.
31251         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
31252         -Wformat-extra-args warnings for scanf formats.
31253         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
31254         test of zero-length format (duh).
31255         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
31256         corner-case scanf format test.
31257         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
31258         generated fprintf format string.
31259         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
31260         corner-case sprintf format tests.
31261         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
31262         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
31263         -Wformat-extra-args warnings throughout.
31264         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
31265         (CFLAGS-scanf4.c): Likewise.
31266         (CFLAGS-scanf7.c): Likewise.
31267         (CFLAGS-tst-sprintf.c): Likewise.
31268         (CFLAGS-tst-printf.c): Likewise.
31269         (CFLAGS-tst-printfsz.c): Likewise.
31271 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
31273         * include/cpio.h: New file.
31274         * include/fmtmsg.h: Likewise.
31276         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
31277         corresponding format argument to size_t.
31278         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
31279         arguments.
31280         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
31281         corresponding format argument to size_t.
31282         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
31283         arguments.
31284         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
31285         corresponding format argument to size_t.
31286         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
31287         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
31288         (CFLAGS-tst-mbswcs2.c): Likewise.
31289         (CFLAGS-tst-mbswcs3.c): Likewise.
31290         (CFLAGS-tst-mbswcs4.c): Likewise.
31291         (CFLAGS-tst-mbswcs5.c): Likewise.
31292         (CFLAGS-tst-trans.c): Likewise.
31294 2014-12-11  Roland McGrath  <roland@hack.frob.com>
31296         * posix/regexbug1.c (main): Use "%s" format with regerror results,
31297         rather than assuming they won't contain any '%'s.
31299 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
31301         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
31302         inhibit_loop_to_libcall to avoid recursive calls.
31303         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
31304         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
31306 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
31308         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
31309         prototype.
31311 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
31313         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
31314         integer value instead of boolean.
31316 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
31318         * malloc/malloc.c: Fix powerof2 check.
31320 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31322         * locale/programs/locfile.h (maybe_swap_uint32):
31323         Remove inline and add unused attribute.
31325 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31327         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
31328         Truncating assembler expression to a .long expression.
31330 2014-12-11  Andreas Schwab  <schwab@suse.de>
31332         * elf/rtld.c (struct map_args): Constify str member.
31333         (do_preload): Constify fname argument.
31335 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31337         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
31338         constants definition.
31340 2014-12-11  Andreas Schwab  <schwab@suse.de>
31342         [BZ #16657]
31343         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
31344         FORCE_ELISION instead of DO_ELISION.
31345         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
31346         Remove.
31347         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
31348         Likewise.
31350         * iconvdata/gconv-modules: Remove duplicate entry.
31352 2014-12-11  Will Newton  <will.newton@linaro.org>
31354         Merge gettext 0.19.3 into intl/.
31356         This involves a number of cosmetic changes to comments
31357         and ANSI function definitions and prototypes throughout
31358         all the files. The gettext copyright header is used but
31359         with the date ranges taken from the glibc copy.
31361         * NEWS: Add gettext merge to 2.21.
31362         * intl/bindtextdom.c: Switch to gettext copyright.
31363         Use ANSI definitions and prototypes.
31364         Use gl_* locking primitives rather than __libc_* ones.
31365         Use __builtin_expect rather than __glibc_likely/unlikely.
31366         * intl/dcgettext.c: Switch to gettext copyright.
31367         Use ANSI definitions and prototypes.
31368         * intl/dcigettext.c: Switch to gettext copyright.
31369         Use ANSI definitions and prototypes.
31370         (INTDIV0_RAISES_SIGFPE): New define.
31371         Use gl_* locking primitives rather than __libc_* ones.
31372         Include eval-plural.h instead of plural-eval.c.
31373         Use __builtin_expect rather than __glibc_likely/unlikely.
31374         * intl/dcngettext.c: Switch to gettext copyright.
31375         Use ANSI definitions and prototypes.
31376         * intl/dgettext.c: Likewise.
31377         * intl/dngettext.c: Likewise.
31378         * intl/plural-eval.c: Renamed to...
31379         * intl/eval-plural.h: ...this.
31380         * intl/explodename.c: Switch to gettext copyright.
31381         Use ANSI definitions and prototypes.
31382         (_nl_explode_name): Use strchr instead of __rawmemchr.
31383         * intl/finddomain.c: Switch to gettext copyright.
31384         Use ANSI definitions and prototypes.
31385         Use gl_* locking primitives rather than __libc_* ones.
31386         (_nl_find_domain): Use malloc rather than alloca for
31387         allocation of temporary locale name.
31388         * intl/gettext.c: Switch to gettext copyright.
31389         Use ANSI definitions and prototypes.
31390         * intl/gettextP.h: Switch to gettext copyright.
31391         Use ANSI definitions and prototypes.
31392         Use gl_* locking primitives rather than __libc_* ones.
31393         * intl/gmo.h: Switch to gettext copyright.
31394         (struct sysdep_string): Move struct segment_pair outside of
31395         struct definition.
31396         * intl/hash-string.c: Use ANSI definitions and prototypes.
31397         * intl/hash-string.h: Switch to gettext copyright.
31398         Use ANSI definitions and prototypes.
31399         * intl/l10nflist.c: Switch to gettext copyright.
31400         Use ANSI definitions and prototypes.
31401         (_nl_normalize_codeset): Avoid integer overflow.
31402         * intl/loadinfo.h: Switch to gettext copyright.
31403         Use ANSI definitions and prototypes.
31404         (LIBINTL_DLL_EXPORTED): New define.
31405         (PATH_SEPARATOR): New define.
31406         * intl/loadmsgcat.c: Switch to gettext copyright.
31407         * intl/localealias.c: Switch to gettext copyright.
31408         Use ANSI definitions and prototypes.
31409         (_nl_expand_alias): Use PATH_SEPARATOR.
31410         * intl/ngettext.c: Switch to gettext copyright.
31411         Use ANSI definitions and prototypes.
31412         * intl/plural-exp.c: Likewise.
31413         * intl/plural-exp.h: Switch to gettext copyright.
31414         Use ANSI definitions and prototypes.
31415         (struct expression): Move definition of enum operator outside
31416         of struct definition.
31417         * intl/plural.c: Regenerate.
31418         * intl/plural.y: Switch to gettext copyright.
31419         Use ANSI definitions and prototypes.
31420         Port to bison 3.0.
31421         * intl/textdomain.c: Switch to gettext copyright.
31422         Use ANSI definitions and prototypes.
31423         Use gl_* locking primitives rather than __libc_* ones.
31425 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
31427         * debug/warning-nop.c: Add used atrribute.
31429 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
31431         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
31433         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
31434         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
31435         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
31437 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
31438             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31440         [BZ #17634]
31441         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
31442         Undefine after defining function.  Define as weak alias of
31443         __wcschr.  Use libc_hidden_weak.
31444         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
31445         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
31446         (libc_hidden_def): Also define __GI___wcschr alias.
31447         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
31448         __wcschr and define as weak alias of __wcschr.
31449         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
31450         __wcschr.
31451         [!WCSCHR] (DEFAULT_WCSCHR): Define.
31452         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
31453         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
31454         libc_hidden_weak.  Do not use libc_hidden_def.
31455         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
31456         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
31457         __GI___wcschr alias.
31458         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
31459         [IS_IN (libc)] (wcschr): Define as macro expanding to
31460         __redirect_wcschr.
31461         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
31462         [IS_IN (libc)] (__wcschr_power6): Likewise.
31463         [IS_IN (libc)] (__wcschr_power7): Likewise.
31464         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
31465         instead of wcschr.
31466         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
31467         __libc_wcschr.
31468         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
31469         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
31470         __wcschr and define as weak alias of __wcschr.  Use
31471         libc_hidden_builtin_def.
31472         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
31473         as weak alias of __wcschr.  Use libc_hidden_weak.
31474         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
31475         wcschr.
31476         * time/era.c (_nl_init_era_entries): Likewise.
31477         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
31478         variable.
31479         (test-xfail-XPG3/time.h/linknamespace): Likewise.
31480         (test-xfail-XPG4/time.h/linknamespace): Likewise.
31482 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
31484         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
31485         format for long int variable.
31487 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
31489         [BZ #10672]
31490         * manual/search.texi: (Array Sort Function): Remove claim how to make
31491         qsort stable.
31493 2014-12-10  Andreas Schwab  <schwab@suse.de>
31495         [BZ #12847]
31496         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
31497         user-controlled locks.
31499 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
31501         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
31502         register.
31504 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
31506         * configure.ac (--disable-werror): New configure option.
31507         (enable_werror): New AC_SUBST.
31508         * configure: Regenerated.
31509         * config.make.in (enable-werror): New variable.
31510         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
31511         -Wno-error=undef.
31512         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
31513         * manual/install.texi (Configuring and compiling): Document
31514         --disable-werror.
31515         * INSTALL: Regenerated.
31516         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
31517         (CFLAGS-tst-chk2.c): Likewise.
31518         (CFLAGS-tst-chk3.c): Likewise.
31519         (CFLAGS-tst-chk4.cc): Likewise.
31520         (CFLAGS-tst-chk5.cc): Likewise.
31521         (CFLAGS-tst-chk6.cc): Likewise.
31522         (CFLAGS-tst-lfschk1.c): Likewise.
31523         (CFLAGS-tst-lfschk2.c): Likewise.
31524         (CFLAGS-tst-lfschk3.c): Likewise.
31525         (CFLAGS-tst-lfschk4.cc): Likewise.
31526         (CFLAGS-tst-lfschk5.cc): Likewise.
31527         (CFLAGS-tst-lfschk6.cc): Likewise.
31529         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
31530         (main): Disable -Wdeprecated-declarations around calls to
31531         register_printf_function.
31533         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
31534         (do_test): Disable -Wdiv-by-zero around some calls to
31535         fwrite_unlocked and fread_unlocked.
31537         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
31538         (DIAG_POP_NEEDS_COMMENT): Likewise.
31539         (_DIAG_STR1): Likewise.
31540         (_DIAG_STR): Likewise.
31541         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
31542         * stdio-common/bug21.c: Include <libc-internal.h>.
31543         (do_test): Disable -Wformat around call to sscanf.
31544         * stdio-common/scanf14.c: Include <libc-internal.h>.
31545         (main): Disable -Wformat around some calls to scanf functions.
31547 2014-12-09  Torvald Riegel  <triegel@redhat.com>
31549         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
31551 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31553         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
31554         stack variable alignment.
31556 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
31558         [BZ #17682]
31559         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
31560         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
31561         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
31562         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
31563         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
31564         __getrlimit instead of getrlimit.
31565         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
31566         __gettimeofday instead of gettimeofday.
31567         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
31568         Likewise.
31569         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
31570         Likewise.
31571         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
31572         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
31573         Remove variable.
31574         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
31575         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
31577 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31579         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
31580         for wide-character tests.
31582 2014-12-04  Roland McGrath  <roland@hack.frob.com>
31584         * io/openat64.c: #include <libc-internal.h>
31585         (__openat64): Prototypify.  Use ignore_value on MODE.
31586         * io/openat.c: Likewise.
31587         * misc/reboot.c: #include <libc-internal.h>
31588         (reboot): Prototypify.  Use ignore_value on HOWTO.
31589         * misc/ptrace.c: #include <libc-internal.h>
31590         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
31592 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
31594         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
31595         XPG4, UNIX98 and XOPEN2K.
31596         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
31597         Remove variable.
31598         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
31600 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31602         * libio/fileops.c: Use ISO C style for function definitions.
31603         * libio/iofopen.c: Likewise.
31604         * libio/wfileops.c: Likewise.
31606         [BZ #17653]
31607         * libio/fileops.c (_IO_new_file_underflow): Unset cached
31608         offset on EOF.
31609         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
31610         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
31611         (fgets_func): Function pointer to fgets and fgetws.
31612         (do_ftell_test): Add test to verify ftell value after read
31613         EOF.
31614         (do_test): Set fgets_func.
31616         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
31617         O_TRUNC flag for w and w+ modes.
31618         (do_rewind_test): Likewise.
31619         (do_ftell_test): Likewise.
31620         (do_write_test): Likewise.
31622         [BZ #17647]
31623         * libio/fileops.c (do_ftell): Seek only when there are
31624         unflushed writes.
31625         * libio/wfileops.c (do_ftell_wide): Likewise.
31626         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
31627         test case.
31628         (do_one_test): Call it.
31630 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
31632         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
31633         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
31634         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
31635         Remove variable.
31636         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
31637         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
31638         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
31640 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
31642         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
31643         Remove variable.
31644         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
31646         [BZ #17668]
31647         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
31648         as weak alias of __getifaddrs.  Use libc_hidden_weak.
31649         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
31650         __freeifaddrs.  Use libc_hidden_weak.
31651         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
31652         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
31653         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
31654         __freeifaddrs.  Use libc_hidden_weak.
31655         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
31656         __getifaddrs and define as weak alias of __getifaddrs.  Use
31657         libc_hidden_weak.
31658         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
31659         __freeifaddrs.  Use libc_hidden_weak.
31660         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
31661         Remove variable.
31662         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
31663         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
31665 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
31667         [BZ #17601]
31668         * sysdeps/mips/start.S (__start): Use indirect jump to call
31669         __libc_start_main.
31671 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
31673         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
31675         * nptl/tst-mutex1.c: Include <stdbool.h>.
31676         [!ATTR] (ATTR_NULL): New macro.
31677         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
31678         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
31679         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
31681         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
31682         to char *.
31684         [BZ #17665]
31685         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
31686         Change conditional to [__USE_MISC].
31688         [BZ #17664]
31689         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
31690         fgets_unlocked.
31691         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
31692         __fgets_unlocked.
31693         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
31694         fgets_unlocked.
31695         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
31696         Remove variable.
31697         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
31698         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
31699         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
31700         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
31701         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
31702         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
31703         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
31704         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
31705         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
31707         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
31709 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31711         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31712         Remove strpbrk objects.
31713         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31714         (__libc_ifunc_impl_list): Remove strpbrk implementation.
31715         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
31716         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
31717         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
31718         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
31720         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31721         Remove strcspn objects.
31722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31723         (__libc_ifunc_impl_list): Remove strcspn implementation.
31724         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
31725         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
31726         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
31727         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
31729         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31730         Remove strspn objetcs.
31731         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31732         (__libc_ifunc_impl_list): Remove strspn implementation.
31733         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
31734         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
31735         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
31736         * sysdeps/powerpc/powerpc64/strspn.S: New file.
31738 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
31740         [BZ #17581]
31741         * malloc/hooks.c
31742         (mem2mem_check): Add a terminator to the chain of checking blocks.
31743         (malloc_check_get_size): Use it here.
31744         (mem2chunk_check): Ditto.
31746 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31748         * sysdeps/powerpc/powerpc64/strtok.S: New file.
31749         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
31751 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
31753         * bits/ioctl-types.h: Indent preprocessor directives correctly.
31755         * nptl/nptl-init.c: Include libc-internal.h.
31756         (__pthread_initialize_minimal_internal): Use ROUND_UP.
31758         * elf/ldconfig.c (search_dir): Expand comment.
31760 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
31762         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
31763         variable.
31764         (linknamespace-symlist-stdlibs-tests): Likewise.
31765         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
31766         instead of $(objpfx)symlist-stdlibs.
31767         (linknamespace-libs-isoc): New variable.
31768         (linknamespace-libs): Use $(linknamespace-libs-isoc).
31769         (linknamespace-libs-ISO): New variable.
31770         (linknamespace-libs-ISO99): Likewise.
31771         (linknamespace-libs-ISO11): Likewise.
31772         (linknamespace-libs-XPG3): Likewise.
31773         (linknamespace-libs-XPG4): Likewise.
31774         (linknamespace-libs-POSIX): Likewise.
31775         (linknamespace-libs-UNIX98): Likewise.
31776         (linknamespace-libs-XOPEN2K): Likewise.
31777         (linknamespace-libs-POSIX2008): Likewise.
31778         (linknamespace-libs-XOPEN2K8): Likewise.
31779         ($(objpfx)symlist-stdlibs): Replace by
31780         $(linknamespace-symlist-stdlibs-tests).  Use
31781         $(linknamespace-libs-$*) as set of libraries.
31782         ($(linknamespace-header-tests)): Update dependencies.  Use
31783         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
31784         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
31785         * conform/linknamespace.pl: Remove comment about considering
31786         definitions of symbols from irrelevant libraries.
31788 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
31790         [BZ #13862]
31791         * elf/dl-tls.c: Include <atomic.h>.
31792         (oom): Remove #ifdef SHARED/#endif.
31793         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
31794         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
31795         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
31796         big enough.
31797         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
31798         * nptl/Makefile (tests): Add tst-stack4.
31799         (modules-names): Add tst-stack4mod.
31800         ($(objpfx)tst-stack4): New.
31801         (tst-stack4mod.sos): Likewise.
31802         ($(objpfx)tst-stack4.out): Likewise.
31803         ($(tst-stack4mod.sos)): Likewise.
31804         (clean): Likewise.
31805         * nptl/tst-stack4.c: New file.
31806         * nptl/tst-stack4mod.c: Likewise.
31808 2014-11-27  J. Brown  <jb999@gmx.de>
31810         * sysdeps/x86/bits/string.h: Add recent CPUs.
31812 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
31814         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
31815         sigblock.
31817         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
31818         feof.
31820         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
31821         variable.
31823 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
31825         * nscd/connections.c: Include libc-internal.h because of macro
31826         usage ignore_value.
31828 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31830         * string/bits/string3.h (__warn_memset_zero_len): Don't
31831         declare for gcc newer than 5.0.
31832         (memset): Don't test for zero-length __LEN for gcc newer than
31833         5.0.
31835 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
31837         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
31838         size_t for %zu format.
31840         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
31841         difference, not %ju.
31843 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
31845         * include/libc-internal.h (ignore_value): New macro.
31846         * nscd/connections.c (restart): Wrap calls to setuid and setgid
31847         with ignore_value.
31849         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
31850         definition.
31852         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
31853         pthread_cleanup_push to void *.
31855         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
31856         Undefine.
31858         [BZ #16619]
31859         [BZ #16740]
31860         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
31861         instead of 1L << 52.
31863         * libio/bug-rewind.c (do_test): Check fwscanf return values.
31864         * libio/bug-rewind2.c (do_test): Likewise.
31866         * debug/test-stpcpy_chk-ifunc.c: Remove file.
31867         * debug/test-strcpy_chk-ifunc.c: Likewise.
31868         * wcsmbs/test-wcschr-ifunc.c: Likewise.
31869         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31870         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31871         * wcsmbs/test-wcslen-ifunc.c: Likewise.
31872         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31873         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31874         * Rules [$(multi-arch) = no] (tests): Do not filter out
31875         $(tests-ifunc).
31876         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
31877         * debug/Makefile (tests-ifunc): Remove variable.
31878         (tests): Do not add $(tests-ifunc).
31879         * wcsmbs/Makefile (tests-ifunc): Remove variable.
31880         (tests): Do not add $(tests-ifunc).
31881         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
31882         [TEST_IFUNC]: Remove conditionals.
31883         * string/test-string.h (TEST_IFUNC): Remove macro.
31884         [TEST_IFUNC]: Remove conditionals.
31886         * string/test-strchr.c [!WIDE] (L): New macro.
31887         [WIDE] (L): Likewise.
31888         (check1): Use CHAR instead of char.  Use L on string and character
31889         constants.
31891 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
31893         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
31894         tests.
31895         * sysdeps/powerpc/bits/atomic.h
31896         (__arch_atomic_exchange_and_add_32_acq): Add definition.
31897         (__arch_atomic_exchange_and_add_32_rel): Likewise.
31898         (atomic_exchange_and_add_acq): Likewise.
31899         (atomic_exchange_and_add_rel): Likewise.
31900         * sysdeps/powerpc/powerpc32/bits/atomic.h
31901         (__arch_atomic_exchange_and_add_64_acq): Add definition.
31902         (__arch_atomic_exchange_and_add_64_rel): Likewise.
31903         * sysdeps/powerpc/powerpc64/bits/atomic.h
31904         (__arch_atomic_exchange_and_add_64_acq): Add definition.
31905         (__arch_atomic_exchange_and_add_64_rel): Likewise.
31907 2014-11-26  Torvald Riegel  <triegel@redhat.com>
31909         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
31910         Change synchronization of __sched_fifo_min_prio and
31911         __sched_fifo_max_prio.
31912         * nptl/pthread_mutexattr_getprioceiling.c
31913         (pthread_mutexattr_getprioceiling): Likewise.
31914         * nptl/pthread_mutexattr_setprioceiling.c
31915         (pthread_mutexattr_setprioceiling): Likewise.
31916         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
31917         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
31918         Likewise.
31920 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
31922         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
31923         void.
31925 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
31927         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
31928         third argument const.
31930 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
31932         fnmatch: work around GCC compiler warning bug with uninit var
31933         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
31934         This works around a bug with x86-64 GCC 4.9.2 and earlier
31935         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
31936         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
31937         used uninitialized in this function [-Wmaybe-uninitialized]".
31939 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
31941         * posix/bug-regex31.c (main): Return RES not 0.
31943 2014-11-25  Anton Blanchard <anton@samba.org>
31945         * sysdeps/powerpc/bits/atomic.h
31946         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
31948 2014-11-24  Sterling Augustine  <saugustine@google.com>
31950         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
31952 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
31954         [BZ #17608]
31955         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
31957 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
31959         [BZ #17633]
31960         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
31961         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
31962         variable.
31963         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
31964         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
31966 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
31968         * string/strncpy.c (strncpy): Improve performance by using memset.
31970 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
31972         * string/strcpy.c (strcpy):
31973         Improve performance by using strlen and memcpy.
31975 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
31977         * string/strcoll_l.c (get_next_seq): __always_inline.
31978         * string/strcoll_l.c (do_compare): __always_inline.
31980 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31982         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
31983         defined.
31984         * include/mqueue.h: Likewise.
31985         * include/stdlib.h: Likewise.
31987         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
31988         (get_null_defines): Adjust.
31989         * sunrpc/Makefile: Adjust comment.
31990         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
31991         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
31992         (CFLAGS-interp.c): Likewise.
31993         (CFLAGS-ldconfig.c): Likewise.
31994         (CPPFLAGS-.os): Likewise.
31995         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31996         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
31997         * extra-modules.mk (extra-modules.mk): Likewise.
31998         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
31999         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
32000         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
32001         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
32002         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
32003         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
32004         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
32005         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
32006         * iconvdata/Makefile (CPPFLAGS): Likewise.
32007         (cpp-srcs-left): Add libof for all iconvdata routines.
32008         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
32009         * include/assert.h: Likewise.
32010         * include/ctype.h: Likewise.
32011         * include/errno.h: Likewise.
32012         * include/libc-symbols.h: Likewise.
32013         * include/math.h: Likewise.
32014         * include/netdb.h: Likewise.
32015         * include/resolv.h: Likewise.
32016         * include/stdio.h: Likewise.
32017         * include/stdlib.h: Likewise.
32018         * include/string.h: Likewise.
32019         * include/sys/stat.h: Likewise.
32020         * include/wctype.h: Likewise.
32021         * intl/l10nflist.c: Likewise.
32022         * libidn/idn-stub.c: Likewise.
32023         * libio/libioP.h: Likewise.
32024         * nptl/libc_multiple_threads.c: Likewise.
32025         * nptl/pthreadP.h: Likewise.
32026         * posix/regex_internal.h: Likewise.
32027         * resolv/res_hconf.c: Likewise.
32028         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
32029         * sysdeps/arm/memmove.S: Likewise.
32030         * sysdeps/arm/sysdep.h: Likewise.
32031         * sysdeps/generic/_itoa.h: Likewise.
32032         * sysdeps/generic/symbol-hacks.h: Likewise.
32033         * sysdeps/gnu/errlist.awk: Likewise.
32034         * sysdeps/gnu/errlist.c: Likewise.
32035         * sysdeps/i386/i586/memcpy.S: Likewise.
32036         * sysdeps/i386/i586/memset.S: Likewise.
32037         * sysdeps/i386/i686/memcpy.S: Likewise.
32038         * sysdeps/i386/i686/memmove.S: Likewise.
32039         * sysdeps/i386/i686/mempcpy.S: Likewise.
32040         * sysdeps/i386/i686/memset.S: Likewise.
32041         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32042         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32043         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
32044         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
32045         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32046         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32047         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
32048         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32049         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32050         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32051         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32052         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32053         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32054         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32055         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32056         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32057         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
32058         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
32059         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
32060         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32061         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32062         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32063         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32064         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32065         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32066         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32067         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
32068         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32069         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
32070         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32071         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32072         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32073         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32074         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32075         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32076         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32077         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32078         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32079         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32080         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32081         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32082         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32083         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32084         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32085         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32086         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32087         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
32088         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
32089         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32090         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32091         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32092         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
32093         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
32094         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32095         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32096         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
32097         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32098         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
32099         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
32100         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32101         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32102         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32103         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
32104         * sysdeps/nptl/bits/libc-lock.h: Likewise.
32105         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
32106         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
32107         * sysdeps/posix/closedir.c: Likewise.
32108         * sysdeps/posix/opendir.c: Likewise.
32109         * sysdeps/posix/readdir.c: Likewise.
32110         * sysdeps/posix/rewinddir.c: Likewise.
32111         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
32112         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
32113         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
32114         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32115         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32116         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
32117         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
32118         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
32119         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
32120         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
32121         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
32122         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
32123         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
32124         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
32125         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
32126         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
32127         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
32128         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
32129         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
32130         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
32131         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
32132         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
32133         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
32134         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
32135         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
32136         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
32137         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
32138         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
32139         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
32140         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
32141         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
32142         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
32143         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
32144         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
32145         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
32146         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
32147         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32148         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32149         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
32150         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
32151         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
32152         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
32153         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
32154         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
32155         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
32156         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
32157         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
32158         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
32159         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
32160         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
32161         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
32162         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
32163         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
32164         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
32165         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
32166         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
32167         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
32168         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
32169         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
32170         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
32171         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
32172         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
32173         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
32174         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
32175         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
32176         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
32177         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
32178         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
32179         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
32180         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
32181         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
32182         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
32183         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
32184         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
32185         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
32186         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
32187         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
32188         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
32189         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
32190         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
32191         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
32192         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
32193         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
32194         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
32195         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
32196         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
32197         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
32198         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32199         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32200         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32201         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
32202         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
32203         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
32204         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32205         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32206         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
32207         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32208         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32209         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
32210         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
32211         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32212         * sysdeps/unix/alpha/sysdep.S: Likewise.
32213         * sysdeps/unix/alpha/sysdep.h: Likewise.
32214         * sysdeps/unix/make-syscalls.sh: Likewise.
32215         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32216         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32217         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32218         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
32219         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32220         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
32221         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
32222         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32223         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32224         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
32225         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32226         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32227         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32228         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
32229         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32230         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32231         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32232         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
32233         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
32234         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32235         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
32236         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32237         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32238         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32239         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32240         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32241         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
32243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32244         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
32245         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32246         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32247         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32248         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32249         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
32250         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32251         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32252         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32253         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
32254         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
32255         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32256         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32257         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32258         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
32259         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32260         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32261         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32262         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32263         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32264         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32265         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32266         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32267         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32268         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32269         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
32270         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32271         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32272         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32273         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
32274         * sysdeps/x86_64/memcpy.S: Likewise.
32275         * sysdeps/x86_64/memmove.c: Likewise.
32276         * sysdeps/x86_64/memset.S: Likewise.
32277         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
32278         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32279         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
32280         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
32281         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
32282         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32283         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32284         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32285         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32286         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32287         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32288         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32289         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
32290         * sysdeps/x86_64/multiarch/memset.S: Likewise.
32291         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32292         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
32293         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
32294         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32295         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32296         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32297         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
32298         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32299         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32300         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32301         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32302         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32303         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32304         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
32305         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32306         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32307         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
32308         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32309         * sysdeps/x86_64/strcmp.S: Likewise.
32311         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
32313         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
32314         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
32315         * elf/rtld-Rules: Likewise.
32316         * elf/setup-vdso.h: Likewise.
32317         * include/assert.h: Likewise.
32318         * include/bits/stdlib-float.h: Likewise.
32319         * include/errno.h: Likewise.
32320         * include/sys/stat.h: Likewise.
32321         * include/unistd.h: Likewise.
32322         * sysdeps/aarch64/setjmp.S: Likewise.
32323         * sysdeps/alpha/setjmp.S: Likewise.
32324         * sysdeps/arm/__longjmp.S: Likewise.
32325         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
32326         * sysdeps/arm/setjmp.S: Likewise.
32327         * sysdeps/arm/sysdep.h: Likewise.
32328         * sysdeps/generic/_itoa.h: Likewise.
32329         * sysdeps/generic/dl-sysdep.h: Likewise.
32330         * sysdeps/generic/ldsodefs.h: Likewise.
32331         * sysdeps/i386/dl-tls.h: Likewise.
32332         * sysdeps/i386/setjmp.S: Likewise.
32333         * sysdeps/m68k/setjmp.c: Likewise.
32334         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
32335         * sysdeps/mach/hurd/opendir.c: Likewise.
32336         * sysdeps/posix/getcwd.c: Likewise.
32337         * sysdeps/posix/opendir.c: Likewise.
32338         * sysdeps/posix/profil.c: Likewise.
32339         * sysdeps/powerpc/dl-procinfo.h: Likewise.
32340         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32341         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32342         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
32343         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
32344         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
32345         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
32346         * sysdeps/s390/dl-tls.h: Likewise.
32347         * sysdeps/s390/s390-32/setjmp.S: Likewise.
32348         * sysdeps/s390/s390-64/setjmp.S: Likewise.
32349         * sysdeps/sh/sh3/setjmp.S: Likewise.
32350         * sysdeps/sh/sh4/setjmp.S: Likewise.
32351         * sysdeps/unix/alpha/sysdep.h: Likewise.
32352         * sysdeps/unix/arm/sysdep.S: Likewise.
32353         * sysdeps/unix/i386/sysdep.S: Likewise.
32354         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32355         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
32356         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32357         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32358         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32359         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
32360         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
32361         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32362         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
32363         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
32364         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
32365         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32366         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32369         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32370         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32371         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32372         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32373         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32374         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32375         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32376         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32377         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32378         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32379         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32380         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32381         * sysdeps/unix/x86_64/sysdep.S: Likewise.
32382         * sysdeps/x86_64/setjmp.S: Likewise.
32384         * include/math.h: Use IS_IN instead of IS_IN_libm.
32385         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
32386         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32387         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
32388         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
32389         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32390         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
32391         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
32392         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32393         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32394         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
32395         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
32396         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
32397         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
32398         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
32399         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
32400         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
32401         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
32402         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
32403         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
32404         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
32405         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
32406         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
32407         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
32408         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
32409         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
32410         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
32411         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
32412         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
32413         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
32414         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
32415         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
32416         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
32417         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
32418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
32419         Likewise.
32420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
32421         Likewise.
32422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
32423         Likewise.
32424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
32425         Likewise.
32426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
32427         Likewise.
32428         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
32429         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
32430         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
32431         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32432         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32433         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
32435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
32436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
32437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
32438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
32439         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
32440         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
32441         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
32442         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
32443         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32444         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
32445         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
32446         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32447         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
32448         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
32449         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
32450         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
32451         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
32452         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
32453         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32454         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
32456         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
32457         * nptl/pthreadP.h: Likewise.
32458         * nptl_db/structs.def: Likewise.
32459         * sysdeps/arm/sysdep.h: Likewise.
32460         * sysdeps/nptl/bits/libc-lock.h: Likewise.
32461         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
32462         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
32463         * sysdeps/unix/alpha/sysdep.h: Likewise.
32464         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32465         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32466         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32467         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32468         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32469         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32470         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32471         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32472         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32473         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32474         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32475         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32476         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32477         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
32479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32480         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32481         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32482         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32483         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32484         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32485         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32486         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32487         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32488         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
32489         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32491         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
32492         * nptl/pthreadP.h: Likewise.
32493         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32494         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32495         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32496         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32497         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32498         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32499         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32500         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32501         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32502         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32503         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32504         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
32506         Likewise.
32507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
32508         Likewise.
32509         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32510         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32511         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32512         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32513         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32514         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32515         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32516         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32518         * dlfcn/dladdr.c: Use IS_IN.
32519         * dlfcn/dladdr1.c: Likewise.
32520         * dlfcn/dlclose.c: Likewise.
32521         * dlfcn/dlerror.c: Likewise.
32522         * dlfcn/dlinfo.c: Likewise.
32523         * dlfcn/dlmopen.c: Likewise.
32524         * dlfcn/dlopen.c: Likewise.
32525         * dlfcn/dlsym.c: Likewise.
32526         * dlfcn/dlvsym.c: Likewise.
32528         * include/ifaddrs.h: Use IS_IN.
32529         * inet/check_pf.c: Likewise.
32530         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32531         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
32533         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
32534         IS_IN_ldconfig.
32535         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
32536         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
32538         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
32539         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
32540         IS_IN (libc).
32542         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
32544         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
32545         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32546         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
32547         * include/libc-symbols.h (IS_IN_LIB): New macro.
32548         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
32549         * include/netdb.h: Likewise.
32550         * include/stap-probe.h: Remove all uses of IN_LIB.
32552         * Makeconfig (module-cppflags-real): Define MODULE_NAME
32553         instead of IN_MODULE.
32554         * include/libc-symbols.h (IN_MODULE): Define using
32555         MODULE_NAME.
32556         (PASTE_NAME, PASTE_NAME1): New macros.
32557         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
32558         of IN_LIB.
32559         (STAP_PROBE_ASM): Likewise.
32561 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32563         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
32564         __mach_init in dlopened libc.
32566 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
32568         * sysdeps/arm/preconfigure.ac: Delete EABI check.
32569         * sysdeps/arm/preconfigure: Regenerate.
32571 2014-11-21  Roland McGrath  <roland@hack.frob.com>
32573         * nptl/pthread_create.c (__pthread_create_2_1): Set
32574         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
32575         when copying values from IATTR into PD.
32577 2014-11-21  Will Newton  <will.newton@linaro.org>
32578             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
32580         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
32581         Refactor inline-asm.  Also add comment.
32583         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
32584         ElfW macro instead of hardcoded Elf64 types.
32585         (la_aarch64_gnu_pltenter): Likewise.
32586         * sysdeps/aarch64/dl-machine.h
32587         (elf_machine_runtime_setup): Use ElfW(Addr).
32589         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
32590         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
32591         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
32592         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
32593         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
32594         (R_AARCH64_TLS_DTPMOD64): Rename to ..
32595         (R_AARCH64_TLS_DTPMOD): This.
32596         (R_AARCH64_TLS_DTPREL64): Rename to ...
32597         (R_AARCH64_TLS_DTPREL): This.
32598         (R_AARCH64_TLS_TPREL64): Rename to ...
32599         (R_AARCH64_TLS_TPREL): This.
32600         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
32601         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
32602         R_AARCH64_TLS_TPREL64.
32603         (elf_machine_rela): Likewise.
32605 2014-11-21  Torvald Riegel  <triegel@redhat.com>
32607         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
32608         by setting it to 0.  64b atomics are not supported currently.
32610 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
32612         [BZ #16469]
32613         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
32614         search domain names.
32616 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
32618         [BZ #16469]
32619         * NEWS: Update.
32620         * resolv/res_query.c (__libc_res_nquerydomain): Retain
32621         trailing dot.
32622         * posix/tst-getaddrinfo5.c: New.
32623         * posix/Makefile (tests): Add it.
32625 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
32627         [BZ #14498]
32628         * NEWS: Fixed.
32629         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
32630         after parsing line but before break_if_match.
32631         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
32632         if there is a protocol mismatch.
32634 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
32636         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
32637         because the potential race is on the user-supplied stream.
32639 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
32641         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
32642         string literal if not passed a buffer.
32643         * manual/job.texi (ctermid): Update reasoning, note deviation
32644         from posix, suggest mtasurace when not passed a buffer, for
32645         future non-preliminary safety notes.
32647 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
32649         * manual/users.texi (cuserid): Fix MT-Safety note for the case
32650         of not passing it a buffer.
32651         Reported by Peng Haitao.
32653 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
32655         * manual/Makefile ($(objpfx)stamp-summary): Require
32656         check-safety.sh to pass.
32657         * manual/check-safety.sh: Wish for verification that every
32658         @deftypefn and @deftypefun is followed by a @safety remark.
32660 2014-11-20  Roland McGrath  <roland@hack.frob.com>
32662         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
32664         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
32665         PTHREAD_CANCEL_ASYNCHRONOUS.
32666         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
32667         send SIGCANCEL.
32669         * nptl/default-sched.h: New file.
32670         * sysdeps/unix/sysv/linux/default-sched.h: New file.
32671         * nptl/pthread_create.c: Include it.
32672         (__pthread_create_2_1): Use collect_default_sched instead of making
32673         Linux syscalls here directly.
32675 2014-11-20  Torvald Riegel  <triegel@redhat.com>
32677         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
32678         __pthread_once): Use C11 atomics.
32680 2014-11-20  Torvald Riegel  <triegel@redhat.com>
32682         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
32684 2014-11-20  Torvald Riegel  <triegel@redhat.com>
32686         * include/atomic.h (__atomic_link_error, __atomic_check_size,
32687         atomic_thread_fence_acquire, atomic_thread_fence_release,
32688         atomic_thread_fence_seq_cst, atomic_load_relaxed,
32689         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
32690         atomic_compare_exchange_weak_relaxed,
32691         atomic_compare_exchange_weak_acquire,
32692         atomic_compare_exchange_weak_release,
32693         atomic_exchange_acquire, atomic_exchange_release,
32694         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
32695         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
32696         atomic_fetch_and_acquire,
32697         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
32699 2014-11-20  Torvald Riegel  <triegel@redhat.com>
32701         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
32702         USE_ATOMIC_COMPILER_BUILTINS): Define.
32703         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
32704         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32705         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
32706         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32707         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
32708         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32709         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
32710         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32711         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
32712         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32713         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
32714         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32715         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
32716         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32717         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
32718         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32719         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
32720         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32721         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
32722         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32723         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
32724         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32725         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
32726         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32727         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
32728         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32729         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
32730         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32731         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
32732         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32733         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
32734         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32735         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
32736         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32737         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
32738         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32739         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
32740         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32741         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
32742         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32744 2014-11-19  Roland McGrath  <roland@hack.frob.com>
32746         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
32747         the sched_priority value here.  It was already checked when the user
32748         called pthread_attr_setschedparam.
32750         * nptl/tst-bad-schedattr.c: New file.
32751         * nptl/Makefile (tests): Add it.
32753 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
32754             Florian Weimer  <fweimer@redhat.com>
32755             Joseph Myers  <joseph@codesourcery.com>
32756             Adam Conrad  <adconrad@0c3.net>
32757             Andreas Schwab  <schwab@suse.de>
32758             Brooks  <bmoses@google.com>
32760         [BZ #17625]
32761         * wordexp-test.c (__dso_handle): Add prototype.
32762         (__register_atfork): Likewise.
32763         (__app_register_atfork): New function.
32764         (registered_forks): New global.
32765         (register_fork): New function.
32766         (test_case): Add 3 new tests for WRDE_CMDSUB.
32767         (main): Call __app_register_atfork.
32768         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
32769         fork count is non-zero fail the test.
32770         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
32771         is set.
32772         (parse_dollars): Remove check for WRDE_NOCMD.
32773         (parse_dquote): Likewise.
32775 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32777         * Makeconfig (built-modules): List non-library modules to be
32778         built.
32779         (module-cppflags): Include libc-modules.h for
32780         everything except shlib-versions.v.i.
32781         (CPPFLAGS): Use it.
32782         (before-compile): Add libc-modules.h.
32783         ($(common-objpfx)libc-modules.h,
32784         $(common-objpfx)libc-modules.stmp): New targets.
32785         (common-generated): Add libc-modules.h and libc-modules.stmp.
32786         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
32787         * include/libc-symbols.h: Don't include libc-modules.h.
32788         * include/libc-modules.h: Remove file.
32789         * scripts/gen-libc-modules.awk: New script to generate
32790         libc-modules.h.
32791         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
32792         Depend on libc-modules.stmp.
32794         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
32796         * Makeconfig (in-module): Get value of libof set for the
32797         translation unit.
32798         (CPPFLAGS): Use $(in-module).
32799         * Makerules: Don't suffix routine names for nonlib.
32800         * include/libc-modules.h: New file.
32801         * include/libc-symbols.h: Include libc-modules.h
32802         (IS_IN): New macro to replace IS_IN_* macros.
32803         * elf/Makefile: Set libof-* for each routine.
32804         * elf/rtld-Rules: Likewise.
32805         * extra-modules.mk: Likewise.
32806         * iconv/Makefile: Likewise.
32807         * iconvdata/Makefile: Likewise.
32808         * locale/Makefile: Likewise.
32809         * malloc/Makefile: Likewise.
32810         * nss/Makefile: Likewise.
32811         * sysdeps/gnu/Makefile: Likewise.
32812         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
32813         * sysdeps/unix/sysv/linux/Makefile: Likewise.
32814         * sysdeps/s390/s390-64/Makefile: Likewise.
32815         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
32816         CPPFLAGS for nscd instead of nonlib.
32818 2014-11-18  Roland McGrath  <roland@hack.frob.com>
32820         * nptl/createthread.c: New file.
32822         * nptl/createthread.c: Moved ...
32823         * sysdeps/unix/sysv/linux/createthread.c: ... here.
32825         * nptl/createthread.c: Add proper top-line comment.
32826         (do_clone): Folded into ...
32827         (create_thread): ... here.  Take new arguments STOPPED_START and
32828         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
32829         increment __nptl_threads, do event-reporting logic, do
32830         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
32831         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
32832         resource cleanup if sched_setaffinity or sched_setscheduler fails,
32833         just send SIGCANCEL.
32834         * nptl/pthread_create.c: Forward-declare create_thread before
32835         including createthread.c.
32836         (start_thread): Use new macro START_THREAD_DEFN to replace defining
32837         declaration, and new macro START_THREAD_SELF to replace argument.
32838         Remove return statement.
32839         (report_thread_creation): New function.
32840         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
32841         synchronization logic, and __nptl_nthreads increment here, around
32842         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
32843         PD->parent_cancelhandling here, before create_thread.  When
32844         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
32845         __deallocate_stack, and ENOMEM translation here.
32847 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
32849         [BZ #17616]
32850         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
32851         (mptwo): Rename to __mptwo.
32852         (__inv): Use __mptwo instead of mptwo.
32853         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
32854         (mptwo): Rename to __mptwo.
32855         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
32856         of mpone and __mptwo instead of mptwo.
32857         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
32858         instead of mpone.
32859         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32860         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
32861         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
32862         of mpone and __mptwo instead of mptwo.
32863         (__mpranred): Use __mpone instead of mpone.
32864         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
32865         variable.
32866         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
32867         (test-xfail-ISO99/math.h/linknamespace): Likewise.
32868         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
32869         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
32870         (test-xfail-ISO11/math.h/linknamespace): Likewise.
32871         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
32872         (test-xfail-XPG3/math.h/linknamespace): Likewise.
32873         (test-xfail-XPG4/math.h/linknamespace): Likewise.
32874         (test-xfail-POSIX/math.h/linknamespace): Likewise.
32875         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
32876         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
32877         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
32878         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
32879         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
32880         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
32881         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
32882         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
32883         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
32884         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
32886 2014-11-18  Tom de Vries  <tom@codesoucery.com>
32888         * manual/signal.texi (Primitives Interrupted by Signals): In section,
32889         replace BSD Handler xref with BSD Signal Handling.
32891 2014-11-17  Richard Henderson  <rth@redhat.com>
32893         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
32894         (_FP_PACK_RAW_2): Remove.
32895         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
32896         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
32897         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
32898         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
32899         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
32900         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
32901         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
32902         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
32903         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
32904         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
32905         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
32906         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
32907         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
32908         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
32909         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
32910         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
32912 2014-11-14  Roland McGrath  <roland@hack.frob.com>
32914         * signal/signal.h [__USE_MISC]
32915         (struct sigvec): Remove type.
32916         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
32917         (sigvec): Remove declaration.
32918         * sysdeps/posix/sigvec.c: Moved ...
32919         * signal/sigvec.c: ... here, replacing old file.
32920         (struct sigvec): New type, copied from old signal.h definition.
32921         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
32922         (__sigvec): Convert definition to prototype.
32923         (sigvec): Replace weak_alias with compat_symbol.
32924         * signal/Versions (libc: GLIBC_2.21): New version set.
32925         * include/signal.h: Remove __sigvec declaration.
32926         * sysdeps/unix/bsd/sigvec.c: Remove file.
32927         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
32928         * manual/signal.texi (BSD Handler): Remove subsection.
32929         Move siginterrupt up to ...
32930         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
32931         (Blocking in BSD): Fold subsection into its parent.
32932         * NEWS: Mention sigvec removal.
32934 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
32936         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
32937         (DLA_FMS): Make definition conditional only on [__FMA4__].
32938         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
32939         definition.
32941         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
32942         Make definition conditional only on [PROF].
32943         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
32944         definition.
32945         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
32946         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
32948         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
32949         !__GNUC__].
32950         * include/signal.h (__sigpause): Move declaration above call to
32951         libc_hidden_proto.
32952         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
32953         variable.
32954         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
32955         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
32957 2014-11-14  David S. Miller  <davem@davemloft.net>
32959         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
32960         Define before including <string/memcpy.c> and <string/mempcpy.c>.
32962 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
32964         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
32965         * configure: Regenerated.
32966         * manual/install.texi (Tools for Compilation): Document a
32967         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
32968         compiler verified to work.
32969         * INSTALL: Regenerated.
32971         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
32972         redeclare with asm name.
32973         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
32974         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
32975         including <string.h>.
32976         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32977         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
32978         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32979         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
32980         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32981         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
32982         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32984 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
32986         * stdlib/strtol.c (__strtol): Use prototype definition.
32988         [BZ #17594]
32989         * stdlib/strtol.c (SYM__): New macro.
32990         (SYM__1): Likewise.
32991         (__strtol): Likewise.
32992         (strtol): Rename to __strtol and define as weak alias of
32993         __strtol.  Use libc_hidden_weak.
32995 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32997         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
32998         Use numbered labels in inline assembly.
33000 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33002         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
33003         Add setjmp LIBC_PROBE.
33004         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
33005         Likewise.
33006         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
33007         Add longjmp, longjmp_target LIBC_PROBE.
33008         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
33009         Likewise.
33011 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33013         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33014         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
33015         to get rid of unused variable warning.
33017 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33019         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
33020         Check for unwind_backtrace ==  NULL only in SHARED case.
33021         (__backchain_backtrace): Compile only in SHARED case.
33022         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
33023         Likewise.
33024         (__backchain_backtrace): Declare as static.
33026 2014-11-12  Roland McGrath  <roland@hack.frob.com>
33028         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
33029         (__libc_multiple_threads_ptr): Variable moved ...
33030         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
33032 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
33034         * conform/GlibcConform.pm: New file.
33035         * conform/conformtest.pl: Use GlibcConform module.
33036         * conform/linknamespace.pl: New file.
33037         * conform/list-header-symbols.pl: Likewise.
33038         * conform/Makefile (linknamespace-symlists-base): New variable.
33039         (linknamespace-symlists-tests): Likewise.
33040         (linknamespace-header-base): Likewise.
33041         (linknamespace-header-tests): Likewise.
33042         (tests-special): Add new tests.
33043         ($(linknamespace-symlists-tests)): New rule.
33044         (linknamespace-libs): New variable.
33045         ($(objpfx)symlist-stdlibs): New rule.
33046         ($(linknamespace-header-tests)): Likewise.
33047         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
33048         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
33049         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
33050         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
33051         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
33052         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
33053         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
33054         (test-xfail-ISO/math.h/linknamespace): Likewise.
33055         (test-xfail-ISO/signal.h/linknamespace): Likewise.
33056         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
33057         (test-xfail-ISO/time.h/linknamespace): Likewise.
33058         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
33059         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
33060         (test-xfail-ISO99/math.h/linknamespace): Likewise.
33061         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
33062         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
33063         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
33064         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
33065         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
33066         (test-xfail-ISO11/math.h/linknamespace): Likewise.
33067         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
33068         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
33069         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
33070         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
33071         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
33072         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
33073         (test-xfail-XPG3/math.h/linknamespace): Likewise.
33074         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
33075         (test-xfail-XPG3/search.h/linknamespace): Likewise.
33076         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
33077         (test-xfail-XPG3/time.h/linknamespace): Likewise.
33078         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
33079         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
33080         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
33081         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
33082         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
33083         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
33084         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
33085         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
33086         (test-xfail-XPG4/math.h/linknamespace): Likewise.
33087         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
33088         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
33089         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
33090         (test-xfail-XPG4/search.h/linknamespace): Likewise.
33091         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
33092         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
33093         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
33094         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
33095         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
33096         (test-xfail-XPG4/time.h/linknamespace): Likewise.
33097         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
33098         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
33099         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
33100         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
33101         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
33102         (test-xfail-POSIX/math.h/linknamespace): Likewise.
33103         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
33104         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
33105         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
33106         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
33107         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
33108         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
33109         (test-xfail-POSIX/time.h/linknamespace): Likewise.
33110         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
33111         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
33112         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
33113         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
33114         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
33115         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
33116         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
33117         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
33118         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
33119         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
33120         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
33121         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
33122         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
33123         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
33124         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
33125         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
33126         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
33127         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
33128         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
33129         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
33130         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
33131         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
33132         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
33133         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
33134         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
33135         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
33136         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
33137         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
33138         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
33139         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
33140         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
33141         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
33142         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
33143         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
33144         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
33145         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
33146         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
33147         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
33148         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
33149         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
33150         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
33151         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
33152         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
33153         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
33154         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
33155         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
33156         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
33157         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
33158         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
33159         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
33160         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
33161         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
33162         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
33163         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
33164         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
33165         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
33166         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
33167         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
33168         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
33169         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
33170         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
33171         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
33172         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
33173         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
33174         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
33175         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
33176         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
33177         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
33178         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
33179         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
33180         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
33181         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
33182         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
33183         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
33184         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
33185         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
33186         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
33187         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
33188         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
33189         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
33190         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
33191         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
33192         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
33193         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
33194         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
33195         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
33196         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
33197         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
33198         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
33199         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
33200         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
33201         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
33202         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
33203         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
33204         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
33205         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
33206         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
33207         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
33209         [BZ #17589]
33210         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
33211         of fgets_unlocked.
33213         [BZ #17585]
33214         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
33215         (memmem): Rename to __memmem and define as weak alias of
33216         __memmem.  Use libc_hidden_weak.
33217         (__memmem): Use libc_hidden_def.
33218         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
33219         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
33220         memmem.
33222         [BZ #17582]
33223         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
33224         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
33225         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
33226         and define as weak alias of __fgets_unlocked.  Use
33227         libc_hidden_weak.
33228         (__fgets_unlocked): Use libc_hidden_def.
33229         * include/stdio.h (__fgets_unlocked): Declare.  Use
33230         libc_hidden_proto.
33231         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
33232         __fgets_unlocked instead of fgets_unlocked.
33233         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
33234         (GET_NPROCS_CONF_PARSER): Likewise.
33235         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
33236         (GET_NPROCS_CONF_PARSER): Likewise.
33238         [BZ #17574]
33239         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
33240         weak alias of __wmemset.  Use libc_hidden_weak.
33241         (__wmemset): Use libc_hidden_def.
33242         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
33243         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
33244         of wmemset.
33246         [BZ #17573]
33247         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
33248         with asm name __mempcpy.
33249         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
33251         [BZ #17572]
33252         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
33253         and define as weak alias of __rawmemchr.
33254         (__rawmemchr): Do not define as strong alias of rawmemchr.
33256         [BZ #17571]
33257         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
33258         alias of __qsort_r.
33259         (qsort): Call __qsort_r instead of qsort_r.
33260         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
33261         (__qsort_r): Declare.  Call libc_hidden_proto.
33262         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
33263         instead of qsort_r.
33264         * nscd/gai.c (__qsort_r): Define to qsort_r.
33265         * posix/tst-rfc3484.c (__qsort_r): Likewise.
33266         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
33267         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
33269         [BZ #17570]
33270         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
33271         define as weak alias of __malloc_info.
33273         [BZ #17584]
33274         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
33275         as weak alias of __rewinddir.  Don't use libc_hidden_def.
33276         (__rewinddir): Use libc_hidden_def.
33277         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
33278         as weak alias of __rewinddir.  Don't use libc_hidden_def.
33279         (__rewinddir): Use libc_hidden_def.
33280         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
33281         weak alias of __rewinddir.  Don't use libc_hidden_def.
33282         (__rewinddir): Use libc_hidden_def.
33283         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
33284         (__rewinddir): Use libc_hidden_proto.
33285         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
33286         rewinddir.
33287         (__getcwd): Use __rewinddir instead of rewinddir.
33289         [BZ #17583]
33290         * libio/fileno.c (fileno): Rename to __fileno and define as weak
33291         alias of __fileno.  Use libc_hidden_weak.
33292         (__fileno): Use libc_hidden_def.
33293         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
33294         * libio/ftello.c (ftello): Rename to __ftello and define as weak
33295         alias of __ftello.
33296         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
33297         __ftello.
33298         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
33299         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
33300         libc_hidden_def.
33301         (fread_unlocked): Don't use libc_hidden_ver.
33302         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
33303         and define as weak alias of __fread_unlocked.  Don't use
33304         libc_hidden_def.
33305         (__fread_unlocked): Use libc_hidden_def.
33306         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
33307         (ftello): Don't use libc_hidden_proto.
33308         (__ftello): Declare.  Use libc_hidden_proto.
33309         (fread_unlocked): Don't use libc_hidden_proto.
33310         (__fread_unlocked): Declare.  Use libc_hidden_proto.
33311         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
33312         and __ftello instead of fileno, fread_unlocked and ftello.
33314 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33316         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
33317         GOT12.
33318         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
33319         Likewise.
33320         (_dl_start_user): Likewise.
33321         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
33323 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
33324             Siddhesh Poyarekar  <siddhesh@redhat.com>
33326         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
33327         Move argv and envp down instead of moving argc up.
33328         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
33330 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
33332         [BZ #17506]
33333         * test-skeleton.c (main): Return successful if one of
33334         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
33335         * string/tst-strcoll-overflow.c: Define expected status.
33337 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
33339         [BZ #17475]
33340         * locale/iso-639.def: Define Bhili and Tulu language codes.
33342 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
33344         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
33346 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
33348         [BZ #17555]
33349         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
33351 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
33353         * configure.ac: Updated check of minimal required version to
33354         2.22.
33355         * manual/install.texi (Tools for Compilation): Updated version
33356         number.
33357         * configure: Regenerated.
33358         * INSTALL: Likewise.
33360 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
33362         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
33363         __tls_get_addr.
33365 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
33367         * include/sys/wait.h (__libc_waitpid): Remove declaration.
33368         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
33369         (__waitpid): Don't define as alias.  Use libc_hidden_def not
33370         libc_hidden_weak.
33371         (waitpid): Define as alias of __waitpid.
33372         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
33373         __waitpid.
33374         (__waitpid): Don't define as alias.  Use libc_hidden_def not
33375         libc_hidden_weak.
33376         (waitpid): Define as alias of __waitpid.
33377         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
33378         __libc_waitpid alias.
33379         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
33380         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
33381         Likewise.
33382         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
33383         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
33384         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
33385         alias.
33386         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
33387         __waitpid.
33388         (__waitpid): Don't define as alias.  Use libc_hidden_def not
33389         libc_hidden_weak.
33390         (waitpid): Define as alias of __waitpid.
33392 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
33394         * manual/llio.texi: Add comment that write safety has been
33395         fixed in Linux.
33397         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
33398         (localplt-build-dso): Add elf/ld.so.
33399         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
33400         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
33401         and free for ld.so.
33402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
33403         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
33404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
33405         Likewise.
33406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
33407         Likewise.
33408         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
33409         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
33410         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
33411         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
33412         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
33413         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
33414         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
33415         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
33416         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
33417         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
33418         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
33420 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
33422         [BZ #14132]
33423         * include/libc-symbols.h (INTUSE): Remove macro.
33424         (INTDEF): Likewise.
33425         (INTVARDEF): Likewise.
33426         (_INTVARDEF): Likewise.
33427         (INTDEF2): Likewise.
33428         (INTVARDEF2): Likewise.
33429         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
33430         rtld_hidden_def instead of INTVARDEF.
33431         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
33432         (_dl_starting_up_internal): Remove declaration.
33433         (_dl_starting_up): Use rtld_hidden_proto.
33434         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
33435         declaration.
33436         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
33437         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
33438         _dl_starting_up.
33439         * elf/dl-writev.h (_dl_writev): Likewise.
33440         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
33441         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
33442         _dl_starting_up_internal.
33444 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33446         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
33447         test-skeleton.c.
33449 2014-11-05  Will Newton  <will.newton@linaro.org>
33451         * benchtests/Makefile: (bench-malloc): Add malloc thread
33452         scalability benchmark.
33453         * benchtests/bench-malloc-threads.c: New file.
33455 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
33457         * sysdeps/aarch64/strchrnul.S: New file.
33459 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33461         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
33462         definition.
33463         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
33464         Likewise.
33465         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
33466         Likewise.
33467         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
33468         Likewise.
33469         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
33470         Likewise.
33471         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
33472         Likewise.
33474 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
33476         * catgets/test-gencat.c: Use test-skeleton.c.
33477         * catgets/tst-catgets.c: Likewise.
33478         * csu/tst-empty.c: Likewise.
33479         * elf/tst-audit2.c: Likewise.
33480         * elf/tst-global1.c: Likewise.
33481         * elf/tst-pathopt.c: Likewise.
33482         * elf/tst-piemod1.c: Likewise.
33483         * elf/tst-tls10.c: Likewise.
33484         * elf/tst-tls11.c: Likewise.
33485         * elf/tst-tls12.c: Likewise.
33486         * gnulib/tst-gcc.c: Likewise.
33487         * iconvdata/tst-e2big.c: Likewise.
33488         * iconvdata/tst-loading.c: Likewise.
33489         * iconv/tst-iconv1.c: Likewise.
33490         * iconv/tst-iconv2.c: Likewise.
33491         * inet/test-inet6_opt.c: Likewise.
33492         * inet/tst-gethnm.c: Likewise.
33493         * inet/tst-network.c: Likewise.
33494         * inet/tst-ntoa.c: Likewise.
33495         * intl/tst-codeset.c: Likewise.
33496         * intl/tst-gettext2.c: Likewise.
33497         * intl/tst-gettext3.c: Likewise.
33498         * intl/tst-ngettext.c: Likewise.
33499         * intl/tst-translit.c: Likewise.
33500         * io/test-stat.c: Likewise.
33501         * libio/test-fmemopen.c: Likewise.
33502         * libio/tst-freopen.c: Likewise.
33503         * libio/tst-sscanf.c: Likewise.
33504         * libio/tst-ungetwc1.c: Likewise.
33505         * libio/tst-ungetwc2.c: Likewise.
33506         * libio/tst-widetext.c: Likewise.
33507         * localedata/tst-ctype.c: Likewise.
33508         * localedata/tst-digits.c: Likewise.
33509         * localedata/tst-leaks.c: Likewise.
33510         * localedata/tst-mbswcs1.c: Likewise.
33511         * localedata/tst-mbswcs2.c: Likewise.
33512         * localedata/tst-mbswcs3.c: Likewise.
33513         * localedata/tst-mbswcs4.c: Likewise.
33514         * localedata/tst-mbswcs5.c: Likewise.
33515         * localedata/tst-setlocale.c: Likewise.
33516         * localedata/tst-trans.c: Likewise.
33517         * localedata/tst-wctype.c: Likewise.
33518         * localedata/tst-xlocale1.c: Likewise.
33519         * login/tst-grantpt.c: Likewise.
33520         * malloc/tst-calloc.c: Likewise.
33521         * malloc/tst-malloc.c: Likewise.
33522         * malloc/tst-mallocstate.c: Likewise.
33523         * malloc/tst-mcheck.c: Likewise.
33524         * malloc/tst-mtrace.c: Likewise.
33525         * malloc/tst-obstack.c: Likewise.
33526         * math/atest-exp2.c: Likewise.
33527         * math/atest-exp.c: Likewise.
33528         * math/atest-sincos.c: Likewise.
33529         * math/test-matherr.c: Likewise.
33530         * math/test-misc.c: Likewise.
33531         * math/test-powl.c: Likewise.
33532         * math/tst-definitions.c: Likewise.
33533         * misc/tst-dirname.c: Likewise.
33534         * misc/tst-efgcvt.c: Likewise.
33535         * misc/tst-fdset.c: Likewise.
33536         * misc/tst-hsearch.c: Likewise.
33537         * misc/tst-mntent2.c: Likewise.
33538         * nptl/tst-sem7.c: Likewise.
33539         * nptl/tst-sem8.c: Likewise.
33540         * nptl/tst-sem9.c: Likewise.
33541         * nss/test-netdb.c: Likewise.
33542         * posix/tst-fnmatch.c: Likewise.
33543         * posix/tst-getlogin.c: Likewise.
33544         * posix/tst-gnuglob.c: Likewise.
33545         * posix/tst-mmap.c: Likewise.
33546         * pwd/tst-getpw.c: Likewise.
33547         * resolv/tst-inet_ntop.c: Likewise.
33548         * rt/tst-timer.c: Likewise.
33549         * stdio-common/test-fseek.c: Likewise.
33550         * stdio-common/test-popen.c: Likewise.
33551         * stdio-common/test-vfprintf.c: Likewise.
33552         * stdio-common/tst-cookie.c: Likewise.
33553         * stdio-common/tst-fileno.c: Likewise.
33554         * stdio-common/tst-gets.c: Likewise.
33555         * stdio-common/tst-obprintf.c: Likewise.
33556         * stdio-common/tst-perror.c: Likewise.
33557         * stdio-common/tst-sprintf2.c: Likewise.
33558         * stdio-common/tst-sprintf3.c: Likewise.
33559         * stdio-common/tst-sprintf.c: Likewise.
33560         * stdio-common/tst-swprintf.c: Likewise.
33561         * stdio-common/tst-tmpnam.c: Likewise.
33562         * stdio-common/tst-unbputc.c: Likewise.
33563         * stdio-common/tst-wc-printf.c: Likewise.
33564         * stdlib/tst-environ.c: Likewise.
33565         * stdlib/tst-fmtmsg.c: Likewise.
33566         * stdlib/tst-limits.c: Likewise.
33567         * stdlib/tst-rand48-2.c: Likewise.
33568         * stdlib/tst-rand48.c: Likewise.
33569         * stdlib/tst-random2.c: Likewise.
33570         * stdlib/tst-random.c: Likewise.
33571         * stdlib/tst-strtol.c: Likewise.
33572         * stdlib/tst-strtoll.c: Likewise.
33573         * stdlib/tst-tls-atexit.c: Likewise.
33574         * stdlib/tst-xpg-basename.c: Likewise.
33575         * string/test-ffs.c: Likewise.
33576         * string/tst-bswap.c: Likewise.
33577         * string/tst-inlcall.c: Likewise.
33578         * string/tst-strtok.c: Likewise.
33579         * string/tst-strxfrm.c: Likewise.
33580         * sysdeps/x86_64/tst-audit10.c: Likewise.
33581         * sysdeps/x86_64/tst-audit3.c: Likewise.
33582         * sysdeps/x86_64/tst-audit4.c: Likewise.
33583         * sysdeps/x86_64/tst-audit5.c: Likewise.
33584         * time/tst-ftime_l.c: Likewise.
33585         * time/tst-getdate.c: Likewise.
33586         * time/tst-mktime3.c: Likewise.
33587         * time/tst-mktime.c: Likewise.
33588         * time/tst-posixtz.c: Likewise.
33589         * time/tst-strptime2.c: Likewise.
33590         * time/tst-strptime3.c: Likewise.
33591         * wcsmbs/tst-btowc.c: Likewise.
33592         * wcsmbs/tst-mbrtowc.c: Likewise.
33593         * wcsmbs/tst-mbsrtowcs.c: Likewise.
33594         * wcsmbs/tst-wchar-h.c: Likewise.
33595         * wcsmbs/tst-wcpncpy.c: Likewise.
33596         * wcsmbs/tst-wcrtomb.c: Likewise.
33597         * wcsmbs/tst-wcsnlen.c: Likewise.
33598         * wcsmbs/tst-wcstof.c: Likewise.
33600 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
33602         [BZ #14132]
33603         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
33604         INTDEF.
33605         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
33606         declaration.
33607         (_dl_mcount): Use rtld_hidden_proto.
33608         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
33609         _dl_mcount.
33610         * elf/rtld.c (_rtld_global_ro): Likewise.
33612         [BZ #14132]
33613         * elf/dl-init.c (_dl_init): Don't use INTDEF.
33614         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
33615         of _dl_init_internal.
33616         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
33617         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
33618         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
33619         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
33620         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
33621         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
33622         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
33623         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
33624         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
33625         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
33626         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
33627         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
33628         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
33629         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
33630         * sysdeps/tile/dl-start.S (_start): Likewise.
33631         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
33632         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
33634         [BZ #14132]
33635         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
33636         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
33637         (rtld_progname): Make macro definition unconditional.
33638         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
33639         INTDEF.
33640         (dlmopen_doit): Do not use INTUSE with _dl_argv.
33641         (dl_main): Likewise.
33642         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
33643         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
33644         instead of _dl_argv_internal.
33645         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33646         __GI__dl_argv instead of INTUSE(_dl_argv).
33647         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
33648         __GI__dl_argv instead of _dl_argv_internal.
33650         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
33651         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
33652         macro.
33653         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
33654         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
33655         New macro.
33656         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
33657         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
33658         macro.
33659         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
33660         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
33662 2014-11-04  Andreas Schwab  <schwab@suse.de>
33664         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
33666 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33668         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
33669         mtvsrd instruction in binary form.
33671 2014-11-03  Andreas Schwab  <schwab@suse.de>
33673         [BZ #17522]
33674         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
33675         for less than MB_LEN_MAX use a local buffer of that size.
33676         * libio/tst-fputws.c: New file.
33677         * libio/Makefile (tests): Add tst-fputws.
33679 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
33681         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
33682         the size of the fpu_fr.fpu_dregs[] array.
33684 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
33686         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
33687         (__nanosleep): Do not define as alias.
33688         (nanosleep): Define as alias of __nanosleep.
33689         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
33690         __libc_nanosleep name.
33692 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
33694         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
33695         install.texi in comment.
33697 2014-10-31  Torvald Riegel  <triegel@redhat.com>
33699         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
33700         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
33701         ... add here and use lwsync or sync ...
33702         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
33703         ... and add here using lwsync.
33705 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
33707         * elf/dl-machine-reject-phdr.h: New file.
33708         * elf/dl-load.c: #include that.
33709         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
33710         if that returned true.
33712 2014-10-31  Roland McGrath  <roland@hack.frob.com>
33714         [BZ #17496]
33715         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
33716         gen-as-const-headers chunk.  Add a big scare comment after the last
33717         safe place to touch before-compile.
33719 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
33721         * manual/install.texi (Tools for Compilation): Update autoconf
33722         version requirements.
33723         * INSTALL: Regenerated.
33725         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
33726         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
33727         (__libc_pselect): Likewise.
33729         [BZ #14138]
33730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
33731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33735 2014-10-31  Torvald Riegel  <triegel@redhat.com>
33737         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
33738         correct barrier instruction.
33739         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
33740         Likewise.
33741         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
33742         Likewise.
33744 2014-10-30  Roland McGrath  <roland@hack.frob.com>
33746         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
33747         after defining inlines.  Instead, just use parens to defeat macro
33748         expansion of __isctype in its declaration.
33750 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
33752         * include/sys/uio.h (__libc_readv): Remove declaration.
33753         (__libc_writev): Likewise.
33754         * misc/readv.c (__libc_readv): Rename to __readv.
33755         (__readv): Do not define as alias.
33756         (readv): Define as alias of __readv.
33757         * misc/writev.c (__libc_writev): Rename to __writev.
33758         (__writev): Do not define as alias.
33759         (writev): Define as alias of __writev.
33760         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
33761         (__readv): Do not define as alias.
33762         (readv): Define unconditionally as alias of __readv.
33763         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
33764         (__writev): Do not define as alias.
33765         (writev): Define unconditionally as alias of __writev.
33766         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
33767         name.
33768         (writev): Do not define __libc_writev name.
33770 2014-10-30  Roland McGrath  <roland@hack.frob.com>
33772         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
33773         (convert_charseq): New function, broken out of ...
33774         (use_from_charmap): ... here.  Call it.
33775         (use_to_charmap): Use convert_charseq and free instead of duplicating
33776         its code with a variable-length stack struct.
33778 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
33780         * include/fcntl.h (__libc_creat): Remove declaration.
33781         * io/creat.c (__libc_creat): Rename to creat.
33782         (creat): Do not define as alias.
33783         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
33784         of creat instead of __libc_creat.
33785         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
33786         to creat.
33787         (creat): Do not define as alias.
33788         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
33789         __libc_creat.
33790         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
33791         __libc_creat name.
33792         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
33793         Likewise.
33795 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
33797         * manual/llio.texi: Add comments discussing why write() may be
33798         considered MT-unsafe on Linux.
33800 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
33802         * dl-load.c (local_strdup): Remove.
33803         (expand_dynamic_string_token): Use __strdup.
33804         (decompose_rpath): Likewise.
33805         (_dl_map_object): Likewise.
33807 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
33809         [BZ #14132]
33810         * sysdeps/generic/unwind-dw2-fde.c
33811         (__register_frame_info_bases_internal): Do not declare.
33812         (__register_frame_info_table_bases_internal): Likewise.
33813         (__deregister_frame_info_bases_internal): Likewise.
33814         (__register_frame_info_bases): Declare and use hidden_proto before
33815         definition.  Use hidden_def instead of INTDEF.
33816         (__register_frame_info_table_bases): Likewise.
33817         (__deregister_frame_info_bases): Likewise.
33818         (__register_frame_info): Do not use INTUSE.
33819         (__register_frame): Likewise.
33820         (__register_frame_info_table): Likewise.
33821         (__register_frame_table): Likewise.
33822         (__deregister_frame_info): Likewise.
33823         (__deregister_frame): Likewise.
33825 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
33827         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33828         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
33829         not undefine.
33830         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
33831         Likewise.
33832         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
33833         Likewise.
33835 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
33837         [BZ #14138]
33838         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
33839         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
33840         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
33841         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
33842         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
33843         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
33844         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
33845         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
33846         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
33847         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
33848         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
33849         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
33850         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
33851         syscall.
33852         (setfsuid): Likewise.
33853         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
33854         (setfsuid): Likewise.
33855         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
33856         (setfsuid): Likewise.
33857         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
33858         Likewise.
33859         (setfsuid): Likewise.
33860         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
33861         (setfsuid): Likewise.
33862         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
33863         Likewise.
33864         (setfsuid): Likewise.
33866 2014-10-27  Andreas Schwab  <schwab@suse.de>
33868         [BZ #17501]
33869         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
33870         check for Slow_SSE4_2 feature bit.
33871         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
33872         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
33873         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
33874         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
33876 2014-10-24  Roland McGrath  <roland@hack.frob.com>
33878         * configure.ac: Validate compiler version with a empirical test of
33879         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
33880         $CC -v output.
33881         * configure: Regenerated.
33883         * inet/htons.c (htons): Prototypify.
33884         * inet/htonl.c (htonl): Likewise.
33886 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33888         * string/strncat.c (strncat): Improve performance by using strlen.
33890 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33892         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
33894 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33896         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
33897         Call libc_fetestexcept_aarch64.
33899 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33901         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
33902         Call libc_feholdexcept_aarch64.
33904 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33906         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
33907         Call get_rounding_mode.
33909 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33911         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33912         Simplify logic.
33914 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33916         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
33917         Simplify logic.
33919 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
33921         [BZ #14138]
33922         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
33923         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
33924         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
33925         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
33926         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
33927         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
33928         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
33929         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
33930         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
33931         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
33932         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33933         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
33934         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
33935         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
33936         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
33937         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
33938         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
33939         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
33940         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
33941         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
33942         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
33943         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
33944         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
33945         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
33946         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
33947         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
33948         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
33949         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
33950         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
33951         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
33952         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
33953         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
33954         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
33955         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
33956         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
33957         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
33958         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
33959         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
33960         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
33961         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
33962         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
33963         syscall.
33964         (geteuid): Likewise.
33965         (getgid): Likewise.
33966         (getuid): Likewise.
33967         (getresgid): Likewise.
33968         (getresuid): Likewise.
33969         (getgroups): Likewise.
33970         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
33971         (geteuid): Likewise.
33972         (getgid): Likewise.
33973         (getuid): Likewise.
33974         (getresgid): Likewise.
33975         (getresuid): Likewise.
33976         (getgroups): Likewise.
33977         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
33978         (geteuid): Likewise.
33979         (getgid): Likewise.
33980         (getuid): Likewise.
33981         (getresgid): Likewise.
33982         (getresuid): Likewise.
33983         (getgroups): Likewise.
33984         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
33985         Likewise.
33986         (geteuid): Likewise.
33987         (getgid): Likewise.
33988         (getuid): Likewise.
33989         (getresgid): Likewise.
33990         (getresuid): Likewise.
33991         (getgroups): Likewise.
33992         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
33993         (geteuid): Likewise.
33994         (getgid): Likewise.
33995         (getuid): Likewise.
33996         (getresgid): Likewise.
33997         (getresuid): Likewise.
33998         (getgroups): Likewise.
33999         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
34000         Likewise.
34001         (geteuid): Likewise.
34002         (getgid): Likewise.
34003         (getuid): Likewise.
34004         (getgroups): Likewise.
34006         [BZ #14138]
34007         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
34008         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
34009         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
34010         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
34011         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
34012         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
34013         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
34014         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
34015         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
34016         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
34017         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
34018         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
34019         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
34020         __chown.
34021         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
34022         (lchown): Likewise.
34023         (fchown): Likewise.
34024         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
34025         Likewise.
34026         (lchown): Likewise.
34027         (fchown): Likewise.
34028         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
34029         (lchown): Likewise.
34030         (fchown): Likewise.
34031         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
34032         Likewise.
34033         (lchown): Likewise.
34034         (fchown): Likewise.
34036 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34038         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
34039         Simplify logic.
34041 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34043         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34044         Cleanup logic.
34046 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34048         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34049         Remove unused include.
34051 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34053         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
34054         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
34055         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
34056         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
34058 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
34059             Helge Deller <deller@gmx.de>
34061         [BZ #17508]
34062         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
34063         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
34064         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
34066 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
34068         [BZ #14132]
34069         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
34070         Remove macro definition.
34071         (__ashrdi3_v_glibc20): Likewise.
34072         (__lshrdi3_v_glibc20): Likewise.
34073         (__cmpdi2_v_glibc20): Likewise.
34074         (__ucmpdi2_v_glibc20): Likewise.
34075         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
34076         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
34077         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
34078         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
34079         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
34080         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
34082 2014-10-22  Roland McGrath  <roland@hack.frob.com>
34084         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
34085         old GNU extension [0] syntax.
34086         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
34087         alloca rather than an array member with variable length.
34088         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
34089         * nscd/nscd.c (invalidate_db): New function, broken out of ...
34090         (parse_opt): ... here.  Likewise use alloca there.
34091         Validate the -i argument before checking for rootness.
34092         (send_shutdown): New function, broken out of ...
34093         (parse_opt): ... here.
34095 2014-10-22  Roland McGrath  <roland@hack.frob.com>
34097         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
34098         macro to get at the _rt_local_ro field.
34099         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
34100         ([PIC] case) or _dl_hwcap ([!PIC] case).
34101         * sysdeps/arm/setjmp.S: Likewise.
34103         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
34104         * sysdeps/arm/configure.ac: New check to define it.
34105         * sysdeps/arm/configure: Regenerated.
34106         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
34107         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
34108         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
34109         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
34110         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
34111         Use move/movt pair instead of a load.
34112         (LDST_GLOBAL): Macro removed.
34113         (LDR_GLOBAL): New macro replaces it.
34114         (LDR_HIDDEN): New macro.
34115         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
34116         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
34118         * setjmp/tst-setjmp-static.c: New file.
34119         * setjmp/Makefile (tests): Add it.
34120         (tests-static): New variable.
34122 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
34124         [BZ #17485]
34125         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
34127 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
34129         [BZ #14132]
34130         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
34132 2014-10-21  Roland McGrath  <roland@hack.frob.com>
34134         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
34136 2014-10-20  Roland McGrath  <roland@hack.frob.com>
34138         * io/fts.c (dirent_not_directory): New function.
34139         (fts_build): Call it.
34141 2014-10-20  Roland McGrath  <roland@hack.frob.com>
34143         * nptl/version.c (__nptl_main): Use normal __write rather than
34144         INTERNAL_SYSCALL.
34145         (banner): Update copyright years.
34147         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
34148         gettimeofday.
34149         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
34150         * nptl/pthread_cond_timedwait.c: Likewise.
34151         * nptl/pthread_mutex_timedlock.c: Likewise.
34152         * nptl/sem_timedwait.c: Likewise.
34154         * sysdeps/nptl/bits/libc-lock.h
34155         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
34156         (__libc_lock_init_recursive): Return void, not 0.
34157         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
34158         (__libc_rwlock_init): Likewise.
34159         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
34161 2014-10-20  Torvald Riegel  <triegel@redhat.com>
34163         [BZ #15215]
34164         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
34165         (__pthread_once_slow): ... here.
34166         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
34167         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
34169 2014-10-20  Torvald Riegel  <triegel@redhat.com>
34171         [BZ #15215]
34172         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
34173         __PTHREAD_ONCE_FORK_GEN_INCR): New.
34174         * sysdeps/nptl/fork.c (__libc_fork): Use them.
34175         * nptl/pthread_once.c (__pthread_once): Likewise.
34176         Update comments.
34178 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
34180         [BZ #14138]
34181         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
34182         name.
34183         (writev): Use __libc_writev as strong name.
34184         * sysdeps/unix/sysv/linux/readv.c: Remove file.
34185         * sysdeps/unix/sysv/linux/writev.c: Likewise.
34187 2014-10-17  Roland McGrath  <roland@hack.frob.com>
34189         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
34191         * sysdeps/i386/nptl/tls.h
34192         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
34193         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
34194         New macros.
34195         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
34196         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
34197         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
34198         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
34199         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
34200         Call CHECK_THREAD_SYSINFO instead of doing an assert.
34202         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
34203         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
34204         on [__NR_futex].
34205         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
34206         broken out of ...
34207         (__pthread_mutex_init): ... here.  Call it.
34208         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
34209         Conditionalize PI cases on [__NR_futex].
34210         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
34211         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
34212         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
34214         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
34215         conditional on [SIGSETXID].
34216         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
34217         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
34218         is defined.  Likewise for SIGSETXID.
34219         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
34220         Conditionalize definitions on [SIGSETXID].
34221         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
34222         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
34223         unblocking on [SIGCANCEL].
34225         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
34226         [__NR_set_robust_list].
34228 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34230         * string/strcoll_l.c (get_next_seq): Fix up formatting.
34231         (do_compare): Likewise.
34233 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
34235         [BZ #15884]
34236         * string/strcoll_l.c: Don't include stdio.h.
34237         (coll_seq): Remove members idxarr and rulearr.
34238         (get_next_seq_cached): Remove function.
34239         (get_next_seq): Likewise.
34240         (get_next_seq_nocache): Rename to get_next_seq.
34241         (do_compare): Remove function.
34242         (do_compare_nocache): Rename to do_compare.
34243         (STRCOLL): Remove weight and rules cache.
34245 2014-10-16  Roland McGrath  <roland@hack.frob.com>
34247         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
34248         * sysdeps/arm/sfp-machine.h: ... to here.
34249         * sysdeps/arm/Implies: Remove arm/soft-fp.
34251 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
34253         * conform/data/sys/utsname.h-data (*_t): Allow.
34254         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
34255         [POSIX] (WEXITED): Do not expect constant.
34256         [POSIX] (WSTOPPED): Likewise.
34257         [POSIX] (WNOHANG): Likewise.
34258         [POSIX] (WNOWAIT): Likewise.
34259         [POSIX] (siginfo_t): Do not expect type or elements.
34260         [POSIX] (pid_t): Do not expect type.
34261         [POSIX] (signal.h): Do not allow header.
34262         [POSIX] (sys/resource.h): Likewise.
34263         [POSIX] (si_*): Do not allow pattern.
34264         [POSIX] (W*): Likewise.
34265         [POSIX] (P_*): Likewise.
34266         [POSIX] (BUS_*): Likewise.
34267         [POSIX] (CLD_*): Likewise.
34268         [POSIX] (FPE_*): Likewise.
34269         [POSIX] (ILL_*): Likewise.
34270         [POSIX] (POLL_*): Likewise.
34271         [POSIX] (SEGV_*): Likewise.
34272         [POSIX] (SI_*): Likewise.
34273         [POSIX] (TRAP_*): Likewise.
34274         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
34275         variable.
34277 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
34279         [BZ #12926]
34280         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
34281         infinite loop when __recvmsg returns 0.
34283 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
34285         * CANCEL-FCT-WAIVE: Remove file.
34286         * CANCEL-FILE-WAIVE: Likewise.
34288         [BZ #14132]
34289         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
34290         instead of INTVARDEF.
34291         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
34292         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
34293         rtld_hidden_data_def instead of INTVARDEF.
34294         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
34295         * elf/dl-deps.c (expand_dst): Likewise.
34296         * elf/dl-load.c (_dl_dst_count): Likewise.
34297         (_dl_dst_substitute): Likewise.
34298         (decompose_rpath): Likewise.
34299         (_dl_init_paths): Likewise.
34300         (open_path): Likewise.
34301         (_dl_map_object): Likewise.
34302         * elf/rtld.c (dl_main): Likewise.
34303         (process_dl_audit): Likewise.
34304         (process_envvars): Likewise.
34305         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
34306         Remove declaration.
34307         (__libc_enable_secure): Use rtld_hidden_proto.
34309 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34311         * elf/dl-load.c
34312         (add_path): New function broken out of _dl_rtld_di_serinfo.
34313         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
34315 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
34317         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
34318         parentheses around macro arguments.
34319         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
34320         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
34321         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
34322         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
34323         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
34324         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
34325         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
34326         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
34327         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
34328         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
34329         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
34330         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
34331         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
34332         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
34333         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
34334         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
34335         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
34336         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
34337         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
34338         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
34339         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
34340         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
34341         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
34342         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
34343         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
34344         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
34345         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
34346         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
34347         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
34348         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
34349         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
34350         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
34351         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
34352         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
34353         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
34354         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
34355         Likewise.
34356         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
34357         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
34358         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
34359         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
34360         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
34361         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
34362         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
34363         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
34364         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
34365         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
34366         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
34367         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
34368         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
34369         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
34370         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
34371         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
34372         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
34373         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
34374         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
34375         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
34376         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
34377         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
34378         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
34379         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
34380         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
34381         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
34382         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
34383         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
34384         (_FP_FRAC_SRS_1): Likewise.
34385         (_FP_FRAC_CLZ_1): Likewise.
34386         (_FP_MUL_MEAT_1_imm): Likewise.
34387         (_FP_MUL_MEAT_1_wide): Likewise.
34388         (_FP_MUL_MEAT_1_hard): Likewise.
34389         (_FP_SQRT_MEAT_1): Likewise.
34390         (_FP_FRAC_ASSEMBLE_1): Likewise.
34391         (_FP_FRAC_DISASSEMBLE_1): Likewise.
34392         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
34393         (__FP_CLZ_2): Likewise.
34394         (_FP_MUL_MEAT_2_wide): Likewise.
34395         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
34396         (_FP_MUL_MEAT_2_gmp): Likewise.
34397         (_FP_MUL_MEAT_2_120_240_double): Likewise.
34398         (_FP_SQRT_MEAT_2): Likewise.
34399         (_FP_FRAC_ASSEMBLE_2): Likewise.
34400         (_FP_FRAC_DISASSEMBLE_2): Likewise.
34401         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
34402         (_FP_FRAC_CLZ_4): Likewise.
34403         (_FP_MUL_MEAT_4_wide): Likewise.
34404         (_FP_MUL_MEAT_4_gmp): Likewise.
34405         (_FP_SQRT_MEAT_4): Likewise.
34406         (_FP_FRAC_ASSEMBLE_4): Likewise.
34407         (_FP_FRAC_DISASSEMBLE_4): Likewise.
34408         * soft-fp/op-common.h (_FP_CMP): Likewise.
34409         (_FP_CMP_EQ): Likewise.
34410         (_FP_CMP_UNORD): Likewise.
34411         (_FP_TO_INT): Likewise.
34412         (_FP_FROM_INT): Likewise.
34413         [!__FP_CLZ] (__FP_CLZ): Likewise.
34414         (_FP_DIV_HELP_imm): Likewise.
34415         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
34416         Likewise.
34417         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
34418         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
34419         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
34420         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
34421         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
34422         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
34423         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
34424         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
34425         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
34426         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
34427         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
34428         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
34429         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
34430         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
34431         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
34432         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
34433         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
34434         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
34435         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
34436         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
34437         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
34438         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
34439         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
34440         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
34441         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
34442         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
34443         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
34444         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
34445         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
34446         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
34447         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
34448         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
34449         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
34450         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
34451         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
34452         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
34453         (FP_UNPACK_RAW_SP): Likewise.
34454         (FP_PACK_RAW_S): Likewise.
34455         (FP_PACK_RAW_SP): Likewise.
34456         (FP_UNPACK_S): Likewise.
34457         (FP_UNPACK_SP): Likewise.
34458         (FP_UNPACK_SEMIRAW_S): Likewise.
34459         (FP_UNPACK_SEMIRAW_SP): Likewise.
34460         (FP_PACK_S): Likewise.
34461         (FP_PACK_SP): Likewise.
34462         (FP_PACK_SEMIRAW_S): Likewise.
34463         (FP_PACK_SEMIRAW_SP): Likewise.
34464         (_FP_SQRT_MEAT_S): Likewise.
34465         (FP_CMP_S): Likewise.
34466         (FP_CMP_EQ_S): Likewise.
34467         (FP_CMP_UNORD_S): Likewise.
34468         (FP_TO_INT_S): Likewise.
34469         (FP_FROM_INT_S): Likewise.
34471         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
34473         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
34474         (FP_EX_INVALID_IMZ): Likewise.
34475         (FP_EX_INVALID_IMZ_FMA): Likewise.
34476         (FP_EX_INVALID_ISI): Likewise.
34477         (FP_EX_INVALID_ZDZ): Likewise.
34478         (FP_EX_INVALID_IDI): Likewise.
34479         (FP_EX_INVALID_SQRT): Likewise.
34480         (FP_EX_INVALID_CVI): Likewise.
34481         (FP_EX_INVALID_VC): Likewise.
34482         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
34483         "invalid" exceptions.
34484         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
34485         (_FP_ADD_INTERNAL): Likewise.
34486         (_FP_MUL): Likewise.
34487         (_FP_FMA): Likewise.
34488         (_FP_DIV): Likewise.
34489         (_FP_CMP_CHECK_NAN): Likewise.
34490         (_FP_SQRT): Likewise.
34491         (_FP_TO_INT): Likewise.
34492         (FP_EXTEND): Likewise.
34494 2014-10-09  Allan McRae  <allan@archlinux.org>
34496         * po/fr.po: Update French translation from translation project.
34498 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
34500         [BZ #14132]
34501         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
34502         of INTDEF.
34503         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
34504         (__cxa_atexit): Use libc_hidden_proto.
34505         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
34507         [BZ #14132]
34508         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
34509         declaration.
34510         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
34511         [!_ISOMAC] (__iswspace_l_internal): Likewise.
34512         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
34513         [!_ISOMAC] (__iswctype_internal): Likewise.
34514         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
34515         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
34516         alias.
34517         (fcntl): Remove __fcntl_internal alias.
34518         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
34519         __connect_internal alias.
34520         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
34521         Likewise.
34523         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
34524         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
34525         FP_DENORM_ZERO.
34526         (_FP_CHECK_FLUSH_ZERO): New macro.
34527         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
34528         (_FP_CMP): Likewise.
34529         (_FP_CMP_EQ): Likewise.
34530         (_FP_TO_INT): Do not set inexact for subnormal arguments if
34531         FP_DENORM_ZERO.
34532         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
34533         (FP_TRUNC): Likewise.
34535         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
34536         treated as invalid conversion, not as normal exponent.
34538         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
34539         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
34540         (_FP_CMP_EQ): Likewise.
34541         (_FP_CMP_UNORD): Likewise.
34542         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
34543         (FP_CMP_EQ_D): Likewise.
34544         (FP_CMP_UNORD_D): Likewise.
34545         * soft-fp/extended.h (FP_CMP_E): Likewise.
34546         (FP_CMP_EQ_E): Likewise.
34547         (FP_CMP_UNORD_E): Likewise.
34548         * soft-fp/quad.h (FP_CMP_Q): Likewise.
34549         (FP_CMP_EQ_Q): Likewise.
34550         (FP_CMP_UNORD_Q): Likewise.
34551         * soft-fp/single.h (FP_CMP_S): Likewise.
34552         (FP_CMP_EQ_S): Likewise.
34553         (FP_CMP_UNORD_S): Likewise.
34554         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
34555         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
34556         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
34557         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
34558         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
34559         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
34560         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
34561         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
34562         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
34563         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
34564         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
34565         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
34566         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
34567         to FP_CMP_Q.
34568         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
34569         FP_CMP_Q.
34570         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
34571         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
34572         FP_CMP_EQ_Q.
34573         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
34574         FP_CMP_Q.
34575         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
34576         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
34577         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
34578         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
34579         FP_CMP_EQ_Q.
34580         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
34581         FP_CMP_Q.
34582         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
34583         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
34584         FP_CMP_EQ_Q.
34585         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
34586         FP_CMP_Q.
34587         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
34588         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
34589         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
34590         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
34591         FP_CMP_EQ_Q.
34593         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
34594         a subnormal result, set the underflow exception if trapping on
34595         underflow is enabled.
34596         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
34597         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
34598         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
34599         redefine to 0.
34600         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
34601         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
34602         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
34603         * soft-fp/extendxftf2.c (__extendxftf2): Use
34604         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
34606         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
34607         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
34608         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34609         FP_HANDLE_EXCEPTIONS.
34610         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
34611         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34612         FP_HANDLE_EXCEPTIONS.
34613         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
34614         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34615         FP_HANDLE_EXCEPTIONS.
34616         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
34617         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34618         FP_HANDLE_EXCEPTIONS.
34620 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
34622         [BZ #14132]
34623         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
34624         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
34625         use INTUSE.
34626         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
34627         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
34628         Remove alias.
34629         (__adjtimex): Define using libc_hidden_ver.
34630         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
34631         Remove declaration.
34632         (ntp_gettime): Call __adjtimex directly.
34633         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
34634         Remove declaration.
34635         (ntp_gettimex): Call __adjtimex directly.
34636         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
34637         __adjtimex_internal alias.
34639 2014-10-08  Roland McGrath  <roland@hack.frob.com>
34641         [BZ #17460]
34642         * nscd/nscd.c (more_help): Rewrite list of tables collection
34643         using xstrdup and asprintf.
34645         * nscd/nscd_conf.c: Remove local xstrdup declaration.
34647 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34648             Roland McGrath  <roland@hack.frob.com>
34650         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
34651         (do_lookup_unique): ... local function 'enter' here; update callers.
34653 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
34655         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
34656         compat_symbol calls on [SHARED].
34657         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
34658         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
34659         Remove.
34660         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34661         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
34662         (oldsetrlimit): Remove.
34663         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
34665         (lchown): New syscall entry.
34666         (oldsetrlimit): Remove.
34667         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34668         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
34669         (oldsetrlimit): Remove.
34670         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34672         [BZ #14138]
34673         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
34674         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
34675         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
34676         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
34677         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
34678         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
34679         (fchown): Likewise.
34680         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
34681         (fchown): Likewise.
34682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
34683         Likewise.
34685 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34687         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
34688         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
34689         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
34690         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
34691         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
34692         Likewise.
34693         (__old_sem_post): Likewise.
34695 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
34697         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
34698         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
34699         HAVE_CLOCK_GETTIME_VSYSCALL macros.
34700         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
34701         Use INLINE_VSYSCALL macro.
34702         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
34703         __vdso_clock_gettime.
34704         * sysdeps/unix/sysv/linux/tile/init-first.c
34705         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
34706         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
34707         __vdso_clock_gettime.
34709         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
34710         to set up frame more cleanly.
34712         * sysdeps/tile/memcmp.c: New file.
34714         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
34716         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
34717         * sysdeps/tile/tilegx/strcasestr.c: New file.
34718         * sysdeps/tile/tilegx/strnlen.c: New file.
34719         * sysdeps/tile/tilegx/strstr.c: New file.
34721         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
34723 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
34725         * nptl/tst-setuid3.c: Write errors to stdout.
34727 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34729         * elf/dl-deps.c
34730         (preload): New functions broken out of _dl_map_object_deps.
34731         (_dl_map_object_deps):  Remove a nested function. Update call sites.
34733 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
34735         [BZ #14138]
34736         * sysdeps/unix/sysv/linux/execve.c: Remove file.
34737         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
34739 2014-10-01  Steve Ellcey  <sellcey@mips.com>
34741         * sysdeps/mips/strcmp.S: New.
34743 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
34745         [BZ #14138]
34746         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
34747         (linkat): Likewise.
34748         (mkdirat): Likewise.
34749         (readlinkat): Likewise.
34750         (renameat): Likewise.
34751         (symlinkat): Likewise.
34752         (unlinkat): Likewise.
34753         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
34754         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
34755         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
34756         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
34757         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
34758         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
34759         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
34761 2014-09-30  Will Newton  <will.newton@linaro.org>
34763         * math/math.h: Define long double math functions if
34764         _LIBC_TEST is defined.
34765         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
34767         * localedata/Makefile: Move assignment to tests-special
34768         into an ifdef testing run-built-tests.
34769         * timezone/Makefile: Likewise.
34771 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
34773         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
34774         with $(BASH) not $(SHELL).
34776 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
34777             Matthew LeGendre  <legendre1@llnl.gov>
34779         [BZ #17411]
34780         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
34781         l_reloc_result.
34783 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34785         * stdio-common/printf_fp.c
34786         (hack_digit): New function, broken out of ...
34787         (__printf_fp): ... local function here.  Update call sites.
34788         hack_digit now takes an additional parameter that is a pointer
34789         to a struct of the referenced locals.  Those locals moved inside
34790         the struct and references updated.
34792 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
34794         * aclocal.m4: Require autoconf 2.69.
34795         * configure: Regenerated.
34796         * sysdeps/aarch64/configure: Likewise.
34797         * sysdeps/alpha/configure: Likewise.
34798         * sysdeps/arm/armv7/configure: Likewise.
34799         * sysdeps/arm/configure: Likewise.
34800         * sysdeps/ia64/configure: Likewise.
34801         * sysdeps/mach/configure: Likewise.
34802         * sysdeps/mips/configure: Likewise.
34803         * sysdeps/s390/configure: Likewise.
34804         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
34805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
34807         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
34808         file.
34809         * sysdeps/ia64/configure.ac: Likewise.
34811 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
34813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
34814         specify symbol version for ld.so.  Do not include entry for
34815         libpthread.
34816         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
34817         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
34818         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
34820         [BZ #14171]
34821         * Makeconfig [$(build-shared) = yes]
34822         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
34823         makefiles.
34824         [$(build-shared) = yes && $(soversions.mk-done) = t]
34825         ($(common-objpfx)gnu/lib-names.h): Remove rule.
34826         [$(build-shared) = yes && $(soversions.mk-done) = t]
34827         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
34828         to Makerules.
34829         [$(build-shared) = yes && $(soversions.mk-done) = t]
34830         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
34831         here.
34832         [$(build-shared) = yes && $(soversions.mk-done) = t]
34833         (common-generated): Don't append gnu/lib-names.h and
34834         gnu/lib-names.stmp here.
34835         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
34836         (lib-names-h-abi): New variable.
34837         [$(build-shared) = yes && $(soversions.mk-done) = t]
34838         (lib-names-stmp-abi): Likewise.
34839         [$(build-shared) = yes && $(soversions.mk-done) = t &&
34840         abi-variants] (before-compile): Append
34841         $(common-objpfx)$(lib-names-h-abi).
34842         [$(build-shared) = yes && $(soversions.mk-done) = t &&
34843         abi-variants] (common-generated): Append gnu/lib-names.h.
34844         [$(build-shared) = yes && $(soversions.mk-done) = t &&
34845         abi-variants] (install-others-nosubdir): Depend on
34846         $(inst_includedir)/$(lib-names-h-abi).
34847         [$(build-shared) = yes && $(soversions.mk-done) = t &&
34848         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
34849         [$(build-shared) = yes && $(soversions.mk-done) = t]
34850         ($(common-objpfx)$(lib-names-h-abi)): New rule.
34851         [$(build-shared) = yes && $(soversions.mk-done) = t]
34852         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
34853         [$(build-shared) = yes && $(soversions.mk-done) = t]
34854         (common-generated): Append $(lib-names-h-abi) and
34855         $(lib-names-stmp-abi).
34856         * scripts/lib-names.awk: Do not handle multi being set.
34857         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
34858         Remove variable.
34859         (abi-lp64_be-ld-soname): Likewise.
34860         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
34861         Likewise.
34862         (abi-hard-ld-soname): Likewise.
34863         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
34864         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
34865         Remove variable.
34866         (abi-o32_hard-ld-soname): Likewise.
34867         (abi-o32_soft_2008-ld-soname): Likewise.
34868         (abi-o32_hard_2008-ld-soname): Likewise.
34869         (abi-n32_soft-ld-soname): Likewise.
34870         (abi-n32_hard-ld-soname): Likewise.
34871         (abi-n32_soft_2008-ld-soname): Likewise.
34872         (abi-n32_hard_2008-ld-soname): Likewise.
34873         (abi-n64_soft-ld-soname): Likewise.
34874         (abi-n64_hard-ld-soname): Likewise.
34875         (abi-n64_soft_2008-ld-soname): Likewise.
34876         (abi-n64_hard_2008-ld-soname): Likewise.
34877         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
34878         Likewise.
34879         (abi-64-v2-ld-soname): Likewise.
34880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
34881         ld.so entries.
34882         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
34883         variable.
34884         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
34885         entry.
34886         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
34887         variable.
34888         (abi-64-ld-soname): Likewise.
34889         (abi-x32-ld-soname): Likewise.
34890         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
34891         entry.
34892         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
34894 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
34896         [BZ #14138]
34897         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
34898         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
34899         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
34900         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
34901         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
34902         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
34903         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
34904         syscall entry for GLIBC_2.2 symbol version.
34905         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
34906         Likewise.
34907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
34908         (setrlimit): Likewise.
34909         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
34910         Likewise.
34912 2014-09-23  Will Newton  <will.newton@linaro.org>
34914         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
34915         _LINUX_ARM_SYSDEP_H include guard too.
34916         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
34917         define.
34919 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
34921         * sysdeps/unix/sysv/linux/eventfd.c:
34922         Make first argument unsigned.
34923         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
34924         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
34926 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
34928         [BZ #16852]
34929         * socket/recvmmsg.c (recvmmsg): Drop const argument.
34930         * socket/sys/socket.h: Likewise.
34931         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
34933 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34935         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
34937 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
34939         * time/tst-ftime.c: New test.
34940         * time/Makefile (tests): Add tst-ftime.
34942 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
34944         * soft-fp/extended.h: Fix comment formatting.
34945         * soft-fp/op-1.h: Likewise.
34946         * soft-fp/op-2.h: Likewise.
34947         * soft-fp/op-4.h: Likewise.
34948         * soft-fp/op-8.h: Likewise.
34949         * soft-fp/op-common.h: Likewise.
34950         * soft-fp/soft-fp.h: Likewise.
34952         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
34954 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
34956         [BZ #6652]
34957         * Makeconfig (soversions-default-setname): Remove variable.
34958         ($(common-objpfx)soversions.i): Don't pass default_setname to
34959         soversions.awk.
34960         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
34961         oldest_abi to abi-versions.awk.
34962         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
34963         * config.make.in (oldest-abi): Remove variable.
34964         * configure.ac (--enable-oldest-abi): Remove configure option.
34965         * configure: Regenerated.
34966         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
34967         text.
34968         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
34969         * scripts/soversions.awk: Do not handle default_setname variable.
34970         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
34971         variable.
34972         * sysdeps/mach/hurd/configure: Regenerated.
34973         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
34974         variable.
34975         * sysdeps/unix/sysv/linux/configure: Regenerated.
34977 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34979         * elf/Makefile (CFLAGS-interp.c): Remove.
34980         ($(elf-objpfx)runtime-linker.h): Generate header with linker
34981         path string.
34982         * elf/interp.c: Include generated runtime-linker.h
34984         * Makerules (lib%.so): Don't include $(+interp) in
34985         prerequisites.
34986         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
34987         * dlfcn/eval.c: Remove file.
34989         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
34990         macros.
34992         [BZ #17266]
34993         * misc/sys/cdefs.h: Define __extern_always_inline for clang
34994         4.2 and newer.
34996         [BZ #17370]
34997         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
34999 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35000             Jakub Jelinek  <jakub@redhat.com>
35002         [BZ #17266]
35003         * libio/stdio.h: Check definition of __fortify_function
35004         instead of __extern_always_inline to include bits/stdio2.h.
35005         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
35006         check if __extern_always_inline is defined.
35007         [__USE_MISC || __USE_XOPEN]: Likewise.
35008         [__USE_ISOC99] Likewise.
35009         * misc/sys/cdefs.h (__fortify_function): Define only if
35010         __extern_always_inline is defined.
35011         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
35012         __extern_always_inline and __extern_inline only for g++-4.3
35013         and newer or a compatible gcc.
35015 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
35017         [BZ #17371]
35018         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
35019         last change to handle zero prefix length.
35021 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35023         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
35024         _SC_REGEX_VERSION.
35026         * posix/getconf.c (vars): Add _POSIX_IPV6 and
35027         _POSIX_RAW_SOCKETS.
35029 2014-09-13  Allan McRae  <allan@archlinux.org>
35031         * po/ru.po: Update Russian translation from translation project.
35033 2014-09-12  Roland McGrath  <roland@hack.frob.com>
35035         * locale/programs/locale.c (show_locale_vars): Inline local function
35036         into its sole call site.  Clean up some style nits.
35037         (print_item): New function, broken out of ...
35038         (show_info): ... local function here.  Clean up style nits.
35040         * locale/programs/ld-ctype.c (set_one_default): New function, broken
35041         out of ...
35042         (set_class_defaults): ... local function set_default here.
35043         Define set_default as a macro locally to pass constant parameters.
35044         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
35045         rather than a shared local.
35047         * stdlib/rpmatch.c (try): New function, broken out of ...
35048         (rpmatch): ... local function here.  Also, prototypify definition.
35050 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
35052         * scripts/soversions.awk: Do not handle configuration names.
35053         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
35054         vendor and os variables to soversions.awk.
35055         * configure.ac: Do not modify gnu-* host_os.
35056         * configure: Regenerated
35057         * shlib-versions: Remove first column with configuration names.
35058         * nptl/shlib-versions: Likewise.
35059         * nptl_db/shlib-versions: Likewise.
35060         * sysdeps/hppa/shlib-versions: Likewise.
35061         * sysdeps/m68k/shlib-versions: Likewise.
35062         * sysdeps/mach/hurd/shlib-versions: Likewise.
35063         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
35064         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
35065         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
35066         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
35067         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
35068         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
35069         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
35070         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
35071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35072         Likewise.
35073         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35074         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35075         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35076         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35077         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35078         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
35079         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
35080         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
35083         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
35084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
35085         Regenerated.
35086         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
35087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35088         Condition symbol version definitions on [HAVE_ELFV2_ABI].
35090         * shlib-versions: Remove OS-specific entries.  Moved to files in
35091         sysdeps.
35092         * sysdeps/mach/hurd/shlib-versions: New file.
35093         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35095         * nptl/shlib-versions: Remove architecture-specific entries.
35096         Moved to files in sysdeps.
35097         * shlib-versions: Likewise.
35098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
35099         file.
35100         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35101         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35102         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35103         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35105         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
35106         (UDP_NO_CHECK6_RX): Likewise.
35108 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35110         * sysdeps/posix/sysconf.c (__sysconf): Spell
35111         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
35113 2014-08-12  Florian Weimer  <fweimer@redhat.com>
35115         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
35116         loading.
35117         * iconv/Versions (__gconv_transliterate): Export for use from
35118         gconv modules.
35119         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
35120         (struct __gconv_trans_data, __gconv_trans_fct,
35121         __gconv_trans_context_fct, __gconv_trans_query_fct,
35122         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
35123         definitions.
35124         (struct __gconv_step_data): Remove __trans member.
35125         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
35126         longer hidden.  Remove unused trans_data argument.
35127         * iconv/gconv_int.h (struct trans_struct): Remove definition.
35128         (__gconv_translit_find): Remove declaration.
35129         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
35130         prototype.
35131         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
35132         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
35133         trans_data argument.  Add hidden definition.
35134         (__gconv_translit_find): Remove.
35135         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
35136         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
35137         * iconv/skeleton.c: Remove transliteration initialization.
35138         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
35139         __gconv_step_data initialization.
35140         * libio/iofwide.c (__libio_translit_): Remove.
35141         (_IO_fwide): Adjust struct __gconv_step_data initialization.
35142         * wcsmbs/btowc.c (__btowc): Likewise.
35143         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
35144         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
35145         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
35146         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
35147         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
35148         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
35149         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
35150         * wcsmbs/wctob.c (wctob): Likewise.
35152 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35154         [BZ #16194]
35155         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
35156         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
35157         register usage.
35158         * sysdeps/x86/Makefile: Adjust.
35160 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35161             Roland McGrath  <roland@hack.frob.com>
35163         * locale/weight.h: Add include guard.
35164         (findidx): Make static rather than auto; take new parameters
35165         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
35166         * locale/weightwc.h: Likewise.
35167         * posix/fnmatch_loop.c
35168         (FCT): Change type of EXTRA from int32_t to wint_t.
35169         Don't include either header inside the function.
35170         Call FINDIDX rather than findidx, and pass new arguments.
35171         #undef FINDIDX at the end of the file.
35172         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
35173         FINDIDX before including fnmatch_loop.c for the non-wide version.
35174         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
35175         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
35176         for the wide version.
35177         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
35178         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
35179         Pass new arguments to findidx.
35180         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
35181         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
35182         Don't #include it inside the function.  Pass new arguments to findidx.
35183         * posix/regex_internal.h
35184         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
35185         (re_string_elem_size_at): Don't #include it inside the function.
35186         Pass new arguments to findidx.
35187         * string/strcoll_l.c: #include WEIGHT_H at top level.
35188         (get_next_seq): Don't #include it inside the function.
35189         Pass new arguments to findidx.
35190         (get_next_seq_nocache): Likewise.
35191         * string/strxfrm_l.c: #include WEIGHT_H at top level.
35192         (STRXFRM): Don't #include it inside the function.
35193         Pass new arguments to findidx.
35195 2014-09-11  Florian Weimer  <fweimer@redhat.com>
35197         [BZ #17344]
35198         * malloc/malloc.c (unlink): Turn asserts into a call to
35199         malloc_printerr.
35201 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
35203         [BZ #17370]
35204         * libio/wfileops (do_ftell_wide): Free OUT.
35206 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
35208         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
35210 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35212         [BZ #17363]
35213         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
35214         group if the current group is empty.
35216 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35218         * benchtests/bench-memset.c (test_main): Add more test from size
35219         from 32 to 512 bytes.
35220         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35221         Add POWER8 memset object.
35222         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35223         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
35224         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
35225         implementation.
35226         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
35227         Likewise.
35228         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
35229         multiarch POWER8 memset optimization.
35230         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
35231         POWER8 memset optimization.
35233         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35234         Remove bzero multiarch objects.
35235         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
35236         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
35237         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
35238         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
35239         Remove define.
35240         [__bzero]: Redefine to specific name.
35241         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
35242         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
35243         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
35244         define.
35245         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
35246         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
35248 2014-09-10  Florian Weimer  <fweimer@redhat.com>
35250         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
35251         warnings into errors.
35253         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
35254         __cxa_thread_atexit_impl prototype.
35256 2014-09-09  Steve Ellcey  <sellcey@mips.com>
35258         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
35259         Fix capitalization of error message.
35261 2014-09-09  Steve Ellcey  <sellcey@mips.com>
35263         * sysdeps/mips/preconfigure: Modify ABI tests.
35265 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
35267         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
35269 2014-09-07  Roland McGrath  <roland@hack.frob.com>
35270             Carlos O'Donell  <carlos@systemhalted.org>
35272         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
35273         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
35274         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
35275         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
35276         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
35277         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
35278         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
35279         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
35280         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
35281         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
35282         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
35283         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
35284         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
35285         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
35286         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
35287         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
35288         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
35289         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
35290         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
35291         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
35292         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
35293         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
35294         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
35295         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
35296         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
35297         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
35298         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
35299         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
35300         Deconditionalize the code that was previously under [RESET_PID].
35301         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
35302         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
35303         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
35304         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
35305         include sysdep.h.
35307 2014-09-08  Allan McRae  <allan@archlinux.org>
35309         * version.h (RELEASE): Set to "development".
35310         (VERSION): Set to "2.20.90"
35312 2014-09-07  Allan McRae  <allan@archlinux.org
35314         * version.h (RELEASE): Set to "stable".
35315         (VERSION): Set to "2.20"
35316         * include/features.h (__GLIBC_MINOR__): Set to 20.
35318         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
35319         Liebler.
35321         * po/ko.po: Update Korean translation from translation project.
35323 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
35325         [BZ #17354]
35326         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
35327         macro for handling signed relocations.
35329 2014-09-03  Florian Weimer  <fweimer@redhat.com>
35331         [BZ #17325]
35332         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
35333         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
35334         assert.
35335         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
35336         * iconvdata/ibm935.c (BODY): Likewise.
35337         * iconvdata/ibm937.c (BODY): Likewise.
35338         * iconvdata/ibm939.c (BODY): Likewise.
35339         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
35340         assert.
35341         * iconvdata/Makefile (iconv-test.out): Pass module list to test
35342         script.
35343         * iconvdata/run-iconv-test.sh: New test loop for checking for
35344         decoder crashers.
35346 2014-09-02  Khem Raj  <raj.khem@gmail.com>
35348         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
35349         libm_hidden_ver.
35351 2014-09-01  Allan McRae  <allan@archlinux.org>
35353         * po/eo.po: Update Esperanto translation from translation project.
35355         * po/ca.po: Update Catalan translation from translation project.
35357 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35359         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
35360         __proc_dostop call.
35362 2014-08-27  Mark Wielaard  <mjw@redhat.com>
35364         [BZ #17319]
35365         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
35366         to call set_thread_area instead of hand written asm.
35367         (__NR_set_thread_area): Removed define.
35368         (TLS_FLAG_WRITABLE): Likewise.
35369         (__ASSUME_SET_THREAD_AREA): Remove check.
35370         (TLS_EBX_ARG): Remove define.
35371         (TLS_LOAD_EBX): Likewise.
35373 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35375         Simplify atomicity of socket creation in bind.
35377         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
35378         looking up the name after linking the file.
35380 2014-08-27  Allan McRae  <allan@archlinux.org>
35382         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35384 2014-08-26  Florian Weimer  <fweimer@redhat.com>
35386         [BZ #17187]
35387         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
35388         trans_compare, open_translit, __gconv_translit_find):
35389         Remove module loading code.
35391 2014-08-26  Allan McRae  <allan@archlinux.org>
35393         * po/vi.po: Update Vietnamese translation from translation project.
35395         * po/uk.po: Update Ukrainian translation from translation project.
35397         * po/fr.po: Update French translation from translation project.
35399         * po/ru.po: Update Russian translation from translation project.
35401         * po/pl.po: Update Polish translation from translation project.
35403         * po/cs.po: Update Czech translation from translation project.
35405         * po/de.po: Update German translation from translation project.
35407         * po/bg.po: Update Bulgarian translation from translation project.
35409         * po/sv.po: Update Sweedish translation from translation project.
35411         * po/nl.po: Update Dutch translation from translation project.
35413         * po/es.po: Update Spanish translation from translation project.
35415 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35417         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
35419         * catgets/Makefile (CPPFLAGS-gencat): Remove.
35420         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
35421         (CPPFLAGS-iconvconfig): Likewise.
35422         * timezone/Makefile (CPPFLAGS-zic): Likewise.
35424         * include/libc-symbols.h: Remove unnecessary check for
35425         NOT_IN_libc.
35426         * nptl/pthreadP.h: Likewise.
35427         * sysdeps/aarch64/setjmp.S: Likewise.
35428         * sysdeps/alpha/setjmp.S: Likewise.
35429         * sysdeps/arm/sysdep.h: Likewise.
35430         * sysdeps/i386/setjmp.S: Likewise.
35431         * sysdeps/m68k/setjmp.c: Likewise.
35432         * sysdeps/posix/getcwd.c: Likewise.
35433         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
35434         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
35435         * sysdeps/s390/s390-32/setjmp.S: Likewise.
35436         * sysdeps/s390/s390-64/setjmp.S: Likewise.
35437         * sysdeps/sh/sh3/setjmp.S: Likewise.
35438         * sysdeps/sh/sh4/setjmp.S: Likewise.
35439         * sysdeps/unix/alpha/sysdep.h: Likewise.
35440         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
35441         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35442         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
35443         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35446         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35447         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35448         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35449         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35450         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35451         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
35452         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35453         * sysdeps/x86_64/setjmp.S: Likewise.
35455 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
35457         [BZ #17263]
35458         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
35459         <stdint.h>.
35460         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
35461         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
35463 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35465         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
35467         [BZ #17262]
35468         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
35469         and __x86_64__ when disabling x87 inline functions.
35471 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
35473         [BZ #17259]
35474         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
35475         asm statement with __cpuid_count.
35477 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
35479         * configure.ac: Change __ehdr_start code to dereference the struct.
35480         Run readelf on the output to look for relocations.
35481         * configure: Regenerated.
35483 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
35485         [BZ #17261]
35486         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
35487         value to 0.
35488         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
35490 2014-08-12  Roland McGrath  <roland@hack.frob.com>
35492         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
35494 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
35496         [BZ #16892]
35497         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
35498         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
35500 2014-08-12  Sean Anderson  <seanga2@gmail.com>
35502         * malloc/malloc.c: Fix typo in comment.
35504 2014-08-09  Allan McRae  <allan@archlinux.org>
35506         * Regenerate libc.po.
35508 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
35510         * intl/tst-gettext2.sh: Check every lang file for creation.
35512 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
35514         * sysdeps/aarch64/fpu/math_private.h
35515         (libc_feholdsetround_noex_aarch64_ctx): New function.
35517 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
35519         * sysdeps/arm/armv6/strcpy.S (strcpy):
35520         Fix performance issue in misaligned cases.
35522 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35524         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
35525         Move definition from termios.h.
35526         (struct termio): Likewise.
35527         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35528         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
35529         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
35530         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
35531         Likewise.
35532         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
35533         Move definition to ioctl-types.h
35534         (struct termio): Likewise.
35535         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35536         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
35537         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
35538         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
35539         Likewise.
35541 2014-08-05  Richard Henderson  <rth@redhat.com>
35543         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
35544         exceptions.
35545         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
35546         Add fraiseexcpt.
35547         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
35548         Use __feraiseexcept.
35549         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
35550         Protect libm symbols with IS_IN_libm.
35552         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
35554 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
35556         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
35558 2014-08-04  Will Newton  <will.newton@linaro.org>
35560         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
35561         file.
35563 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
35565         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
35566         variants for each function.
35568 2014-08-04  Roland McGrath  <roland@hack.frob.com>
35570         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
35571         appended ...
35572         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
35573         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
35574         appended ...
35575         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
35576         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
35577         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
35578         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
35579         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
35580         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
35581         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
35582         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
35583         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
35584         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
35585         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
35586         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
35587         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
35588         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
35589         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
35590         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
35591         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
35592         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
35593         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
35594         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
35595         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
35596         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
35597         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
35598         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
35599         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
35600         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
35601         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
35602         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
35603         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
35604         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
35605         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
35606         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
35607         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
35608         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
35609         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
35610         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
35611         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
35612         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
35613         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
35614         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
35615         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
35616         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
35617         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
35618         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
35619         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
35620         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
35621         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
35622         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
35623         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
35624         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
35625         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
35626         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
35627         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
35628         Update #include.
35629         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
35630         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
35632 2014-08-04  Roland McGrath  <roland@hack.frob.com>
35634         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
35635         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
35636         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
35637         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
35638         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
35639         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
35641 2014-08-04  Roland McGrath  <roland@hack.frob.com>
35643         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
35644         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
35645         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35646         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
35648 2014-08-04  Roland McGrath  <roland@hack.frob.com>
35650         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
35651         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
35652         (__libc_vfork): Define function under this name.
35653         (__vfork): Define as an alias.
35654         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
35655         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
35657 2014-08-04  Roland McGrath  <roland@hack.frob.com>
35659         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
35660         that was previously under [RESET_PID].
35661         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
35663 2014-08-04  Andreas Schwab  <schwab@suse.de>
35665         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
35667 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
35669         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
35670         (main): Likewise.
35672 2014-08-01  Roland McGrath  <roland@hack.frob.com>
35674         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
35676 2014-08-01  Richard Henderon  <rth@redhat.com>
35678         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
35679         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
35680         typo in exact zero test.
35681         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35682         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35683         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35685 2014-08-01  Roland McGrath  <roland@hack.frob.com>
35687         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
35688         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
35689         * sysdeps/arm/sysdep.h: ... here.
35690         [!__ASSEMBLER__]: Include <stdint.h>.
35692 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
35694         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
35695         (HAVE_WCTYPE_H): Likewise.
35696         (HAVE_ISWCTYPE): Likewise.
35697         (ENABLE_NLS): Likewise.
35698         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
35699         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
35701         * posix/regex_internal.c: Check if DEBUG is defined and is
35702         set.
35704         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
35705         (HAVE_MBSRTOWCS): Likewise.
35706         * posix/fnmatch.c: Include string.h unconditionally.
35708 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
35710         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
35711         reversal.
35713 2014-07-31  Roland McGrath  <roland@hack.frob.com>
35715         * sysdeps/generic/safe-fatal.h: New file.
35716         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
35717         * nptl/forward.c: Include it.
35718         (__pthread_unwind): Use __safe_fatal as default action, rather
35719         than a bogus use of INTERNAL_SYSCALL that could never work.
35721         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
35722         * configure.ac (libc_cv_builtin_trap): New test.
35723         * configure: Regenerated.
35724         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
35725         (ABORT_INSTRUCTION): Define using __builtin_trap.
35727         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
35728         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
35729         * sysdeps/nptl/nptl-signals.h: New file.
35730         * nptl/pthreadP.h: Include <nptl-signals.h>.
35732 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
35734         * sysdeps/s390/s390-64/utf16-utf32-z9.c
35735         (ONE_DIRECTION): Define.
35736         * sysdeps/s390/s390-64/utf8-utf16-z9.c
35737         (ONE_DIRECTION): Define.
35738         * sysdeps/s390/s390-64/utf8-utf32-z9.c
35739         (ONE_DIRECTION): Define.
35741 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
35743         * sysdeps/s390/Makefile: Delete file.
35744         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
35745         * sysdeps/s390/__longjmp.c: Delete file.
35746         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
35747         Remove fields __flags and __reserved.
35748         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
35749         and add versioning.
35750         * sysdeps/s390/rtld-__longjmp.c: Delete file.
35751         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
35752         * sysdeps/s390/rtld-setjmp.S: Likewise.
35753         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
35754         * sysdeps/s390/s390-32/__longjmp.c: ... here.
35755         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
35756         * sysdeps/s390/s390-32/setjmp.S: ... here.
35757         Add versioning.
35758         (__sigsetjmp): Remove setting __flags field.
35759         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
35760         * sysdeps/s390/s390-64/__longjmp.c: ... here.
35761         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
35762         * sysdeps/s390/s390-64/setjmp.S: ... here.
35763         Add versioning.
35764         (__sigsetjmp): Remove setting __flags field.
35765         * sysdeps/s390/setjmp.S: Delete file.
35766         * sysdeps/s390/sigjmp.c: Likewise.
35767         * sysdeps/s390/v1-longjmp.c: Likewise.
35768         * sysdeps/s390/v1-setjmp.h: Likewise.
35769         * sysdeps/s390/v1-sigjmp.c: Likewise.
35770         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
35771         Remove v1-longjmp_chk.
35772         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
35773         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
35774         Include debug/longjmp_chk.c and add versioning.
35775         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
35776         Include nptl/pt-longjmp.c and add versioning.
35777         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
35778         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
35779         Include __longjmp.c.
35780         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
35781         Move to ...
35782         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
35783         (__getcontext): Remove setting __flags field.
35784         Add versioning.
35785         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35786         Don't restore upper high grps.
35787         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
35788         Likewise.
35789         (__swapcontext): Remove setting uc_flags field.
35790         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
35791         Delete file.
35792         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
35793         Include __longjmp.c.
35794         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
35795         Move to ...
35796         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
35797         (__getcontext): Remove setting __flags field.
35798         Add versioning.
35799         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
35800         (__swapcontext): Remove setting uc_flags field.
35801         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
35802         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
35803         Remove fields uc_high_gprs and __reserved.
35804         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
35805         New file with reverted content.
35806         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
35807         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
35808         Regenerated.
35809         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
35810         Regenerated.
35812 2014-07-31  Andreas Schwab  <schwab@suse.de>
35814         * config.h.in (HAVE_IFUNC): Define to 0.
35815         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
35816         definedness.
35818 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
35820         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35821         memmove-avx-unaligned, memcpy-avx-unaligned and
35822         mempcpy-avx-unaligned.
35823         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35824         Add tests for AVX memcpy functions.
35825         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
35826         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
35827         memcpy_chk.
35828         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
35829         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
35830         memmove_chk.
35831         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
35832         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
35833         mempcpy_chk.
35834         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
35835         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
35836         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
35838 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35840         [BZ #17213]
35841         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
35842         powerpc64le.
35844 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
35846         [BZ #16839]
35847         * manual/llio.texi: Add section about open file description locks.
35848         * manual/examples/ofdlocks.c: Example of open file description
35849         lock usage.
35850         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
35851         F_OFD_SETLK, and F_OFD_SETLKW.
35853 2014-07-23  Allan McRae  <allan@archlinux.org>
35855         * po/es.po: Update Spanish translation from translation project.
35857 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
35859         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
35861 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
35863         [BZ #17078]
35864         * sysdeps/arm/dl-machine.h (elf_machine_rela)
35865         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
35866         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
35868 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
35870         [BZ #17088]
35871         * math/fesetenv.c (__fesetenv)
35872         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
35873         * math/feupdateenv.c (__feupdateenv)
35874         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
35876         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
35877         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
35878         (__ASSUME_SOCKETCALL): Do not define.
35880         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
35881         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
35882         (__ASSUME_SOCKETCALL): Do not define.
35883         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
35884         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
35885         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35886         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
35887         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35888         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
35889         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35890         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35892         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
35893         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
35894         (__ASSUME_SOCKETCALL): Do not define.
35895         (__ASSUME_IPC64): Define unconditionally.
35896         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
35897         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35898         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
35899         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35900         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
35901         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35902         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
35903         Likewise.
35905         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
35906         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
35907         (__ASSUME_SOCKETCALL): Do not define.
35908         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
35909         (__ASSUME_FUTEX_LOCK_PI): Likewise.
35910         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35911         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
35912         (__ASSUME_REQUEUE_PI): Define unconditionally.
35913         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
35914         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
35915         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35916         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
35917         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35918         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35920         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
35921         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
35922         (__ASSUME_SOCKETCALL): Do not define.
35923         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
35924         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35925         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35926         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
35927         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35928         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35930         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
35931         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
35932         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35933         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
35934         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35935         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
35936         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35937         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
35938         (__ASSUME_GETCPU_SYSCALL): Likewise.
35940         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
35941         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
35942         cases for individual architectures.
35943         * sysdeps/gnu/configure: Regenerated.
35944         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
35945         LIBC_SLIBDIR_RTLDDIR.
35946         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
35947         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
35948         LIBC_SLIBDIR_RTLDDIR.
35949         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
35950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
35951         LIBC_SLIBDIR_RTLDDIR.
35952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
35953         Regenerated.
35954         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
35955         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
35956         file.
35957         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
35958         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
35959         file.
35960         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
35961         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
35962         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
35963         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
35965         * sysdeps/aarch64/shlib-versions: Move to ...
35966         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
35967         * sysdeps/alpha/shlib-versions: Move to ...
35968         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
35969         * sysdeps/arm/shlib-versions: Move to ...
35970         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
35971         * sysdeps/hppa/shlib-versions: Move all contents except for
35972         libgcc_s entry to ...
35973         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
35974         entry from ...
35975         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
35976         * sysdeps/ia64/shlib-versions: Move to ...
35977         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
35978         entry from ...
35979         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
35980         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
35981         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
35982         * sysdeps/microblaze/shlib-versions: Move to ...
35983         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
35984         * sysdeps/mips/shlib-versions: Move to ...
35985         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
35986         entry from ...
35987         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
35988         * sysdeps/tile/shlib-versions: Move to ...
35989         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
35990         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
35991         from ...
35992         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
35993         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
35994         entry from ...
35995         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
35997 2014-07-17  Will Newton  <will.newton@linaro.org>
35999         * sysdeps/arm/bits/atomic.h
36000         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
36001         (__arch_compare_and_exchange_bool_16_int): Likewise.
36002         (__arch_compare_and_exchange_bool_64_int): Likewise.
36004         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
36005         into an #else block.
36007 2014-07-16  Roland McGrath  <roland@hack.frob.com>
36009         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
36010         just Linux configurations.  Test empirically that the compiler sets
36011         __ARM_EABI__, rather than using the tuple to decide.
36012         * sysdeps/arm/preconfigure: Regenerated.
36013         * sysdeps/unix/sysv/linux/arm/configure: File removed.
36014         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
36015         contents appended ...
36016         * sysdeps/arm/configure.ac: ... here.
36017         * sysdeps/arm/configure: Regenerated.
36019 2014-07-15  Roland McGrath  <roland@hack.frob.com>
36021         * nptl/pthread_kill.c: New file.
36022         * nptl/pthread_sigmask.c: New file.
36023         * nptl/pthread_sigqueue.c: New file.
36025         * sysdeps/nptl/lowlevellock.h: New file.
36026         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
36027         * sysdeps/nptl/lowlevellock-futex.h: New file.
36029         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
36030         Remove dead declarations.
36032 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
36034         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
36035         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
36036         config-cflags-avx2.
36037         * sysdeps/x86_64/configure.ac: Likewise.
36038         * sysdeps/i386/configure: Regenerated.
36039         * sysdeps/x86_64/configure: Likewise.
36040         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36041         memset-avx2 only if config-cflags-avx2 is yes.
36042         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36043         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
36044         defined.
36045         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
36046         only if HAVE_AVX2_SUPPORT is defined.
36047         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36049 2014-07-14  Alan Modra  <amodra@gmail.com>
36051         [BZ #17153]
36052         * elf/elf.h (DT_PPC64_NUM): Correct value.
36053         * NEWS: Add to fixed bug list.
36055 2014-07-13  Jim Meyering  <meyering@fb.com>
36057         [BZ 17150]
36058         regex: don't deref NULL upon heap allocation failure
36059         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
36060         failure in one more place.
36061         To trigger the segfault, configure grep -with-included-regex,
36062         build it, and run these commands:
36063         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
36065 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
36067         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
36069 2014-07-11  Richard Henderson  <rth@redhat.com>
36071         * sysdeps/aarch64/libm-test-ulps: Update.
36073 2014-07-10  Florian Weimer  <fweimer@redhat.com>
36075         [BZ #17135]
36076         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
36077         * nptl/allocatestack.c (__nptl_setxid_error): New function.
36078         (__nptl_setxid): Initialize error member.  Call
36079         __nptl_setxid_error.
36080         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
36081         * nptl/descr.h (struct xid_command): Add error member.
36082         * nptl/tst-setuid3.c: New file.
36083         * nptl/Makefile (tests): Add it.
36085 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36087         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
36088         New define.
36089         (__lll_trylock): Use __lll_base_trylock.
36090         (__lll_cond_trylock): Likewise.
36092 2014-07-10  Roland McGrath  <roland@hack.frob.com>
36094         * nptl/pthread_create.c (start_thread): Use atomic_or and
36095         lll_futex_wake directly rather than lll_robust_dead.
36096         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36097         (lll_robust_dead): Macro removed.
36098         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
36099         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36100         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36101         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36102         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36103         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36104         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36105         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36106         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36107         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36108         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36109         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36110         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36111         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36112         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36114         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
36115         Use atomic_compare_and_exchange_val_acq directly rather than
36116         lll_robust_trylock.
36117         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36118         (__lll_robust_trylock, lll_robust_trylock): Removed.
36119         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36120         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36121         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36122         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36123         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36124         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36125         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36126         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36127         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36128         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36129         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36130         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36131         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36132         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36134 2014-07-02  Florian Weimer  <fweimer@redhat.com>
36136         * manual/locale.texi (Locale Names): New section documenting
36137         locale name syntax.  Adjust menu and node chaining accordingly.
36138         (Choosing Locale): Reference Locale Names, Locale Categories.
36139         Mention setting LC_ALL=C.  Reflect that name syntax is now
36140         documented.
36141         (Locale Categories): New section title.  Reference Locale Names.
36142         LC_ALL is an environment variable, but not a category.
36143         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
36144         description, now in Locale Name.  Reference that section.  Locale
36145         name syntax is now documented.
36147 2014-07-02  Florian Weimer  <fweimer@redhat.com>
36149         [BZ #17137]
36150         * locale/findlocale.c (name_present, valid_locale_name): New
36151         functions.
36152         (_nl_find_locale): Use the loc_name variable to store name
36153         candidates.  Call name_present and valid_locale_name to check and
36154         validate locale names.  Return an error if the locale is invalid.
36156 2014-07-02  Florian Weimer  <fweimer@redhat.com>
36158         * locale/setlocale.c (setlocale): Use strdup for allocating
36159         composite name copy.
36161 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36163         Sync up with gnulib.
36164         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
36165         [!_LIBC && ENABLE_NLS]: Include gettext.h.
36166         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
36167         and _GL_ARG_NONNULL.
36168         [USE_UNLOCKED_IO]: Include unlocked-io.h.
36169         [!_LIBC]: Include code for Windows and Cygwin.
36170         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
36171         Include prototype for int strerror_r.
36172         [!_LIBC] (is_open): New function.
36173         (flush_stdout): New function.
36174         (print_errno_message): Use it.
36175         (error): Likewise.
36176         (error_at_line): Likewise.
36177         (error_tail) Add function attribute macros.  Use
36178         __builtin_expect.
36180         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
36182         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
36184         * io/ftw.c: Include sys/param.h unconditionally.
36186         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
36188         [BZ #17125]
36189         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
36190         libc_freeres_ptr.
36191         (freecache): New function to free CACHE on exit.
36193         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
36194         initialization.
36196 2014-07-09  David S. Miller  <davem@davemloft.net>
36198         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36200         * sysdeps/sparc/nptl/internaltypes.h: Delete.
36201         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
36202         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
36203         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
36204         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
36205         * sysdeps/sparc/nptl/sem_init.c: Likewise.
36206         * sysdeps/sparc/nptl/sem_post.c: Likewise.
36207         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
36208         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
36209         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
36210         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
36211         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
36212         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
36214 2014-07-09  Andreas Schwab  <schwab@suse.de>
36216         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
36217         output.
36218         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
36219         (do_test): Likewise.
36221         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36223 2014-07-09  Will Newton  <will.newton@linaro.org>
36225         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
36226         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
36227         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
36228         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
36229         * sysdeps/hppa/start.S (_start): Likewise.
36231 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
36233         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
36235         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
36236         defined.
36238 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36240         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
36241         after checking that it is non-NULL.
36243         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
36245 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36247         * sysdeps/powerpc/memmove.c: Remove file.
36248         * sysdeps/powerpc/powerpc32/power4/memcopy.h
36249         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
36250         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
36251         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
36252         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
36253         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
36254         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
36255         string memmove instead of removed powerpc one.
36257         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
36258         [weak_alias]: Fix compiler warning due trailing data.
36259         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
36260         [weak_alias]: Likewise.
36261         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
36262         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
36264         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36265         (__libc_ifunc_impl_list): Add memmove functions.
36267 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36269         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
36270         Remove code.
36271         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
36272         Likewise.
36273         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
36274         Likewise.
36275         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
36276         Likewise.
36277         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
36278         Likewise.
36279         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
36280         Likewise.
36281         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
36282         Likewise.
36283         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
36284         Likewise.
36285         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
36286         Likewise.
36287         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
36288         Likewise.
36289         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
36290         Likewise.
36291         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
36292         Likewise.
36293         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
36294         Likewise.
36295         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
36296         Likewise.
36297         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
36298         Likewise.
36299         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
36300         Likewise.
36301         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
36302         Likewise.
36304 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36306         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
36307         to avoid alignment traps in non-cacheable memory.
36308         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
36310         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
36311         multiarch objects.
36312         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
36313         file: multiarch power7 memmove.
36314         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
36315         multiarch default memmove.
36316         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
36317         multiarch memove for powerpc32/power4.
36319         * string/bcopy.c: Use full path to include memmove.c.
36320         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
36321         multiarch objects.
36322         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
36323         bcopy for powerpc64.
36324         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
36325         bcopy for powerpc64.
36326         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
36327         and memmove implementations.
36328         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
36329         optimized multiarch memmove for POWER7/powerpc64.
36330         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
36331         default multiarch memmove for powerpc64.
36332         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
36333         multiarch for powerpc64.
36334         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
36335         for POWER7/powerpc64.
36336         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
36337         memmove for POWER7/powerpc64.
36339         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
36340         glibc default one.
36342         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
36343         __ELF_NATIVE_CLASS equal to 64.
36345 2014-07-07  Roland McGrath  <roland@hack.frob.com>
36347         * sysdeps/nptl/lowlevellock.h: File removed.
36349         * NEWS: NPTL is no longer an add-on!
36350         * nptl/internaltypes.h: Moved ...
36351         * sysdeps/nptl/internaltypes.h: ... here.
36352         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
36353         * sysdeps/nptl/fork.c: Likewise.
36354         * sysdeps/nptl/gai_misc.h: Likewise.
36355         * sysdeps/nptl/librt-cancellation.c: Likewise.
36356         * sysdeps/nptl/jmp-unwind.c: Likewise.
36357         * sysdeps/nptl/setxid.h: Likewise.
36358         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
36359         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
36360         * sysdeps/unix/sysv/linux/arm/Implies: New file.
36361         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
36362         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
36363         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
36364         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
36365         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
36366         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
36367         * sysdeps/unix/sysv/linux/mips/Implies: New file.
36368         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
36369         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
36370         * sysdeps/unix/sysv/linux/sh/Implies: New file.
36371         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
36372         * sysdeps/unix/sysv/linux/tile/Implies: New file.
36373         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
36374         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
36375         * nptl/Makeconfig: Moved ...
36376         * sysdeps/nptl/Makeconfig: ... here.
36377         * nptl/configure: File removed.
36378         * nptl/ANNOUNCE: File removed.
36379         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
36380         * sysdeps/unix/sysv/linux/configure: Regenerated.
36382         * nptl/Makefile (routines): Add libc_pthread_init,
36383         libc_multiple_threads, register-atfork and unregister-atfork.
36384         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
36385         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
36386         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
36387         pthread-pi-defines.sym, structsem.sym.
36388         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
36389         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
36390         [$(subdir) = nptl] (tests): Add tst-setgetname.
36391         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
36392         * sysdeps/unix/sysv/linux/sigaction.c: Just include
36393         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
36394         [!LIBC_SIGACTION]: Remove aliases.
36395         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
36396         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
36397         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
36398         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
36399         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
36400         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
36401         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36402         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36403         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
36404         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
36405         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
36406         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
36407         __libc_allocate_rtsig_private.
36408         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
36409         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
36410         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
36411         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
36412         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
36413         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
36414         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
36415         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
36416         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
36417         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
36418         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
36419         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
36420         * nptl/internaltypes.h: ... here.
36421         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
36422         * sysdeps/nptl/jmp-unwind.c: ... here.
36423         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
36424         * nptl/libc-lowlevellock.c: ... here.
36425         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
36426         * nptl/libc_multiple_threads.c: ... here.
36427         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
36428         * nptl/libc_pthread_init.c: ... here.
36429         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
36430         * nptl/lowlevelbarrier.sym: ... here.
36431         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
36432         * nptl/lowlevelcond.sym: ... here.
36433         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
36434         * nptl/lowlevellock.c: ... here.
36435         * nptl/lowlevellock.h: Moved ...
36436         * sysdeps/nptl/lowlevellock.h: ... here.
36437         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
36438         * nptl/lowlevelrobustlock.c: ... here.
36439         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
36440         * nptl/lowlevelrobustlock.sym: ... here.
36441         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
36442         * nptl/lowlevelrwlock.sym: ... here.
36443         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
36444         * nptl/pt-fork.c: ... here.
36445         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
36446         * nptl/pthread-pi-defines.sym: ... here.
36447         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
36448         * nptl/pthread_attr_getaffinity.c: ... here.
36449         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
36450         * nptl/pthread_attr_setaffinity.c: ... here.
36451         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
36452         * nptl/pthread_mutex_cond_lock.c: ... here.
36453         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
36454         Update #include.
36455         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
36456         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
36457         * nptl/pthread_once.c: ... here, replacing old file.
36458         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
36459         * nptl/pthread_yield.c: ... here.
36460         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
36461         * nptl/register-atfork.c: ... here.
36462         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
36463         * nptl/sem_post.c: ... here.
36464         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
36465         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
36466         * nptl/sem_timedwait.c: ... here.
36467         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
36468         * nptl/sem_trywait.c: ... here.
36469         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
36470         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
36471         * nptl/sem_wait.c: ... here.
36472         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
36473         * nptl/structsem.sym: ... here.
36474         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
36475         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
36476         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
36477         * nptl/unregister-atfork.c: ... here.
36478         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
36479         * nptl/unwindbuf.sym: ... here.
36480         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
36481         * sysdeps/nptl/fork.c: ... here.
36482         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
36483         * sysdeps/nptl/fork.h: ... here.
36484         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
36485         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
36486         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
36487         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
36488         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
36489         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
36490         * sysdeps/unix/sysv/linux/getpid.c: ... here.
36491         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
36492         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
36493         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
36494         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
36495         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
36496         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
36497         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
36498         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
36499         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
36500         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
36501         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
36502         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
36503         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
36504         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
36505         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
36506         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
36507         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
36508         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
36509         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
36510         * sysdeps/unix/sysv/linux/raise.c: ... here.
36511         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
36512         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
36513         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
36514         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
36515         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
36516         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
36517         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
36518         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
36519         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
36520         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
36521         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
36522         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
36523         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
36524         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
36525         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
36527 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36529         * sysdeps/generic/memcopy.h: Add comment for
36530         MEMCPY_OK_FOR_FWD_MEMMOVE.
36532 2014-07-04  Will Newton  <will.newton@linaro.org>
36534         * string/memchr.c: Merge from gnulib.
36535         [_LIBC]: Remove conditionals.
36536         (__ptr_t): Remove define.
36537         (LONG_MAX_32_BITS): Likewise.
36538         (LONG_MAX): Likewise.
36539         (MEMCHR): Use ANSI prototype and optimize algorithm.
36541         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
36543 2014-07-03  Roland McGrath  <roland@hack.frob.com>
36545         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
36546         (lll_futex_timed_wait_bitset): Fix syscall argument count.
36548         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
36549         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
36550         in a bare environment with no <stdlib.h> installed.
36551         * sysdeps/nptl/configure: Regenerated.
36553         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
36555         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
36556         AC_EGREP_CPP for kernel header checks, so they only succeed if
36557         including <linux/version.h> actually works right.
36558         * sysdeps/unix/sysv/linux/configure: Regenerated.
36560         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
36561         value so it's not diagnosed as unused.
36563         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
36564         thing) with "ifeq ($(subdir),rt)".
36566 2014-07-03  Richard Henderson  <rth@redhat.com>
36568         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
36569         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
36570         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
36572         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
36573         (math_force_eval): New.
36575         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
36576         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
36578         * sysdeps/alpha/fpu/s_round.c: Remove file.
36579         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
36581         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
36582         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
36583         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
36584         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
36585         (_dl_start, print_statistics): Likewise.
36586         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
36587         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
36589         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36590         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36591         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36592         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36593         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
36594         (HP_SMALL_TIMING_AVAIL): Define.
36595         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36596         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
36597         (HP_SMALL_TIMING_AVAIL): Define.
36598         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36599         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36601         * sysdeps/aarch64/hp-timing.h: New file.
36603         * sysdeps/generic/hp-timing.h: Remove dead comment.
36604         * sysdeps/generic/hp-timing-common.h: New file.
36605         * sysdeps/alpha/hp-timing.h: Include it.
36606         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
36607         * sysdeps/i386/i686/hp-timing.h: Likewise.
36608         * sysdeps/ia64/hp-timing.h: Likewise.
36609         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36610         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36611         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36612         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36613         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
36614         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
36615         (hp_timing_t): New.
36617         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
36618         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
36619         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
36620         * elf/rtld.c (_dl_start_final): Likewise.
36621         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
36622         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36623         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36624         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36625         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36626         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
36627         (HP_TIMING_DIFF_INIT): Remove.
36628         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36629         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
36630         (HP_TIMING_DIFF_INIT): Remove.
36631         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36632         * sysdeps/i386/i686/hp-timing.c: Remove file.
36633         * sysdeps/x86_64/hp-timing.c: Remove file.
36634         * sysdeps/ia64/hp-timing.c: Remove file.
36635         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
36636         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
36637         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
36638         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
36640         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
36641         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
36642         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
36643         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
36644         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
36645         (HP_TIMING_ACCUM): Remove.
36646         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
36647         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
36648         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
36650         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
36651         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
36652         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
36653         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
36654         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
36655         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
36656         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
36657         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
36659         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
36661 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
36663         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
36665 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36667         Sync up with gettext.
36668         * intl/loadmsgcat.c: Define O_BINARY if not defined.
36669         [_MSC_VER]: Include malloc.h
36670         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
36671         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
36672         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
36673         TEMP_FAILURE_RETRY.  Cast return of alloca.
36674         [!_LIBC] Call gl_rwlock_init.
36675         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
36677 2014-07-02  Roland McGrath  <roland@hack.frob.com>
36679         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
36680         before checking its value.
36682 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36684         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
36686         * debug/memcpy_chk.c: Don't include pagecopy.h.
36687         * debug/mempcpy_chk.c: Likewise.
36688         * string/memcpy.c: Likewise.
36689         * string/memmove.c: Likewise.
36690         * sysdeps/powerpc/memmove.c: Likewise.
36691         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
36692         definition of PAGE_COPY_FWD_MAYBE here...
36693         * sysdeps/generic/pagecopy.h: ... from here.
36694         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
36696 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36697             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36699         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
36700         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
36701         optimizations.
36702         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36703         (__libc_ifunc_impl_list): Likewise.
36704         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
36705         multiarch strcat for PPC64.
36706         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
36707         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
36709 2014-07-02  Roland McGrath  <roland@hack.frob.com>
36711         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
36713 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36715         * intl/loadmsgcat.c: Remove declaration of
36716         get_sysdep_segment_value.
36717         (get_sysdep_segment_value): Use ISO C style.
36718         (_nl_load_domain): Use ISO C style.  Get rid of redundant
36719         semicolon.  Fix typo and formatting in comment.
36720         (_nl_unload_domain): Use ISO C style.
36722         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
36724 2014-07-02  Will Newton  <will.newton@linaro.org>
36726         * malloc/obstack.c: Merge from gnulib master.
36727         [HAVE_CONFIG_H]: Remove conditional code.
36728         [!_LIBC]: Include config.h.
36729         [!ELIDE_CODE]: Don't include inttypes.h, include
36730         stdint.h unconditionally.
36731         (print_and_abort): Mark as _Noreturn.
36732         (_obstack_allocated_p): Mark as __attribute_pure__.
36733         (obstack_free): Rename to __obstack_free.
36734         [!__attribute__]: Remove conditional code.
36735         * malloc/obstack.h: Merge from gnulib master.
36736         [__cplusplus]: Move conditional down.
36737         [!__attribute_pure__]: Define __attribute_pure__ here
36738         if it is not already defined.
36739         (_obstack_memory_used): Mark as __attribute_pure__.
36740         [!__obstack_free]: Define as obstack_free.
36741         [__GNUC__]: Remove check for ancient NeXT gcc.
36743 2014-07-02  Will Newton  <will.newton@linaro.org>
36744             Paul Eggert  <eggert@cs.ucla.edu>
36746         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
36748 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36750         * resolv/gethnamaddr.c: Add comment warning that the file is
36751         not maintained.
36753 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
36755         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
36756         entries.
36758         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
36759         entry for aio_cancel and aio_cancel64.
36760         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
36761         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
36762         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
36763         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
36764         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
36765         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
36766         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
36767         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
36768         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
36769         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
36770         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
36771         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
36772         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
36774 2014-07-01  Roland McGrath  <roland@hack.frob.com>
36776         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
36777         * nptl/pthread_mutex_lock.c: Likewise.
36778         * nptl/pthread_mutex_timedlock.c: Likewise.
36779         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
36781 2014-07-01  Richard henderson  <rth@redhat.com>
36783         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
36784         (__isnan, __isnanl): Remove.
36785         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
36787         * sysdeps/alpha/fpu/libm-test-ulps: Update.
36789 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
36791         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36793 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
36795         * resolv/nss_dns/dns-host.c (getanswer_r)
36796         [MULTI_PTRS_ARE_ALIASES]: Remove code.
36798 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
36800         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36801         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
36802         undefine.
36803         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
36804         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
36806 2014-07-01  Roland McGrath <roland@hack.frob.com>
36808         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
36809         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
36811         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
36812         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
36814         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
36815         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
36816         ... here.
36817         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
36818         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
36820         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
36821         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
36822         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
36823         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
36825         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
36826         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
36827         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
36828         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
36829         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
36830         Moved ...
36831         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
36832         ... here.
36833         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
36834         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
36835         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
36836         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
36837         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
36838         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
36839         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
36840         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
36841         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
36842         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
36843         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
36844         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
36845         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
36846         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
36847         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
36848         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
36849         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
36850         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
36851         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
36852         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
36853         ... here.
36854         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
36855         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
36856         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
36857         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
36858         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
36859         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
36860         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
36861         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
36863 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
36865         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
36866         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
36867         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
36868         Add sysdep.
36870 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36872         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36874 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
36876         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
36877         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
36879         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
36881         * sysdeps/arm/libm-test-ulps: Regenerated.
36883 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
36884             Roland McGrath <roland@hack.frob.com>
36886         * test-skeleton.c (signal_handler): Kill the whole process group
36887         before killing the child individually.
36888         (main): Report any failure on `setpgid'.
36890 2014-06-30  Roland McGrath  <roland@hack.frob.com>
36892         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
36893         from _TLS_H to _ARM_NPTL_TLS_H.
36894         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
36895         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
36897 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
36899         [BZ #16539]
36900         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
36901         (__expm1l): Return argument unchanged when small but not
36902         subnormal.
36904         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
36905         include macro name.
36906         (_FP_UNPACK_RAW_1_P): Likewise.
36907         (_FP_PACK_RAW_1): Likewise.
36908         (_FP_PACK_RAW_1_P): Likewise.
36909         (_FP_MUL_MEAT_1_wide): Likewise.
36910         (_FP_MUL_MEAT_DW_1_hard): Likewise.
36911         (_FP_MUL_MEAT_1_hard): Likewise.
36912         (_FP_DIV_MEAT_1_imm): Likewise.
36913         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
36914         (_FP_DIV_MEAT_1_udiv): Likewise.
36915         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
36916         (_FP_UNPACK_RAW_2): Likewise.
36917         (_FP_UNPACK_RAW_2_P): Likewise.
36918         (_FP_PACK_RAW_2): Likewise.
36919         (_FP_PACK_RAW_2_P): Likewise.
36920         (_FP_MUL_MEAT_DW_2_wide): Likewise.
36921         (_FP_MUL_MEAT_2_wide): Likewise.
36922         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
36923         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
36924         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
36925         (_FP_MUL_MEAT_2_gmp): Likewise.
36926         (_FP_DIV_MEAT_2_udiv): Likewise.
36927         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
36928         (_FP_FRAC_SRL_4): Likewise.
36929         (_FP_FRAC_SRST_4): Likewise.
36930         (_FP_FRAC_SRS_4): Likewise.
36931         (_FP_UNPACK_RAW_4): Likewise.
36932         (_FP_UNPACK_RAW_4_P): Likewise.
36933         (_FP_PACK_RAW_4): Likewise.
36934         (_FP_PACK_RAW_4_P): Likewise.
36935         (_FP_MUL_MEAT_DW_4_wide): Likewise.
36936         (_FP_MUL_MEAT_4_wide): Likewise.
36937         (_FP_MUL_MEAT_4_gmp): Likewise.
36938         (umul_ppppmnnn): Likewise.
36939         (_FP_DIV_MEAT_4_udiv): Likewise.
36940         (__FP_FRAC_ADD_4): Likewise.
36941         (__FP_FRAC_SUB_3): Likewise.
36942         (__FP_FRAC_SUB_4): Likewise.
36943         (__FP_FRAC_DEC_3): Likewise.
36944         (__FP_FRAC_DEC_4): Likewise.
36945         (__FP_FRAC_ADDI_4): Likewise.
36946         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
36947         (_FP_FRAC_SRL_8): Likewise.
36948         (_FP_FRAC_SRS_8): Likewise.
36950         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
36951         include macro name.
36952         (FP_UNPACK_RAW_EP): Likewise.
36953         (FP_PACK_RAW_E): Likewise.
36954         (FP_PACK_RAW_EP): Likewise.
36955         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
36956         (_FP_ISSIGNAN): Likewise.
36957         (_FP_ADD_INTERNAL): Likewise.
36958         (_FP_FMA): Likewise.
36959         (_FP_CMP): Likewise.
36960         (_FP_SQRT): Likewise.
36961         (_FP_TO_INT): Likewise.
36962         (_FP_FROM_INT): Likewise.
36963         (FP_EXTEND): Likewise.
36964         (_FP_DIV_MEAT_N_loop): Likewise.
36966 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
36968         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
36969         throughout.
36971 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
36973         [BZ #17097]
36974         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
36975         result with correct sign in case of exponents that produce
36976         overflow except for X very close to 1.
36978 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
36980         mktime: merge #if/#ifdef usage from glibc
36981         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
36982         as that works with both Glibc's and Gnulib's style.
36983         See thread starting at Siddhesh Poyarekar's bug report at:
36984         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
36986 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36988         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
36989         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
36990         * sysdeps/tile/tilegx/memmove.c: Remove file.
36992 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
36994         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
36995         abi-name definition.
36996         * scripts/soversions.awk: Do not handle or generate ABI lines.
36997         * shlib-versions: Remove ABI entries.
36998         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
36999         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
37001 2014-06-27  Roland McGrath  <roland@hack.frob.com>
37003         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
37004         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
37005         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
37006         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
37007         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
37008         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
37009         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
37010         Moved ...
37011         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
37012         ... here.
37013         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
37014         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
37015         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
37016         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
37017         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
37018         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
37019         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
37020         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
37021         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
37022         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
37023         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
37024         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
37025         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
37026         Moved ...
37027         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
37028         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
37029         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
37030         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
37031         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
37032         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
37033         Moved ...
37034         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
37035         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
37036         Moved ...
37037         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
37038         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
37039         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
37040         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
37041         Moved ...
37042         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
37043         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
37044         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
37045         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
37046         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
37047         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
37048         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
37049         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
37050         Moved ...
37051         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
37052         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
37053         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
37054         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
37055         Moved ...
37056         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
37057         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
37058         Moved ...
37059         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
37060         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
37061         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
37062         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
37063         Moved ...
37064         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
37065         ... here.
37066         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
37067         Identical file removed.
37068         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
37069         Moved ...
37070         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
37071         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
37072         Identical file removed.
37073         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
37074         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
37075         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
37076         Moved ...
37077         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
37078         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
37079         Identical file removed.
37080         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
37081         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
37082         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
37083         Identical file removed.
37084         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
37085         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
37086         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
37087         Identical file removed.
37088         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
37089         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
37090         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
37091         Identical file removed.
37092         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
37093         Moved ...
37094         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
37095         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
37096         Identical file removed.
37097         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
37098         Moved ...
37099         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
37100         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
37101         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
37102         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
37103         Identical file removed.
37104         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
37105         Moved ...
37106         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
37107         ... here.
37108         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
37109         Identical file removed.
37110         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
37111         Moved ...
37112         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
37113         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
37114         Identical file removed.
37115         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
37116         Moved ...
37117         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
37118         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
37119         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
37120         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
37121         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
37122         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
37123         Moved ...
37124         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
37125         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
37126         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
37128         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
37129         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
37130         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
37131         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
37132         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
37134 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
37136         [BZ #17092]
37137         * nscd/nscd.c (monitor_child): Return exit status of child
37138         instead of return value from wait syscall.
37140 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
37142         * configure.ac (libc_commonpagesize): Remove variable.
37143         (libc_relro_required): Likewise.
37144         (libc_cv_z_relro): Remove configure test.
37145         * configure: Regenerated.
37146         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
37147         variable.
37148         (libc_relro_required): Likewise.
37149         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
37150         (libc_relro_required): Likewise.
37151         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
37152         (libc_relro_required): Likewise.
37153         * sysdeps/arm/preconfigure: Regenerated.
37154         * sysdeps/ia64/preconfigure: Remove file.
37155         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
37156         variable.
37157         (libc_relro_required): Likewise.
37159         [BZ #16561]
37160         [BZ #16562]
37161         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
37162         (__ieee754_yn): Set FE_TONEAREST mode internally and then
37163         recompute overflowing results in original rounding mode.
37164         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
37165         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
37166         recompute overflowing results in original rounding mode.
37167         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
37168         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37169         recompute overflowing results in original rounding mode.
37170         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
37171         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37172         recompute overflowing results in original rounding mode.
37173         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
37174         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37175         recompute overflowing results in original rounding mode.
37176         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
37177         (libc_feholdsetround_ctx): New macro.
37178         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
37179         * sysdeps/i386/fpu/libm-test-ulps: Update.
37180         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
37182 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
37184         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
37185         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
37186         corresponding .cpsetup call.
37188 2014-06-26  Roland McGrath  <roland@hack.frob.com>
37190         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
37191         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
37192         * sysdeps/arm/Makefile [$(subdir) = csu]
37193         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
37194         (static-only-routines): Add aeabi_read_tp here.
37195         (shared-only-routines): Add libc-aeabi_read_tp here.
37196         (CFLAGS-libc-start.c): Add -fexceptions here.
37197         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
37198         (sysdep_routines, static-only-routines, shared-only-routines):
37199         Don't add to these here.
37200         (CFLAGS-libc-start.c): Likewise.
37202         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
37203         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
37204         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
37205         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
37206         * sysdeps/arm/Makefile [$(subdir) = rt]
37207         (librt-sysdep_routines, librt-shared-only-routines):
37208         Append rt-aeabi_unwind_cpp_pr1 here.
37209         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
37210         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
37211         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
37212         (libpthread-sysdep_routines, libpthread-shared-only-routines):
37213         Append nptl-aeabi_unwind_cpp_pr1 here.
37214         (tests): Filter out tst-cleanupx4 here.
37215         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
37216         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
37217         Don't do those here.
37219 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
37221         * scripts/list-sources.sh: Do not handle ports specially.
37223 2014-06-26  Roland McGrath  <roland@hack.frob.com>
37225         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
37226         * sysdeps/arm/feupdateenv.c: Likewise.
37228         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
37230 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
37232         * manual/texinfo.tex: Update to version 2014-05-05.10 with
37233         trailing whitespace removed.
37234         * scripts/config.guess: Update to version 2014-03-23.
37235         * scripts/config.sub: Update to version 2014-05-01
37236         * scripts/install-sh: Update to version 2013-12-25.23.
37237         * scripts/move-if-change: Update from gnulib.
37239 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37241         * debug/memmove_chk.c: Remove pagecopy.h include.
37243 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
37245         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
37246         identical to gnulib mktime.
37248 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
37250         * configure.ac: Do not test for machine being rs6000.  Do not test
37251         for powerpc*-*soft.
37252         * configure: Regenerated.
37254         [BZ #11505]
37255         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
37256         test.
37257         * configure: Regenerated.
37258         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
37259         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
37260         Remove configure test.
37261         * sysdeps/arm/configure: Regenerated.
37262         * sysdeps/nptl/configure.ac: Do not check
37263         libc_cv_asm_cfi_directives.
37264         * sysdeps/nptl/configure: Regenerated.
37265         * sysdeps/x86_64/nptl/configure.ac: Remove file.
37266         * sysdeps/x86_64/nptl/configure: Remove generated file.
37267         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
37268         unconditional.
37269         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
37271 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37273         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
37274         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
37275         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
37276         it is defined.
37278         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
37279         instead of whether it is defined.
37280         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
37281         * sysdeps/hppa/dl-machine.h: Likewise.
37282         * sysdeps/ia64/dl-machine.h: Likewise.
37283         * sysdeps/m68k/dl-machine.h: Likewise.
37284         * sysdeps/microblaze/dl-machine.h: Likewise.
37285         * sysdeps/mips/dl-machine.: Likewise.
37286         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
37287         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37288         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
37289         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
37290         * sysdeps/sh/dl-machine.h: Likewise.
37291         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37292         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37293         * sysdeps/tile/dl-machine.h: Likewise.
37294         * sysdeps/x86_64/dl-machine.h: Likewise.
37296         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
37297         code.
37298         (verify_persistent_db): Likewise.
37300 2014-06-26  Roland McGrath  <roland@hack.frob.com>
37302         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
37303         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
37304         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
37305         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
37306         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37307         Moved ...
37308         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
37309         ... here.
37310         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
37311         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
37312         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
37313         Identical file removed.
37314         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
37315         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
37316         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
37317         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
37318         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
37319         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
37320         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
37321         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
37322         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
37323         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
37324         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37325         Moved ...
37326         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
37327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
37328         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
37329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
37330         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
37331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37332         Moved ...
37333         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
37334         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
37335         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
37336         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
37337         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
37338         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37339         Identical file removed.
37340         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
37341         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
37342         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
37343         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
37344         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37345         Moved ...
37346         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
37347         ... here.
37348         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
37349         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
37350         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
37351         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
37352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
37353         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
37354         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
37355         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
37356         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
37357         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
37358         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37359         Moved ...
37360         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
37361         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
37362         Moved ...
37363         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
37364         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
37365         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
37366         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37367         Moved ...
37368         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
37369         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
37370         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
37372         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
37373         folded into ...
37374         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
37375         * sysdeps/unix/sysv/linux/s390/Versions
37376         (libpthread: GLIBC_2.19): New version set.
37377         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
37378         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
37379         (librt: GLIBC_2.3.3): New version set.
37380         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
37381         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
37382         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
37383         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
37384         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
37385         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
37386         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
37387         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
37388         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
37389         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
37390         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
37391         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
37392         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
37393         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
37394         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
37395         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
37396         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
37397         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
37398         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
37399         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
37400         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
37401         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
37402         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
37403         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
37404         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
37405         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
37406         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
37407         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
37408         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
37409         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
37410         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
37411         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
37412         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
37413         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
37414         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
37415         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
37416         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
37417         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
37418         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
37419         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
37420         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
37421         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
37422         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
37423         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
37424         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
37426         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
37427         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
37428         (__libc_vfork): Define the function under this name.
37429         [!NOT_IN_libc] (__vfork): Make this an alias.
37430         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
37431         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
37432         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
37433         (__libc_vfork): Define the function under this name.
37434         [!NOT_IN_libc] (__vfork): Make this an alias.
37435         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
37436         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
37437         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
37438         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
37439         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
37440         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
37442         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
37443         code that was previously under [RESET_PID].
37444         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
37445         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
37446         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
37448         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
37449         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
37450         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
37451         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
37452         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
37453         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
37454         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
37455         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
37456         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
37457         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
37458         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
37459         Moved ...
37460         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
37461         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
37462         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
37463         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
37464         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
37465         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
37466         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
37467         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
37468         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
37469         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
37470         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
37471         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
37472         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
37473         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
37474         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
37475         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
37476         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
37477         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
37478         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
37479         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
37480         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
37481         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
37482         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
37483         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
37484         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
37485         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
37486         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
37487         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
37488         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
37490 2014-06-25  Roland McGrath  <roland@hack.frob.com>
37492         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
37493         that was previously under [RESET_PID].
37494         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
37496 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
37498         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
37499         not undefine and redefine.
37500         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
37501         [O_CLOEXEC]: Make code unconditional.
37502         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
37503         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
37504         <kernel-features.h>.
37505         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
37506         conditional variable definition.
37507         (shm_open) [O_CLOEXEC]: Make code unconditional.
37508         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
37509         code.
37511         * configure.ac (USE_REGPARMS): Don't define here.
37512         * configure: Regenerated.
37513         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
37514         * sysdeps/i386/configure: Regenerated.
37516         * nptl/createthread.c: Don't include kernel-features.h.
37517         * nptl/pthread_cancel.c: Likewise.
37518         * nptl/pthread_condattr_setclock.c: Likewise.
37519         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
37520         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
37521         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
37522         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
37523         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
37524         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
37525         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
37526         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
37527         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
37528         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
37529         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
37530         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
37531         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
37532         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
37533         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
37534         * nscd/gai.c: Likewise.
37535         * nss/nss_db/db-open.c: Likewise.
37536         * sysdeps/generic/ldsodefs.h: Likewise.
37537         * sysdeps/sh/nptl/tls.h: Likewise.
37538         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
37539         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
37540         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
37541         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
37542         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
37543         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
37544         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
37545         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
37546         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37547         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
37548         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
37549         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37550         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
37551         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
37552         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
37553         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
37554         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
37555         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
37556         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
37557         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
37558         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
37559         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
37560         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
37561         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
37562         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
37563         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
37564         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
37565         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
37566         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
37567         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
37568         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
37569         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
37570         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
37571         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37572         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37573         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
37574         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37575         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
37576         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
37577         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
37578         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
37579         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
37580         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
37581         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
37582         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
37583         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
37584         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
37585         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
37586         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
37587         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
37588         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
37589         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
37590         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
37591         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
37592         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
37593         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
37594         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
37595         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
37596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
37597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
37598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
37599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
37600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
37601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
37602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
37603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
37604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
37605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
37606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
37607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
37608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
37609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
37610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
37611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
37616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
37617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
37618         * sysdeps/unix/sysv/linux/pread.c: Likewise.
37619         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
37620         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
37621         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
37622         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
37623         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
37624         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
37625         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
37626         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
37627         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
37628         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
37629         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
37630         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
37631         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
37632         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
37633         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
37634         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
37635         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
37636         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
37637         * sysdeps/unix/sysv/linux/system.c: Likewise.
37638         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
37639         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
37640         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37641         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37642         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
37643         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
37644         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
37646         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
37647         * configure: Regenerated.
37648         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
37650         * configure.ac (base_machine): Do not set specially for particular
37651         machines here.
37652         * configure: Regenerated.
37653         * sysdeps/powerpc/preconfigure: Move machine and base_machine
37654         settings from configure.ac.
37655         * sysdeps/i386/preconfigure: New file.
37656         * sysdeps/s390/preconfigure: Likewise.
37657         * sysdeps/sh/preconfigure: Likewise.
37658         * sysdeps/sparc/preconfigure: Likewise.
37660 2014-06-25  Roland McGrath  <roland@hack.frob.com>
37662         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
37663         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
37664         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
37665         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
37666         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
37667         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
37668         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
37669         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
37670         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
37671         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
37672         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
37673         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
37674         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
37675         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
37676         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
37677         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
37678         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
37679         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
37680         * sysdeps/sparc/sparc64/Makefile: ... appended here.
37682         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
37683         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
37684         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
37685         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
37686         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
37687         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
37688         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
37689         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
37690         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
37691         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
37692         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
37693         * sysdeps/sparc/sparc32/sem_post.c: ... here.
37694         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
37695         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
37696         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
37697         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
37698         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
37699         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
37700         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
37701         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
37702         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
37703         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
37704         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
37705         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
37706         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
37707         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
37708         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
37709         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
37710         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
37711         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
37712         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
37713         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
37714         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
37715         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
37716         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
37717         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
37718         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
37719         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
37721         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
37722         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
37723         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
37724         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
37725         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37726         Moved ...
37727         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
37728         ... here.
37729         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
37730         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
37731         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
37732         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
37733         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
37734         Moved ...
37735         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
37736         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
37737         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
37738         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
37739         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
37740         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
37741         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
37742         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37743         Moved ...
37744         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
37745         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37746         Moved ...
37747         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
37748         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
37749         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
37750         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37751         Moved ...
37752         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
37753         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
37754         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
37755         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
37756         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
37757         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
37758         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
37759         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
37760         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
37761         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37762         Moved ...
37763         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
37764         ... here.
37765         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
37766         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
37767         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
37768         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
37769         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
37770         Moved ...
37771         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
37772         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
37773         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
37774         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
37775         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
37776         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
37777         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
37778         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37779         Moved ...
37780         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
37781         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37782         Moved ...
37783         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
37784         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
37785         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
37786         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37787         Moved ...
37788         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
37789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
37790         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
37791         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
37792         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
37794 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
37796         * timezone/checktab.awk: Update from tzcode 2014e.
37797         * timezone/private.h: Likewise.
37798         * timezone/tzfile.h: Likewise.
37799         * timezone/zdump.c: Likewise.
37800         * timezone/zic.c: Likewise.
37802         * sysdeps/unix/sysv/linux/kernel-features.h
37803         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
37804         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
37805         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
37806         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
37807         Remove conditional code.
37809 2014-06-25  Will Newton  <will.newton@linaro.org>
37811         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
37812         (_dl_arm_cap_flags): Add HWCAP2 values.
37813         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
37814         (_DL_HWCAP_COUNT): Increase to 37.
37815         (_DL_HWCAP_LAST): New define.
37816         (_DL_HWCAP2_LAST): New define.
37817         (_dl_procinfo): Add support for printing
37818         AT_HWCAP2 entries.
37819         (_dl_string_hwcap): Use _dl_hwcap_string.
37821 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37823         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37825 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
37827         * README: Do not mention ports directory.
37829         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
37830         Remove macro.
37831         * sysdeps/unix/sysv/linux/futimes.c: Do not include
37832         <kernel-features.h>.
37833         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
37834         conditional variable definition.
37835         (__futimes): Update comment.
37836         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
37837         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
37839         [BZ #16560]
37840         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
37841         arguments close to 0.
37842         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
37843         Likewise.
37844         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
37845         Likewise.
37846         * math/auto-libm-test-in: Add more tests of exp10.
37847         * math/auto-libm-test-out: Regenerated.
37848         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37850         * sysdeps/unix/sysv/linux/kernel-features.h
37851         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
37852         * sysdeps/unix/sysv/linux/readv.c: Do not include
37853         <kernel-features.h>.
37854         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
37855         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
37856         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
37857         unconditional.
37858         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
37859         conditional code.
37860         * sysdeps/unix/sysv/linux/writev.c: Do not include
37861         <kernel-features.h>.
37862         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
37863         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
37864         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
37865         unconditional.
37866         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
37867         conditional code.
37869 2014-06-25  Will Newton  <will.newton@linaro.org>
37871         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
37872         comment changes throughout the file.  Remove checks
37873         for HAVE_*_H definitions that are not required.
37874         (__gen_tempname): Call abort if an unknown kind value is
37875         passed.
37877 2014-06-25  Andreas Schwab  <schwab@suse.de>
37879         [BZ #17086]
37880         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
37881         scalbln, scalblnf, scalblnl in libc.
37883 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37885         [BZ #17086]
37886         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
37887         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
37888         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
37890 2014-06-24  Roland McGrath  <roland@hack.frob.com>
37892         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
37893         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
37894         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
37895         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
37896         Update #include.
37897         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
37898         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
37899         Update #include.
37900         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
37901         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
37902         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
37903         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
37904         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
37905         * sysdeps/x86/bits/pthreadtypes.h: ... here.
37906         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
37907         * sysdeps/x86/bits/semaphore.h: ... here.
37908         * sysdeps/x86/nptl/elide.h: Moved ...
37909         * sysdeps/x86/elide.h: ... here.
37910         * sysdeps/x86_64/nptl/Implies: File removed.
37911         * sysdeps/i386/nptl/Implies: File removed.
37913 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
37915         [BZ #16539]
37916         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
37917         return the argument for normal arguments with exponent below -64.
37918         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
37919         Likewise.
37920         * math/auto-libm-test-in: Add another test of expm1.
37921         * math/auto-libm-test-out: Regenerated.
37923         [BZ #16287]
37924         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
37925         calling __erfcl for arguments at least 16.
37926         * math/auto-libm-test-in: Add more tests of erf.
37927         * math/auto-libm-test-out: Regenerated.
37929         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
37930         individual architectures.
37931         * sysdeps/unix/sysv/linux/configure: Regenerated.
37932         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
37933         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
37934         * sysdeps/unix/sysv/linux/powerpc/configure.ac
37935         (ldd_rewrite_script): Define variable.
37936         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
37938         file.
37939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
37940         generated file.
37941         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
37942         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
37943         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
37944         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
37945         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
37946         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
37947         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
37948         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
37950 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37952         [BZ #17084]
37953         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
37954         Rename member __data.d to __data.__elision_data.
37956 2014-06-24  Wilco  <wdijkstr@arm.com>
37958         * NEWS: Add 16918 to fixed bug list.
37960 2014-06-24  Wilco  <wdijkstr@arm.com>
37962         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
37964 2014-06-24  Wilco  <wdijkstr@arm.com>
37966         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
37967         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
37968         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
37969         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
37970         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
37971         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
37972         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
37973         Use _FPU_MASK_RM.
37975 2014-06-24  Wilco  <wdijkstr@arm.com>
37977         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
37979 2014-06-24  Wilco  <wdijkstr@arm.com>
37981         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
37982         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
37983         * sysdeps/arm/fesetround.c (fesetround): Remove space.
37984         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
37986 2014-06-24  Wilco  <wdijkstr@arm.com>
37988         [BZ #16918]
37989         * sysdeps/arm/feupdateenv.c (feupdateenv):
37990         Rewrite to reduce FPSCR accesses and fix return value.
37992 2014-06-24  Wilco  <wdijkstr@arm.com>
37994         * sysdeps/arm/fclrexcpt.c (feclearexcept):
37995         Optimize to avoid unnecessary FPSCR writes.
37996         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
37997         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
37998         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
37999         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
38001 2014-06-24  Wilco  <wdijkstr@arm.com>
38003         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
38004         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
38005         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
38006         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
38007         Call libc_fetestexcept_vfp.
38008         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
38009         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
38010         __SOFTFP__ ifdef so that they can be built for softfp.
38012 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38014         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
38015         argument type signed char.
38017         * Makerules (check-abi): Dump diff of symlist if the test
38018         fails.
38020 2014-06-23  Roland McGrath  <roland@hack.frob.com>
38022         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
38023         using abort.
38025         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
38026         Remove unused variable ST.
38028 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
38030         [BZ #16354]
38031         [BZ #17061]
38032         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
38033         small arguments before calling __expm1.
38034         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
38035         small arguments before calling __expm1f.
38036         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
38037         small arguments before calling __expm1l.
38038         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
38039         Likewise.
38040         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38041         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
38042         spurious underflow for some cosh tests.
38043         * math/auto-libm-test-out: Regenerated.
38044         * sysdeps/i386/fpu/libm-test-ulps: Update.
38046         [BZ #17050]
38047         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
38048         (__ieee754_y1): Set errno if return value overflows.
38049         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
38050         (__ieee754_y1f): Set errno if return value overflows.
38051         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
38052         (__ieee754_y1l): Set errno if return value overflows.
38053         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
38054         (__ieee754_y1l): Set errno if return value overflows.
38055         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
38056         * math/auto-libm-test-out: Regenerated.
38058         * math/gen-auto-libm-tests.c: Document use of
38059         ignore-zero-inf-sign.
38060         (input_flag_type): Add value flag_ignore_zero_inf_sign.
38061         (input_flags): Add ignore-zero-inf-sign.
38062         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
38063         * math/gen-libm-test.pl (generate_testfile): Handle
38064         ignore-zero-inf-sign.
38065         * math/auto-libm-test-in: Mark some cpow tests with
38066         ignore-zero-inf-sign and some with xfail-rounding.
38067         * math/auto-libm-test-out: Regenerated.
38068         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
38069         * sysdeps/i386/fpu/libm-test-ulps: Update.
38070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38072         [BZ #16315]
38073         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
38074         overflowing or underflowing operations take place with sign of
38075         result.
38076         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38077         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
38078         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
38079         (__ieee754_pow): Recompute overflowing and underflowing results in
38080         original rounding mode.
38081         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
38082         (__powl_helper): Allow negative argument X and scale negated value
38083         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
38084         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
38085         overflowing or underflowing operations take place with sign of
38086         result.
38087         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
38088         Include <math.h>.
38089         * math/auto-libm-test-in: Add more tests of pow.
38090         * math/auto-libm-test-out: Regenerated.
38091         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
38092         (pow_tonearest_test_data): Remove.
38093         (pow_test_tonearest): Likewise.
38094         (pow_towardzero_test_data): Likewise.
38095         (pow_test_towardzero): Likewise.
38096         (pow_downward_test_data): Likewise.
38097         (pow_test_downward): Likewise.
38098         (pow_upward_test_data): Likewise.
38099         (pow_test_upward): Likewise.
38100         (main): Don't call removed functions.
38101         * sysdeps/i386/fpu/libm-test-ulps: Update.
38102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38104 2014-06-23  Roland McGrath  <roland@hack.frob.com>
38106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
38107         Moved ...
38108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
38109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38110         Moved ...
38111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
38112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38113         Moved ...
38114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
38115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38116         Moved ...
38117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
38118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38119         File removed.
38120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38121         File removed.
38122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
38123         File removed.
38124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
38125         File removed.
38126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
38127         File removed.
38128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
38129         File removed.
38130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
38131         File removed.
38132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38133         File removed.
38134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
38135         File removed.
38136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38137         File removed.
38138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
38139         File removed.
38140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
38141         File removed.
38142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
38143         Moved ...
38144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
38145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
38146         Moved ...
38147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
38148         ... here.
38149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
38150         Moved ...
38151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
38152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
38153         Moved ...
38154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
38155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
38156         Moved ...
38157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
38158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
38159         Moved ...
38160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
38161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
38162         Moved ...
38163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
38164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
38165         Moved ...
38166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
38167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
38168         Moved ...
38169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
38170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
38171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
38172         ... here.
38173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
38174         Moved ...
38175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
38176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
38177         Moved ...
38178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
38179         ... here.
38180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
38181         Moved ...
38182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
38183         ... here.
38184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38185         Moved ...
38186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
38187         ... here.
38188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38189         Moved ...
38190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
38191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
38192         Moved ...
38193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
38194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
38195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
38196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
38197         Moved ...
38198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
38199         ... here.
38200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38201         Moved ...
38202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
38203         ... here.
38204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
38205         Moved ...
38206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
38207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38208         Moved ...
38209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
38210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
38211         Moved ...
38212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
38213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38214         Moved ...
38215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
38216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
38217         Moved ...
38218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
38219         ... here.
38220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38221         Moved ...
38222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
38223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
38224         Moved ...
38225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
38226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38227         Moved ...
38228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
38229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
38230         Moved ...
38231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
38232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
38233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
38234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
38235         Moved ...
38236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
38237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38238         Moved ...
38239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
38240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
38241         Moved ...
38242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
38243         ... here.
38244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38245         Moved ...
38246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
38247         ... here.
38248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
38249         Moved ...
38250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
38251         ... here.
38252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38253         Moved ...
38254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
38255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
38256         Moved ...
38257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
38258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38259         Moved ...
38260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
38261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
38262         Moved ...
38263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
38264         ... here.
38265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38266         Moved ...
38267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
38268         ... here.
38269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
38270         Moved ...
38271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
38272         ... here.
38273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38274         Moved ...
38275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
38276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38277         Moved ...
38278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
38280 2014-06-23  Will Newton  <will.newton@linaro.org>
38281             Wilco  <wdijkstr@arm.com>
38283         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
38284         implementation.  Include get-rounding-mode.h.
38285         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
38286         [!libc_feholdsetround_noex_ctx]: Define
38287         libc_feholdsetround_noex_ctx.
38288         [!libc_feholdsetround_noexf_ctx]: Define
38289         libc_feholdsetround_noexf_ctx.
38290         [!libc_feholdsetround_noexl_ctx]: Define
38291         libc_feholdsetround_noexl_ctx.
38292         (libc_feholdsetround_ctx): New function.
38293         (libc_feresetround_ctx): New function.
38294         (libc_feholdsetround_noex_ctx): New function.
38295         (libc_feresetround_noex_ctx): New function.
38297 2014-06-23  Roland McGrath  <roland@hack.frob.com>
38299         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
38300         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
38301         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
38302         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
38303         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
38304         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
38306         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
38307         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
38308         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
38309         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
38310         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
38311         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
38312         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
38313         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
38314         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
38315         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
38316         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
38317         Moved ...
38318         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
38319         ... here.
38320         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
38321         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
38322         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
38323         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
38324         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
38325         Moved ...
38326         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
38327         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
38328         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
38329         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
38330         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
38331         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
38332         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
38333         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
38334         Moved ...
38335         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
38336         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
38337         Moved ...
38338         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
38339         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
38340         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
38341         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
38342         Moved ...
38343         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
38344         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
38345         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
38346         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
38347         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
38348         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
38349         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
38350         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
38351         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
38352         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
38353         Moved ...
38354         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
38355         ... here.
38356         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
38357         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
38358         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
38359         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
38360         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
38361         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
38362         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
38363         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
38364         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
38365         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
38366         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
38367         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
38368         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
38369         Moved ...
38370         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
38371         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
38372         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
38373         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
38374         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
38375         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
38376         Moved ...
38377         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
38378         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
38379         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
38380         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
38381         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
38383         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
38384         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
38385         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
38386         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
38387         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
38388         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
38389         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
38390         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
38391         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
38392         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
38393         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
38394         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
38395         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
38396         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
38397         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
38398         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
38399         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
38400         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
38401         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
38402         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
38403         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
38404         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
38405         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
38406         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
38407         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
38408         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
38409         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
38410         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
38412 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
38414         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
38415         (FALLOC_FL_COLLAPSE_RANGE): New macro.
38416         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
38417         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
38418         (IPV6_PMTUDISC_INTERFACE): Likewise.
38419         (IPV6_PMTUDISC_OMIT): Likewise.
38421 2014-06-23  Andreas Schwab  <schwab@suse.de>
38423         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
38424         Remove unused errout label.
38426 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38428         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
38429         macro: hardware supports Vector Crypto instructions.
38431 2014-06-23  Will Newton  <will.newton@linaro.org>
38433         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
38434         rather than __builtin_expect.
38436         * elf/dl-lookup.c (undefined_msg): Remove variable.
38437         (_dl_lookup_symbol_x): Replace undefined_msg with string
38438         literal.
38440         * elf/dl-lookup.c (do_lookup_unique): New function.
38441         (do_lookup_x): Move STB_GNU_UNIQUE handling code
38442         to a separate function.
38444 2014-06-23  Andreas Schwab  <schwab@suse.de>
38446         [BZ #17079]
38447         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
38448         before reading the next line.
38450 2014-06-23  Will Newton  <will.newton@linaro.org>
38452         * test-skeleton.c (signal_handler): Use printf and %m
38453         rather than perror.  Use printf rather than fprintf to
38454         stderr.  Use puts rather than fputs to stderr.
38455         (main): Likewise.
38457 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
38459         * nscd/nscd.c (thread_info_t): Remove typedef.
38460         (thread_info): Remove variable.
38462 2014-06-21  Allan McRae  <allan@archlinux.org>
38464         * NEWS: Mention CVE-2014-4043.
38466 2014-06-20  Roland McGrath  <roland@hack.frob.com>
38468         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
38469         * nptl/smp.h: ... here.
38471         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
38473         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
38474         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
38475         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
38476         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
38478         * nptl/allocatestack.c: Include <stack-aliasing.h>.
38479         * nptl/stack-aliasing.h: New file.
38480         * sysdeps/i386/i686/stack-aliasing.h: New file.
38481         * sysdeps/i386/i686/nptl/Makefile: File removed.
38482         * sysdeps/x86_64/stack-aliasing.h: New file.
38483         * sysdeps/x86_64/nptl/Makefile
38484         (CFLAGS-pthread_create.c): Variable removed.
38486         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
38487         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
38488         old file.
38489         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
38490         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
38491         old file.
38493 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
38495         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38496         (__ASSUME_SIGFRAME_V2): Remove macro.
38497         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
38498         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
38499         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
38500         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
38501         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
38502         Declare as function.  Remove conditional macro definitions.
38503         (__default_rt_sa_restorer): Likewise.
38504         (__default_sa_restorer_v1): Remove declaration.
38505         (__default_sa_restorer_v2): Likewise.
38506         (__default_rt_sa_restorer_v1): Likewise.
38507         (__default_rt_sa_restorer_v2): Likewise.
38508         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
38509         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
38510         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
38512 2014-06-20  Roland McGrath  <roland@hack.frob.com>
38514         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
38515         (libpthread-routines): Add sysdep.
38516         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
38517         * sysdeps/unix/sysv/linux/sparc/Versions
38518         (libpthread: GLIBC_2.3.3): New version set.
38519         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
38520         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
38521         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
38522         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
38523         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
38524         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
38525         Moved ...
38526         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
38527         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
38528         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
38529         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
38530         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
38531         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
38532         * sysdeps/sparc/nptl/sem_init.c: ... here.
38533         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
38534         * sysdeps/sparc/nptl/sem_post.c: ... here.
38535         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
38536         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
38537         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
38538         * sysdeps/sparc/nptl/sem_wait.c: ... here.
38539         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
38540         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
38541         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
38542         (libpthread-routines): Add cpu_relax.
38543         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
38544         File removed.
38545         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
38546         (librt: GLIBC_2.3.3): New version set.
38547         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
38548         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
38549         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
38550         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
38551         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
38552         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
38553         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
38554         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
38555         Moved ...
38556         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
38557         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
38558         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
38559         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
38560         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
38561         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
38562         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
38563         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
38564         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
38565         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
38566         Moved ...
38567         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
38568         Update #include.
38569         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
38570         Moved ...
38571         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
38572         Update #include.
38573         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
38574         Moved ...
38575         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
38576         Update #include.
38577         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
38578         Moved ...
38579         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
38580         Update #include.
38581         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
38582         Moved ...
38583         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
38584         Update #include.
38585         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
38586         Moved ...
38587         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
38588         Update #include.
38589         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
38590         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
38591         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
38592         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
38593         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
38594         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
38595         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
38596         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
38597         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
38598         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
38599         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
38600         Moved ...
38601         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
38602         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
38603         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
38604         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
38605         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
38607 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
38609         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
38610         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
38611         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
38612         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
38613         * nscd/nscd.c: Likewise.
38614         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
38615         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
38616         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
38617         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
38619         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
38620         <kernel-features.h>.
38621         (init_mq_netlink): Remove conditional have_sock_cloexec
38622         definitions.  Remove code conditional on have_sock_cloexec < 0.
38623         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
38624         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
38625         * sysdeps/unix/sysv/linux/opensock.c: Do not include
38626         <kernel-features.h>.
38627         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
38628         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
38630 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
38632         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38633         Add tests for memset_chk and memset.
38635         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
38636         with AVX2_Usable.
38638 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
38640         [BZ #16046]
38641         * elf/tst-dl-iter-static.c: New file.
38642         * elf/Makefile (tests-static): Add tst-dl-iter-static.
38644         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
38645         error.
38647 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
38649         * sysdeps/unix/sysv/linux/kernel-features.h
38650         (__ASSUME_F_GETOWN_EX): Remove macro.
38651         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
38652         <kernel-features.h>.
38653         (miss_F_GETOWN_EX): Remove variable or macro.
38654         (do_fcntl): Do not check miss_F_GETOWN_EX.
38655         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
38657         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
38658         Remove macro.
38659         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
38660         [!__ASSUME_AT_RANDOM]: Remove conditional code.
38661         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
38663         * sysdeps/unix/sysv/linux/kernel-features.h
38664         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
38665         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
38666         [ADJ_OFFSET_SS_READ]: Make code unconditional.
38667         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
38669 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
38671         [BZ #17075]
38672         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
38673         Fix calculation of the symbol's value.
38674         * sysdeps/arm/tst-armtlsdescloc.c: New file.
38675         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
38676         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
38677         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
38678         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
38679         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
38680         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
38681         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
38682         (modules-names): Add `tst-armtlsdescmod',
38683         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
38684         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
38685         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
38686         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
38687         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
38688         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
38689         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
38690         ($(objpfx)tst-armtlsdescloc): New dependency.
38691         ($(objpfx)tst-armtlsdescextnow): Likewise.
38692         ($(objpfx)tst-armtlsdescextlazy): Likewise.
38693         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
38694         TLS scheme support.
38695         * sysdeps/arm/configure: Regenerate.
38697 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
38699         * include/fcntl.h (__atfct_seterrno): Remove prototype.
38700         (__atfct_seterrno_2): Likewise.
38701         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
38702         <kernel-features.h>.
38703         (__ASSUME_ATFCTS): Do not undefine and redefine.
38704         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
38705         (__have_atfcts): Remove conditional definition.
38706         (__fxstatat([__NR_fstatat64]: Make code unconditional.
38707         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
38708         unreachable if [__ASSUME_ATFCTS].
38709         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
38710         not undefine and redefine.
38711         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
38712         <kernel-features.h>.
38713         (faccessat) [__NR_faccessat]: Make code unconditional.
38714         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
38715         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
38716         <kernel-features.h>.
38717         (fchmodat) [__NR_fchmodat]: Make code unconditional.
38718         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
38719         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
38720         <kernel-features.h>.
38721         (fchownat) [__NR_fchownat]: Make code unconditional.
38722         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
38723         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
38724         <kernel-features.h>.
38725         (futimesat) [__NR_futimesat]: Make code unconditional.
38726         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
38727         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
38728         <kernel-features.h>.
38729         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
38730         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
38731         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
38732         <kernel-features.h>.
38733         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
38734         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
38735         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
38736         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
38737         <kernel-features.h>.
38738         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
38739         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
38740         * sysdeps/unix/sysv/linux/linkat.c: Do not include
38741         <kernel-features.h>.
38742         (linkat) [__NR_linkat]: Make code unconditional.
38743         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
38744         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
38745         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
38746         <kernel-features.h>.
38747         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
38748         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
38749         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
38750         <kernel-features.h>.
38751         (mkdirat) [__NR_mkdirat]: Make code unconditional.
38752         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
38753         * sysdeps/unix/sysv/linux/openat.c: Do not include
38754         <kernel-features.h>.
38755         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
38756         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
38757         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
38758         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
38759         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
38760         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
38761         <kernel-features.h>.
38762         (readlinkat) [__NR_readlinkat]: Make code unconditional.
38763         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
38764         result of INLINE_SYSCALL directly, not via int variable.
38765         * sysdeps/unix/sysv/linux/renameat.c: Do not include
38766         <kernel-features.h>.
38767         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
38768         (renameat) [__NR_renameat]: Make code unconditional.
38769         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
38770         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
38771         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
38772         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
38773         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
38774         (__ASSUME_ATFCTS): Do not undefine and redefine.
38775         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
38776         <kernel-features.h>.
38777         (symlinkat) [__NR_symlinkat]: Make code unconditional.
38778         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
38779         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
38780         <kernel-features.h>.
38781         (unlinkat) [__NR_unlinkat]: Make code unconditional.
38782         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
38783         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
38784         (__ASSUME_ATFCTS): Do not undefine and redefine.
38785         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
38786         <kernel-features.h>.
38787         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
38788         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
38789         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
38790         <kernel-features.h>.
38791         (__xmknodat) [__NR_mknodat]: Make code unconditional.
38792         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
38794 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
38796         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
38798 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
38800         [BZ #17069]
38801         * posix/regcomp.c (parse_reg_exp): Deallocate partially
38802         constructed tree before returning error.
38803         * posix/bug-regexp36.c: Expand test case.
38805 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
38807         [BZ #6803]
38808         * math/libm-test.inc (scalbln_test_date):
38809         Add errno expectations.
38810         * math/w_scalblnf.c: New File.
38811         Add wrapper which checks for setting errno to ERANGE.
38812         Add weak_alias for corresponding scalbln function.
38813         * math/w_scalbln.c: Likewise.
38814         * math/w_scalblnl.c: Likewise.
38815         * math/Makefile (libm-calls): Add w_scalbln.
38816         * sysdeps/ieee754/flt-32/s_scalblnf.c:
38817         Remove weak_alias for corresponding scalbln function.
38818         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38819         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38820         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38821         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38822         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
38823         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
38824         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
38825         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
38826         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
38827         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
38828         Remove long_double_symbol for scalblnl function in libm, libc.
38829         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
38830         Add wrapper which checks for setting errno to ERANGE.
38831         Add long_double_symbol for scalblnl function in libm, libc.
38832         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
38833         Remove long_double_symbol for scalblnl in libm.
38834         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
38835         Add wrapper which checks for setting errno to ERANGE.
38836         Add long_double_symbol for scalblnl function in libm.
38837         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
38838         Do not use wrapper because of own implementation.
38840 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
38842         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
38843         3 bytes for __pad1 for x32.
38844         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
38846 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
38847             H.J. Lu  <hongjiu.lu@intel.com>
38849         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
38850         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
38851         * sysdeps/x86_64/multiarch/memset.S: Likewise.
38852         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38853         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
38855 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
38857         [BZ #17069]
38858         * posix/regcomp.c (parse_expression): Deallocate partially
38859         constructed tree before returning error.
38860         * posix/Makefile.c (tests): Add bug-regex36.
38861         (generated): Add bug-regex36.mtrace.
38862         (tests-special): Add $(objpfx)bug-regex36-mem.out
38863         (bug-regex36-ENV): New variable.
38864         ($(objpfx)bug-regex36-mem.out): New rule.
38865         * posix/bug-regex36.c: New file.
38867 2014-06-19  Will Newton  <will.newton@linaro.org>
38869         * malloc/malloc.c (systrim): If extra is zero then return
38870         early.
38872 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38874         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
38876 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
38878         * sysdeps/aarch64/strchr.S: New file.
38880 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
38882         [BZ #17022]
38883         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
38884         from arguments -2 or below.
38885         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
38886         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
38888 2014-06-18  Andreas Schwab  <schwab@suse.de>
38890         [BZ #17062]
38891         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
38892         of a bracket expr not to run off the end of the string.
38893         * posix/Makefile (tests): Add tst-fnmatch3.
38894         * posix/tst-fnmatch3.c: New file.
38896 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
38898         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
38899         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
38900         [$(cross-compiling) = no]: Likewise.
38901         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
38902         [$(cross-compiling) = no]: Likewise.
38904 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38906         [BZ #17031]
38907         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
38908         double, adjusted for any remainder from the high double.
38909         * math/libm-test.inc (nearbyint): Add tests.
38910         (rint): Likewise.
38912 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38914         * nptl/sysdeps/powerpc/Makefile: Moved ...
38915         * sysdeps/powerpc/nptl/Makefile: ... here.
38916         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
38917         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
38918         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
38919         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
38920         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
38921         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
38922         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
38923         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
38924         * nptl/sysdeps/powerpc/tls.h: Moved ...
38925         * sysdeps/powerpc/nptl/tls.h: ... here.
38927 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
38929         [BZ #16681]
38930         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
38931         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
38932         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
38933         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
38934         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
38935         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
38936         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
38937         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
38938         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
38940 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
38942         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
38944 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
38946         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
38947         defined operator.
38949         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
38950         $TIMEOUTFACTOR.
38952 2014-06-16  Florian Weimer  <fweimer@redhat.com>
38954         [BZ #17058]
38955         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
38956         non-executed part of the test.
38958 2014-06-16  Andreas Schwab  <schwab@suse.de>
38960         * string/bits/string2.h (strdup, strndup): Update feature guard.
38962 2014-06-14  David S. Miller  <davem@davemloft.net>
38964         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38966 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
38968         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
38969         that was previously under [RESET_PID].
38970         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
38972         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
38973         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
38974         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
38975         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38976         (__libc_vfork): New strong alias.
38977         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
38979 2014-06-14 Andi Kleen  <ak@linux.intel.com>
38981         * sysdeps/generic/elide.h: New file.
38983 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38985         * Makefile (installed-headers): Adjust path of pthread.h header.
38987 2014-06-13  Roland McGrath  <roland@hack.frob.com>
38989         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
38990         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
38991         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
38992         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
38994         * nptl/sysdeps/s390/Makefile: Moved ...
38995         * sysdeps/s390/nptl/Makefile: ... here.
38996         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
38997         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
38998         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
38999         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
39000         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
39001         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
39002         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
39003         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
39004         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
39005         * sysdeps/s390/nptl/pthreaddef.h: ... here.
39006         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
39007         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
39008         * nptl/sysdeps/s390/tls.h: Moved ...
39009         * sysdeps/s390/nptl/tls.h: ... here.
39011         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
39012         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
39014 2014-06-13  David S. Miller  <davem@davemloft.net>
39016         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
39017         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
39018         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
39019         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
39020         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
39021         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
39022         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
39023         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
39024         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
39025         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
39026         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
39027         Remove RESET_PID cpp guards.
39028         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
39029         Remove RESET_PID cpp guards.
39030         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
39032 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
39034         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
39035         __sp to uintptr_t.
39037 2014-06-13  Andi Kleen  <ak@linux.intel.com>
39039         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
39040         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
39041         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
39042         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
39043         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
39044         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
39045         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
39046         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
39047         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
39048         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
39049         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
39050         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
39051         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
39052         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
39053         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
39054         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
39055         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
39056         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
39057         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
39058         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
39060         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
39061         (pthread_rwlock_rdlock): Add elision.
39062         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
39063         (pthread_rwlock_wrlock): Add elision.
39064         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
39065         (pthread_rwlock_trywrlock): Add elision.
39066         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
39067         (pthread_rwlock_tryrdlock): Add elision.
39068         * nptl/pthread_rwlock_unlock.c: Include elide.h.
39069         (pthread_rwlock_tryrdlock): Add elision unlock.
39070         * nptl/sysdeps/pthread/pthread.h:
39071         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
39072         (PTHREAD_RWLOCK_INITIALIZER,
39073         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
39074         Handle new elision field.
39075         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
39076         * sysdeps/arm/nptl/bits/pthreadtypes.h
39077         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39078         * sysdeps/sh/nptl/bits/pthreadtypes.h
39079         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39080         * sysdeps/tile/nptl/bits/pthreadtypes.h
39081         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39082         * sysdeps/a/nptl/bits/pthreadtypes.h
39083         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39084         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
39085         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39086         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
39087         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39088         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
39089         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39090         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
39091         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39092         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
39093         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39094         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
39095         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39096         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
39097         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39098         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
39099         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39100         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
39101         (elision_init): Set try_xbegin to zero when no RTM.
39102         * sysdeps/x86/nptl/bits/pthreadtypes.h
39103         (pthread_rwlock_t): Change __pad1 to __rwelision.
39104         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39106 2014-06-13  Andi Kleen  <ak@linux.intel.com>
39108         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
39109         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
39110         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
39111         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
39113 2014-06-13  Meador Inge  <meadori@codesourcery.com>
39115         [BZ #16996]
39116         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
39117         that the cached result has been set before returning it.
39119 2014-06-12  Roland McGrath  <roland@hack.frob.com>
39121         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
39122         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
39123         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
39124         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
39125         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
39126         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
39128         * nptl/sysdeps/sparc/Makefile: Moved ...
39129         * sysdeps/sparc/nptl/Makefile: ... here.
39130         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
39131         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
39132         * nptl/sysdeps/sparc/tls.h: Moved ...
39133         * sysdeps/sparc/nptl/tls.h: ... here.
39134         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
39135         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
39136         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
39137         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
39138         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
39139         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
39140         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
39141         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
39142         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
39143         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
39144         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
39145         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
39146         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
39147         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
39148         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
39149         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
39150         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
39151         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
39152         Update #include.
39153         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
39154         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
39155         Update #include.
39156         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
39157         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
39158         Update #include.
39159         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
39160         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
39161         Update #include.
39163         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
39165         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
39166         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
39168         * sysdeps/pthread/posix-timer.h: Include <list.h>.
39169         (struct list_links): Type removed.
39170         (struct thread_node, struct timer_node): Replace struct list_links
39171         with struct list_head.
39172         (list_unlink_ip): Likewise.
39173         * sysdeps/pthread/timer_routines.c
39174         (timer_free_list, thread_free_list, thread_active_list): Likewise.
39175         (list_append, list_insbefore): Likewise.
39176         (list_init): Function removed.
39177         (thread_init, init_module): Use INIT_LIST_HEAD instead.
39178         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
39179         * sysdeps/pthread/Makefile: ... here, new file.
39181         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
39182         * sysdeps/nptl/Implies: ... here.
39183         * sysdeps/unix/sysv/linux/Implies: Add nptl.
39184         * nptl/sysdeps/pthread/list.h: Moved ...
39185         * include/list.h: ... here.
39186         * nptl/sysdeps/pthread/createthread.c: Moved ...
39187         * nptl/createthread.c: ... here.
39188         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
39189         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
39190         * nptl/pt-longjmp.c: ... here.
39191         * nptl/sysdeps/pthread/Makefile: Moved ...
39192         * sysdeps/nptl/Makefile: ... here.
39193         * nptl/sysdeps/pthread/Subdirs: Moved ...
39194         * sysdeps/nptl/Subdirs: ... here.
39195         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
39196         * sysdeps/nptl/aio_misc.h: ... here.
39197         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
39198         * sysdeps/nptl/bits/libc-lock.h: ... here.
39199         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
39200         * sysdeps/nptl/bits/libc-lockP.h: ... here.
39201         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
39202         * sysdeps/nptl/bits/stdio-lock.h: ... here.
39203         * nptl/sysdeps/pthread/configure: Moved ...
39204         * sysdeps/nptl/configure: ... here.
39205         * nptl/sysdeps/pthread/configure.ac: Moved ...
39206         * sysdeps/nptl/configure.ac: ... here.
39207         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
39208         * sysdeps/nptl/gai_misc.h: ... here.
39209         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
39210         * sysdeps/nptl/librt-cancellation.c: ... here.
39211         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
39212         * sysdeps/nptl/malloc-machine.h: ... here.
39213         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
39214         * sysdeps/nptl/pthread-functions.h: ... here.
39215         * nptl/sysdeps/pthread/pthread.h: Moved ...
39216         * sysdeps/nptl/pthread.h: ... here.
39217         * nptl/sysdeps/pthread/setxid.h: Moved ...
39218         * sysdeps/nptl/setxid.h: ... here.
39219         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
39220         * sysdeps/nptl/sigfillset.c: ... here.
39221         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
39222         * sysdeps/nptl/tcb-offsets.h: ... here.
39223         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
39224         * sysdeps/nptl/tst-mqueue8x.c: ... here.
39225         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
39226         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
39227         * nptl/sysdeps/pthread/allocalim.h: Moved ...
39228         * sysdeps/pthread/allocalim.h: ... here.
39229         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
39230         * sysdeps/pthread/bits/sigthread.h: ... here.
39231         * nptl/sysdeps/pthread/flockfile.c: Moved ...
39232         * sysdeps/pthread/flockfile.c: ... here.
39233         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
39234         * sysdeps/pthread/ftrylockfile.c: ... here.
39235         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
39236         * sysdeps/pthread/funlockfile.c: ... here.
39237         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
39238         * sysdeps/pthread/posix-timer.h: ... here.
39239         * nptl/sysdeps/pthread/timer_create.c: Moved ...
39240         * sysdeps/pthread/timer_create.c: ... here.
39241         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
39242         * sysdeps/pthread/timer_delete.c: ... here.
39243         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
39244         * sysdeps/pthread/timer_getoverr.c: ... here.
39245         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
39246         * sysdeps/pthread/timer_gettime.c: ... here.
39247         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
39248         * sysdeps/pthread/timer_routines.c: ... here.
39249         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
39250         * sysdeps/pthread/timer_settime.c: ... here.
39251         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
39252         * sysdeps/pthread/tst-timer.c: ... here.
39253         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
39254         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
39256         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
39257         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
39259         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
39260         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
39261         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
39262         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
39263         Update #include target.
39264         * nptl/sysdeps/i386/i686/Makefile: Moved ...
39265         * sysdeps/i386/i686/nptl/Makefile: ... here.
39266         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
39267         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
39268         Update #include target.
39269         * nptl/sysdeps/i386/i686/tls.h: Moved ...
39270         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
39271         * nptl/sysdeps/i386/Makefile: Moved ...
39272         * sysdeps/i386/nptl/Makefile: ... here.
39273         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
39274         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
39275         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
39276         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
39277         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
39278         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
39279         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
39280         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
39281         * sysdeps/i386/nptl/pthreaddef.h: ... here.
39282         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
39283         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
39284         * nptl/sysdeps/i386/tls.h: Moved ...
39285         * sysdeps/i386/nptl/tls.h: ... here.
39287         * sysdeps/sh/Makefile [$(subdir) = csu]
39288         (gen-as-const-headers): Add tcb-offsets.sym.
39289         * nptl/sysdeps/sh/Makefile: File removed.
39290         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
39291         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
39292         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
39293         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
39294         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
39295         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
39296         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
39297         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
39298         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
39299         * sysdeps/sh/nptl/pthreaddef.h: ... here.
39300         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
39301         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
39302         * nptl/sysdeps/sh/tls.h: Moved ...
39303         * sysdeps/sh/nptl/tls.h: ... here.
39304         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
39305         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
39306         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
39307         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
39308         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
39309         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
39310         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
39311         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
39312         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
39313         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
39314         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
39315         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
39316         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
39317         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
39318         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
39319         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
39320         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
39321         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
39322         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
39323         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
39324         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
39325         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
39326         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
39327         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
39328         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
39329         Moved ...
39330         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
39331         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
39332         Moved ...
39333         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
39334         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
39335         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
39336         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
39337         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
39338         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
39339         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
39340         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
39341         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
39342         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
39343         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
39344         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
39345         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
39346         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
39347         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
39348         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
39349         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
39350         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
39351         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
39353 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
39355         * posix/spawn_faction_addopen.c: Include string.h.
39357 2014-06-11  Roland McGrath  <roland@hack.frob.com>
39359         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
39360         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
39361         * nptl/sysdeps/x86_64/Makefile: Moved ...
39362         * sysdeps/x86_64/nptl/Makefile: ... here.
39363         * nptl/sysdeps/x86_64/configure: Moved ...
39364         * sysdeps/x86_64/nptl/configure: ... here.
39365         * nptl/sysdeps/x86_64/configure.ac: Moved ...
39366         * sysdeps/x86_64/nptl/configure.ac: ... here.
39367         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
39368         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
39369         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
39370         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
39371         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
39372         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
39373         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
39374         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
39375         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
39376         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
39377         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
39378         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
39379         * nptl/sysdeps/x86_64/tls.h: Moved ...
39380         * sysdeps/x86_64/nptl/tls.h: ... here.
39381         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
39382         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
39383         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
39384         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
39386         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
39388 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39390         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39392 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
39394         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
39395         type.
39396         [POSIX] (off_t): Likewise.
39397         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
39398         [POSIX] (S_ISBLK): Require macro.
39399         [POSIX] (S_ISCHR): Likewise.
39400         [POSIX] (S_ISDIR): Likewise.
39401         [POSIX] (S_ISFIFO): Likewise.
39402         [POSIX] (S_ISREG): Likewise.
39403         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
39404         optional-macro.
39405         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
39406         type.
39407         [POSIX] (time_t): Likewise.
39408         [POSIX] (timer_t): Likewise.
39410 2014-06-11  Florian Weimer  <fweimer@redhat.com>
39412         [BZ #17048]
39413         * posix/spawn_int.h (struct __spawn_action): Make the path string
39414         non-const to support deallocation.
39415         * posix/spawn_faction_addopen.c
39416         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
39417         * posix/spawn_faction_destroy.c
39418         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
39419         path in all spawn_do_open actions.
39420         * posix/tst-spawn.c (do_test): Exercise the copy operation in
39421         posix_spawn_file_actions_addopen.
39423 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
39425         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
39426         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
39427         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
39428         conditional code always true.
39429         (__libc_vfork): New alias.
39431 2014-06-11  Roland McGrath  <roland@hack.frob.com>
39433         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39434         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
39436         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
39438         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39439         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
39441         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
39442         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
39444         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39445         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
39447 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39449         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
39450         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
39451         multiarch strcmp for PPC64.
39452         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
39453         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
39454         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
39455         multiarch optimizations.
39456         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39457         (__libc_ifunc_impl_list): Likewise.
39459 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39461         * benchtests/scripts/validate_benchout.py: New script.
39462         * benchtests/Makefile (bench-func): Call it.
39463         * benchtests/scripts/benchout.schema.json: New file.
39465 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
39467         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
39468         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
39469         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
39470         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
39471         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
39472         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
39473         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
39474         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
39475         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
39476         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
39477         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
39478         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
39479         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
39480         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
39481         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
39482         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
39483         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
39484         Moved ...
39485         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
39486         ... here.
39487         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
39488         Moved ...
39489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
39490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
39491         Moved ...
39492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
39493         ... here.
39494         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
39495         Moved ...
39496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
39497         ... here.
39498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
39499         Moved ...
39500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
39501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
39502         Moved ...
39503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
39504         ... here.
39505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
39506         Moved ...
39507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
39508         ... here.
39509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
39510         Moved ...
39511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
39512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
39513         Moved ...
39514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
39515         ... here.
39516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
39517         Moved ...
39518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
39519         ... here.
39520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
39521         Moved ...
39522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
39523         ... here.
39524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
39525         Moved ...
39526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
39527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
39528         Moved ...
39529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
39530         ... here.
39531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
39532         Moved ...
39533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
39534         ... here.
39535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
39536         Moved ...
39537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
39538         ... here.
39539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
39540         Moved ...
39541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
39542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
39543         Moved ...
39544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
39545         ... here.
39546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
39547         Moved ...
39548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
39549         ... here.
39550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
39551         Moved ...
39552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
39553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
39554         Moved ...
39555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
39556         ... here.
39557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
39558         Moved ...
39559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
39560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
39561         Moved ...
39562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
39563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
39564         Moved ...
39565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
39566         ... here.
39567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
39568         Moved ...
39569         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
39570         ... here.
39571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
39572         Moved ...
39573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
39574         ... here.
39575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
39576         Moved ...
39577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
39578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
39579         Moved ...
39580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
39581         ... here.
39582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
39583         Moved ...
39584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
39585         ... here.
39586         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
39587         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
39588         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
39589         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
39590         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
39591         Moved ...
39592         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
39593         ... here.
39594         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
39595         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
39596         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
39597         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
39598         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
39599         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
39600         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
39601         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
39602         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
39603         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
39604         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
39605         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
39606         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
39607         Moved ...
39608         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
39609         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
39610         Moved ...
39611         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
39612         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
39613         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
39614         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
39615         Moved ...
39616         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
39617         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
39618         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
39619         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
39620         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
39621         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
39622         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
39624 2014-06-10  Wilco  <wdijkstr@arm.com>
39626         * math/test-fenv-return.c: New file.
39627         * math/Makefile: Add new test test-fenv-return.
39629 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
39631         [BZ #17042]
39632         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
39633         when x - 1 is zero.
39634         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
39635         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
39636         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
39637         0.0L for an argument of 1.0L.
39638         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
39639         Likewise.
39640         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
39641         value when x - 1 is zero.
39642         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
39643         * sysdeps/i386/fpu/libm-test-ulps: Update.
39644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39646 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
39648         [BZ #15119]
39649         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
39651 2014-06-09  Roland McGrath  <roland@hack.frob.com>
39653         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
39654         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
39656 2014-06-09  Roland McGrath  <roland@hack.frob.com>
39658         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39659         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
39661         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39662         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
39664         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39665         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
39667         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39668         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
39670         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
39671         if not already defined.
39672         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
39673         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
39674         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
39675         (TLS_INIT_TP): Use it.
39676         (TLS_DEFINE_INIT_TP): New macro.
39677         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
39679 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
39681         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
39682         constant.
39683         [POSIX] (IXANY): Likewise.
39684         [POSIX] (OLCUC): Likewise.
39685         [POSIX || POSIX2008] (CBAUD): Do not allow.
39686         [POSIX || POSIX2008] (DEFECHO): Likewise.
39687         [POSIX || POSIX2008] (ECHOCTL): Likewise.
39688         [POSIX || POSIX2008] (ECHOKE): Likewise.
39689         [POSIX || POSIX2008] (ECHOPRT): Likewise.
39690         [POSIX || POSIX2008] (EXTA): Likewise.
39691         [POSIX || POSIX2008] (EXTB): Likewise.
39692         [POSIX || POSIX2008] (FLUSHO): Likewise.
39693         [POSIX || POSIX2008] (LOBLK): Likewise.
39694         [POSIX || POSIX2008] (PENDIN): Likewise.
39695         [POSIX || POSIX2008] (SWTCH): Likewise.
39696         [POSIX || POSIX2008] (VDISCARD): Likewise.
39697         [POSIX || POSIX2008] (VDSUSP): Likewise.
39698         [POSIX || POSIX2008] (VLNEXT): Likewise.
39699         [POSIX || POSIX2008] (VREPRINT): Likewise.
39700         [POSIX || POSIX2008] (VSTATUS): Likewise.
39701         [POSIX || POSIX2008] (VWERASE): Likewise.
39702         (B*): Change to B[0123456789]*.
39703         * conform/data/time.h-data [POSIX || UNIX98]
39704         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
39705         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39706         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
39707         [POSIX] (tm_*): Do not allow.
39709 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
39711         * Makefile (install): Don't set LANGUAGE.
39712         * Makefile.in (install): Likewise.
39713         * assert/Makefile (test-assert-ENV): Remove variable.
39714         (test-assert-perr-ENV): Likewise.
39715         * elf/Makefile (neededtest4-ENV): Likewise.
39716         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
39717         [$(cross-compiling) = no]: Don't set LANGUAGE.
39718         * io/ftwtest-sh (LANG): Remove variable.
39719         * libio/Makefile (tst-widetext-ENV): Likewise.
39720         * manual/install.texi (Running make install): Don't refer to
39721         environment settings for make install.
39722         * INSTALL: Regenerated.
39723         * nptl/tst-tls6.sh: Don't set LANG.
39724         * posix/globtest.sh (LANG): Remove variable.
39725         * string/Makefile (tester-ENV): Likewise.
39726         (inl-tester-ENV): Likewise.
39727         (noinl-tester-ENV): Likewise.
39728         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
39729         [$(cross-compiling) = no]: Don't set LANGUAGE.
39730         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
39731         without explicit environment settings.
39733 2014-06-06  Roland McGrath  <roland@hack.frob.com>
39735         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
39736         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
39737         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
39738         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
39740 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
39742         * crypt/crypt-private.h [DOS]: Add some includes taken from the
39743         other files in the crypt directory.
39744         * crypt/crypt.c: Remove duplicate includes.
39745         * crypt/crypt-entry.c: Likewise.
39746         * crypt/crypt_util.c: Likewise.
39748 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
39750         * Makeconfig (run-program-env): New variable.
39751         (run-program-prefix-before-env): Likewise.
39752         (run-program-prefix-after-env): Likewise.
39753         (run-program-prefix): Define in terms of new variables.
39754         (built-program-cmd-before-env): New variable.
39755         (built-program-cmd-after-env): Likewise.
39756         (built-program-cmd): Define in terms of new variables.
39757         (test-program-prefix-before-env): New variable.
39758         (test-program-prefix-after-env): Likewise.
39759         (test-program-prefix): Define in terms of new variables.
39760         (test-program-cmd-before-env): New variable.
39761         (test-program-cmd-after-env): Likewise.
39762         (test-program-cmd): Define in terms of new variables.
39763         * Rules (make-test-out): Use $(run-program-env).
39764         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
39765         (help): Do not mention environment variables.  Mention
39766         --timeoutfactor option.
39767         (timeoutfactor): New variable.
39768         (blacklist_exports): Remove function.
39769         (exports): Remove variable.
39770         (command): Do not include ${exports}.
39771         * manual/install.texi (Configuring and compiling): Do not mention
39772         test wrappers preserving environment variables.  Mention that last
39773         assignment to a variable must take precedence.
39774         * INSTALL: Regenerated.
39775         * benchtests/Makefile (run-bench): Use $(run-program-env).
39776         * catgets/Makefile ($(objpfx)test1.cat): Use
39777         $(built-program-cmd-before-env), $(run-program-env) and
39778         $(built-program-cmd-after-env).
39779         ($(objpfx)test2.cat): Do not specify environment variables
39780         explicitly.
39781         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
39782         $(run-program-env) and $(built-program-cmd-after-env).
39783         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
39784         $(run-program-env) and $(test-program-cmd-after-env).
39785         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
39786         explicitly.
39787         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
39788         run_program_env and test_program_cmd_after_env arguments.
39789         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
39790         * elf/tst-pathopt.sh: Use run_program_env argument.
39791         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
39792         $(test-wrapper-env) and $(run-program-env).
39793         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
39794         run_program_env arguments.
39795         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
39796         * intl/Makefile ($(objpfx)tst-gettext.out): Use
39797         $(test-program-prefix-before-env), $(run-program-env) and
39798         $(test-program-prefix-after-env).
39799         ($(objpfx)tst-gettext2.out): Likewise.
39800         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
39801         run_program_env and test_program_prefix_after_env arguments.
39802         * intl/tst-gettext2.sh: Likewise.
39803         * intl/tst-gettext4.sh: Do not set environment variables
39804         explicitly.
39805         * intl/tst-gettext6.sh: Likewise.
39806         * intl/tst-translit.sh: Likewise.
39807         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
39808         $(test-program-prefix-before-env), $(run-program-env) and
39809         $(test-program-prefix-after-env).
39810         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
39811         run_program_env and test_program_prefix_after_env arguments.
39812         * math/Makefile (run-regen-ulps): Use $(run-program-env).
39813         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
39814         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
39815         explicitly with each use of ${test_wrapper_env}.
39816         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
39817         $(test-program-prefix-before-env), $(run-program-env) and
39818         $(test-program-prefix-after-env).
39819         * posix/tst-getconf.sh: Do not set environment variables
39820         explicitly.
39821         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
39822         run_program_env and test_program_prefix_after_env arguments.
39823         * stdio-common/tst-printf.sh: Do not set environment variables
39824         explicitly.
39825         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
39826         $(test-program-prefix-before-env), $(run-program-env) and
39827         $(test-program-prefix-after-env).
39828         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
39829         run_program_env and test_program_prefix_after_env arguments.
39830         Split $test calls into $test_pre and $test.
39831         * timezone/Makefile (build-testdata): Use
39832         $(built-program-cmd-before-env), $(run-program-env) and
39833         $(built-program-cmd-after-env).
39835 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39837         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
39838         strlen for non SHARED builds.
39840 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39842         * nptl/allocatestack.c (check_list): Inlined function...
39843         (__reclaim_stacks): ... here.
39845 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
39847         [BZ #15698]
39848         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
39849         memory overrun.
39851 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
39853         * Rules (make-test-out): Include
39854         LOCPATH=$(common-objpfx)localedata in default environment.
39855         * debug/Makefile (tst-chk1-ENV): Remove variable.
39856         (tst-chk2-ENV): Likewise.
39857         (tst-chk3-ENV): Likewise.
39858         (tst-chk4-ENV): Likewise.
39859         (tst-chk5-ENV): Likewise.
39860         (tst-chk6-ENV): Likewise.
39861         (tst-lfschk1-ENV): Likewise.
39862         (tst-lfschk2-ENV): Likewise.
39863         (tst-lfschk3-ENV): Likewise.
39864         (tst-lfschk4-ENV): Likewise.
39865         (tst-lfschk5-ENV): Likewise.
39866         (tst-lfschk6-ENV): Likewise.
39867         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
39868         (tst-iconv7-ENV): Likewise.
39869         * intl/Makefile (LOCPATH-ENV): Likewise.
39870         (tst-codeset-ENV): Likewise.
39871         (tst-gettext3-ENV): Likewise.
39872         (tst-gettext5-ENV): Likewise.
39873         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
39874         (tst-fopenloc-ENV): Likewise.
39875         (tst-fgetws-ENV): Remove variable.
39876         (tst-ungetwc1-ENV): Likewise.
39877         (tst-ungetwc2-ENV): Likewise.
39878         (bug-ungetwc2-ENV): Likewise.
39879         (tst-swscanf-ENV): Likewise.
39880         (bug-ftell-ENV): Likewise.
39881         (tst-fgetwc-ENV): Likewise.
39882         (tst-fseek-ENV): Likewise.
39883         (tst-ftell-partial-wide-ENV): Likewise.
39884         (tst-ftell-active-handler-ENV): Likewise.
39885         (tst-ftell-append-ENV): Likewise.
39886         * posix/Makefile (tst-fnmatch-ENV): Likewise.
39887         (tst-regexloc-ENV): Likewise.
39888         (bug-regex1-ENV): Likewise.
39889         (tst-regex-ENV): Likewise.
39890         (tst-regex2-ENV): Likewise.
39891         (bug-regex5-ENV): Likewise.
39892         (bug-regex6-ENV): Likewise.
39893         (bug-regex17-ENV): Likewise.
39894         (bug-regex18-ENV): Likewise.
39895         (bug-regex19-ENV): Likewise.
39896         (bug-regex20-ENV): Likewise.
39897         (bug-regex22-ENV): Likewise.
39898         (bug-regex23-ENV): Likewise.
39899         (bug-regex25-ENV): Likewise.
39900         (bug-regex26-ENV): Likewise.
39901         (bug-regex30-ENV): Likewise.
39902         (bug-regex32-ENV): Likewise.
39903         (bug-regex33-ENV): Likewise.
39904         (bug-regex34-ENV): Likewise.
39905         (bug-regex35-ENV): Likewise.
39906         (tst-rxspencer-ENV): Likewise.
39907         (tst-rxspencer-no-utf8-ENV): Likewise.
39908         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
39909         (tst-sscanf-ENV): Likewise.
39910         (tst-swprintf-ENV): Likewise.
39911         (tst-swscanf-ENV): Likewise.
39912         (test-vfprintf-ENV): Likewise.
39913         (scanf13-ENV): Likewise.
39914         (bug14-ENV): Likewise.
39915         (tst-grouping-ENV): Likewise.
39916         * stdlib/Makefile (tst-strtod-ENV): Likewise.
39917         (tst-strtod3-ENV): Likewise.
39918         (tst-strtod4-ENV): Likewise.
39919         (tst-strtod5-ENV): Likewise.
39920         (testmb2-ENV): Likewise./
39921         * string/Makefile (tst-strxfrm-ENV): Likewise.
39922         (tst-strxfrm2-ENV): Likewise.
39923         (bug-strcoll1-ENV): Likewise.
39924         (test-strcasecmp-ENV): Likewise.
39925         (test-strncasecmp-ENV): Likewise.
39926         * time/Makefile (tst-strptime-ENV): Likewise.
39927         (tst-ftime_l-ENV): Likewise.
39928         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
39929         (tst-mbrtowc-ENV): Likewise.
39930         (tst-wcrtomb-ENV): Likewise.
39931         (tst-mbrtowc2-ENV): Likewise.
39932         (tst-c16c32-1-ENV): Likewise.
39933         (tst-mbsnrtowcs-ENV): Likewise.
39935 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
39937         * manual/resource.texi (How to get information about the memory
39938         subsystem?): Fix typo.
39939         Reported by Peon de la Parra Ivan <peon@keba.com>
39941 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
39943         [BZ #16882]
39944         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
39945         (pthread_spin_lock): Branch out of spin loop to proper location.
39946         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
39947         (pthread_spin_lock): Likewise.
39949         * nptl/tst-spin4.c: New test.
39950         * nptl/Makefile (tests): Add tst-spin4.
39952 2014-06-03  Andreas Schwab  <schwab@suse.de>
39954         [BZ #15946]
39955         * resolv/res_send.c (send_dg): Reload file descriptor after
39956         calling reopen.
39958 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
39960         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39962 2014-06-03  Richard Henderson  <rth@redhat.com>
39964         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
39965         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
39966         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
39967         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
39968         in the SAVE_PID block.
39969         (__libc_vfork): New alias.
39970         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
39972         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
39973         child in registers, not on the stack.  Remove RESET_PID conditionals.
39974         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
39976 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39978         * sysdeps/aarch64/libm-test-ulps: Regenerate.
39980 2014-06-03  Wilco  <wdijkstr@arm.com>
39982         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
39983         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
39984         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
39985         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
39986         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
39987         Likewise.
39989 2014-06-03  Wilco  <wdijkstr@arm.com>
39991         * sysdeps/aarch64/fpu/math_private.h
39992         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
39993         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
39994         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
39995         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
39996         Fix declarations.
39998 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40000         * crypt/crypt-private.h: Include ufc-crypt.h.
40001         (__b64_from_24bit): Declare extern.
40002         * crypt/crypt_util.c(__b64_from_24bit): New function.
40003         (b64t): New static const variable.
40004         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
40005         (b64t): Remove variable.
40006         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
40007         * crypt/sha256-crypt.c: Include crypt-private.h.
40008         (b64t): Remove variable.
40009         (__sha256_crypt_r): Remove b64_from_24bit and replace
40010         with __b64_from_24bit.
40011         * crypt/sha512-crypt.c: Likewise.
40013 2014-06-02  Roland McGrath  <roland@hack.frob.com>
40015         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
40016         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
40017         Label the code __libc_vfork rather than __vfork.
40018         [!NOT_IN_libc] (vfork): Define as weak alias.
40019         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
40020         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
40021         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
40023 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40025         * malloc/malloc.c (malloc_info): Fix format specifier for
40026         n_mmaps.
40028 2014-06-02  Wilco  <wdijkstr@arm.com>
40030         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
40031         FPCR write.
40033 2014-06-02  Wilco  <wdijkstr@arm.com>
40035         [BZ #17009]
40036         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
40037         Rewrite to reduce FPCR/FPSR accesses.
40039 2014-06-01  David S. Miller  <davem@davemloft.net>
40041         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40043 2014-05-31  David S. Miller  <davem@davemloft.net>
40045         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
40046         to occur in round to nearest mode when |x| >= 2.0
40048 2014-05-30  Richard Henderson  <rth@twiddle.net>
40050         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
40051         (PSEUDO_RET_NOERRNO): Remove.
40052         (ret): Don't redefine.
40053         (ret_NOERRNO): Define in terms of ret.
40054         (ret_ERRVAL): Likewise.
40056         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
40057         use of PSEUDO_RET; perform the error check directly.
40059 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
40061         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
40062         with __int128_t.
40064 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40066         * malloc/malloc (malloc_info): Fix formatting.
40068 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40069             Roland McGrath  <roland@hack.frob.com>
40071         * malloc/malloc (malloc_info): Also print mmapped statistics.
40073 2014-05-30  Roland McGrath  <roland@hack.frob.com>
40075         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
40076         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
40078 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
40080         * malloc/malloc.c (malloc_info): Inline mi_arena.
40082 2014-05-29  Richard Henderson  <rth@twiddle.net>
40084         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
40085         Remove comma before expanding ASM_ARGS_##nr.
40086         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
40087         Make _x0 a strict output; make _x8 a strict input; adjust expansion
40088         of ASM_ARGS_##nr.
40089         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
40090         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
40091         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
40092         (ASM_ARGS_1): Add leading comma.
40094         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
40095         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
40096         to __errno_location.
40097         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
40098         Remove the expected plt for __errno_location.
40100         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40101         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
40102         call to __read_tp.
40104         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40105         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
40106         it and break it down.
40107         (DOCARGS_0, DOCARGS_1): Do nothing.
40108         (DOCARGS_2): Update to store into the new stack frame.
40109         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
40110         (UNDOCARGS_1): Update to restore from the new stack frame.
40111         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
40112         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
40114         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40115         (SINGLE_THREAD_P): New parameter for result regno.
40116         (PSEUDO): Update to match; use cbz instead of beq.
40118         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40119         Use ENTRY to define the _nocancel entry point.  Share the syscall
40120         and syscall error check paths with the cancel path.
40121         (PSEUDO_END): New.
40123         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
40124         whitespace; tabs before and after asm mnemonics.
40126 2014-05-29  Eric Wong  <normalperson@yhbt.net>
40128         [BZ #15132]
40129         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40130         Call fstat64 or stat64 internally, depending on arguments passed.
40131         Replace stat buffer argument with file descriptor argument.
40132         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
40133         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
40134         Pass fd to __internal_statvfs instead of calling fstat64.
40135         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
40136         Pass fd to __internal_statvfs64 instead of calling fstat64.
40137         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
40138         Pass -1 to __internal_statvfs instead of calling stat64.
40139         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
40140         Pass -1 to __internal_statvfs64 instead of calling stat64.
40142 2014-05-28  Roland McGrath  <roland@hack.frob.com>
40144         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
40145         that was previously under [RESET_PID].
40146         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
40148         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
40149         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
40151 2014-05-27  Roland McGrath  <roland@hack.frob.com>
40153         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
40155         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
40156         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
40158 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
40160         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
40162 2014-05-27  Andreas Schwab  <schwab@suse.de>
40164         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
40165         TLS_INIT_TP macro.
40166         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
40167         * elf/rtld.c (init_tls, dl_main): Likewise.
40168         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
40169         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
40170         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
40171         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
40172         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
40173         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
40174         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
40175         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
40176         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
40177         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
40178         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
40179         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
40180         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
40181         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
40182         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
40183         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
40184         * sysdeps/generic/tls.h: Update description.
40186 2014-05-27  Will Newton  <will.newton@linaro.org>
40188         [BZ #16990]
40189         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
40190         and restore r2 rather than just restoring.
40192 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40194         [BZ #16724]
40195         * libio/tst-ftell-append.c: New test case.
40196         * libio/Makefile (tests): Add test case.
40197         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
40198         append mode.
40199         * libio/wfileops.c (do_ftell_wide): Likewise.
40201 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40203         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40205         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
40206         ...
40207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
40208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
40209         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
40210         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
40211         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
40212         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
40213         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
40214         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
40215         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
40216         Moved ...
40217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
40218         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
40219         Moved ...
40220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
40221         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
40222         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
40223         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
40224         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
40225         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
40226         ...
40227         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
40228         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
40229         Moved ...
40230         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
40231         here.
40232         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
40233         ...
40234         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
40235         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
40236         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
40238         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
40239         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
40240         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
40241         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
40243         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
40244         merge into ...
40245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
40246         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
40247         ...
40248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
40249         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
40250         ...
40251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
40252         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
40253         Moved ...
40254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
40255         here.
40256         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
40257         Moved ...
40258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
40259         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
40260         Moved ...
40261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
40263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
40264         conditional [RESET_PID].
40265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
40266         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
40267         removed.
40268         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
40269         removed.
40271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
40272         <tcb-offsets.h>.
40273         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
40274         (__libc_vfork): New strong alias.
40275         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
40276         removed.
40277         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
40278         Removed.
40280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
40281         <tcb-offsets.h>.
40282         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
40283         (__libc_vfork): New strong alias.
40284         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
40285         removed.
40286         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
40287         removed.
40289 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
40291         * malloc/malloc.c (mi_arena): New function.
40292         (malloc_info): Remove nested function mi_arena. Call non-nosted
40293         function mi_arena.
40295 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40297         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
40298         by insrwi.
40299         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
40300         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
40301         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
40302         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
40303         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
40304         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
40305         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
40307 2014-05-26  Andreas Schwab  <schwab@suse.de>
40309         [BZ #16984]
40310         * locale/programs/repertoire.c (repertoire_read): Add slash
40311         between I18NPATH element and file name.
40312         * locale/programs/locfile.c (locfile_read): Likewise.
40314 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
40316         * nptl/pthread_mutexattr_settype.c
40317         (__pthread_mutexattr_settype):
40318         Disable lock elision for PTHREAD_MUTEX_NORMAL.
40320 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
40322         * nptl/tst-mutex5 (do_test):
40323         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
40325 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40327         * benchtests/README: Document 'init' directive.
40328         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
40329         BENCH_INIT.
40330         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
40331         (parse_file): Recognize 'init' directive.
40333 2014-05-26  Kyle McMartin  <kyle@redhat.com>
40335         [BZ #16796]
40336         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
40337         alignment of struct pthread.
40339 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40341         [BZ #16878]
40342         * nscd/netgroupcache.c (addgetnetgrentX): Look for
40343         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
40344         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
40345         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
40347 2014-05-25  Richard Henderson  <rth@twiddle.net>
40349         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40350         (SINGLE_THREAD_P_PIC): Remove.
40351         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
40352         (SINGLE_THREAD_P_PIC): Remove.
40354         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
40355         branch to syscall error ...
40356         (PSEUDO): ... here.
40357         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
40358         from __local_syscall_error to .Lsyscall_error.
40359         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
40360         (SYSCALL_ERROR): Update label name.
40362         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40363         Do not use DOARGS/UNDOARGS.
40364         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
40365         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
40366         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
40367         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
40368         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
40370         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
40371         block comment.
40373         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
40374         define if !NOT_IN_libc.
40375         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
40376         define with non-default symbol versions.
40378 2014-05-23  Richard Henderson  <rth@twiddle.net>
40380         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
40381         (vfork, __vfork): Define via compat_symbol.
40383         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
40384         [!HAVE_IFUNC] (vfork_compat): Remove.
40385         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
40387 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
40389         [BZ #16978]
40390         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
40391         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
40392         variable.
40394 2014-05-23  Richard Henderson  <rth@twiddle.net>
40396         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
40397         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
40398         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
40399         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
40401         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
40402         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
40403         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
40404         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
40405         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
40406         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
40407         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
40408         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
40409         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
40410         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
40411         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
40412         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
40413         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
40414         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
40415         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
40416         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
40417         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
40418         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
40419         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
40420         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
40421         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
40422         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
40423         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
40424         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
40425         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
40426         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
40427         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
40428         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
40429         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
40430         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
40431         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
40432         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
40433         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
40434         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
40435         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
40436         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
40437         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
40438         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
40439         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
40440         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
40441         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
40442         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
40443         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
40444         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
40445         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
40446         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
40447         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
40448         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
40449         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
40450         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
40451         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
40452         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
40453         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
40454         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
40455         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
40456         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
40458         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
40459         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
40460         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
40461         before exiting on error.
40462         (__libc_vfork): New strong alias.
40463         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
40464         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
40466         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
40467         that was previously under [RESET_PID].
40468         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
40470         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
40472 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
40474         [BZ #16977]
40475         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
40476         value when x - 1 is zero.
40477         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
40478         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
40479         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
40480         0.0L for an argument of 1.0L.
40481         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
40482         Likewise.
40483         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
40484         value when x - 1 is zero.
40485         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
40486         * sysdeps/i386/fpu/libm-test-ulps: Update.
40487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40489 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
40491         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
40492         alphasort and versionsort.
40494 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40496         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
40497         macro.
40498         [copysignf]: Likewise.
40500 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40502         * crypt/md5-crypt.c: Fix formatting.
40504 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40506         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
40507         (b64_from_24bit): New function.
40509 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40511         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
40512         libc_hidden_builtin_def to ifunc.
40513         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
40514         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
40516 2014-05-21  Roland McGrath  <roland@hack.frob.com>
40518         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
40519         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
40521 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
40523         * nscd/Depend (linuxthreads): Remove.
40524         (nptl): Add.
40525         * resolv/Depend (linuxthreads): Remove.
40526         * rt/Depend (linuxthreads): Remove.
40528         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
40529         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
40530         $(common-objpfx)elf/.
40531         (link-libc-before-gnulib): Likewise.
40532         (elfobjdir): Remove variable.
40533         * Makefile (install): Use $(elf-objpfx) instead of
40534         $(common-objpfx)elf/.
40535         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
40536         $(elfobjdir)/.
40537         (link-libc-deps): Likewise.
40538         ($(common-objpfx)libc.so): Likewise.
40539         ($(common-objpfx)linkobj/libc.so): Likewise.
40540         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
40541         instead of $(common-objpfx)elf/.
40542         (symbolic-link-list): Likewise.
40543         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
40544         [$(cross-compiling) = no]: Likewise.
40545         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
40546         $(elfobjdir)/.
40547         (static-gnulib-arch): Likewise.
40548         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
40549         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
40550         $(common-objpfx)elf/.
40552 2014-05-21  Richard Henderson  <rth@redhat.com>
40554         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40555         (SINGLE_THREAD_P): Use the correct width load.  Fold
40556         into the ldr offset.
40558         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
40559         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
40561 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
40563         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
40564         (libgcc_s_resume): Use __attribute_used__.
40565         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
40566         Likewise.
40568 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40570         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
40571         optimization when used with float constants.
40573         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40575 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
40577         [BZ #16915]
40578         * locale/nl_langinfo_l.c: Make direct reference to every
40579         _nl_current_CATEGORY symbol.
40580         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
40581         (tests-static): Add tst-langinfo-static.
40582         (tests-special): Add tst-langinfo-static.out.
40583         ($(objpfx)tst-langinfo.out): Redirect output.
40584         ($(objpfx)tst-langinfo-static.out): New.
40585         * localedata/tst-langinfo.sh: Send output to stdout.
40586         * localedata/tst-langinfo-static.c: New file.
40588         [BZ #16965]
40589         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
40590         when the shift amount is modulo the limb size.
40592 2014-05-20  Richard Henderson  <rth@redhat.com>
40594         [BZ #16967]
40595         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
40596         Change type of sa_flags from unsigned int to int.
40598         [BZ #16966]
40599         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
40601         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
40603 2014-05-20  Will Newton  <will.newton@linaro.org>
40605         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40606         Test the return value of the system call in the nocancel case.
40608 2014-05-20  Will Newton  <will.newton@linaro.org>
40609             Yvan Roux  <yvan.roux@linaro.org>
40611         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
40612         #include of asm/ptrace.h.
40613         (PTRACE_GET_THREAD_AREA): Remove #undef.
40614         (PTRACE_GETHBPREGS): Likewise.
40615         (PTRACE_SETHBPREGS): Likewise.
40616         (struct user_regs_struct): New structure.
40617         (struct user_fpsimd_struct): New structure.
40618         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
40619         #include of asm/ptrace.h and second #include of sys/user.h.
40620         (PTRACE_GET_THREAD_AREA): Remove #undef.
40621         (PTRACE_GETHBPREGS): Likewise.
40622         (PTRACE_SETHBPREGS): Likewise.
40623         (ELF_NGREG): Use new struct user_regs_struct.
40624         (elf_fpregset_t): Use new struct user_fpsimd_struct.
40626 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40628         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
40629         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
40631 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
40633         [BZ #16958]
40634         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
40635         membar to avoid block loads/stores to overlap previous stores.
40637 2014-05-17  Richard Henderson  <rth@redhat.com>
40639         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
40640         Create the __##syscall_name##_nocancel entry point.
40641         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
40642         Remove; let the sysdep-cancel.h code create it.
40644 2014-05-17  David S. Miller  <davem@davemloft.net>
40646         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
40647         Protect with __USE_GNU.
40648         (TIOCSET_TEMPT): Likewise.
40649         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
40650         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
40651         these are already provided in bits/ioctl-types.h
40653 2014-05-16  Roland McGrath  <roland@hack.frob.com>
40655         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
40656         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
40658         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
40659         Use wait4 regardless of [__NR_waitpid].
40661 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
40663         PR libgcc/60166
40664         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
40665         (_FP_NANSIGN_Q): Set the quiet bit.
40667 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
40669         * benchtests/Makefile
40670         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
40671         not $(common-objpfx)math/libm.so.
40672         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
40673         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
40674         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
40675         $(common-objpfx)dlfcn/libdl.so.
40676         ($(objpfx)tst-audit8): Depend on $(libm), not
40677         $(common-objpfx)math/libm.so.
40678         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
40679         not $(common-objpfx)dlfcn/libdl.so.
40680         * math/Makefile
40681         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
40682         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
40683         [$(build-shared) = yes].
40684         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
40685         $(common-objpfx)nptl/libpthread.so.
40686         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
40687         $(common-objpfx)math/libm.so$(libm.so-version) or
40688         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
40689         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
40690         $(common-objpfx)dlfcn/libdl.so.
40691         * setjmp/Makefile (link-libm): Remove variable.
40692         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
40693         * stdio-common/Makefile (link-libm): Remove variable.
40694         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
40695         * stdlib/Makefile (link-libm): Remove variable.
40696         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
40697         ($(objpfx)tst-strtod-round): Likewise.
40698         ($(objpfx)tst-tininess): Likewise.
40699         ($(objpfx)tst-strtod-underflow): Likewise.
40700         ($(objpfx)tst-strtod6): Likewise.
40701         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
40702         $(libdl), not $(common-objpfx)nptl/libpthread.so and
40703         $(common-objpfx)dlfcn/libdl.so.
40705 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40707         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
40708         BSD terminal modes definitions.
40710 2014-05-16  Roland McGrath  <roland@hack.frob.com>
40712         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
40713         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
40715         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
40716         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
40717         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
40718         Don't do #include_next.
40719         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
40720         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
40721         Don't do #include_next.
40722         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
40723         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
40724         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
40725         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
40727 2014-05-16  Allan McRae  <allan@archlinux.org>
40729         * po/sv.po: Update Swedish translation from translation project.
40731         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
40732         in sed expression.
40734 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
40736         [BZ #16917]
40737         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
40738         errno if the TIOCGPTN ioctl fails with an error different than
40739         EINVAL.
40740         * login/tst-ptsname.c: New file.
40741         * login/Makefile (tests): Add tst-ptsname.
40743         [BZ #16943]
40744         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
40745         and prlimit64.
40747 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40749         [BZ #16849]
40750         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
40751         herrno to return EAI_AGAIN.
40753 2014-05-14  Roland McGrath  <roland@hack.frob.com>
40755         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
40756         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
40757         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
40758         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
40759         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
40760         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
40761         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
40762         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
40763         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
40764         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
40765         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
40766         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
40767         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
40768         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
40769         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
40770         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
40771         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
40772         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
40773         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
40774         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
40775         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
40776         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
40777         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
40778         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
40779         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
40780         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
40781         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
40782         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
40783         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
40784         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
40785         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
40786         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
40787         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
40788         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
40789         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40790         Moved ...
40791         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
40792         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
40793         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
40794         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
40795         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
40796         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
40797         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
40798         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
40799         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
40800         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
40801         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
40802         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
40803         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
40804         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
40805         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
40806         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
40807         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
40808         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
40809         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
40810         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
40811         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
40812         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
40813         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
40814         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
40815         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
40816         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
40817         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
40818         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40819         Moved ...
40820         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
40821         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
40822         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
40823         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
40824         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
40825         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
40826         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
40827         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
40828         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
40829         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
40830         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
40831         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
40832         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
40833         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
40834         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
40835         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
40836         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
40837         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
40838         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
40839         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40840         Moved ...
40841         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
40842         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
40843         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
40845         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
40846         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
40847         (libpthread-sysdep_routines): Add elision-related stuff here instead.
40848         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
40849         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
40850         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
40851         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
40852         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
40853         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
40854         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
40855         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
40856         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
40857         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
40858         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
40859         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
40860         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
40861         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
40862         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
40863         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
40864         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
40865         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
40866         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
40867         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
40868         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
40869         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
40870         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
40871         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
40872         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
40873         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
40874         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
40875         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
40877         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
40878         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
40880         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
40881         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
40882         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
40883         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
40884         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
40885         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
40886         Moved ...
40887         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
40888         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
40889         Moved ...
40890         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
40891         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
40892         Moved ...
40893         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
40894         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
40895         Moved ...
40896         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
40897         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
40898         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
40899         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
40900         Moved ...
40901         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
40902         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
40903         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
40904         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
40905         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
40906         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
40907         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
40908         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
40909         Moved ...
40910         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
40911         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
40912         Moved ...
40913         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
40914         ... here.
40915         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
40916         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
40917         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
40918         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
40919         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
40920         Moved ...
40921         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
40922         ... here.
40923         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
40924         Moved ...
40925         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
40926         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
40927         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
40928         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
40929         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
40930         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
40931         Moved ...
40932         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
40933         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
40934         Moved ...
40935         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
40936         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
40937         Moved ...
40938         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
40939         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
40940         Moved ...
40941         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
40942         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
40943         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
40944         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
40945         Moved ...
40946         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
40947         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
40948         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
40949         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
40950         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
40951         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
40952         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
40953         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
40954         Moved ...
40955         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
40956         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
40957         Moved ...
40958         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
40959         ... here.
40960         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
40961         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
40962         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
40963         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
40964         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
40965         Moved ...
40966         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
40967         ... here.
40968         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
40969         Moved ...
40970         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
40971         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
40972         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
40973         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
40974         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
40975         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
40976         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
40977         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
40978         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
40979         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
40980         Moved ...
40981         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
40982         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
40983         Moved ...
40984         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
40985         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
40986         Moved ...
40987         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
40988         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
40989         Moved ...
40990         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
40991         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
40992         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
40993         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
40994         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
40995         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
40996         Moved ...
40997         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
40998         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
40999         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
41000         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
41001         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
41002         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
41003         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
41004         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
41005         Moved ...
41006         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
41007         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
41008         Moved ...
41009         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
41010         ... here.
41011         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
41012         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
41013         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
41014         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
41015         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
41016         Moved ...
41017         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
41018         ... here.
41019         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
41020         Moved ...
41021         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
41022         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
41023         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
41024         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
41025         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
41026         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
41027         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
41028         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
41029         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
41030         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
41031         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
41033         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
41034         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
41036         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
41037         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
41039         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
41040         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
41041         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
41042         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
41043         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
41044         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
41045         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
41046         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
41047         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
41048         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
41049         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
41050         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
41051         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
41052         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
41053         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
41054         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
41055         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
41056         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
41057         Moved ...
41058         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
41059         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
41060         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
41061         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
41062         Moved ...
41063         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
41064         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
41065         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
41066         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
41067         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
41068         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
41069         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
41070         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
41071         Moved ...
41072         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
41073         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
41074         Moved ...
41075         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
41076         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
41077         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
41078         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
41079         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
41080         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
41081         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
41082         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
41083         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
41084         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
41085         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
41086         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
41087         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
41088         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
41089         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
41090         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
41091         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
41093         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
41094         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
41095         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
41096         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
41097         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
41099         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
41100         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
41101         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
41102         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
41103         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
41104         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
41105         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
41106         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
41107         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
41108         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
41110         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
41111         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
41113         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
41114         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
41115         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
41116         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
41117         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
41118         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
41119         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
41120         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
41121         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
41122         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
41123         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
41124         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
41125         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
41126         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
41127         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
41128         Update #include.
41129         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
41130         Likewise.
41131         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
41132         Likewise.
41133         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
41134         Likewise.
41135         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
41136         Likewise.
41137         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
41138         Likewise.
41139         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
41140         Likewise.
41141         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
41142         Likewise.
41143         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
41144         Likewise.
41145         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
41146         Likewise.
41147         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
41148         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
41149         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
41150         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
41151         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
41152         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
41153         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
41154         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
41155         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
41156         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
41157         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
41158         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
41159         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
41160         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
41161         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
41163         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
41164         that was previously under [RESET_PID].
41165         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
41166         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
41167         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
41169         * sysdeps/i386/nptl/Implies: New file.
41170         * sysdeps/x86_64/nptl/Implies: New file.
41171         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
41172         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
41173         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
41174         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
41176         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
41177         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41178         (__libc_vfork): New strong alias.
41179         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
41180         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
41182         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
41183         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41184         (__libc_vfork): New strong alias.
41185         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
41186         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
41188         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
41189         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41190         (__libc_vfork): New strong alias.
41191         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
41192         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
41193         * nptl/pt-vfork.c: New file.
41194         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
41195         (libpthread: GLIBC_2.20): New version set (empty).
41197 2014-05-14  Will Newton  <will.newton@linaro.org>
41199         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
41200         rather than #if.
41202 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
41204         [BZ #16564]
41205         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
41206         arguments with exponent 65 or above.
41207         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
41208         arguments 0x1p113L or above.
41209         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
41210         to arguments 0x1p107L or above.
41211         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
41212         positive arguments with exponent 65 or above.
41213         * math/auto-libm-test-in: Add more tests of log1p.
41214         * math/auto-libm-test-out: Regenerated.
41216         [BZ #16928]
41217         * math/s_cacos.c (__cacos): Ensure zero real part of result from
41218         non-finite arguments is +0.
41219         * math/s_cacosf.c (__cacosf): Likewise.
41220         * math/s_cacosl.c (__cacosl): Likewise.
41221         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
41222         * sysdeps/i386/fpu/libm-test-ulps: Update.
41223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41225         [BZ #16927]
41226         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
41227         value.
41228         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
41229         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
41230         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
41231         for explicit high bit of mantissa when testing for argument equal
41232         to 1.
41233         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
41234         * sysdeps/i386/fpu/libm-test-ulps: Update.
41235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41237         [BZ #16516]
41238         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
41239         (__erf): Scale by 16 instead of 8 in potentially underflowing
41240         case.  Ensure exception if result actually underflows.
41241         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
41242         (__erff): Scale by 16 instead of 8 in potentially underflowing
41243         case.  Ensure exception if result actually underflows.
41244         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
41245         (efx8): Remove variable.
41246         (__erfl): Scale by 16 instead of 8 in potentially underflowing
41247         case.  Ensure exception if result actually underflows.
41248         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
41249         (efx8): Remove variable.
41250         (__erfl): Scale by 16 instead of 8 in potentially underflowing
41251         case.  Ensure exception if result actually underflows.
41252         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
41253         (efx8): Remove variable.
41254         (__erfl): Scale by 16 instead of 8 in potentially underflowing
41255         case.  Ensure exception if result actually underflows.
41256         * math/auto-libm-test-in: Add more tests of erf.
41257         * math/auto-libm-test-out: Regenerated.
41259 2014-05-14  Andreas Schwab  <schwab@suse.de>
41261         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
41262         Remove code conditionalized on USE___THREAD.
41264         * config.h.in (HAVE_PT_CHOWN): Define as 0.
41265         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
41266         not definedness.
41268 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
41270         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
41271         Define unconditionally.
41272         (__ASSUME_O_CLOEXEC): Likewise.
41273         (__ASSUME_SOCK_CLOEXEC): Likewise.
41274         (__ASSUME_IN_NONBLOCK): Likewise.
41275         (__ASSUME_PIPE2): Likewise.
41276         (__ASSUME_EVENTFD2): Likewise.
41277         (__ASSUME_SIGNALFD4): Likewise.
41278         (__ASSUME_DUP3): Likewise.
41279         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41280         (__ASSUME_DUP3): Do not define.
41281         (__ASSUME_EVENTFD2): Likewise.
41282         (__ASSUME_IN_NONBLOCK): Likewise.
41283         (__ASSUME_O_CLOEXEC): Likewise.
41284         (__ASSUME_PIPE2): Likewise.
41285         (__ASSUME_SIGNALFD4): Likewise.
41286         (__ASSUME_SOCK_CLOEXEC): Likewise.
41287         (__ASSUME_UTIMES): Undefine.
41288         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41289         (__ASSUME_UTIMES): Do not define.
41290         (__ASSUME_O_CLOEXEC): Likewise.
41291         (__ASSUME_SOCK_CLOEXEC): Likewise.
41292         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
41293         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
41294         0x020621].
41295         (__ASSUME_PIPE2): Likewise.
41296         (__ASSUME_EVENTFD2): Likewise.
41297         (__ASSUME_SIGNALFD4): Likewise.
41298         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
41299         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
41300         Do not define.
41301         (__ASSUME_EVENTFD2): Likewise.
41302         (__ASSUME_SIGNALFD4): Likewise.
41303         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
41304         (__ASSUME_32BITUIDS): Likewise.
41305         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41306         (__ASSUME_IPC64): Likewise.
41307         (__ASSUME_ST_INO_64_BIT): Likewise.
41308         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
41309         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
41310         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41311         (__ASSUME_UTIMES): Do not define.
41312         (__ASSUME_PSELECT): Likewise.
41313         (__ASSUME_PPOLL): Likewise.
41314         (__ASSUME_O_CLOEXEC): Likewise.
41315         (__ASSUME_SOCK_CLOEXEC): Likewise.
41316         (__ASSUME_IN_NONBLOCK): Likewise.
41317         (__ASSUME_PIPE2): Likewise.
41318         (__ASSUME_EVENTFD2): Likewise.
41319         (__ASSUME_SIGNALFD4): Likewise.
41320         (__ASSUME_DUP3): Likewise.
41321         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41322         (__ASSUME_UTIMES): Likewise.
41323         (__ASSUME_O_CLOEXEC): Likewise.
41324         (__ASSUME_SOCK_CLOEXEC): Likewise.
41325         (__ASSUME_IN_NONBLOCK): Likewise.
41326         (__ASSUME_PIPE2): Likewise.
41327         (__ASSUME_EVENTFD2): Likewise.
41328         (__ASSUME_SIGNALFD4): Likewise.
41329         (__ASSUME_DUP3): Likewise.
41330         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41331         (__ASSUME_UTIMES): Likewise.
41332         (__ASSUME_O_CLOEXEC): Likewise.
41333         (__ASSUME_SOCK_CLOEXEC): Likewise.
41334         (__ASSUME_IN_NONBLOCK): Likewise.
41335         (__ASSUME_PIPE2): Likewise.
41336         (__ASSUME_EVENTFD2): Likewise.
41337         (__ASSUME_SIGNALFD4): Likewise.
41338         (__ASSUME_DUP3): Likewise.
41339         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
41340         Likewise.
41341         (__ASSUME_UTIMES): Likewise.
41342         (__ASSUME_EVENTFD2): Likewise.
41343         (__ASSUME_SIGNALFD4): Likewise.
41344         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41345         (__ASSUME_O_CLOEXEC): Likewise.
41346         (__ASSUME_SOCK_CLOEXEC): Likewise.
41347         (__ASSUME_IN_NONBLOCK): Likewise.
41348         (__ASSUME_PIPE2): Likewise.
41349         (__ASSUME_EVENTFD2): Likewise.
41350         (__ASSUME_SIGNALFD4): Likewise.
41351         (__ASSUME_DUP3): Likewise.
41352         (__ASSUME_UTIMES): Undefine.
41354         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
41355         feclearexcept.  Remove symbol versioning code.
41356         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
41357         symbol versioning code.
41358         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
41359         symbol versioning code.
41360         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
41361         feupdateenv.  Remove symbol versioning code.
41362         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
41363         fegetexceptflag.  Remove symbol versioning code.
41364         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
41365         fesetexceptflag.  Remove symbol versioning code.
41366         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
41367         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
41368         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
41369         (__posix_fadvise64_l32): Remove prototype.
41370         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
41371         code.
41373 2014-05-13  Roland McGrath  <roland@hack.frob.com>
41375         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
41376         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
41377         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
41378         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
41380 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
41382         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
41383         current working directory
41385 2014-05-13  Roland McGrath  <roland@hack.frob.com>
41387         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
41388         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
41389         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
41390         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
41391         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
41392         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
41393         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
41394         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
41395         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
41396         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
41397         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
41398         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
41399         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
41400         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
41401         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
41402         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
41403         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
41404         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
41405         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
41406         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
41407         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
41408         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
41409         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
41410         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
41411         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
41412         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
41413         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
41414         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
41415         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
41416         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
41417         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
41418         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
41419         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
41420         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
41421         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
41422         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
41423         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
41424         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
41425         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
41426         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
41427         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
41428         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
41430         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
41431         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
41433         * sysdeps/unix/sysv/linux/arm/Makefile
41434         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
41435         Add rt-aeabi_unwind_cpp_pr1.
41436         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
41437         Add nptl-aeabi_unwind_cpp_pr1.
41438         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
41439         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
41440         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
41441         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
41442         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
41443         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
41445         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
41446         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
41447         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
41448         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
41450         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
41451         Deconditionalize the code that was previously under [RESET_PID].
41452         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
41454         * sysdeps/generic/exit-thread.h: New file.
41455         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
41456         * include/unistd.h (__exit_thread): Remove declaration.
41457         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
41458         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
41459         * csu/libc-start.c: Include <exit-thread.h>.
41460         (LIBC_START_MAIN): Pass no argument to __exit_thread.
41461         * nptl/pthread_create.c: Include <exit-thread.h>.
41462         (start_thread): Call __exit_thread in place of __exit_thread_inline.
41463         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
41464         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
41465         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
41466         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
41467         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
41468         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
41469         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
41470         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
41471         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
41472         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
41473         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
41474         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
41475         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
41476         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
41477         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
41478         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
41480 2014-05-13  Andreas Schwab  <schwab@suse.de>
41482         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
41484 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
41486         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
41487         (__ASSUME_UTIMES): Do not condition on kernel version.
41488         (__ASSUME_PSELECT): Define unconditionally.
41489         (__ASSUME_PPOLL): Likewise.
41490         (__ASSUME_ATFCTS): Likewise.
41491         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
41492         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
41493         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
41494         (__ASSUME_UTIMENSAT): Define unconditionally.
41495         (__ASSUME_PRIVATE_FUTEX): Likewise.
41496         (__ASSUME_FALLOCATE): Likewise.
41497         (__ASSUME_O_CLOEXEC): Likewise.
41498         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
41499         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
41500         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
41501         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
41502         (__ASSUME_IN_NONBLOCK): Likewise.
41503         (__ASSUME_PIPE2): Likewise.
41504         (__ASSUME_EVENTFD2): Likewise.
41505         (__ASSUME_SIGNALFD4): Likewise.
41506         (__ASSUME_DUP3): Likewise.
41507         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
41508         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
41509         (__ASSUME_AT_RANDOM): Likewise.
41510         (__ASSUME_PREADV): Likewise.
41511         (__ASSUME_PWRITEV): Likewise.
41512         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
41513         (__ASSUME_F_GETOWN_EX): Define unconditionally.
41514         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
41515         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
41516         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
41517         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41518         (__ASSUME_O_CLOEXEC): Define unconditionally.
41519         (__ASSUME_PSELECT): Do not undefine conditionally.
41520         (__ASSUME_PPOLL): Likewise.
41521         (__ASSUME_ATFCTS): Likewise.
41522         (__ASSUME_SET_ROBUST_LIST): Likewise.
41523         (__ASSUME_UTIMENSAT): Likewise.
41524         (__ASSUME_FDATASYNC): Define unconditionally.
41525         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41526         (__ASSUME_SIGFRAME_V2): Likewise.
41527         )__ASSUME_EVENTFD2): Likewise.
41528         (__ASSUME_SIGNALFD4): Likewise.
41529         (__ASSUME_PSELECT): Do not undefine conditionally.
41530         (__ASSUME_PPOLL): Likewise.
41531         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41532         (__ASSUME_PSELECT): Define unconditionally.
41533         (__ASSUME_PPOLL): Likewise.
41534         (__ASSUME_O_CLOEXEC): Likewise.
41535         (__ASSUME_SOCK_CLOEXEC): Likewise.
41536         (__ASSUME_IN_NONBLOCK): Likewise.
41537         (__ASSUME_PIPE2): Likewise.
41538         (__ASSUME_EVENTFD2): Likewise.
41539         (__ASSUME_SIGNALFD4): Likewise.
41540         (__ASSUME_DUP3): Likewise.
41541         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41542         (__ASSUME_O_CLOEXEC): Likewise.
41543         (__ASSUME_SOCK_CLOEXEC): Likewise.
41544         (__ASSUME_IN_NONBLOCK): Likewise.
41545         (__ASSUME_PIPE2): Likewise.
41546         (__ASSUME_EVENTFD2): Likewise.
41547         (__ASSUME_SIGNALFD4): Likewise.
41548         (__ASSUME_DUP3): Likewise.
41549         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41550         (__ASSUME_EVENTFD2): Likewise.
41551         (__ASSUME_SIGNALFD4): Likewise.
41552         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
41554 2014-05-12  Andreas Schwab  <schwab@suse.de>
41556         [BZ #16932]
41557         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
41558         (_nss_nis_gethostbyname4_r): Return error if item length is larger
41559         than maximum RPC packet size.
41560         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
41561         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
41562         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
41563         (_nss_nis_getservbyport_r): Likewise.
41565 2014-05-12  Will Newton  <will.newton@linaro.org>
41567         * malloc/Makefile (tests): Add tst-mallopt.
41568         * malloc/tst-mallopt.c: New file.
41570 2014-05-09  Roland McGrath  <roland@hack.frob.com>
41572         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
41573         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
41575 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41577         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
41578         (tst-tlsmod6.so): Likewise.
41580 2014-05-09  Roland McGrath  <roland@hack.frob.com>
41582         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
41584 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
41586         [BZ #16064]
41587         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
41588         and <dl-procinfo.h>.
41589         (__fegetenv): Save SSE state in envp->__eip if supported.
41590         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
41591         envp->__eip if supported.
41592         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
41593         and <dl-procinfo.h>.
41594         (__fesetenv): Always set __eip, __cs_selector, __opcode,
41595         __data_offset and __data_selector in environment to 0.  Set SSE
41596         state if supported.
41597         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
41598         test-fenv-sse.
41599         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
41600         -mfpmath=sse.
41601         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
41603 2014-05-09  Will Newton  <will.newton@linaro.org>
41605         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
41606         and libc_relro_required for ARM.
41607         * sysdeps/arm/preconfigure: Regenerate.
41609 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
41610             Stefan Liebler  <stli@linux.vnet.ibm.com>
41612         * config.make.in (enable-lock-elision): New Makefile variable.
41613         * configure.ac: Likewise.
41614         * configure: Regenerate.
41615         * sysdeps/s390/configure.ac:
41616         Add check for gcc transactions support.
41617         * sysdeps/s390/configure: Regenerate.
41618         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
41619         Build elision files if enabled.
41620         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
41621         Add lock elision support for s390.
41622         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
41623         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
41624         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
41625         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
41626         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
41627         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
41628         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
41629         Likewise.
41630         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
41631         Likewise.
41632         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
41633         Likewise.
41634         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
41635         Likewise.
41636         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
41637         (__lll_timedlock_elision, __lll_lock_elision)
41638         (__lll_unlock_elision, __lll_trylock_elision)
41639         (lll_timedlock_elision, lll_lock_elision)
41640         (lll_unlock_elision, lll_trylock_elision): Add.
41641         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
41642         (pthread_mutex_t): Add lock elision support for s390.
41644 2014-05-14  Wilco  <wdijkstr@arm.com>
41646         * sysdeps/arm/fclrexcpt.c: Cleanup.
41647         * sysdeps/arm/fedisblxcpt.c: Cleanup.
41648         * sysdeps/arm/feenablxcpt.c: Cleanup.
41649         * sysdeps/arm/fegetenv.c: Cleanup.
41650         * sysdeps/arm/fegetexcept.c: Cleanup.
41651         * sysdeps/arm/fegetround.c: Cleanup.
41652         * sysdeps/arm/feholdexcpt.c: Cleanup.
41653         * sysdeps/arm/fesetenv.c: Cleanup.
41654         * sysdeps/arm/fesetround.c: Cleanup.
41655         * sysdeps/arm/feupdateenv.c: Cleanup.
41656         * sysdeps/arm/fgetexcptflg.c: Cleanup.
41657         * sysdeps/arm/fraiseexcpt.c: Cleanup.
41658         * sysdeps/arm/fsetexcptflg.c: Cleanup.
41659         * sysdeps/arm/ftestexcept.c: Cleanup.
41660         * sysdeps/arm/get-rounding-mode.h: Cleanup.
41661         * sysdeps/arm/setfpucw.c: Cleanup.
41663 2014-05-09  Will Newton  <will.newton@linaro.org>
41665         * sysdeps/arm/armv7/strcmp.S: New file.
41666         * NEWS: Mention addition of ARMv7 optimized strcmp.
41668 2014-05-08  Roland McGrath  <roland@hack.frob.com>
41670         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
41671         look for %.ac rather than %.in.
41673         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
41674         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
41675         * sysdeps/mach/hurd/configure: Regenerated.
41676         * sysdeps/unix/sysv/linux/configure: Regenerated.
41678         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
41680 2014-05-07  Steve Ellcey  <sellcey@mips.com>
41682         [BZ# 16922]
41683         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
41684         (LONG_SUB): Ditto.
41685         (PTR_SUB): Ditto.
41687 2014-05-07  Andreas Schwab  <schwab@suse.de>
41689         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
41690         when skipping over non-matching result from nscd.
41692 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
41694         [BZ #16876]
41695         * nptl/sockperf.c (client): Check socket return value.
41697         [BZ #16877]
41698         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
41699         nscd security class.
41701 2014-05-06  Roland McGrath  <roland@hack.frob.com>
41703         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
41704         * sysdeps/arm/unwind.h: ... here.
41706 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
41708         [BZ# 16916]
41709         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
41710         Define.
41712 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41714         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
41715         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
41716         multiarch strncpy for PPC64.
41717         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
41718         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
41719         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
41720         multiarch optimizations.
41721         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41722         (__libc_ifunc_impl_list): Likewise.
41723         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
41724         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
41725         multiarch stpncpy for PPC64.
41726         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
41727         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
41729 2014-05-06  Andreas Schwab  <schwab@suse.de>
41731         [BZ #16912]
41732         * gmon/mcount.c (_MCOUNT_DECL): Use
41733         atomic_compare_and_exchange_bool_acq instead of
41734         catomic_compare_and_exchange_bool_acq.
41736 2014-05-05  Roland McGrath  <roland@hack.frob.com>
41738         * elf/Makefile (others, install-bin): Remove pldd.
41739         (pldd-modules): Variable removed.
41740         ($(objpfx)pldd): Target removed.
41741         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
41742         (others, install-bin): Append pldd here.
41743         ($(objpfx)pldd): New target.
41745         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
41746         to 0, so the first #if test emitted later doesn't see it undefined.
41747         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
41748         * sysdeps/gnu/errlist.c: Regenerated.
41750 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41752         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
41753         [libc_hidden_builtin_def]: Define to empty value.
41754         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
41755         [libc_hidden_builtin_def]: Likewise.
41756         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
41757         [libc_hidden_builtin_def]: Likewise.
41758         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
41759         [libc_hidden_builtin_def]: Likewise.
41760         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
41761         __redirect_memcpy and define ifunc as default hidden symbol.
41762         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
41763         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
41765 2014-05-04  Adam Conrad  <adconrad@0c3.net>
41767         * locale/iso-4217.def: Reintroduce XDR currency.
41769 2014-05-04  Allan McRae  <allan@archlinux.org>
41771         * po/eo.po: Update Esperanto translation from translation project.
41773 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
41775         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
41776         and FEATURE_INDEX_MAX to 1.
41777         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
41779 2014-05-01  Steve Ellcey  <sellcey@mips.com>
41781         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
41782         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
41783         * iconvdata/big5.c (ONE_DIRECTION): Define.
41784         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
41785         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
41786         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
41787         * iconvdata/cp932.c (ONE_DIRECTION): Define.
41788         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
41789         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
41790         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
41791         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
41792         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
41793         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
41794         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
41795         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
41796         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
41797         * iconvdata/gbk.c (ONE_DIRECTION): Define.
41798         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
41799         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
41800         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
41801         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
41802         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
41803         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
41804         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
41805         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
41806         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
41807         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
41808         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
41809         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
41810         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
41811         * iconvdata/iso646.c (ONE_DIRECTION): Define.
41812         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
41813         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
41814         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
41815         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
41816         * iconvdata/johab.c (ONE_DIRECTION): Define.
41817         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
41818         * iconvdata/sjis.c (ONE_DIRECTION): Define.
41819         * iconvdata/t.61.c (ONE_DIRECTION): Define.
41820         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
41821         * iconvdata/tscii.c (ONE_DIRECTION): Define.
41822         * iconvdata/uhc.c (ONE_DIRECTION): Define.
41823         * iconvdata/unicode.c (ONE_DIRECTION): Define.
41824         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
41825         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
41826         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
41828 2014-05-01  Roland McGrath  <roland@hack.frob.com>
41830         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
41831         (_IO_JUMPS_OFFSET): Define to 0.
41833         * nptl/sysdeps/pthread/bits/libc-lock.h
41834         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
41835         (__libc_lock_define_initialized_recursive): Always define using
41836         initializer.  Modern compilers treat uninitialized (implicit zero) and
41837         explicit zero initializers the same (i.e. put the datum in bss).
41839 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
41841         * nscd/nscd-client.h: Include <string.h>.
41843 2014-05-01  David S. Miller  <davem@davemloft.net>
41845         [BZ #16885]
41846         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
41847         multiple zero bytes exist at the end of a string.
41848         Reported by Aurelien Jarno <aurelien@aurel32.net>
41850         * string/test-strcmp.c (check): Add explicit test for situations where
41851         there are multiple zero bytes after the first.
41853 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
41855         [BZ #16890]
41856         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
41857         when compiling wprintf.
41858         * stdio-common/tstdiomisc.c (t3): New function.
41859         (main): Call it.
41861 2014-05-01  Steve Ellcey  <sellcey@mips.com>
41863         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
41864         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
41865         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
41866         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
41868 2014-05-01  Steve Ellcey  <sellcey@mips.com>
41870         * stdlib/longlong.h: Updated from GCC.
41872 2014-05-01  Will Newton  <will.newton@linaro.org>
41873             Bernard Ogden  <bernie.ogden@linaro.org>
41875         * NEWS: Update fixed bug list.
41877         [BZ #15119]
41878         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
41880 2014-04-30  David S. Miller  <davem@davemloft.net>
41882         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
41883         (libc_feholdexcept_setround_sparc_ctx): New function.
41884         (libc_fesetenv_sparc_ctx): Likewise.
41885         (libc_feupdateenv_sparc_ctx): Likewise.
41886         (libc_feholdsetround_sparc_ctx): Likewise.
41887         (libc_feholdexcept_setround_ctx): Define.
41888         (libc_feholdexcept_setroundf_ctx): Likewise.
41889         (libc_feholdexcept_setroundl_ctx): Likewise.
41890         (libc_fesetenv_ctx): Likewise.
41891         (libc_fesetenvf_ctx): Likewise.
41892         (libc_fesetenvl_ctx): Likewise.
41893         (libc_feupdateenv_ctx): Likewise.
41894         (libc_feupdateenvf_ctx): Likewise.
41895         (libc_feupdateenvl_ctx): Likewise.
41896         (libc_feresetround_ctx): Likewise.
41897         (libc_feresetroundf_ctx): Likewise.
41898         (libc_feresetroundl_ctx): Likewise.
41899         (libc_feholdsetround_ctx): Likewise.
41900         (libc_feholdsetroundf_ctx): Likewise.
41901         (libc_feholdsetroundl_ctx): Likewise.
41903         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
41904         with __USE_GNU instead of XOPEN cpp guards.
41906         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
41907         0.
41909         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
41910         with XOPEN cpp guards.
41912 2014-04-30  Julian Brown  <julian@codesourcery.com>
41914         [BZ #16888]
41915         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
41916         handling.
41918 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
41920         [BZ #9894]
41921         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
41922         Change to 2.6.32.
41923         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
41924         * sysdeps/unix/sysv/linux/configure: Regenerated.
41925         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
41926         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
41927         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
41928         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
41929         * README: Update reference to required Linux kernel version.
41930         * manual/install.texi (Linux): Update reference to required Linux
41931         kernel headers version.
41932         * INSTALL: Regenerated.
41934         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
41935         header inclusion.
41936         [POSIX] (limits.h): Likewise.
41937         [POSIX] (math.h): Likewise.
41938         [POSIX] (sys/wait.h): Likewise.
41939         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
41940         function.
41941         [POSIX] (stddef.h): Do not allow header inclusion.
41943 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41945         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
41947 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
41949         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
41950         Return immediately after lll_futex_wake.
41952 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41954         [BZ #16791]
41955         * nscd/nscd-client.h (datahead_init_common): Initialize entire
41956         structure.
41957         (datahead_init_pos): Call datahead_init_common early.
41958         (datahead_init_neg): Likewise.
41960         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
41961         datahead_init_neg): New functions.
41962         * nscd/aicache.c (addhstaiX): Use them.
41963         * nscd/grpcache.c (cache_addgr): Likewise.
41964         * nscd/hstcache.c (cache_addhst): Likewise.
41965         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41966         * nscd/netgroupcache.c (do_notfound): Likewise.
41967         (addgetnetgrentX): Likewise.
41968         (addinnetgrX): Likewise.
41969         * nscd/pwdcache.c (cache_addpw): Likewise.
41970         * nscd/servicescache.c (cache_addserv): Likewise.
41972 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41973             Atsushi Onoe  <atsushi@onoe.org>
41975         [BZ #14308]
41976         [BZ #12994]
41977         [BZ #13651]
41978         * resolv/res_query.c (__libc_res_nsearch): Return if at least
41979         one response is valid.
41980         * resolv/res_send.c (send_dg): Check for validity of other
41981         response if the current response is a referral.
41983 2014-04-29  Steve Ellcey  <sellcey@mips.com>
41985         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
41987 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
41989         [BZ #16823]
41990         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
41991         Always divide by positive zero when computing -Inf result.
41992         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
41993         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
41995 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41997         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
41998         FPSCR if value do not change.
41999         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42000         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
42001         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
42002         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
42003         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
42004         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
42005         function.
42007 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
42009         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
42010         * sysdeps/unix/sysv/linux/hppa: Move directory from
42011         ports/systeps/unix/sysv/linux/hppa.
42012         * README: Update listing for hppa-*-linux-gnu.
42014 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
42016         [BZ #16754]
42017         * manual/stdio.texi (Hook functions): Fix types of stream hook
42018         functions.
42019         [BZ #16854]
42020         * socket/sys/socket.h: Fix typo in comment.
42022 2014-04-28  Wilco  <wdijkstr@arm.com>
42024         * sysdeps/arm/fenv_private.h: New file.
42025         * sysdeps/arm/math_private.h: New file.
42026         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
42028 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
42030         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
42031         with __int128_t.
42032         (La_x86_64_retval): Likewise.
42034 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
42036         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
42037         fpsr if value didn't change.
42038         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
42039         to fpcr if value didn't change.
42040         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
42041         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
42042         fpsr or fpcr if value didn't change.
42043         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
42044         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
42045         fpcr if value didn't change.
42046         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
42047         to fpsr if value didn't change.
42049 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
42051         * nptl/tst-sem3.c: Use test-skeleton.c
42052         (main): Rename to do_test.  Use return instead of
42053         exit.
42054         * nptl/tst-sem4.c: Use test-skeleton.c
42055         (main): Rename to do_test.
42057 2014-04-22  David S. Miller  <davem@davemloft.net>
42059         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
42060         (struct sigaction): New struct member __glibc_reserved0, change
42061         type of sa_flags to int.
42063 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
42065         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
42066         (COUNT_LEADING_ZEROS_0): Define for AArch64.
42068 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42070         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
42071         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
42073 2014-04-22  Will Newton  <will.newton@linaro.org>
42074             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
42076         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
42077         (__longjmp): Add longjmp and longjmp_target SystemTap
42078         probes.
42079         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
42080         (__sigsetjmp): Add setjmp SystemTap probe.
42082 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
42084         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
42085         match manual order.
42087 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42089         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
42091         * sysdeps/powerpc/fpu/fenv_private.h
42092         (libc_feholdexcept_setroundl_ctx): Define to
42093         libc_feholdexcept_setround_ppc_ctx.
42094         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
42095         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
42096         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
42097         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
42099 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
42101         * sysdeps/aarch64/math-tests.h: New file.
42103 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
42105         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
42106         New.
42107         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42108         Check and set bit_AVX2_Usable.
42109         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
42110         macro.
42111         (bit_AVX2): Likewise.
42112         (index_AVX2_Usable): Likewise.
42113         (CPUID_AVX2): Likewise.
42114         (HAS_AVX2): Likewise.
42116 2014-04-17  Will Newton  <will.newton@linaro.org>
42118         * manual/setjmp.texi (System V contexts): Add note that
42119         calling setcontext on a context created by a call to a
42120         signal handler is undefined.  Update text to note that
42121         setcontext from a signal handler is possible but not
42122         recommended.
42124         [BZ #16629]
42125         * stdlib/tst-setcontext.c: Include signal.h.
42126         (main): Check that the signal stack before and
42127         after swapcontext is the same.
42129         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
42130         Re-implement to restore registers in user code and avoid
42131         rt_sigreturn system call.
42133 2014-04-17  Wilco  <wdijkstr@arm.com>
42135         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
42136         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
42137         * math/test-fenv.c: Skip exception trap tests on targets which only
42138         support non-stop mode.
42140 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
42141             Wilco Dijkstra  <wilco.dijkstra@arm.com>
42143         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
42144         (libc_feholdsetround_aarch64_ctx)
42145         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
42146         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
42147         (libc_feresetround_ctx, libc_feresetroundf_ctx)
42148         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
42149         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
42150         (libc_feresetround_noexl_ctx): Define.
42152 2014-04-16  Richard Henderson  <rth@redhat.com>
42154         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
42156         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
42157         unwind tables.
42159         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
42160         const from the non-libc, non-ldso copy.
42162         * sysdeps/alpha/libm-test-ulps: Regenerate.
42164 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
42165             Wilco Dijkstra  <wilco.dijkstra@arm.com>
42167         * sysdeps/aarch64/fpu/math_private.h: New file.
42169 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
42171         * sysdeps/aarch64/libm-test-ulps: Regenerate.
42173 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
42175         [BZ #16275]
42176         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
42177         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
42178         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
42179         Intel MPX bound registers before _dl_profile_fixup.
42180         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
42181         registers after _dl_profile_fixup.  Save and restore bound
42182         registers bnd0/bnd1 when calling _dl_call_pltexit.
42183         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
42184         (LR_BND_OFFSET): Likewise.
42185         (LRV_BND0_OFFSET): Likewise.
42186         (LRV_BND1_OFFSET): Likewise.
42188 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42190         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
42191         to...
42192         * sysdeps/mach/hurd/i386/tls.h: ... here.
42193         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
42194         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
42195         fields.
42197 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42199         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
42201 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
42203         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42205 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
42207         [BZ #14770]
42208         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
42209         * sysdeps/s390/configure: Regenerate.
42211         [BZ #16824]
42212         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
42213         Set round-to-nearest internally to reduce error accumulation.
42215 2014-04-16  Alan Modra  <amodra@gmail.com>
42217         [BZ #16740]
42218         [BZ #16619]
42219         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
42220         * math/libm-test.inc (frexp_test_data): Add tests.
42221         * NEWS: Update fixed bug list.
42223 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42225         * benchtests/Makefile: Depend on libraries in build directory.
42226         (bench-math): Separate out math tests.
42227         (bench-pthread): Separate out pthread tests.
42228         (bench): Include math and pthread tests.
42230 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
42232         [BZ #16831]
42233         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
42234         _dl_debug_initialize.
42236         * configure.ac: Remove SELinux header check.
42237         * configure: Regenerate.
42238         * nscd/selinux.c (perms): Array of const char* to permission names.
42239         (nscd_request_avc_has_perm): Call security_deny_unknown to find
42240         default policy. Call string_to_security_class and string_to_av_perm to
42241         translate strings. Enforce default policy and call avs_has_perm with
42242         results of translated strings.
42244 2014-04-13  David S. Miller  <davem@davemloft.net>
42246         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42248 2014-04-12  Allan McRae  <allan@archlinux.org>
42250         [BZ #16838]
42251         * manual/string.texi (Collation Functions): Fix qsort argument
42252         order in example.
42253         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42255 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
42257         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
42258         Make the test a no-op if there are no exceptions defined.
42260 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
42262         * elf/Makefile (tests): make tst-dlopen-aout conditional on
42263         enable-hardcoded-path-in-tests
42265 2014-04-11  Will Newton  <will.newton@linaro.org>
42267         * benchtests/Makefile (extra-objs): Add json-lib.o.
42268         (bench-func): Tidy up JSON output.
42269         * benchtests/bench-skeleton.c: Include json-lib.h.
42270         (main): Use JSON library functions to do output of
42271         benchmark results.
42272         * benchtests/bench-timing-type.c (main): Output the
42273         timing type simply, leaving formatting to the user.
42274         * benchtests/json-lib.c: New file.
42275         * benchtests/json-lib.h: Likewise.
42277 2014-04-11  Torvald Riegel  <triegel@redhat.com>
42279         [BZ #15215]
42280         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
42281         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
42282         memory barriers.  Add comments.
42283         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
42284         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
42285         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
42286         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
42287         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
42288         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
42290 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
42292         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
42293         * sysdeps/s390/s390-64/configure.ac: ... this ...
42294         * sysdeps/s390/configure.ac: ... to here.
42295         * sysdeps/s390/s390-32/configure: Delete file.
42296         * sysdeps/s390/s390-64/configure: Delete file.
42297         * sysdeps/s390/configure: Regenerate.
42299 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
42301         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
42303 2014-04-11  Will Newton  <will.newton@linaro.org>
42305         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
42306         to zero if it is not defined elsewhere.  (mtrim): Test
42307         the value of MALLOC_DEBUG with #if rather than #ifdef.
42309 2014-04-10 Torvald Riegel  <triegel@redhat.com>
42311         * benchtests/pthread_once-inputs: New file.
42312         * benchtests/pthread_once-source.c: New file.
42313         * benchtests/README: Update documentation.
42315 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
42316             H.J. Lu  <hongjiu.lu@intel.com>
42318         [BZ #16275]
42319         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
42320         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
42321         * sysdeps/x86_64/configure: Regenerated.
42322         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
42323         macro.
42324         (REGISTER_SAVE_RAX): Likewise.
42325         (REGISTER_SAVE_RCX): Likewise.
42326         (REGISTER_SAVE_RDX): Likewise.
42327         (REGISTER_SAVE_RSI): Likewise.
42328         (REGISTER_SAVE_RDI): Likewise.
42329         (REGISTER_SAVE_R8): Likewise.
42330         (REGISTER_SAVE_R9): Likewise.
42331         (REGISTER_SAVE_BND0): Likewise.
42332         (REGISTER_SAVE_BND1): Likewise.
42333         (REGISTER_SAVE_BND2): Likewise.
42334         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
42335         bound registers when calling _dl_fixup.
42337 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42339         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
42340         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
42341         of its definition.
42342         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
42343         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
42344         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
42345         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
42346         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
42347         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
42348         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
42350 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
42352         [BZ #15514]
42353         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
42354         pathconf(_PC_NAME_MAX).
42356 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42358         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
42359         Remove macro usage.
42360         (__PTHREAD_SPINS): Move definition to ...
42361         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
42362         (__PTHREAD_SPINS): ... here.
42363         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42364         (__PTHREAD_SPIN): Likewise.
42365         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
42366         (__PTHREAD_SPIN): Likewise.
42367         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
42368         (__PTHREAD_SPIN): Likewise.
42369         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
42370         (__PTHREAD_SPIN): Likewise.
42371         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
42372         (__PTHREAD_SPIN): Likewise.
42373         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
42374         (__PTHREAD_SPIN): Likewise.
42375         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
42376         (__PTHREAD_SPIN): Likewise.
42377         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
42378         (__PTHREAD_SPIN): Likewise.
42379         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
42380         (__PTHREAD_SPIN): Likewise.
42381         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
42382         (__PTHREAD_SPIN): Likewise.
42383         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
42384         (__PTHREAD_SPIN): Likewise.
42385         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
42386         (__PTHREAD_SPIN): Likewise.
42388         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
42389         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
42390         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
42391         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
42392         imply folder.
42393         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
42394         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
42395         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
42396         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
42397         correct imply path.
42398         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
42399         strlen symbol for non multi-arch builds.
42400         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
42401         missing hidden_def and weak_alias.
42403 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
42405         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
42407 2014-04-07  Will Newton  <will.newton@linaro.org>
42409         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
42410         and contents.  [!_LIBC] Remove #ifndef and contents.
42411         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
42412         * string/memccpy.c (__memccpy): Use ANSI prototype.
42413         * string/memfrob.c (memfrob): Likewise.
42414         * string/strcoll.c (STRCOLL): Likewise.
42415         * string/strlen.c (strlen): Likewise.
42416         * string/strtok.c (STRTOK): Likewise.
42417         * string/strcat.c: Remove unused #include of memcopy.h.
42418         (strcat): Use ANSI prototype.
42419         * string/strchr.c: Remove unused #include of memcopy.h.
42420         (strchr): Use ANSI prototype.
42421         * string/strcmp.c: Remove unused #include of memcopy.h.
42422         (strcmp): Use ANSI prototype.
42423         * string/strcpy.c: Remove unused #include of memcopy.h.
42424         (strcpy): Use ANSI prototype.
42426 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42428         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
42429         * config.make.in (config-extra-cppflags): Set it from
42430         libc_extra_cppflags.
42431         * configure.ac (libc_extra_cflags): Make it accumulate over
42432         configure fragments.
42433         (libc_extra_cppflags): New flag.
42434         * configure. Regenerate.
42435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
42436         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
42437         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
42438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
42440         [BZ #16815]
42441         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
42442         result for FE_DOWNWARD rounding mode.
42443         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
42444         Likewise.
42445         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42447 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
42449         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
42450         in function argument name.
42452 2014-04-03  David Svoboda  <svoboda@cert.org>
42454         [BZ #5666]
42455         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
42456         explicitly.
42458 2014-04-03  Roland McGrath  <roland@hack.frob.com>
42460         * elf/dl-unmap-segments.h: New file.
42461         * sysdeps/generic/ldsodefs.h
42462         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
42463         * elf/dl-close.c: Include <dl-unmap-segments.h>.
42464         * elf/dl-fptr.c: Likewise.
42465         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
42466         * sysdeps/aarch64/tlsdesc.c: Likewise.
42467         * sysdeps/arm/tlsdesc.c: Likewise.
42468         * sysdeps/i386/tlsdesc.c: Likewise.
42469         * sysdeps/tile/dl-runtime.c: Likewise.
42470         * sysdeps/x86_64/tlsdesc.c: Likewise.
42471         * elf/dl-load.h: New file.
42472         * elf/dl-load.c: Include it.
42473         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
42474         Macros moved to dl-load.h.
42475         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
42476         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
42477         Use _dl_unmap_segments in place of __munmap.
42478         Break out segment-mapping loop into ...
42479         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
42481 2014-04-03  Will Newton  <will.newton@linaro.org>
42483         * elf/dl-lookup.c (do_lookup_x): Remove comment
42484         referring to nested function and move variable
42485         declarations down to before first use.
42487 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
42489         [BZ #16799]
42490         [BZ #16800]
42491         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
42492         with 0 numerator.
42493         * math/s_catanf.c (__catanf): Likewise.
42494         * math/s_catanh.c (__catanh): Likewise.
42495         * math/s_catanhf.c (__catanhf): Likewise.
42496         * math/s_catanhl.c (__catanhl): Likewise.
42497         * math/s_catanl.c (__catanl): Likewise.
42498         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
42499         by positive zero when computing -Inf result.
42500         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
42501         (catanh_test): Likewise.
42502         * sysdeps/i386/fpu/libm-test-ulps: Update.
42503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42505         [BZ #16789]
42506         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
42507         instead of using underflowing value in computing result.
42508         * math/s_clog10.c (__clog10): Likewise.
42509         * math/s_clog10f.c (__clog10f): Likewise.
42510         * math/s_clog10l.c (__clog10l): Likewise.
42511         * math/s_clogf.c (__clogf): Likewise.
42512         * math/s_clogl.c (__clogl): Likewise.
42513         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
42514         (clog10_test): Likewise.
42515         * sysdeps/i386/fpu/libm-test-ulps: Update.
42516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42518 2014-04-02  Alan Modra  <amodra@gmail.com>
42520         [BZ #16739]
42521         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
42522         output when value is near a power of two.  Use int64_t for lx and
42523         remove casts.  Use decimal rather than hex exponent constants.
42524         Don't use long double multiplication when double will suffice.
42525         * math/libm-test.inc (nextafter_test_data): Add tests.
42526         * NEWS: Add 16739 and 16786 to bug list.
42528         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
42530         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
42532 2014-04-01  Will Newton  <will.newton@linaro.org>
42534         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
42535         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
42537 2014-04-01  Florian Weimer  <fweimer@redhat.com>
42539         [BZ #13347]
42540         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
42541         * nptl/tst-setuid2.c: New file.
42542         * nptl/Makefile (xtests): Add tst-setuid2.
42544 2014-04-01  Alan Modra  <amodra@gmail.com>
42546         [BZ #16786]
42547         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
42549 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
42551         [BZ #6803]
42552         [BZ #6804]
42553         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
42554         set errno as appropriate.
42555         * math/w_scalbf.c (__scalbf): Likewise.
42556         * math/w_scalbl.c (__scalbl): Likewise.
42557         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
42558         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
42559         * math/libm-test.inc (scalb_test_data): Add errno expectations.
42560         Add more NaN tests.
42562         [BZ #16349]
42563         * math/w_atan2.c: Include <errno.h>.
42564         (__atan2): Set errno for result underflowing to zero.
42565         * math/w_atan2f.c: Include <errno.h>.
42566         (__atan2f): Set errno for result underflowing to zero.
42567         * math/w_atan2l.c: Include <errno.h>.
42568         (__atan2l): Set errno for result underflowing to zero.
42569         * math/auto-libm-test-in: Don't allow missing errno for some atan2
42570         tests.
42571         * math/auto-libm-test-out: Regenerated.
42573 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42575         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
42576         Encode instruction correctly in little endian.
42577         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
42578         Likewise.
42579         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
42580         Likewise.
42581         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
42582         Likewise.
42583         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
42584         Likewise.
42586 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
42588         [BZ #9894]
42589         * sysdeps/unix/sysv/linux/kernel-features.h
42590         [__sparc__ && !__arch64__ && !__sparc_v9__]
42591         (__ASSUME_SET_ROBUST_LIST): Do not define.
42592         [__sparc__ && !__arch64__ && !__sparc_v9__]
42593         (__ASSUME_FUTEX_LOCK_PI): Likewise.
42594         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
42595         Likewise.
42596         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42597         (__ASSUME_FUTEX_LOCK_PI): Undefine.
42598         (__ASSUME_REQUEUE_PI): Likewise.
42599         (__ASSUME_SET_ROBUST_LIST): Likewise.
42600         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42601         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
42602         Undefine.
42603         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42604         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
42605         Likewise.
42606         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
42607         Likewise.
42608         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
42609         Likewise.
42610         * sysdeps/unix/sysv/linux/mips/kernel-features.h
42611         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
42612         Undefine.
42613         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
42614         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
42615         Likewise.
42617         [BZ #16648]
42618         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42619         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
42620         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
42622 2014-03-31  Will Newton  <will.newton@linaro.org>
42624         * benchtests/Makefile (bench): Add ffs and ffsll to list
42625         of tests.
42626         * benchtests/ffs-inputs: New file.
42627         * benchtests/ffsll-inputs: Likewise.
42629 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
42631         [BZ #16770]
42632         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
42633         too large before casting to int.
42634         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
42635         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
42636         * math/libm-test.inc (scalb_test_data): Add more tests.
42638 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42640         * benchtests/Makefile (DETAILED_OPT): New make option.
42641         (bench-func): Run benchmark program with -d if DETAILED_OPT is
42642         set.
42643         * benchtests/bench-skeleton.c: Include stdbool.h.
42644         (main): Store and print timings per input.
42645         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
42646         member to each argument value.
42647         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
42648         (_print_arg_data): Initialize per-input timing to 0.
42650         * benchtests/Makefile (timing-type): New binary.
42651         (bench-clean): Also remove bench-timing-type.
42652         (bench): New target for timing-type.
42653         (bench-func): Print output in JSON format.
42654         * benchtests/bench-skeleton.c (main): Print output in JSON
42655         format.
42656         * benchtests/bench-timing-type.c: New file.
42657         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
42658         (TIMING_PRINT_STATS): Remove.
42659         * benchtests/scripts/bench.py (_print_arg_data): Store variant
42660         name separately.
42662         * benchtests/bench-modf.c: Remove.
42663         * benchtests/modf-inputs: New inputs file.
42665 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
42667         [BZ #16362]
42668         * math/s_clog10.c (M_PI_LOG10E): New macro.
42669         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
42670         imaginary parts are 0.
42671         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
42672         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
42673         imaginary parts are 0.
42674         * math/s_clog10l.c (M_PI_LOG10El): New macro.
42675         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
42676         imaginary parts are 0.
42677         * math/libm-test.inc (clog10_test_data): Update expected results
42678         for when real and imaginary parts are 0.
42680 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
42682         * elf/dl-load.c: Finish conversion of __builtin_expect into
42683         __glibc_{un}likely.
42685 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
42687         [BZ #16348]
42688         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
42689         1+x for argument with exponent below -67.
42690         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
42691         Likewise.
42692         * math/auto-libm-test-in: Add more tests of exp.
42693         * math/auto-libm-test-out: Regenerated.
42695 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42697         [BZ #16759]
42698         * inet/getnetgrent_r.c (get_nonempty_val): New function.
42699         (nscd_getnetgrent): Use it.
42701         [BZ #16760]
42702         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
42703         of stpcpy.
42705 2014-03-27  Andi Kleen  <ak@linux.intel.com>
42707         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
42708         (lll_robust_lock, lll_cond_lock, lll_timedlock)
42709         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
42710         (lll_robust_unlock): Remove out of line section. Use cfi
42711         intrinsics.
42712         (LLL_STUB_UNWIND_INFO*): Remove.
42713         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
42714         (lll_robust_lock, lll_cond_lock, lll_timedlock)
42715         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
42716         (lll_robust_unlock): Remove out of line section. Use cfi
42717         intrinsics.
42718         (LLL_STUB_UNWIND_INFO*): Remove.
42720 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42722         [BZ #16758]
42723         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
42724         blank values.
42726 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
42728         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
42730 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
42732         [BZ #16198]
42733         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
42734         fnstenv.
42735         * math/test-fenv-preserve.c: New file.
42736         * math/Makefile (tests): Add test-fenv-preserve.
42738 2014-03-26  Will Newton <will.newton@linaro.org>
42740         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
42742 2014-03-25  Roland McGrath  <roland@hack.frob.com>
42744         * scripts/versionlist.awk: Partition the version sets and emit all
42745         GLIBC_* (sorted) before all others (sorted).
42747 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
42749         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
42750         GLIBC_2.2.5 version.
42752 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42754         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
42755         calls.
42757         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
42758         previous change.
42760         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42762 2014-03-25  Andreas Schwab  <schwab@suse.de>
42764         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
42765         label to be used after in6ailist is initialized.
42767 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42769         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
42770         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
42772 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
42774         [BZ #16357]
42775         [BZ #16599]
42776         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
42777         min_plus_half.
42778         (fp_formats): Update initializers.
42779         (init_fp_formats): Initialize new field.
42780         (output_for_one_input_case): Allow underflow for results up to
42781         min_plus_half.
42782         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
42783         * math/auto-libm-test-in: Don't mark some underflows from asin and
42784         atanh as spurious.
42785         * math/auto-libm-test-out: Regenerated.
42786         * sysdeps/i386/fpu/libm-test-ulps: Update.
42787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42789 2014-03-25  Andreas Schwab  <schwab@suse.de>
42791         * libio/Makefile (tst-ftell-partial-wide-ENV)
42792         (tst-ftell-active-handler-ENV): Define.
42794 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
42796         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
42798 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
42800         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
42802 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
42804         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
42805         * sysdeps/x86_64/fpu/multiarch/e_exp.c
42806         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
42808 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
42810         [BZ #16634]
42811         * elf/dl-load.c (open_verify): Add mode parameter.
42812         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
42813         (open_path): Change from boolean 'secure' to complete flag 'mode'
42814         (_dl_map_object): Adjust.
42815         * elf/Makefile (tests): Add tst-dlopen-aout.
42816         * elf/tst-dlopen-aout.c: New test.
42818 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
42820         [BZ #16714]
42821         * sysdeps/unix/sysv/linux/s390/bits/stat.h
42822         (struct stat): Rename member pad0 to __glibc_reserved0.
42824         [BZ #16712]
42825         * sysdeps/s390/s390-32/bits/wordsize.h
42826         (__WORDSIZE32_SIZE_ULONG): New define.
42827         * sysdeps/s390/s390-64/bits/wordsize.h
42828         (__WORDSIZE32_SIZE_ULONG): Likewise.
42829         * sysdeps/generic/stdint.h (SIZE_MAX):
42830         Define as UL if __WORDSIZE32_SIZE_ULONG.
42832         [BZ #16713]
42833         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
42834         (__glibc_reserved0): New variable.
42835         (sa_flags): Change type to int.
42837         * posix/Makefile (before-compile): Use += before-compile instead
42838         of a :=.
42840         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42841         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
42843 2014-03-20  Andreas Schwab  <schwab@suse.de>
42845         [BZ #16743]
42846         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
42847         non-matching result from nscd.
42849 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42851         * scripts/bench.py: Moved to ...
42852         * benchtests/scripts/bench.py: ... here.
42853         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
42855 2014-03-24  Andreas Schwab  <schwab@suse.de>
42857         [BZ #16002]
42858         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
42859         alloca_account and account alloca use for struct in6ailist.
42861 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
42863         [BZ #16284]
42864         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
42865         rounding mode to recompute results that overflow to infinity or
42866         underflow to zero.
42867         * math/auto-libm-test-in: Don't mark tests as expected to fail for
42868         bug 16284.
42869         * math/auto-libm-test-out: Regenerated.
42870         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
42871         (ccosh_test): Likewise.
42872         (csin_test_data): Use plus_oflow.
42873         (csin_test): Use ALL_RM_TEST.
42874         (csinh_test_data): Use plus_oflow.
42875         (csinh_test): Use ALL_RM_TEST.
42876         * sysdeps/i386/fpu/libm-test-ulps: Update.
42877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42879 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
42881         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
42882         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
42883         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
42885         [BZ #16731]
42886         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
42887         when x - 1 is zero.
42888         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
42889         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
42890         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
42891         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
42892         argument is 1.
42893         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
42894         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
42895         zero.
42896         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
42897         * sysdeps/i386/fpu/libm-test-ulps: Update.
42898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42900 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42902         * scripts/bench.pl: Remove file.
42903         * scripts/bench.py: New benchmark script.
42904         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
42905         * benchtests/README: Mention python dependency.
42906         * scripts/pylintrc: New file.
42907         * scripts/pylint: New file.
42909         * bits/mathdef.h: Use #ifdef instead of #if.
42910         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
42911         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42912         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
42913         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42914         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
42915         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42917 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42918             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42920         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
42921         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
42922         and strpbrk-ppc64 objects.
42923         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42924         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
42925         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
42926         multiarch strpbrk for POWER7.
42927         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
42928         multiarch strpbrk for PPC64.
42929         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
42930         ifunc selector.
42931         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
42932         strpbrk for POWER7.
42934 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
42936         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
42937         (atan_test): Likewise.
42938         (atanh_test_data): Use NO_TEST_INLINE for two tests.
42939         (atanh_test): Use ALL_RM_TEST.
42940         (atan2_test_data): Likewise.
42941         (cabs_test): Likewise.
42942         (cacosh_test): Likewise.
42943         (carg_test): Likewise.
42944         (casin_test): Likewise.
42945         (casinh_test): Likewise.
42946         (cbrt_test): Likewise.
42947         (csqrt_test): Likewise.
42948         (erf_test): Likewise.
42949         (erfc_test): Likewise.
42950         (pow10_test): Likewise.
42951         (exp2_test): Likewise.
42952         (hypot_test): Likewise.
42953         (j0_test): Likewise.
42954         (j1_test): Likewise.
42955         (lgamma_test): Likewise.
42956         (gamma_test): Likewise.
42957         (sincos_test): Likewise.
42958         (tanh_test): Likewise.
42959         (y0_test): Likewise.
42960         (y1_test): Likewise.
42961         * sysdeps/i386/fpu/libm-test-ulps: Update.
42962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42964 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42966         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
42967         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
42968         and strcspn-ppc64 objects.
42969         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42970         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
42971         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
42972         multiarch strcspn for POWER7.
42973         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
42974         multiarch strcspn for PPC64.
42975         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
42976         ifunc selector.
42977         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
42978         strcspn for POWER7.
42980 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
42982         * math/gen-libm-test.pl (generate_testfile): Expect only function
42983         name as argument to AUTO_TESTS_* and pass results for all rounding
42984         modes to parse_args.
42985         (parse_auto_input): Separate inputs of automatic tests from
42986         outputs before storing in %auto_tests.
42987         * math/libm-test.inc (acos_test_data): Update call to
42988         AUTO_TESTS_f_f.
42989         (acos_test): Use ALL_RM_TEST.
42990         (acos_tonearest_test_data): Remove.
42991         (acos_test_tonearest): Likewise.
42992         (acos_towardzero_test_data): Likewise.
42993         (acos_test_towardzero): Likewise.
42994         (acos_downward_test_data): Likewise.
42995         (acos_test_downward): Likewise.
42996         (acos_upward_test_data): Likewise.
42997         (acos_test_upward): Likewise.
42998         (acosh_test_data): Update call to AUTO_TESTS_f_f.
42999         (asin_test_data): Likewise.
43000         (asin_test): Use ALL_RM_TEST.
43001         (asin_tonearest_test_data): Remove.
43002         (asin_test_tonearest): Likewise.
43003         (asin_towardzero_test_data): Likewise.
43004         (asin_test_towardzero): Likewise.
43005         (asin_downward_test_data): Likewise.
43006         (asin_test_downward): Likewise.
43007         (asin_upward_test_data): Likewise.
43008         (asin_test_upward): Likewise.
43009         (asinh_test_data): Update call to AUTO_TESTS_f_f.
43010         (atan_test_data): Likewise.
43011         (atanh_test_data): Likewise.
43012         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
43013         (cabs_test_data): Update call to AUTO_TESTS_c_f.
43014         (carg_test_data): Likewise.
43015         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
43016         (ccos_test_data): Update call to AUTO_TESTS_c_c.
43017         (ccosh_test_data): Likewise.
43018         (cexp_test_data): Likewise.
43019         (clog_test_data): Likewise.
43020         (clog10_test_data): Likewise.
43021         (cos_test_data): Update call to AUTO_TESTS_f_f.
43022         (cos_test): Use ALL_RM_TEST.
43023         (cos_tonearest_test_data): Remove.
43024         (cos_test_tonearest): Likewise.
43025         (cos_towardzero_test_data): Likewise.
43026         (cos_test_towardzero): Likewise.
43027         (cos_downward_test_data): Likewise.
43028         (cos_test_downward): Likewise.
43029         (cos_upward_test_data): Likewise.
43030         (cos_test_upward): Likewise.
43031         (cosh_test_data): Update call to AUTO_TESTS_f_f.
43032         (cosh_test): Use ALL_RM_TEST.
43033         (cosh_tonearest_test_data): Remove.
43034         (cosh_test_tonearest): Likewise.
43035         (cosh_towardzero_test_data): Likewise.
43036         (cosh_test_towardzero): Likewise.
43037         (cosh_downward_test_data): Likewise.
43038         (cosh_test_downward): Likewise.
43039         (cosh_upward_test_data): Likewise.
43040         (cosh_test_upward): Likewise.
43041         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
43042         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
43043         (ctan_test_data): Likewise.
43044         (ctan_test): Use ALL_RM_TEST.
43045         (ctan_tonearest_test_data): Remove.
43046         (ctan_test_tonearest): Likewise.
43047         (ctan_towardzero_test_data): Likewise.
43048         (ctan_test_towardzero): Likewise.
43049         (ctan_downward_test_data): Likewise.
43050         (ctan_test_downward): Likewise.
43051         (ctan_upward_test_data): Likewise.
43052         (ctan_test_upward): Likewise.
43053         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
43054         (ctanh_test): Use ALL_RM_TEST.
43055         (ctanh_tonearest_test_data): Remove.
43056         (ctanh_test_tonearest): Likewise.
43057         (ctanh_towardzero_test_data): Likewise.
43058         (ctanh_test_towardzero): Likewise.
43059         (ctanh_downward_test_data): Likewise.
43060         (ctanh_test_downward): Likewise.
43061         (ctanh_upward_test_data): Likewise.
43062         (ctanh_test_upward): Likewise.
43063         (erf_test_data): Update call to AUTO_TESTS_f_f.
43064         (erfc_test_data): Likewise.
43065         (exp_test_data): Likewise.
43066         (exp_test): Use ALL_RM_TEST.
43067         (exp_tonearest_test_data): Remove.
43068         (exp_test_tonearest): Likewise.
43069         (exp_towardzero_test_data): Likewise.
43070         (exp_test_towardzero): Likewise.
43071         (exp_downward_test_data): Likewise.
43072         (exp_test_downward): Likewise.
43073         (exp_upward_test_data): Likewise.
43074         (exp_test_upward): Likewise.
43075         (exp10_test_data): Update call to AUTO_TESTS_f_f.
43076         (exp10_test): Use ALL_RM_TEST.
43077         (exp10_tonearest_test_data): Remove.
43078         (exp10_test_tonearest): Likewise.
43079         (exp10_towardzero_test_data): Likewise.
43080         (exp10_test_towardzero): Likewise.
43081         (exp10_downward_test_data): Likewise.
43082         (exp10_test_downward): Likewise.
43083         (exp10_upward_test_data): Likewise.
43084         (exp10_test_upward): Likewise.
43085         (exp2_test_data): Update call to AUTO_TESTS_f_f.
43086         (expm1_test_data): Likewise.
43087         (expm1_test): Use ALL_RM_TEST.
43088         (expm1_tonearest_test_data): Remove.
43089         (expm1_test_tonearest): Likewise.
43090         (expm1_towardzero_test_data): Likewise.
43091         (expm1_test_towardzero): Likewise.
43092         (expm1_downward_test_data): Likewise.
43093         (expm1_test_downward): Likewise.
43094         (expm1_upward_test_data): Likewise.
43095         (expm1_test_upward): Likewise.
43096         (fma_test_data): Update call to AUTO_TESTS_fff_f.
43097         (fma_test): Use ALL_RM_TEST.
43098         (fma_towardzero_test_data): Remove.
43099         (fma_test_towardzero): Likewise.
43100         (fma_downward_test_data): Likewise.
43101         (fma_test_downward): Likewise.
43102         (fma_upward_test_data): Likewise.
43103         (fma_test_upward): Likewise.
43104         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
43105         (j0_test_data): Update call to AUTO_TESTS_f_f.
43106         (j1_test_data): Likewise.
43107         (jn_test_data): Update call to AUTO_TESTS_if_f.
43108         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
43109         (log_test_data): Update call to AUTO_TESTS_f_f.
43110         (log10_test_data): Likewise.
43111         (log1p_test_data): Likewise.
43112         (log2_test_data): Likewise.
43113         (pow_test_data): Update call to AUTO_TESTS_ff_f.
43114         (pow_tonearest_test_data): Likewise.
43115         (sin_test_data): Update call to AUTO_TESTS_f_f.
43116         (sin_test): Use ALL_RM_TEST.
43117         (sin_tonearest_test_data): Remove.
43118         (sin_test_tonearest): Likewise.
43119         (sin_towardzero_test_data): Likewise.
43120         (sin_test_towardzero): Likewise.
43121         (sin_downward_test_data): Likewise.
43122         (sin_test_downward): Likewise.
43123         (sin_upward_test_data): Likewise.
43124         (sin_test_upward): Likewise.
43125         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
43126         (sinh_test_data): Update call to AUTO_TESTS_f_f.
43127         (sinh_test): Use ALL_RM_TEST.
43128         (sinh_tonearest_test_data): Remove.
43129         (sinh_test_tonearest): Likewise.
43130         (sinh_towardzero_test_data): Likewise.
43131         (sinh_test_towardzero): Likewise.
43132         (sinh_downward_test_data): Likewise.
43133         (sinh_test_downward): Likewise.
43134         (sinh_upward_test_data): Likewise.
43135         (sinh_test_upward): Likewise.
43136         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
43137         (sqrt_test): Use ALL_RM_TEST.
43138         (sqrt_tonearest_test_data): Remove.
43139         (sqrt_test_tonearest): Likewise.
43140         (sqrt_towardzero_test_data): Likewise.
43141         (sqrt_test_towardzero): Likewise.
43142         (sqrt_downward_test_data): Likewise.
43143         (sqrt_test_downward): Likewise.
43144         (sqrt_upward_test_data): Likewise.
43145         (sqrt_test_upward): Likewise.
43146         (tan_test_data): Update call to AUTO_TESTS_f_f.
43147         (tan_test): Use ALL_RM_TEST.
43148         (tan_tonearest_test_data): Remove.
43149         (tan_test_tonearest): Likewise.
43150         (tan_towardzero_test_data): Likewise.
43151         (tan_test_towardzero): Likewise.
43152         (tan_downward_test_data): Likewise.
43153         (tan_test_downward): Likewise.
43154         (tan_upward_test_data): Likewise.
43155         (tan_test_upward): Likewise.
43156         (tanh_test_data): Update call to AUTO_TESTS_f_f.
43157         (tgamma_test_data): Likewise.
43158         (y0_test_data): Likewise.
43159         (y1_test_data): Likewise.
43160         (yn_test_data): Update call to AUTO_TESTS_if_f.
43161         (main): Do not call removed functions.
43163 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
43165         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
43166         (ldexp_test_data): Remove.
43167         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
43168         scalbn_test_data.
43169         (scalb_test): Use ALL_RM_TEST.
43171 2014-03-19  Andreas Schwab  <schwab@suse.de>
43173         * nscd/nscd.service: Also invalidate netgroup cache on reload.
43175 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
43177         [BZ #16649]
43178         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43179         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
43180         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
43181         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43182         (__ASSUME_PREADV): Undefine.
43183         (__ASSUME_PWRITEV): Likewise.
43185 2014-03-18  Roland McGrath  <roland@hack.frob.com>
43187         * bits/mman-linux.h: Add comment about non-Linux use.
43188         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
43189         bits/mman-linux.h resting place.
43191         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
43192         * bits/mman-linux.h: ... here.
43194 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43196         * conform/conformtest.pl: Add standard definition when calling C
43197         preprocessor on data files.
43198         (checknamespace): Remove unused variable.
43200 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
43202         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
43203         minus_oflow, plus_uflow and minus_uflow in expected results.
43204         * math/libm-test.inc (scalbn_test_data): Add more tests of
43205         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
43206         minus_uflow.
43207         (scalbn_test): Use ALL_RM_TEST.
43208         (scalbln_test_data): Add more tests of negative arguments.  Use
43209         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
43210         (scalbln_test): Use ALL_RM_TEST.
43212 2014-03-18  Roland McGrath  <roland@hack.frob.com>
43214         * scripts/abilist.awk: Ignore symbols marked with .hidden.
43216 2014-03-18  Will Newton  <will.newton@linaro.org>
43218         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
43219         inaccurate comment.
43221 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
43223         * Makerules [!subdir] (check-abi): Exit with error status if a
43224         test failed.
43226 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
43228         * math/libm-test.inc (nearbyint_test_data): Include all tests used
43229         for rint.  Include results for all rounding modes.
43230         (nearbyint_test): Use ALL_RM_TEST.
43231         (rint_test_data): Include all tests used for nearbyint.
43233 2014-03-17  Will Newton  <will.newton@linaro.org>
43235         * nptl/sysdeps/pthread/pthread.h: Revert previous
43236         change.
43238         * sysdeps/generic/ldsodefs.h: Revert previous
43239         change.
43241         * libio/genops.c: Revert previous change.
43242         * libio/libioP.h: Likewise.
43243         * stdio-common/vfprintf.c: Likewise.
43245         * sysdeps/generic/math_private.h: Revert previous
43246         change.
43248         * sysdeps/generic/math_private.h: Check whether
43249         HAVE_RM_CTX is defined with #ifdef rather
43250         than #if.
43252         * argp/argp-fmtstream.h: Check whether
43253         __STRICT_ANSI__ is defined with #ifdef rather
43254         than #if.
43255         * argp/argp.h: Likewise.
43257         * libio/genops.c: Check whether
43258         _IO_JUMPS_OFFSET is defined with #ifdef rather
43259         than #if.
43260         * libio/libioP.h: Likewise.
43261         * stdio-common/vfprintf.c: Likewise.
43263         * sysdeps/generic/ldsodefs.h: Check whether
43264         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
43265         than #if.
43267         * nptl/sysdeps/pthread/pthread.h: Check
43268         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
43269         its value.
43271 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
43273         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
43274         setting O_APPEND.
43275         * libio/tst-ftell-active-handler.c (do_append_test): Add a
43276         test case.
43278         [BZ #16680]
43279         * libio/fileops.c (_IO_file_open): Seek to end of file but
43280         don't cache the offset.
43281         (get_file_offset): Remove function.
43282         (do_ftell): Use cached offset when available.
43283         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
43284         don't cache the offset.
43285         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
43286         case.
43287         (do_one_test): Call it.
43288         (do_ftell_test): Fix up expected old offset for a+ mode.
43289         * libio/wfileops.c (do_ftell_wide): Used cached offset when
43290         available.
43292         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
43293         up test status with function return status.
43294         (do_write_test): Likewise.
43295         (do_append_test): Likewise.
43297         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
43298         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
43299         Remove.
43301 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
43303         * math/gen-libm-test.pl (parse_args): Handle results specified for
43304         each rounding mode separately.
43305         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
43306         tests and results from lrint_tonearest_test_data,
43307         lrint_towardzero_test_data, lrint_downward_test_data and
43308         lrint_upward_test_data.
43309         (lrint_test): Use ALL_RM_TEST.
43310         (lrint_tonearest_test_data): Remove.
43311         (lrint_test_tonearest): Likewise.
43312         (lrint_towardzero_test_data): Likewise.
43313         (lrint_test_towardzero): Likewise.
43314         (lrint_downward_test_data): Likewise.
43315         (lrint_test_downward): Likewise.
43316         (lrint_upward_test_data): Likewise.
43317         (lrint_test_upward): Likewise.
43318         (llrint_test_data): Merge in per-rounding-mode tests and results
43319         from llrint_tonearest_test_data, llrint_towardzero_test_data,
43320         llrint_downward_test_data and llrint_upward_test_data.
43321         (llrint_test): Use ALL_RM_TEST.
43322         (llrint_tonearest_test_data): Remove.
43323         (llrint_test_tonearest): Likewise.
43324         (llrint_towardzero_test_data): Likewise.
43325         (llrint_test_towardzero): Likewise.
43326         (llrint_downward_test_data): Likewise.
43327         (llrint_test_downward): Likewise.
43328         (llrint_upward_test_data): Likewise.
43329         (llrint_test_upward): Likewise.
43330         (rint_test_data): Merge in per-rounding-mode tests and results
43331         from rint_tonearest_test_data, rint_towardzero_test_data,
43332         rint_downward_test_data and rint_upward_test_data.  Add
43333         per-rounding-mode results for tests not in those arrays.
43334         (rint_test): Use ALL_RM_TEST.
43335         (rint_tonearest_test_data): Remove.
43336         (rint_test_tonearest): Likewise.
43337         (rint_towardzero_test_data): Likewise.
43338         (rint_test_towardzero): Likewise.
43339         (rint_downward_test_data): Likewise.
43340         (rint_test_downward): Likewise.
43341         (rint_upward_test_data): Likewise.
43342         (rint_test_upward): Likewise.
43343         (main): Don't call removed functions.
43345 2014-03-14  Roland McGrath  <roland@hack.frob.com>
43347         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
43348         "Compiled on ..." crapola.  It is anti-useful.
43350 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
43352         * scripts/evaluate-test.sh: Handle fourth argument to determine
43353         whether test run should stop on failure.
43354         * Makeconfig (stop-on-test-failure): New variable.
43355         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
43356         $(stop-on-test-failure).
43357         * Makefile (tests): Give a summary of results from testing and
43358         exit with failure status if they include an ERROR or FAIL.
43359         (xtests): Likewise.
43360         * manual/install.texi (Configuring and compiling): Mention
43361         stop-on-test-failure=y.
43362         * INSTALL: Regenerated.
43364 2014-03-14  Roland McGrath  <roland@hack.frob.com>
43366         * scripts/versionlist.awk: New file.
43367         * Makerules [$(build-shared) = yes]
43368         (postclean-generated): Add Versions.def, not Versions.def.v and
43369         Versions.def.v.i.
43370         ($(common-objpfx)Versions.def.v.i): Target removed.
43371         ($(common-objpfx)Versions.def): New target.
43372         ($(common-objpfx)Versions.all): Depend on that rather that
43373         $(common-objpfx)Versions.def.v.
43374         * Versions.def: File removed.
43376         * Makeconfig (+gccwarn): Add -Wundef.
43377         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
43378         a dl-sysdep.h breaking its contract.
43379         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
43380         * include/stackinfo.h: New file.
43381         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
43382         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
43383         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
43384         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
43385         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
43386         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
43387         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43388         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43389         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43390         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43391         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43392         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
43393         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43394         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43395         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43397 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43399         [BZ #16707]
43400         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
43401         implementation.
43402         * math/libm-test.inc (round_test_data): Add more tests.
43404         [BZ #16706]
43405         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
43406         implementation.
43407         * math/libm-test.inc (nearbyint_test_data): Add more tests.
43409         [BZ #16701]
43410         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
43411         implementation.
43412         * math/libm-test.inc (ceil_test_data): Add more tests.
43414         * math/libm-test.inc (trunc_test_data): Add more tests related to
43415         BZ#16414.
43417 2014-03-14  Roland McGrath  <roland@hack.frob.com>
43419         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
43420         with #if rather than #ifdef.
43421         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
43423 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
43425         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
43426         first.  Disable AVX-512 GCC support if assembler doesn't support
43427         it.
43428         * sysdeps/x86_64/configure: Regenerated.
43430 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
43432         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
43433         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
43434         (__old_pthread_attr_setstack): Likewise.
43435         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
43436         [!_STACK_GROWS_DOWN]: Likewise.
43438 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
43440         * config.make.in (have-bash2): Delete.
43441         * configure.ac (libc_cv_have_bash2): Delete.
43442         * configure: Regenerate.
43443         * elf/Makefile (common-ldd-rewrite): Rename to ...
43444         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
43445         (sh-ldd-rewrite): Delete.
43446         (bash-ldd-rewrite): Delete.
43447         (have-bash2): Delete checks.
43448         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
43449         ldd-rewrite.
43451         * config.make.in (have-ksh): Delete.
43452         (KSH): Delete.
43453         * configure.ac (libc_cv_have_ksh): Delete.
43454         * configure: Regenerate.
43456         * elf/Makefile: Delete $(have-ksh) check.
43457         ($(objpfx)sotruss): Change KSH to BASH.
43458         * elf/sotruss.ksh: Rename to ...
43459         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
43460         function style to match POSIX.  Drop ksh vim mode setting.
43462         * manual/time.texi (Specifying the Time Zone with TZ): Change
43463         Tuesday to Thursday.
43465         * debug/tst-longjmp_chk2.c: Update header comment.
43466         (stackoverflow_handler): Add comment.  Call assert on pass value.
43468 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
43470         [BZ #16194]
43471         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
43472         (HAVE_AVX512_ASM_SUPPORT): Likewise.
43473         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
43474         (La_x86_64_vector): Add zmm.
43475         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
43476         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
43477         ($(objpfx)tst-audit10): New target.
43478         ($(objpfx)tst-audit10.out): Likewise.
43479         (tst-audit10-ENV): New.
43480         (AVX512-CFLAGS): Likewise.
43481         (CFLAGS-tst-audit10.c): Likewise.
43482         (CFLAGS-tst-auditmod10a.c): Likewise.
43483         (CFLAGS-tst-auditmod10b.c): Likewise.
43484         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
43485         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
43486         * sysdeps/x86_64/configure: Regenerated.
43487         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
43488         AVX-512 zmm register support.
43489         (_dl_x86_64_save_sse): Likewise.
43490         (_dl_x86_64_restore_sse): Likewise.
43491         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
43492         size vector registers.
43493         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
43494         (ZMM_SIZE): Likewise.
43495         * sysdeps/x86_64/tst-audit10.c: New file.
43496         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
43497         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
43499 2014-03-13  Roland McGrath  <roland@hack.frob.com>
43501         * configure.ac (HAVE_EHDR_START): New check.
43502         * configure: Regenerated.
43503         * config.h.in (HAVE_EHDR_START): New #undef.
43504         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
43505         assuming the lowest-addressed segment maps the start of the file.
43507 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
43509         * INSTALL: Regenerated.
43511 2014-03-13  Will Newton  <will.newton@linaro.org>
43513         * manual/setjmp.texi (System V contexts): Improve
43514         clarity and grammar of documentation.
43516 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
43518         [BZ #16381]
43519         * elf/Makefile (tests): Add tst-pie2.
43520         (tests-pie): Add tst-pie2.
43521         * elf/tst-pie2.c: New file.
43522         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
43523         for ET_EXEC.
43524         * elf/rtld.c (map_doit): Load executable as lt_executable.
43525         (dl_main): Likewise.
43527 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
43529         [BZ #16642]
43530         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43531         (__ASSUME_PSELECT): Undefine.
43533 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43535         [BZ #16689]
43536         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
43537         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
43538         static build.
43539         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
43540         selector for static builds.
43542 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43544         [BZ #16695]
43545         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
43546         key in the buffer.
43548 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43550         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
43551         IFUNC selector for static builds.
43553 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
43555         * sysdeps/mips/math_private.h [__mips_hard_float]
43556         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
43557         libc_feresetround_mips_ctx.
43558         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
43559         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
43560         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
43562         [BZ #16677]
43563         * math/s_nextafter.c (__nextafter): Do not return value from
43564         overflowing computation.
43565         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
43566         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
43567         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
43568         Likewise.
43569         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
43570         Likewise.
43571         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
43572         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
43574 2014-03-11  Roland McGrath  <roland@hack.frob.com>
43576         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
43577         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
43578         Move sfi_sp use from the load-multiple (that no longer sets sp) to
43579         the new mov targetting sp.
43581 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43583         [BZ #16683]
43584         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
43585         Define it for static builds as well.
43586         (NO_BZERO_IMPL): Likewise.
43588 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
43590         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
43591         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
43592         multiarch strspn for PPC64.
43593         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
43594         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
43595         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43596         (__libc_ifunc_impl_list): Likewise.
43597         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
43598         multiarch optimizations
43599         * string/strspn.c (strspn): Using macro to redefine symbol name.
43601 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
43602             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43604         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
43605         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
43606         multiarch strncat for PPC64.
43607         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
43608         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
43609         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43610         (__libc_ifunc_impl_list): Likewise.
43611         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
43612         multiarch optimizations
43614 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43616         [BZ #16639]
43617         * nscd/nscd.service: Make service type forking.
43619 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43621         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
43622         sign in non default rounding modes.
43623         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
43625 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
43627         * math/libm-test.inc (ALL_RM_TEST): New macro.
43628         (ceil_test): Use ALL_RM_TEST.
43629         (cimag_test): Likewise.
43630         (conj_test): Likewise.
43631         (copysign_test): Likewise.
43632         (cproj_test): Likewise.
43633         (creal_test): Likewise.
43634         (fabs_test): Likewise.
43635         (floor_test): Likewise.
43636         (fmax_test): Likewise.
43637         (fmin_test): Likewise.
43638         (fmod_test): Likewise.
43639         (fpclassify_test): Likewise.
43640         (frexp_test): Likewise.
43641         (ilogb_test): Likewise.
43642         (isfinite_test): Likewise.
43643         (finite_test): Likewise.
43644         (isgreater_test): Likewise.
43645         (isgreaterequal_test): Likewise.
43646         (isinf_test): Likewise.
43647         (isless_test): Likewise.
43648         (islessequal_test): Likewise.
43649         (islessgreater_test): Likewise.
43650         (isnan_test): Likewise.
43651         (isnormal_test): Likewise.
43652         (issignaling_test): Likewise.
43653         (isunordered_test): Likewise.
43654         (logb_test): Likewise.
43655         (logb_downward_test_data): Remove.
43656         (logb_test_downward): Likewise.
43657         (lround_test): Use ALL_RM_TEST.
43658         (llround_test): Likewise.
43659         (modf_test): Likewise.
43660         (nexttoward_test): Likewise.
43661         (remainder_test): Likewise.
43662         (drem_test): Likewise.
43663         (remainder_tonearest_test_data): Likewise.
43664         (remainder_test_tonearest): Likewise.
43665         (drem_test_tonearest): Likewise.
43666         (remainder_towardzero_test_data): Likewise.
43667         (remainder_test_towardzero): Likewise.
43668         (drem_test_towardzero): Likewise.
43669         (remainder_downward_test_data): Likewise.
43670         (remainder_test_downward): Likewise.
43671         (drem_test_downward): Likewise.
43672         (remainder_upward_test_data): Likewise.
43673         (remainder_test_upward): Likewise.
43674         (drem_test_upward): Likewise.
43675         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
43676         (round_test): Use ALL_RM_TEST.
43677         (signbit_test): Likewise.
43678         (trunc_test): Likewise.
43679         (significand_test): Likewise.
43680         (main): Don't call removed functions.
43682 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
43684         [BZ #16674]
43685         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
43686         || __USE_XOPEN2K8].
43687         (ILL_ILLOPN): Likewise.
43688         (ILL_ILLADR): Likewise.
43689         (ILL_ILLTRP): Likewise.
43690         (ILL_PRVOPC): Likewise.
43691         (ILL_PRVREG): Likewise.
43692         (ILL_COPROC): Likewise.
43693         (ILL_BADSTK): Likewise.
43694         (FPE_INTDIV): Likewise.
43695         (FPE_INTOVF): Likewise.
43696         (FPE_FLTDIV): Likewise.
43697         (FPE_FLTOVF): Likewise.
43698         (FPE_FLTUND): Likewise.
43699         (FPE_FLTRES): Likewise.
43700         (FPE_FLTINV): Likewise.
43701         (FPE_FLTSUB): Likewise.
43702         (SEGV_MAPERR): Likewise.
43703         (SEGV_ACCERR): Likewise.
43704         (BUS_ADRALN): Likewise.
43705         (BUS_ADRERR): Likewise.
43706         (BUS_OBJERR): Likewise.
43707         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43708         (TRAP_TRACE): Likewise.
43709         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43710         __USE_XOPEN2K8].
43711         (CLD_KILLED): Likewise.
43712         (CLD_DUMPED): Likewise.
43713         (CLD_TRAPPED): Likewise.
43714         (CLD_STOPPED): Likewise.
43715         (CLD_CONTINUED): Likewise.
43716         (POLL_IN): Likewise.
43717         (POLL_OUT): Likewise.
43718         (POLL_MSG): Likewise.
43719         (POLL_ERR): Likewise.
43720         (POLL_PRI): Likewise.
43721         (POLL_HUP): Likewise.
43722         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
43723         Likewise.
43724         (ILL_ILLOPN): Likewise.
43725         (ILL_ILLADR): Likewise.
43726         (ILL_ILLTRP): Likewise.
43727         (ILL_PRVOPC): Likewise.
43728         (ILL_PRVREG): Likewise.
43729         (ILL_COPROC): Likewise.
43730         (ILL_BADSTK): Likewise.
43731         (FPE_INTDIV): Likewise.
43732         (FPE_INTOVF): Likewise.
43733         (FPE_FLTDIV): Likewise.
43734         (FPE_FLTOVF): Likewise.
43735         (FPE_FLTUND): Likewise.
43736         (FPE_FLTRES): Likewise.
43737         (FPE_FLTINV): Likewise.
43738         (FPE_FLTSUB): Likewise.
43739         (SEGV_MAPERR): Likewise.
43740         (SEGV_ACCERR): Likewise.
43741         (BUS_ADRALN): Likewise.
43742         (BUS_ADRERR): Likewise.
43743         (BUS_OBJERR): Likewise.
43744         (BUS_MCEERR_AR): Likewise.
43745         (BUS_MCEERR_AO): Likewise.
43746         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43747         (TRAP_TRACE): Likewise.
43748         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43749         __USE_XOPEN2K8].
43750         (CLD_KILLED): Likewise.
43751         (CLD_DUMPED): Likewise.
43752         (CLD_TRAPPED): Likewise.
43753         (CLD_STOPPED): Likewise.
43754         (CLD_CONTINUED): Likewise.
43755         (POLL_IN): Likewise.
43756         (POLL_OUT): Likewise.
43757         (POLL_MSG): Likewise.
43758         (POLL_ERR): Likewise.
43759         (POLL_PRI): Likewise.
43760         (POLL_HUP): Likewise.
43761         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
43762         (ILL_ILLOPN): Likewise.
43763         (ILL_ILLADR): Likewise.
43764         (ILL_ILLTRP): Likewise.
43765         (ILL_PRVOPC): Likewise.
43766         (ILL_PRVREG): Likewise.
43767         (ILL_COPROC): Likewise.
43768         (ILL_BADSTK): Likewise.
43769         (FPE_INTDIV): Likewise.
43770         (FPE_INTOVF): Likewise.
43771         (FPE_FLTDIV): Likewise.
43772         (FPE_FLTOVF): Likewise.
43773         (FPE_FLTUND): Likewise.
43774         (FPE_FLTRES): Likewise.
43775         (FPE_FLTINV): Likewise.
43776         (FPE_FLTSUB): Likewise.
43777         (SEGV_MAPERR): Likewise.
43778         (SEGV_ACCERR): Likewise.
43779         (BUS_ADRALN): Likewise.
43780         (BUS_ADRERR): Likewise.
43781         (BUS_OBJERR): Likewise.
43782         (BUS_MCEERR_AR): Likewise.
43783         (BUS_MCEERR_AO): Likewise.
43784         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43785         (TRAP_TRACE): Likewise.
43786         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43787         __USE_XOPEN2K8].
43788         (CLD_KILLED): Likewise.
43789         (CLD_DUMPED): Likewise.
43790         (CLD_TRAPPED): Likewise.
43791         (CLD_STOPPED): Likewise.
43792         (CLD_CONTINUED): Likewise.
43793         (POLL_IN): Likewise.
43794         (POLL_OUT): Likewise.
43795         (POLL_MSG): Likewise.
43796         (POLL_ERR): Likewise.
43797         (POLL_PRI): Likewise.
43798         (POLL_HUP): Likewise.
43799         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
43800         Likewise.
43801         (ILL_ILLOPN): Likewise.
43802         (ILL_ILLADR): Likewise.
43803         (ILL_ILLTRP): Likewise.
43804         (ILL_PRVOPC): Likewise.
43805         (ILL_PRVREG): Likewise.
43806         (ILL_COPROC): Likewise.
43807         (ILL_BADSTK): Likewise.
43808         (ILL_BADIADDR): Likewise.
43809         (ILL_BREAK): Likewise.
43810         (FPE_INTDIV): Likewise.
43811         (FPE_INTOVF): Likewise.
43812         (FPE_FLTDIV): Likewise.
43813         (FPE_FLTOVF): Likewise.
43814         (FPE_FLTUND): Likewise.
43815         (FPE_FLTRES): Likewise.
43816         (FPE_FLTINV): Likewise.
43817         (FPE_FLTSUB): Likewise.
43818         (FPE_DECOVF): Likewise.
43819         (FPE_DECDIV): Likewise.
43820         (FPE_DECERR): Likewise.
43821         (FPE_INVASC): Likewise.
43822         (FPE_INVDEC): Likewise.
43823         (SEGV_MAPERR): Likewise.
43824         (SEGV_ACCERR): Likewise.
43825         (SEGV_PSTKOVF): Likewise.
43826         (BUS_ADRALN): Likewise.
43827         (BUS_ADRERR): Likewise.
43828         (BUS_OBJERR): Likewise.
43829         (BUS_MCEERR_AR): Likewise.
43830         (BUS_MCEERR_AO): Likewise.
43831         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43832         (TRAP_TRACE): Likewise.
43833         (TRAP_BRANCH): Likewise.
43834         (TRAP_HWBKPT): Likewise.
43835         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43836         __USE_XOPEN2K8].
43837         (CLD_KILLED): Likewise.
43838         (CLD_DUMPED): Likewise.
43839         (CLD_TRAPPED): Likewise.
43840         (CLD_STOPPED): Likewise.
43841         (CLD_CONTINUED): Likewise.
43842         (POLL_IN): Likewise.
43843         (POLL_OUT): Likewise.
43844         (POLL_MSG): Likewise.
43845         (POLL_ERR): Likewise.
43846         (POLL_PRI): Likewise.
43847         (POLL_HUP): Likewise.
43848         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
43849         (ILL_ILLOPN): Likewise.
43850         (ILL_ILLADR): Likewise.
43851         (ILL_ILLTRP): Likewise.
43852         (ILL_PRVOPC): Likewise.
43853         (ILL_PRVREG): Likewise.
43854         (ILL_COPROC): Likewise.
43855         (ILL_BADSTK): Likewise.
43856         (FPE_INTDIV): Likewise.
43857         (FPE_INTOVF): Likewise.
43858         (FPE_FLTDIV): Likewise.
43859         (FPE_FLTOVF): Likewise.
43860         (FPE_FLTUND): Likewise.
43861         (FPE_FLTRES): Likewise.
43862         (FPE_FLTINV): Likewise.
43863         (FPE_FLTSUB): Likewise.
43864         (SEGV_MAPERR): Likewise.
43865         (SEGV_ACCERR): Likewise.
43866         (BUS_ADRALN): Likewise.
43867         (BUS_ADRERR): Likewise.
43868         (BUS_OBJERR): Likewise.
43869         (BUS_MCEERR_AR): Likewise.
43870         (BUS_MCEERR_AO): Likewise.
43871         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43872         (TRAP_TRACE): Likewise.
43873         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43874         __USE_XOPEN2K8].
43875         (CLD_KILLED): Likewise.
43876         (CLD_DUMPED): Likewise.
43877         (CLD_TRAPPED): Likewise.
43878         (CLD_STOPPED): Likewise.
43879         (CLD_CONTINUED): Likewise.
43880         (POLL_IN): Likewise.
43881         (POLL_OUT): Likewise.
43882         (POLL_MSG): Likewise.
43883         (POLL_ERR): Likewise.
43884         (POLL_PRI): Likewise.
43885         (POLL_HUP): Likewise.
43886         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
43887         (ILL_ILLOPN): Likewise.
43888         (ILL_ILLADR): Likewise.
43889         (ILL_ILLTRP): Likewise.
43890         (ILL_PRVOPC): Likewise.
43891         (ILL_PRVREG): Likewise.
43892         (ILL_COPROC): Likewise.
43893         (ILL_BADSTK): Likewise.
43894         (FPE_INTDIV): Likewise.
43895         (FPE_INTOVF): Likewise.
43896         (FPE_FLTDIV): Likewise.
43897         (FPE_FLTOVF): Likewise.
43898         (FPE_FLTUND): Likewise.
43899         (FPE_FLTRES): Likewise.
43900         (FPE_FLTINV): Likewise.
43901         (FPE_FLTSUB): Likewise.
43902         (SEGV_MAPERR): Likewise.
43903         (SEGV_ACCERR): Likewise.
43904         (BUS_ADRALN): Likewise.
43905         (BUS_ADRERR): Likewise.
43906         (BUS_OBJERR): Likewise.
43907         (BUS_MCEERR_AR): Likewise.
43908         (BUS_MCEERR_AO): Likewise.
43909         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43910         (TRAP_TRACE): Likewise.
43911         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43912         __USE_XOPEN2K8].
43913         (CLD_KILLED): Likewise.
43914         (CLD_DUMPED): Likewise.
43915         (CLD_TRAPPED): Likewise.
43916         (CLD_STOPPED): Likewise.
43917         (CLD_CONTINUED): Likewise.
43918         (POLL_IN): Likewise.
43919         (POLL_OUT): Likewise.
43920         (POLL_MSG): Likewise.
43921         (POLL_ERR): Likewise.
43922         (POLL_PRI): Likewise.
43923         (POLL_HUP): Likewise.
43924         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
43925         (ILL_ILLOPN): Likewise.
43926         (ILL_ILLADR): Likewise.
43927         (ILL_ILLTRP): Likewise.
43928         (ILL_PRVOPC): Likewise.
43929         (ILL_PRVREG): Likewise.
43930         (ILL_COPROC): Likewise.
43931         (ILL_BADSTK): Likewise.
43932         (FPE_INTDIV): Likewise.
43933         (FPE_INTOVF): Likewise.
43934         (FPE_FLTDIV): Likewise.
43935         (FPE_FLTOVF): Likewise.
43936         (FPE_FLTUND): Likewise.
43937         (FPE_FLTRES): Likewise.
43938         (FPE_FLTINV): Likewise.
43939         (FPE_FLTSUB): Likewise.
43940         (SEGV_MAPERR): Likewise.
43941         (SEGV_ACCERR): Likewise.
43942         (BUS_ADRALN): Likewise.
43943         (BUS_ADRERR): Likewise.
43944         (BUS_OBJERR): Likewise.
43945         (BUS_MCEERR_AR): Likewise.
43946         (BUS_MCEERR_AO): Likewise.
43947         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43948         (TRAP_TRACE): Likewise.
43949         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43950         __USE_XOPEN2K8].
43951         (CLD_KILLED): Likewise.
43952         (CLD_DUMPED): Likewise.
43953         (CLD_TRAPPED): Likewise.
43954         (CLD_STOPPED): Likewise.
43955         (CLD_CONTINUED): Likewise.
43956         (POLL_IN): Likewise.
43957         (POLL_OUT): Likewise.
43958         (POLL_MSG): Likewise.
43959         (POLL_ERR): Likewise.
43960         (POLL_PRI): Likewise.
43961         (POLL_HUP): Likewise.
43962         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
43963         (ILL_ILLOPN): Likewise.
43964         (ILL_ILLADR): Likewise.
43965         (ILL_ILLTRP): Likewise.
43966         (ILL_PRVOPC): Likewise.
43967         (ILL_PRVREG): Likewise.
43968         (ILL_COPROC): Likewise.
43969         (ILL_BADSTK): Likewise.
43970         (ILL_DBLFLT): Likewise.
43971         (ILL_HARDWALL): Likewise.
43972         (FPE_INTDIV): Likewise.
43973         (FPE_INTOVF): Likewise.
43974         (FPE_FLTDIV): Likewise.
43975         (FPE_FLTOVF): Likewise.
43976         (FPE_FLTUND): Likewise.
43977         (FPE_FLTRES): Likewise.
43978         (FPE_FLTINV): Likewise.
43979         (FPE_FLTSUB): Likewise.
43980         (SEGV_MAPERR): Likewise.
43981         (SEGV_ACCERR): Likewise.
43982         (BUS_ADRALN): Likewise.
43983         (BUS_ADRERR): Likewise.
43984         (BUS_OBJERR): Likewise.
43985         (BUS_MCEERR_AR): Likewise.
43986         (BUS_MCEERR_AO): Likewise.
43987         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43988         (TRAP_TRACE): Likewise.
43989         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43990         __USE_XOPEN2K8].
43991         (CLD_KILLED): Likewise.
43992         (CLD_DUMPED): Likewise.
43993         (CLD_TRAPPED): Likewise.
43994         (CLD_STOPPED): Likewise.
43995         (CLD_CONTINUED): Likewise.
43996         (POLL_IN): Likewise.
43997         (POLL_OUT): Likewise.
43998         (POLL_MSG): Likewise.
43999         (POLL_ERR): Likewise.
44000         (POLL_PRI): Likewise.
44001         (POLL_HUP): Likewise.
44002         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
44003         (ILL_ILLOPN): Likewise.
44004         (ILL_ILLADR): Likewise.
44005         (ILL_ILLTRP): Likewise.
44006         (ILL_PRVOPC): Likewise.
44007         (ILL_PRVREG): Likewise.
44008         (ILL_COPROC): Likewise.
44009         (ILL_BADSTK): Likewise.
44010         (FPE_INTDIV): Likewise.
44011         (FPE_INTOVF): Likewise.
44012         (FPE_FLTDIV): Likewise.
44013         (FPE_FLTOVF): Likewise.
44014         (FPE_FLTUND): Likewise.
44015         (FPE_FLTRES): Likewise.
44016         (FPE_FLTINV): Likewise.
44017         (FPE_FLTSUB): Likewise.
44018         (SEGV_MAPERR): Likewise.
44019         (SEGV_ACCERR): Likewise.
44020         (BUS_ADRALN): Likewise.
44021         (BUS_ADRERR): Likewise.
44022         (BUS_OBJERR): Likewise.
44023         (BUS_MCEERR_AR): Likewise.
44024         (BUS_MCEERR_AO): Likewise.
44025         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44026         (TRAP_TRACE): Likewise.
44027         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44028         __USE_XOPEN2K8].
44029         (CLD_KILLED): Likewise.
44030         (CLD_DUMPED): Likewise.
44031         (CLD_TRAPPED): Likewise.
44032         (CLD_STOPPED): Likewise.
44033         (CLD_CONTINUED): Likewise.
44034         (POLL_IN): Likewise.
44035         (POLL_OUT): Likewise.
44036         (POLL_MSG): Likewise.
44037         (POLL_ERR): Likewise.
44038         (POLL_PRI): Likewise.
44039         (POLL_HUP): Likewise.
44040         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
44041         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
44043         [BZ #16670]
44044         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
44045         before #include of <time.h>.
44046         [!__USE_XOPEN2K] (__need_timespec): Likewise.
44047         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
44048         (test-xfail-UNIX98/sched.h/conform): Likewise.
44050 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44052         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
44053         error absence of trapping exception support.
44054         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
44056 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
44058         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
44059         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
44060         * timezone/Makefile (testdata): Move definition above include of
44061         Rules.
44062         (test-zones): New variable.
44063         (tests-special): Add zone files.
44064         (build-testdata): Use $(evaluate-test).
44066         * elf/Makefile (tests-special): Rename tests to end with .out.
44067         ($(objpfx)noload-mem): Likewise.
44068         ($(objpfx)tst-leaks1-mem): Likewise.
44069         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
44070         * iconv/Makefile (xtests-special): Change test-iconvconfig to
44071         $(objpfx)test-iconvconfig.out.
44072         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
44073         set -e inside subshell and redirect output to file.
44074         * iconvdata/Makefile (generated): Rename tests to end with .out.
44075         Correct type.
44076         (tests-special): Rename tests to end with .out.
44077         ($(objpfx)mtrace-tst-loading): Likewise.
44078         * intl/Makefile (generated): Likewise.
44079         (tests-special): Likewise.
44080         ($(objpfx)mtrace-tst-gettext): Likewise.
44081         * misc/Makefile (generated): Likewise.
44082         (tests-special): Likewise.
44083         ($(objpfx)tst-error1-mem): Likewise.
44084         * nptl/Makefile (tests-special): Likewise.
44085         ($(objpfx)tst-stack3-mem): Likewise.
44086         (generated): Likewise.
44087         * posix/Makefile (generated): Likewise.
44088         (tests-special): Likewise.
44089         (xtests-special): Likewise.
44090         ($(objpfx)tst-fnmatch-mem): Likewise.
44091         ($(objpfx)bug-regex2-mem): Likewise.
44092         ($(objpfx)bug-regex14-mem): Likewise.
44093         ($(objpfx)bug-regex21-mem): Likewise.
44094         ($(objpfx)bug-regex31-mem): Likewise.
44095         ($(objpfx)tst-vfork3-mem): Likewise.
44096         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
44097         ($(objpfx)tst-pcre-mem): Likewise.
44098         ($(objpfx)tst-boost-mem): Likewise.
44099         ($(objpfx)bug-ga2-mem): Likewise.
44100         ($(objpfx)bug-glob2-mem): Likewise.
44101         * resolv/Makefile (generate): Likewise.
44102         (tests-special): Likewise.
44103         (xtests-special): Likewise.
44104         (generated): Likewise.
44105         ($(objpfx)mtrace-tst-leaks): Likewise.
44106         ($(objpfx)mtrace-tst-leaks2): Likewise.
44108         * scripts/merge-test-results.sh: New file.
44109         * Makefile (tests-special-notdir): New variable.
44110         (tests): Run merge-test-results.sh.
44111         (xtests): Likewise.
44112         * Rules (tests-special-notdir): New variable.
44113         (xtests-special-notdir): Likewise.
44114         (tests): Run merge-test-results.sh
44115         (xtests): Likewise.
44117         * Makeconfig (test-xfail-name): New variable.
44118         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
44119         compute variable name for expected failures.
44120         * conform/Makefile (conformtest-headers-data): New variable.
44121         (conformtest-standards): Likewise.
44122         (conformtest-headers-ISO): Likewise.
44123         (conformtest-headers-ISO99): Likewise.
44124         (conformtest-headers-ISO11): Likewise.
44125         (conformtest-headers-POSIX): Likewise.
44126         (conformtest-headers-XPG3): Likewise.
44127         (conformtest-headers-XPG4): Likewise.
44128         (conformtest-headers-UNIX98): Likewise.
44129         (conformtest-headers-XOPEN2K): Likewise.
44130         (conformtest-headers-POSIX2008): Likewise.
44131         (conformtest-headers-XOPEN2K8): Likewise.
44132         (conformtest-header-list-base): Likewise.
44133         (conformtest-header-list-tests): Likewise.
44134         (conformtest-header-base): Likewise.
44135         (conformtest-header-tests): Likewise.
44136         (tests-special): Add $(conformtest-header-list-tests).  If
44137         [$(fast-check) && !$(cross-compiling)], add
44138         $(conformtest-header-tests) instead of
44139         $(objpfx)run-conformtest.out.
44140         (generated): Add $(conformtest-header-list-base).  If
44141         [$(fast-check) && !$(cross-compiling)], add
44142         $(conformtest-header-base).  Remove previous setting.
44143         ($(conformtest-header-list-tests)): New target.
44144         (test-xfail-run-conformtest): Remove variable.
44145         ($(objpfx)run-conformtest.out): Remove target.
44146         (test-xfail-ISO11/complex.h/conform): New variable.
44147         (test-xfail-ISO11/stdalign.h/conform): Likewise.
44148         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
44149         (test-xfail-XPG3/varargs.h/conform): Likewise.
44150         (test-xfail-XPG4/varargs.h/conform): Likewise.
44151         (test-xfail-UNIX98/varargs.h/conform): Likewise.
44152         (test-xfail-XPG4/ndbm.h/conform): Likewise.
44153         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
44154         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
44155         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
44156         (test-xfail-XPG3/fcntl.h/conform): Likewise.
44157         (test-xfail-XPG3/ftw.h/conform): Likewise.
44158         (test-xfail-XPG3/grp.h/conform): Likewise.
44159         (test-xfail-XPG3/langinfo.h/conform): Likewise.
44160         (test-xfail-XPG3/limits.h/conform): Likewise.
44161         (test-xfail-XPG3/pwd.h/conform): Likewise.
44162         (test-xfail-XPG3/search.h/conform): Likewise.
44163         (test-xfail-XPG3/signal.h/conform): Likewise.
44164         (test-xfail-XPG3/stdio.h/conform): Likewise.
44165         (test-xfail-XPG3/stdlib.h/conform): Likewise.
44166         (test-xfail-XPG3/string.h/conform): Likewise.
44167         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
44168         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
44169         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
44170         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
44171         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
44172         (test-xfail-XPG3/sys/types.h/conform): Likewise.
44173         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
44174         (test-xfail-XPG3/termios.h/conform): Likewise.
44175         (test-xfail-XPG3/time.h/conform): Likewise.
44176         (test-xfail-XPG3/unistd.h/conform): Likewise.
44177         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
44178         (test-xfail-XPG4/fcntl.h/conform): Likewise.
44179         (test-xfail-XPG4/langinfo.h/conform): Likewise.
44180         (test-xfail-XPG4/netdb.h/conform): Likewise.
44181         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
44182         (test-xfail-XPG4/signal.h/conform): Likewise.
44183         (test-xfail-XPG4/stdio.h/conform): Likewise.
44184         (test-xfail-XPG4/stdlib.h/conform): Likewise.
44185         (test-xfail-XPG4/stropts.h/conform): Likewise.
44186         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
44187         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
44188         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
44189         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
44190         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
44191         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
44192         (test-xfail-XPG4/sys/time.h/conform): Likewise.
44193         (test-xfail-XPG4/sys/types.h/conform): Likewise.
44194         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
44195         (test-xfail-XPG4/termios.h/conform): Likewise.
44196         (test-xfail-XPG4/ucontext.h/conform): Likewise.
44197         (test-xfail-XPG4/unistd.h/conform): Likewise.
44198         (test-xfail-XPG4/utmpx.h/conform): Likewise.
44199         (test-xfail-POSIX/sched.h/conform): Likewise.
44200         (test-xfail-POSIX/signal.h/conform): Likewise.
44201         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
44202         (test-xfail-POSIX/tar.h/conform): Likewise.
44203         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
44204         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
44205         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
44206         (test-xfail-UNIX98/netdb.h/conform): Likewise.
44207         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
44208         (test-xfail-UNIX98/sched.h/conform): Likewise.
44209         (test-xfail-UNIX98/signal.h/conform): Likewise.
44210         (test-xfail-UNIX98/stdio.h/conform): Likewise.
44211         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
44212         (test-xfail-UNIX98/stropts.h/conform): Likewise.
44213         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
44214         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
44215         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
44216         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
44217         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
44218         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
44219         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
44220         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
44221         (test-xfail-UNIX98/unistd.h/conform): Likewise.
44222         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
44223         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
44224         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
44225         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
44226         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
44227         (test-xfail-XOPEN2K/math.h/conform): Likewise.
44228         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
44229         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
44230         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
44231         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
44232         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
44233         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
44234         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
44235         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
44236         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
44237         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
44238         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
44239         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
44240         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
44241         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
44242         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
44243         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
44244         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
44245         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
44246         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
44247         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
44248         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
44249         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
44250         (test-xfail-POSIX2008/signal.h/conform): Likewise.
44251         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
44252         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
44253         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
44254         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
44255         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
44256         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
44257         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
44258         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
44259         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
44260         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
44261         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
44262         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
44263         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
44264         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
44265         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
44266         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
44267         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
44268         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
44269         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
44270         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
44271         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
44272         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
44273         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
44274         (conformtest-cc-flags): Likewise.
44275         ($(conformtest-header-tests): New target.
44276         * conform/check-header-lists.sh: New file.
44277         * conform/run-conformtest.sh: Remove.
44279         * conform/conformtest.pl: Allow ' and \ in values given for
44280         constants.
44281         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
44282         inclusion.
44283         [POSIX] (sys/types.h): Likewise.
44284         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
44285         inclusion.
44286         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
44287         inclusion.
44288         * conform/data/signal.h-data (SIGIO): Remove expectation.
44289         [XPG3] (SIGBUS): Do not expect.
44290         [POSIX || XPG3] (SIGPOLL): Likewise.
44291         [POSIX || XPG3] (SIGPROF): Likewise.
44292         [POSIX || XPG3] (SIGSYS): Likewise.
44293         [XPG3] (SIGTRAP): Likewise.
44294         [POSIX || XPG3] (SIGURG): Likewise.
44295         [POSIX || XPG3] (SIGVTALRM): Likewise.
44296         [POSIX || XPG3] (SIGXCPU): Likewise.
44297         [POSIX || XPG3] (SIGXFSZ): Likewise.
44298         [POSIX] (SA_SIGINFO): Expect.
44299         [XPG3] (siginfo_t): Do not expect type or contents.
44300         [POSIX] (si_pid): Do not expect element.
44301         [POSIX] (si_uid): Likewise.
44302         [POSIX] (si_addr): Likewise.
44303         [POSIX] (si_status): Likewise.
44304         [POSIX] (si_band): Likewise.
44305         [XPG4] (si_value): Likewise.
44306         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
44307         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
44308         [POSIX || XPG3] (ILL_ILLADR): Likewise.
44309         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
44310         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
44311         [POSIX || XPG3] (ILL_PRVREG): Likewise.
44312         [POSIX || XPG3] (ILL_COPROC): Likewise.
44313         [POSIX || XPG3] (ILL_BADSTK): Likewise.
44314         [POSIX || XPG3] (FPE_INTDIV): Likewise.
44315         [POSIX || XPG3] (FPE_INTOVF): Likewise.
44316         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
44317         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
44318         [POSIX || XPG3] (FPE_FLTUND): Likewise.
44319         [POSIX || XPG3] (FPE_FLTRES): Likewise.
44320         [POSIX || XPG3] (FPE_FLTINV): Likewise.
44321         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
44322         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
44323         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
44324         [POSIX || XPG3] (BUS_ADRALN): Likewise.
44325         [POSIX || XPG3] (BUS_ADRERR): Likewise.
44326         [POSIX || XPG3] (BUS_OBJERR): Likewise.
44327         [POSIX || XPG3] (CLD_EXITED): Likewise.
44328         [POSIX || XPG3] (CLD_KILLED): Likewise.
44329         [POSIX || XPG3] (CLD_DUMPED): Likewise.
44330         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
44331         [POSIX || XPG3] (CLD_STOPPED): Likewise.
44332         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
44333         [POSIX || XPG3] (POLL_IN): Likewise.
44334         [POSIX || XPG3] (POLL_OUT): Likewise.
44335         [POSIX || XPG3] (POLL_MSG): Likewise.
44336         [POSIX || XPG3] (POLL_ERR): Likewise.
44337         [POSIX || XPG3] (POLL_PRI): Likewise.
44338         [POSIX || XPG3] (POLL_HUP): Likewise.
44339         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
44340         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
44341         (SIG*): Do not allow.
44342         [XPG3] (si_*): Likewise.
44343         [XPG3] (SI_*): Likewise.
44344         [XPG3 || XPG4] (sigev_*): Likewise.
44345         [XPG3 || XPG4] (SIGEV_*): Likewise.
44346         [XPG3 || XPG4] (sival_*): Likewise.
44347         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
44348         [POSIX || XPG3] (BUS_*): Likewise.
44349         [POSIX || XPG3] (CLD_*): Likewise.
44350         [POSIX || XPG3] (FPE_*): Likewise.
44351         [POSIX || XPG3] (ILL_*): Likewise.
44352         [POSIX || XPG3] (POLL_*): Likewise.
44353         [POSIX || XPG3] (SEGV_*): Likewise.
44354         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
44355         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
44356         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
44357         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
44358         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
44359         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
44360         Specify type and value.
44361         (TVERSLEN): Likewise.
44362         (REGTYPE): Likewise.
44363         (AREGTYPE): Likewise.
44364         (LNKTYPE): Likewise.
44365         (SYMTYPE): Likewise.
44366         (CHRTYPE): Likewise.
44367         (BLKTYPE): Likewise.
44368         (DIRTYPE): Likewise.
44369         (FIFOTYPE): Likewise.
44370         (CONTTYPE): Likewise.
44371         (TSUID): Likewise.
44372         (TSGID): Likewise.
44373         (TSVTX): Likewise.
44374         (TUREAD): Likewise.
44375         (TUWRITE): Likewise.
44376         (TUEXEC): Likewise.
44377         (TGREAD): Likewise.
44378         (TGWRITE): Likewise.
44379         (TGEXEC): Likewise.
44380         (TOREAD): Likewise.
44381         (TOWRITE): Likewise.
44382         (TOEXEC): Likewise.
44383         [POSIX] (TSVTX): Expect constant.
44385 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
44387         * Makefile (tests): Change dependencies to ....
44388         (tests-special): ... additions to this variable.
44389         (tests): Depend on $(tests-special).
44390         * Makerules (check-abi-list): New variable.
44391         (check-abi): Depend on $(check-abi-list).
44392         [$(subdir) = elf] (tests-special): Add
44393         $(objpfx)check-abi-libc.out.
44394         [$(build-shared) = yes && subdir] (tests-special): Add
44395         $(check-abi-list).
44396         [$(build-shared) = yes && subdir] (tests): Do not depend on
44397         check-abi.
44398         * Rules (tests): Depend on $(tests-special).
44399         (xtests): Depend on $(xtests-special).
44400         * catgets/Makefile (tests): Change dependencies to ....
44401         (tests-special): ... additions to this variable.
44402         * conform/Makefile (tests): Change dependencies to ....
44403         (tests-special): ... additions to this variable.
44404         * elf/Makefile (tests): Change dependencies to ....
44405         (tests-special): ... additions to this variable.
44406         * grp/Makefile (tests): Change dependencies to ....
44407         (tests-special): ... additions to this variable.
44408         * iconv/Makefile (xtests): Change dependencies to ....
44409         (xtests-special): ... additions to this variable.
44410         * iconvdata/Makefile (tests): Change dependencies to ....
44411         (tests-special): ... additions to this variable.
44412         * intl/Makefile (tests): Change dependencies to ....
44413         (tests-special): ... additions to this variable.  Also add
44414         $(objpfx)tst-gettext.out.
44415         * io/Makefile (tests): Change dependencies to ....
44416         (tests-special): ... additions to this variable.
44417         * libio/Makefile (tests): Change dependencies to ....
44418         (tests-special): ... additions to this variable.
44419         * malloc/Makefile (tests): Change dependencies to ....
44420         (tests-special): ... additions to this variable.
44421         * misc/Makefile (tests): Change dependencies to ....
44422         (tests-special): ... additions to this variable.
44423         * nptl/Makefile (tests): Change dependencies to ....
44424         (tests-special): ... additions to this variable.
44425         * nptl_db/Makefile (tests): Change dependencies to ....
44426         (tests-special): ... additions to this variable.
44427         * posix/Makefile (tests): Change dependencies to ....
44428         (tests-special): ... additions to this variable.
44429         (xtests): Change dependencies to ....
44430         (xtests-special): ... additions to this variable.
44431         * resolv/Makefile (tests): Change dependencies to ....
44432         (tests-special): ... additions to this variable.
44433         (xtests): Change dependencies to ....
44434         (xtests-special): ... additions to this variable.
44435         * stdio-common/Makefile (tests): Change dependencies to ....
44436         (tests-special): ... additions to this variable.
44437         (do-tst-unbputc): Remove target.
44438         (do-tst-printf): Likewise.
44439         * stdlib/Makefile (tests): Change dependencies to ....
44440         (tests-special): ... additions to this variable.
44441         * string/Makefile (tests): Change dependencies to ....
44442         (tests-special): ... additions to this variable.
44443         * sysdeps/x86/Makefile (tests): Change dependencies to ....
44444         (tests-special): ... additions to this variable.
44446         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
44447         whole file.
44448         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
44449         whole file.
44450         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
44451         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
44453         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
44454         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
44455         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
44456         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
44457         * conform/data/libgen.h-data [XPG3]: Likewise.
44458         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
44459         * conform/data/ndbm.h-data [XPG3]: Likewise.
44460         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
44461         * conform/data/netdb.h-data [XPG3]: Likewise.
44462         * conform/data/netinet/in.h-data [XPG3]: Likewise.
44463         * conform/data/poll.h-data [XPG3]: Likewise.
44464         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
44465         * conform/data/strings.h-data [XPG3]: Likewise.
44466         * conform/data/stropts.h-data [XPG3]: Likewise.
44467         * conform/data/sys/mman.h-data [XPG3]: Likewise.
44468         * conform/data/sys/resource.h-data [XPG3]: Likewise.
44469         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
44470         Likewise.
44471         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
44472         * conform/data/sys/time.h-data [XPG3]: Likewise.
44473         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
44474         * conform/data/sys/uio.h-data [XPG3]: Likewise.
44475         * conform/data/sys/un.h-data [XPG3]: Likewise.
44476         * conform/data/syslog.h-data [XPG3]: Likewise.
44477         * conform/data/ucontext.h-data [XPG3]: Likewise.
44478         * conform/data/utmpx.h-data [XPG3]: Likewise.
44479         * conform/data/varargs.h-data [UNIX98]: Enable file.
44481         * manual/Makefile (INSTALL_INFO): Remove variable setting.
44483         * math/libm-test.inc (struct test_f_f_data): Move expected results
44484         into structure for each rounding mode.
44485         (struct test_ff_f_data): Likewise.
44486         (struct test_ff_f_data_nexttoward): Likewise.
44487         (struct test_fi_f_data): Likewise.
44488         (struct test_fl_f_data): Likewise.
44489         (struct test_if_f_data): Likewise.
44490         (struct test_fff_f_data): Likewise.
44491         (struct test_c_f_data): Likewise.
44492         (struct test_f_f1_data): Likewise.
44493         (struct test_fF_f1_data): Likewise.
44494         (struct test_ffI_f1_data): Likewise.
44495         (struct test_c_c_data): Likewise.
44496         (struct test_cc_c_data): Likewise.
44497         (struct test_f_i_data): Likewise.
44498         (struct test_ff_i_data): Likewise.
44499         (struct test_f_l_data): Likewise.
44500         (struct test_f_L_data): Likewise.
44501         (struct test_fFF_11_data): Likewise.
44502         (RM_): New macro.
44503         (RM_FE_DOWNWARD): Likewise.
44504         (RM_FE_TONEAREST): Likewise.
44505         (RM_FE_TOWARDZERO): Likewise.
44506         (RM_FE_UPWARD): Likewise.
44507         (RUN_TEST_LOOP_f_f): Update references to expected results.
44508         (RUN_TEST_LOOP_2_f): Likewise.
44509         (RUN_TEST_LOOP_fff_f): Likewise.
44510         (RUN_TEST_LOOP_c_f): Likewise.
44511         (RUN_TEST_LOOP_f_f1): Likewise.
44512         (RUN_TEST_LOOP_fF_f1): Likewise.
44513         (RUN_TEST_LOOP_fI_f1): Likewise.
44514         (RUN_TEST_LOOP_ffI_f1): Likewise.
44515         (RUN_TEST_LOOP_c_c): Likewise.
44516         (RUN_TEST_LOOP_cc_c): Likewise.
44517         (RUN_TEST_LOOP_f_i): Likewise.
44518         (RUN_TEST_LOOP_f_i_tg): Likewise.
44519         (RUN_TEST_LOOP_ff_i_tg): Likewise.
44520         (RUN_TEST_LOOP_f_b): Likewise.
44521         (RUN_TEST_LOOP_f_b_tg): Likewise.
44522         (RUN_TEST_LOOP_f_l): Likewise.
44523         (RUN_TEST_LOOP_f_L): Likewise.
44524         (RUN_TEST_LOOP_fFF_11): Likewise.
44525         * math/gen-libm-test.pl (parse_args): Output four copies of
44526         expected results for each test.
44528         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
44529         (__ASSUME_UTIMES): Remove.
44530         * sysdeps/unix/sysv/linux/tile/kernel-features.h
44531         (__ASSUME_UTIMES): Likewise.
44533         * math/gen-auto-libm-tests.c: Update comment on output format.
44534         (output_for_one_input_case): Generate before-rounding and
44535         after-rounding information as conditions on output flags not
44536         floating-point format.
44537         * math/auto-libm-test-out: Regenerated.
44538         * math/gen-libm-test.pl (cond_value): New function.
44539         (or_cond_value): Use cond_value.
44540         (generate_testfile): Handle conditional exceptions.
44542 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
44544         * math/libm-test.inc (max_valid_error): New variable.
44545         (init_max_error): Take new argument specifying whether function
44546         results are exactly determined.  Set max_valid_error and bound
44547         other variables for errors based on this argument.
44548         (set_max_error): Do not record results above max_valid_error.
44549         (check_float_internal): Only accept errors of up to 0.5ulps if
44550         also at most max_valid_error.
44551         (START): Take new argument EXACT and pass it to init_max_error.
44552         (acos_test): Update call to START.
44553         (acos_test_tonearest): Likewise.
44554         (acos_test_towardzero): Likewise.
44555         (acos_test_downward): Likewise.
44556         (acos_test_upward): Likewise.
44557         (acosh_test): Likewise.
44558         (asin_test): Likewise.
44559         (asin_test_tonearest): Likewise.
44560         (asin_test_towardzero): Likewise.
44561         (asin_test_downward): Likewise.
44562         (asin_test_upward): Likewise.
44563         (asinh_test): Likewise.
44564         (atan_test): Likewise.
44565         (atanh_test): Likewise.
44566         (atan2_test): Likewise.
44567         (cabs_test): Likewise.
44568         (cacos_test): Likewise.
44569         (cacosh_test): Likewise.
44570         (carg_test): Likewise.
44571         (casin_test): Likewise.
44572         (casinh_test): Likewise.
44573         (catan_test): Likewise.
44574         (catanh_test): Likewise.
44575         (cbrt_test): Likewise.
44576         (ccos_test): Likewise.
44577         (ccosh_test): Likewise.
44578         (ceil_test): Likewise.
44579         (cexp_test): Likewise.
44580         (cimag_test): Likewise.
44581         (clog_test): Likewise.
44582         (clog10_test): Likewise.
44583         (conj_test): Likewise.
44584         (copysign_test): Likewise.
44585         (cos_test): Likewise.
44586         (cos_test_tonearest): Likewise.
44587         (cos_test_towardzero): Likewise.
44588         (cos_test_downward): Likewise.
44589         (cos_test_upward): Likewise.
44590         (cosh_test): Likewise.
44591         (cosh_test_tonearest): Likewise.
44592         (cosh_test_towardzero): Likewise.
44593         (cosh_test_downward): Likewise.
44594         (cosh_test_upward): Likewise.
44595         (cpow_test): Likewise.
44596         (cproj_test): Likewise.
44597         (creal_test): Likewise.
44598         (csin_test): Likewise.
44599         (csinh_test): Likewise.
44600         (csqrt_test): Likewise.
44601         (ctan_test): Likewise.
44602         (ctan_test_tonearest): Likewise.
44603         (ctan_test_towardzero): Likewise.
44604         (ctan_test_downward): Likewise.
44605         (ctan_test_upward): Likewise.
44606         (ctanh_test): Likewise.
44607         (ctanh_test_tonearest): Likewise.
44608         (ctanh_test_towardzero): Likewise.
44609         (ctanh_test_downward): Likewise.
44610         (ctanh_test_upward): Likewise.
44611         (erf_test): Likewise.
44612         (erfc_test): Likewise.
44613         (exp_test): Likewise.
44614         (exp_test_tonearest): Likewise.
44615         (exp_test_towardzero): Likewise.
44616         (exp_test_downward): Likewise.
44617         (exp_test_upward): Likewise.
44618         (exp10_test): Likewise.
44619         (exp10_test_tonearest): Likewise.
44620         (exp10_test_towardzero): Likewise.
44621         (exp10_test_downward): Likewise.
44622         (exp10_test_upward): Likewise.
44623         (pow10_test): Likewise.
44624         (exp2_test): Likewise.
44625         (expm1_test): Likewise.
44626         (expm1_test_tonearest): Likewise.
44627         (expm1_test_towardzero): Likewise.
44628         (expm1_test_downward): Likewise.
44629         (expm1_test_upward): Likewise.
44630         (fabs_test): Likewise.
44631         (fdim_test): Likewise.
44632         (floor_test): Likewise.
44633         (fma_test): Likewise.
44634         (fma_test_towardzero): Likewise.
44635         (fma_test_downward): Likewise.
44636         (fma_test_upward): Likewise.
44637         (fmax_test): Likewise.
44638         (fmin_test): Likewise.
44639         (fmod_test): Likewise.
44640         (fpclassify_test): Likewise.
44641         (frexp_test): Likewise.
44642         (hypot_test): Likewise.
44643         (ilogb_test): Likewise.
44644         (isfinite_test): Likewise.
44645         (finite_test): Likewise.
44646         (isgreater_test): Likewise.
44647         (isgreaterequal_test): Likewise.
44648         (isinf_test): Likewise.
44649         (isless_test): Likewise.
44650         (islessequal_test): Likewise.
44651         (islessgreater_test): Likewise.
44652         (isnan_test): Likewise.
44653         (isnormal_test): Likewise.
44654         (issignaling_test): Likewise.
44655         (isunordered_test): Likewise.
44656         (j0_test): Likewise.
44657         (j1_test): Likewise.
44658         (jn_test): Likewise.
44659         (ldexp_test): Likewise.
44660         (lgamma_test): Likewise.
44661         (gamma_test): Likewise.
44662         (lrint_test): Likewise.
44663         (lrint_test_tonearest): Likewise.
44664         (lrint_test_towardzero): Likewise.
44665         (lrint_test_downward): Likewise.
44666         (lrint_test_upward): Likewise.
44667         (llrint_test): Likewise.
44668         (llrint_test_tonearest): Likewise.
44669         (llrint_test_towardzero): Likewise.
44670         (llrint_test_downward): Likewise.
44671         (llrint_test_upward): Likewise.
44672         (log_test): Likewise.
44673         (log10_test): Likewise.
44674         (log1p_test): Likewise.
44675         (log2_test): Likewise.
44676         (logb_test): Likewise.
44677         (logb_test_downward): Likewise.
44678         (lround_test): Likewise.
44679         (llround_test): Likewise.
44680         (modf_test): Likewise.
44681         (nearbyint_test): Likewise.
44682         (nextafter_test): Likewise.
44683         (nexttoward_test): Likewise.
44684         (pow_test): Likewise.
44685         (pow_test_tonearest): Likewise.
44686         (pow_test_towardzero): Likewise.
44687         (pow_test_downward): Likewise.
44688         (pow_test_upward): Likewise.
44689         (remainder_test): Likewise.
44690         (drem_test): Likewise.
44691         (remainder_test_tonearest): Likewise.
44692         (drem_test_tonearest): Likewise.
44693         (remainder_test_towardzero): Likewise.
44694         (drem_test_towardzero): Likewise.
44695         (remainder_test_downward): Likewise.
44696         (drem_test_downward): Likewise.
44697         (remainder_test_upward): Likewise.
44698         (drem_test_upward): Likewise.
44699         (remquo_test): Likewise.
44700         (rint_test): Likewise.
44701         (rint_test_tonearest): Likewise.
44702         (rint_test_towardzero): Likewise.
44703         (rint_test_downward): Likewise.
44704         (rint_test_upward): Likewise.
44705         (round_test): Likewise.
44706         (scalb_test): Likewise.
44707         (scalbn_test): Likewise.
44708         (scalbln_test): Likewise.
44709         (signbit_test): Likewise.
44710         (sin_test): Likewise.
44711         (sin_test_tonearest): Likewise.
44712         (sin_test_towardzero): Likewise.
44713         (sin_test_downward): Likewise.
44714         (sin_test_upward): Likewise.
44715         (sincos_test): Likewise.
44716         (sinh_test): Likewise.
44717         (sinh_test_tonearest): Likewise.
44718         (sinh_test_towardzero): Likewise.
44719         (sinh_test_downward): Likewise.
44720         (sinh_test_upward): Likewise.
44721         (sqrt_test): Likewise.
44722         (sqrt_test_tonearest): Likewise.
44723         (sqrt_test_towardzero): Likewise.
44724         (sqrt_test_downward): Likewise.
44725         (sqrt_test_upward): Likewise.
44726         (tan_test): Likewise.
44727         (tan_test_tonearest): Likewise.
44728         (tan_test_towardzero): Likewise.
44729         (tan_test_downward): Likewise.
44730         (tan_test_upward): Likewise.
44731         (tanh_test): Likewise.
44732         (tgamma_test): Likewise.
44733         (trunc_test): Likewise.
44734         (y0_test): Likewise.
44735         (y1_test): Likewise.
44736         (yn_test): Likewise.
44737         (significand_test): Likewise.
44739         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
44740         individual tests in comment.
44741         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
44742         (prev_max_error): New variable.
44743         (prev_real_max_error): Likewise.
44744         (prev_imag_max_error): Likewise.
44745         (compare_ulp_data): Don't refer to test names in comment.
44746         (find_test_ulps): Remove function.
44747         (find_function_ulps): Likewise.
44748         (find_complex_function_ulps): Likewise.
44749         (init_max_error): Take function name as argument.  Look up ulps
44750         for that function.
44751         (print_ulps): Remove function.
44752         (print_max_error): Use prev_max_error instead of calling
44753         find_function_ulps.
44754         (print_complex_max_error): Use prev_real_max_error and
44755         prev_imag_max_error instead of calling find_complex_function_ulps.
44756         (check_float_internal): Take max_ulp parameter instead of calling
44757         find_test_ulps.  Don't call print_ulps.
44758         (check_float): Update call to check_float_internal.
44759         (check_complex): Update calls to check_float_internal.
44760         (START): Pass argument to init_max_error.
44761         * math/gen-libm-test.pl (%results): Don't include "kind"
44762         information.
44763         (parse_ulps): Don't handle ulps of individual tests.
44764         (print_ulps_file): Likewise.
44765         (output_ulps): Likewise.
44766         * math/README.libm-test: Update.
44767         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
44768         individual tests.
44769         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
44770         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
44771         * sysdeps/arm/libm-test-ulps: Likewise.
44772         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
44773         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
44774         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
44775         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
44776         * sysdeps/microblaze/libm-test-ulps: Likewise.
44777         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
44778         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
44779         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44780         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
44781         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44782         * sysdeps/sh/libm-test-ulps: Likewise.
44783         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44784         * sysdeps/tile/libm-test-ulps: Likewise.
44785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44787 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
44789         * math/libm-test.inc (print_complex_max_error): Check separately
44790         whether real and imaginary errors are within allowed range and
44791         pass 0 to print_complex_function_ulps instead of value within
44792         allowed range.
44794 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44796         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
44797         formatting.
44798         (get_handles_fopen): Likewise.
44799         (do_write_test): Likewise.
44801         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
44803         * libio/fileops.c (do_ftell): Use cached offset when
44804         available.
44805         * libio/iofwide.c (do_ftell_wide): Likewise.
44806         * libio/iofdopen.c (_IO_new_fdopen): Don't use
44807         _IO_file_attach.
44808         * libio/wfileops.c (_IO_fwide): Don't cache offset.
44810         [BZ #16532]
44811         * libio/libioP.h (get_file_offset): New function.
44812         * libio/fileops.c (get_file_offset): Likewise.
44813         (do_ftell): Likewise.
44814         (_IO_new_file_seekoff): Split out ftell logic.
44815         * libio/wfileops.c (do_ftell_wide): Likewise.
44816         (_IO_wfile_seekoff): Split out ftell logic.
44817         * libio/tst-ftell-active-handler.c: New test case.
44818         * libio/Makefile (tests): Add it.
44820 2014-03-03  Roland McGrath  <roland@hack.frob.com>
44822         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
44823         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
44825 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44827         [BZ #16639]
44828         * nscd/connections.c (nscd_init): Call do_exit.
44829         (start_threads): Call do_exit and notify_parent.
44830         (begin_drop_privileges): Call do_exit.
44831         (finish_drop_privileges): Likewise.
44832         * nscd/selinux.c (preserve_capabilities): Likewise.
44833         (install_real_capabilities): Likewise.
44834         (nscd_selinux_enabled): Likewise.
44835         (avc_create_thread): Likewise.
44836         (avc_alloc_lock): Likewise.
44837         (nscd_avc_init): Likewise.
44838         * nscd/nscd.c (parent_fd): New static variable.
44839         (main): Create a pipe between parent and child processes.
44840         Skip closing parent_fd.
44841         (monitor_child): New function.
44842         (do_exit): Likewise.
44843         (notify_parent): Likewise.
44844         * nscd/nscd.h (notify_parent): Likewise.
44845         (do_exit): Likewise.
44847 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
44849         * malloc/malloc.c (__libc_calloc): Revert last change.
44851 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44853         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44855 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
44857         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
44858         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
44859         implementation.
44860         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44861         (__libc_ifunc_impl_list): Likewise.
44862         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
44863         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
44864         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
44865         * string/strrchr.c: Define STRRCHR.
44867 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
44869         * benchtest/bench-strtok.c (simple_strtok): Delete.
44870         (strtok_string): Use as benchmark.
44871         * string/strtok (STRTOK): New macro.
44873 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
44875         * manual/threads.texi: Add header and standard comments to all
44876         functions.
44878         * elf/dl-lookup.c (check_match): New function.
44879         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
44880         (do_lookup_x): Remove nested function check_match. Use non-nested
44881         function check_match.
44883 2014-02-28  Roland McGrath  <roland@hack.frob.com>
44885         * csu/Makefile (generated, before-compile): Use += rather than =.
44886         * catgets/Makefile (generated, generated-dirs): Likewise.
44887         * debug/Makefile (generated): Likewise.
44888         * dlfcn/Makefile (generated): Likewise.
44889         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
44890         * iconvdata/Makefile (before-compile, generated): Likewise.
44891         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
44892         * libio/Makefile (generated): Likewise.
44893         * malloc/Makefile (generated): Likewise.
44894         * manual/Makefile (generated, generated-dirs): Likewise.
44895         * misc/Makefile (generated): Likewise.
44896         * posix/Makefile (generated): Likewise.
44897         * resolv/Makefile (generated): Likewise.
44898         * sunrpc/Makefile (generated, generated-dirs): Likewise.
44899         * timezone/Makefile (generated, generated-dirs): Likewise.
44901         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
44903 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44905         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
44906         power8 implementation.
44907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
44908         file: POWER8 llround ifunc implementation.
44909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
44910         (__lllround): Add POWER8 implementation.
44911         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
44912         POWER8 llround implementation.
44914         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
44915         power8 implementation.
44916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
44917         file: POWER8 llrint ifunc implementation.
44918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
44919         Add POWER8 implementation.
44920         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
44921         POWER8 llrint implementation.
44923         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
44924         power8 implementation.
44925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
44926         file: POWER8 finite ifunc implementation.
44927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
44928         Add POWER8 implementation.
44929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
44930         Likewise.
44931         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
44932         POWER8 finite implementation.
44933         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
44935         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
44936         power8 implementation.
44937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
44938         file: POWER8 isinf ifunc implementation.
44939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
44940         POWER8 implementation.
44941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
44942         Likewise.
44943         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
44944         isinf implementation.
44945         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
44947         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
44948         (INIT_ARCH): Add hwcap2 initialization.
44949         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
44950         power8 implementation.
44951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
44952         file: POWER8 isnan ifunc implementation.
44953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
44954         POWER8 implementation.
44955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
44956         Likewise.
44957         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
44958         isnan implementation.
44959         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
44961 2014-02-27  Joey Ye  <joey.ye@arm.com>
44963         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
44964         (_FP_NANFRAC_Q): Set to zero.
44966 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44968         [BZ #16623]
44969         * math/auto-libm-test-in: New test inputs.
44970         * math/auto-libm-test-out: Regenerate.
44971         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
44972         and DA.
44973         (__cos): Likewise.
44974         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
44976 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
44978         * scripts/evaluate-test.sh: Take new argument indicating whether
44979         failure is expected.
44980         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
44981         indicating whether failure is expected.
44982         * conform/Makefile (test-xfail-run-conformtest): New variable.
44983         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
44984         level.
44985         * posix/Makefile (test-xfail-annexc): New variable.
44986         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
44988 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
44990         * argp/Makefile: Include Makeconfig immediately after defining
44991         subdir.
44992         * assert/Makefile: Likewise.
44993         * benchtests/Makefile: Likewise.
44994         * catgets/Makefile: Likewise.
44995         * conform/Makefile: Likewise.
44996         * crypt/Makefile: Likewise.
44997         * csu/Makefile: Likewise.
44998         (all): Remove target.
44999         * ctype/Makefile: Include Makeconfig immediately after defining
45000         subdir.
45001         * debug/Makefile: Likewise.
45002         * dirent/Makefile: Likewise.
45003         * dlfcn/Makefile: Likewise.
45004         * gmon/Makefile: Likewise.
45005         * gnulib/Makefile: Likewise.
45006         * grp/Makefile: Likewise.
45007         * gshadow/Makefile: Likewise.
45008         * hesiod/Makefile: Likewise.
45009         * hurd/Makefile: Likewise.
45010         (all): Remove target.
45011         * iconvdata/Makefile: Include Makeconfig immediately after
45012         defining subdir.
45013         * inet/Makefile: Likewise.
45014         * intl/Makefile: Likewise.
45015         * io/Makefile: Likewise.
45016         * libio/Makefile: Likewise.
45017         (all): Remove target.
45018         * locale/Makefile: Include Makeconfig immediately after defining
45019         subdir.
45020         * login/Makefile: Likewise.
45021         * mach/Makefile: Likewise.
45022         (all): Remove target.
45023         * malloc/Makefile: Include Makeconfig immediately after defining
45024         subdir.
45025         (all): Remove target.
45026         * manual/Makefile: Include Makeconfig immediately after defining
45027         subdir.
45028         * math/Makefile: Likewise.
45029         * misc/Makefile: Likewise.
45030         * nis/Makefile: Likewise.
45031         * nss/Makefile: Likewise.
45032         * po/Makefile: Likewise.
45033         (all): Remove target.
45034         * posix/Makefile: Include Makeconfig immediately after defining
45035         subdir.
45036         * pwd/Makefile: Likewise.
45037         * resolv/Makefile: Likewise.
45038         * resource/Makefile: Likewise.
45039         * rt/Makefile: Likewise.
45040         * setjmp/Makefile: Likewise.
45041         * shadow/Makefile: Likewise.
45042         * signal/Makefile: Likewise.
45043         * socket/Makefile: Likewise.
45044         * soft-fp/Makefile: Likewise.
45045         * stdio-common/Makefile: Likewise.
45046         * stdlib/Makefile: Likewise.
45047         * streams/Makefile: Likewise.
45048         * string/Makefile: Likewise.
45049         * sunrpc/Makefile: Likewise.
45050         (all): Remove target.
45051         * sysvipc/Makefile: Include Makeconfig immediately after defining
45052         subdir.
45053         * termios/Makefile: Likewise.
45054         * time/Makefile: Likewise.
45055         * timezone/Makefile: Likewise.
45056         (all): Remove target.
45057         * wcsmbs/Makefile: Include Makeconfig immediately after defining
45058         subdir.
45059         * wctype/Makefile: Likewise.
45061 2014-02-26  Steve Ellcey  <sellcey@mips.com>
45063         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
45064         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
45065         (libc_feholdexcept_setround_mips): Ditto.
45066         (libc_feholdsetround): New.
45067         (libc_feholdsetroundf): New.
45068         (libc_feholdsetroundl): New.
45069         (libc_feupdateenv_test_mips): New.
45070         (libc_feupdateenv_test): New.
45071         (libc_feupdateenv_testf): New.
45072         (libc_feupdateenv_testl): New.
45073         (libc_feresetround): New.
45074         (libc_feresetroundf): New.
45075         (libc_feresetroundl): New.
45076         (libc_fetestexcept_mips): New.
45077         (libc_fetestexcept): New.
45078         (libc_fetestexceptf): New.
45079         (libc_fetestexceptl): New.
45080         (HAVE_RM_CTX): New.
45081         (libc_feholdexcept_setround_mips_ctx): New.
45082         (libc_feholdexcept_setround_ctx): New.
45083         (libc_feholdexcept_setroundf_ctx): New.
45084         (libc_feholdexcept_setroundl_ctx): New.
45085         (libc_fesetenv_mips_ctx): New.
45086         (libc_fesetenv_ctx): New.
45087         (libc_fesetenv_ctxf): New.
45088         (libc_fesetenv_ctxl): New.
45089         (libc_feupdateenv_mips_ctx): New.
45090         (libc_feupdateenv_ctx): New.
45091         (libc_feupdateenvf_ctx): New.
45092         (libc_feupdateenvl_ctx): New.
45093         (libc_feholdsetround_mips_ctx): New.
45094         (libc_feholdsetround_ctx): New.
45095         (libc_feholdsetroundf_ctx): New.
45096         (libc_feholdsetroundl_ctx): New.
45097         (libc_feresetround_mips_ctx): New.
45098         (libc_feresetround_ctx): New.
45099         (libc_feresetroundf_ctx): New.
45100         (libc_feresetroundl_ctx): New.
45102 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
45104         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
45106         * manual/ipc.texi: New file.
45107         * manual/Makefile (chapters): Add ipc.
45108         * manual/job.texi: Add "Inter-Process Communication" to next.
45109         * manual/process.texi: Add "Inter-Process Communication" to prev.
45111 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45113         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45115 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
45117         * malloc/malloc.c (__libc_calloc): Simplify implementation.
45119         * manual/arith.texi: Fix spaces after sentences.
45120         * manual/charset.texi: Likewise.
45121         * manual/errno.texi: Likewise.
45122         * manual/install.texi: Likewise.
45123         * manual/llio.texi: Likewise.
45124         * manual/locale.texi: Likewise.
45125         * manual/maint.texi: Likewise.
45126         * manual/math.texi: Likewise.
45127         * manual/memory.texi: Likewise.
45128         * manual/message.texi: Likewise.
45129         * manual/probes.texi: Likewise.
45130         * manual/resource.texi: Likewise.
45131         * manual/signal.texi: Likewise.
45132         * manual/socket.texi: Likewise.
45133         * manual/stdio.texi: Likewise.
45134         * manual/string.texi: Likewise.
45135         * manual/time.texi: Likewise.
45136         * manual/users.texi: Likewise.
45138 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
45140         [BZ #16632]
45141         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
45142         _DEFAULT_SOURCE is defined.
45144 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
45145             Carlos O'Donell  <carlos@redhat.com>
45147         [BZ #16613]
45148         * elf/dl-tls.c (_dl_count_modids): New function.
45149         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
45150         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
45151         audit library and increment generation counter.
45152         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
45153         * elf/tst-audit9.c: New file.
45154         * elf/tst-auditmod9a.c: New file.
45155         * elf/tst-auditmod9b.c: New file.
45156         * elf/Makefile: Add rules to build and run tst-audit9.
45158 2014-02-25  Florian Weimer  <fweimer@redhat.com>
45160         [BZ #15347]
45161         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
45163 2014-02-25  Will Newton  <will.newton@linaro.org>
45165         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
45166         (__longjmp): Restore sp and lr before restoring callee
45167         saved registers.  Add longjmp and longjmp_target
45168         SystemTap probe point.
45169         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
45170         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
45171         Define to zero to match jmpbuf layout.
45172         * sysdeps/arm/setjmp.S: Include stap-probe.h.
45173         (__sigsetjmp): Save sp and lr before saving callee
45174         saved registers.  Add setjmp SystemTap probe point.
45176 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
45178         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45180 2014-02-24  Andreas Schwab  <schwab@suse.de>
45182         [BZ #15804]
45183         * elf/pldd.c (wait_for_ptrace_stop): New function.
45184         (main): Call it after attaching.
45186 2014-02-22  Roland McGrath  <roland@hack.frob.com>
45188         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
45189         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
45190         Versions files is now verboten.
45191         * hurd/Versions (libc: GLIBC_2.0):
45192         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
45193         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
45194         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
45195         * mach/Versions: Likewise.
45197         * csu/Versions: Remove unused %include.
45198         * resolv/Versions: Likewise.
45200 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
45202         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
45203         ($(objpfx)check-local-headers.out): Likewise.
45204         ($(objpfx)begin-end-check.out): Likewise.
45205         * Makerules (check-abi-%.out): Likewise.
45206         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
45207         ($(objpfx)test2.cat): Likewise.
45208         ($(objpfx)de/libc.cat): Likewise.
45209         ($(objpfx)test-gencat.out): Likewise.
45210         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
45211         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
45212         ($(objpfx)noload-mem): Likewise.
45213         ($(objpfx)tst-pathopt.out): Likewise.
45214         ($(objpfx)tst-rtld-load-self.out): Likewise.
45215         ($(objpfx)tst-array1-cmp.out): Likewise.
45216         ($(objpfx)tst-array1-static-cmp.out): Likewise.
45217         ($(objpfx)tst-array2-cmp.out): Likewise.
45218         ($(objpfx)tst-array3-cmp.out): Likewise.
45219         ($(objpfx)tst-array4-cmp.out): Likewise.
45220         ($(objpfx)tst-array5-cmp.out): Likewise.
45221         ($(objpfx)tst-array5-static-cmp.out): Likewise.
45222         ($(objpfx)check-textrel.out): Likewise.
45223         ($(objpfx)check-execstack.out): Likewise.
45224         ($(objpfx)check-localplt.out): Likewise.
45225         ($(objpfx)order2-cmp.out): Likewise.
45226         ($(objpfx)tst-leaks1-mem): Likewise.
45227         ($(objpfx)tst-leaks1-static-mem): Likewise.
45228         ($(objpfx)tst-initorder-cmp.out): Likewise.
45229         ($(objpfx)tst-initorder2-cmp.out): Likewise.
45230         ($(objpfx)tst-unused-dep.out): Likewise.
45231         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
45232         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
45233         * iconv/Makefile (test-iconvconfig): Likewise.
45234         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
45235         ($(objpfx)iconv-test.out): Likewise.
45236         ($(objpfx)tst-tables.out): Likewise.
45237         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
45238         ($(objpfx)tst-gettext.out): Likewise.
45239         ($(objpfx)tst-translit.out): Likewise.
45240         ($(objpfx)tst-gettext2.out): Likewise.
45241         ($(objpfx)tst-gettext4.out): Likewise.
45242         ($(objpfx)tst-gettext6.out): Likewise.
45243         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
45244         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
45245         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
45246         ($(objpfx)tst-fopenloc-mem.out): Likewise.
45247         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
45248         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
45249         * posix/Makefile ($(objpfx)globtest.out): Likewise.
45250         ($(objpfx)wordexp-tst.out): Likewise.
45251         ($(objpfx)annexc.out): Likewise.
45252         ($(objpfx)tst-fnmatch-mem): Likewise.
45253         ($(objpfx)bug-regex2-mem): Likewise.
45254         ($(objpfx)bug-regex14-mem): Likewise.
45255         ($(objpfx)bug-regex21-mem): Likewise.
45256         ($(objpfx)bug-regex31-mem): Likewise.
45257         ($(objpfx)tst-vfork3-mem): Likewise.
45258         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
45259         ($(objpfx)tst-pcre-mem): Likewise.
45260         ($(objpfx)tst-boost-mem): Likewise.
45261         ($(objpfx)tst-getconf.out): Likewise.
45262         ($(objpfx)bug-ga2-mem): Likewise.
45263         ($(objpfx)bug-glob2-mem): Likewise.
45264         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
45265         ($(objpfx)mtrace-tst-leaks2): Likewise.
45266         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
45267         ($(objpfx)tst-printf.out): Likewise.
45268         ($(objpfx)tst-setvbuf1.out): Likewise.
45269         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
45270         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
45271         ($(objpfx)tst-fmtmsg.out): Likewise.
45272         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
45273         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
45275         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
45276         * bits/sigaction.h [__USE_MISC]: Likewise.
45277         * bits/waitstatus.h: Update #endif comments.
45278         * ctype/ctype.h: Likewise.
45279         * dirent/dirent.h: Likewise.
45280         [__USE_MISC]: Remove redundant conditionals.
45281         * grp/grp.h: Update #endif comments.
45282         [__USE_GNU]: Remove redundant conditionals.
45283         [__USE_MISC]: Likewise.
45284         * inet/netinet/in.h [__USE_GNU]: Likewise.
45285         * io/sys/stat.h [__USE_MISC]: Likewise.
45286         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
45287         * libio/bits/stdio.h: Update #endif comments.
45288         [__USE_MISC]: Remove redundant conditionals.
45289         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
45290         * libio/stdio.h: Update #endif comments.
45291         [__USE_MISC]: Remove redundant conditionals.
45292         * math/bits/math-finite.h [__USE_MISC]: Likewise.
45293         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
45294         * math/math.h: Update #else and #endif comments.
45295         [__USE_MISC]: Remove redundant conditionals.
45296         * misc/sys/uio.h: Update #endif comments.
45297         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
45298         * posix/glob.h [__USE_MISC]: Likewise.
45299         * posix/sys/types.h: Update #endif comments.
45300         [__USE_MISC]: Remove redundant conditionals.
45301         * posix/sys/wait.h: Update #endif comments.
45302         [__USE_MISC]: Remove redundant conditionals.
45303         * posix/unistd.h: Update #endif comments.
45304         [__USE_MISC]: Remove redundant conditionals.
45305         * pwd/pwd.h [__USE_GNU]: Likewise.
45306         [__USE_MISC]: Likewise.
45307         * resolv/netdb.h [__USE_GNU]: Likewise.
45308         * signal/signal.h: Update #endif comments.
45309         [__USE_MISC]: Remove redundant conditionals.
45310         * stdlib/stdlib.h: Update #else and #endif comments.
45311         [__USE_MISC]: Remove redundant conditionals.
45312         [__USE_GNU]: Likewise.
45313         * string/bits/string2.h [__USE_MISC]: Likewise.
45314         * string/string.h: Update #endif comments.
45315         [__USE_MISC]: Remove redundant conditionals.
45316         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
45317         Likewise.
45318         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
45319         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
45320         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
45321         Likewise.
45322         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
45323         Likewise.
45324         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
45325         comments.
45326         [__USE_MISC]: Remove redundant conditionals.
45327         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
45328         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
45329         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
45330         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
45331         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
45332         Likewise.
45333         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
45334         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
45335         Likewise.
45336         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
45337         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
45338         Likewise.
45339         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
45340         Likewise.
45341         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
45342         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
45343         Likewise.
45344         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
45345         Likewise.
45346         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
45347         * sysdeps/x86/bits/string.h: Update #endif comments.
45348         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
45349         conditionals.
45350         * time/sys/time.h: Update #endif comments.
45351         * time/time.h: Likewise.
45352         [__USE_MISC]: Remove redundant conditionals.
45354 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
45356         [BZ #16600]
45357         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
45359 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
45361         * Versions.def (librt): Add GLIBC_2.17.
45363 2014-02-21  Adam Conrad  <adconrad@0c3.net>
45365         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
45366         synonym for _SYS_AUXV_H to allow direct inclusion.
45367         * sysdeps/sparc/bits/hwcap.h: Likewise.
45368         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
45369         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
45370         * sysdeps/sparc/sysdep.h: Likewise.
45372 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45374         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
45376 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
45378         * benchtests/bench-strrchr.c: Print length instead of position.
45380 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
45382         [BZ #16611]
45383         * sysdeps/unix/sysv/linux/kernel-features.h
45384         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
45385         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
45386         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
45387         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
45388         Likewise.
45389         [__i386__ || __powerpc__ || __sh__ || __sparc__]
45390         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45391         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
45392         (__ASSUME_SENDMMSG): Define instead of using previous
45393         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
45394         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45395         (__ASSUME_SENDMMSG_SYSCALL): Define.
45396         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45397         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
45398         Likewise.
45399         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45400         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45401         Likewise.
45402         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45403         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45404         Likewise.
45405         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
45406         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
45407         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
45408         [__ASSUME_SENDMMSG]: Change conditionals to
45409         [__ASSUME_SENDMMSG_SOCKETCALL].
45410         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45411         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
45412         Define.
45413         * sysdeps/unix/sysv/linux/mips/kernel-features.h
45414         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
45415         Likewise.
45416         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
45417         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
45418         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
45419         [!__ASSUME_SENDMMSG]: Change conditional to
45420         [!__ASSUME_SENDMMSG_SOCKETCALL].
45421         * sysdeps/unix/sysv/linux/tile/kernel-features.h
45422         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45423         Define.
45425         [BZ #16610]
45426         * sysdeps/unix/sysv/linux/kernel-features.h
45427         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
45428         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
45429         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
45430         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
45431         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45432         [__i386__ || __sparc__]
45433         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45434         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
45435         (__ASSUME_RECVMMSG): Define instead of using previous
45436         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
45437         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45438         (__ASSUME_RECVMMSG_SYSCALL): Define.
45439         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45440         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45441         Likewise.
45442         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45443         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45444         Likewise.
45445         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45446         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45447         Likewise.
45448         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
45449         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
45450         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
45451         [__ASSUME_RECVMMSG]: Change condition to
45452         [__ASSUME_RECVMMSG_SOCKETCALL].
45453         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45454         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45455         Define.
45456         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45457         * sysdeps/unix/sysv/linux/mips/kernel-features.h
45458         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45459         Likewise.
45460         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
45461         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
45462         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
45463         [!__ASSUME_RECVMMSG]: Change condition to
45464         [!__ASSUME_RECVMMSG_SOCKETCALL].
45465         * sysdeps/unix/sysv/linux/tile/kernel-features.h
45466         (__ASSUME_RECVMMSG_SYSCALL): Define.
45468         [BZ #16609]
45469         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
45470         __powerpc__ || __s390__ || __sh__ || __sparc__]
45471         (__ASSUME_SOCKETCALL): Define.
45472         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
45473         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
45474         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
45475         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
45476         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
45477         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
45478         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
45479         (__ASSUME_ACCEPT4): Define instead of using previous
45480         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
45481         __powerpc__ || __sparc__ || __s390__)] condition.
45482         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45483         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
45484         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
45485         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
45486         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
45487         [!__ASSUME_ACCEPT4]: Change condition to
45488         [!__ASSUME_ACCEPT4_SOCKETCALL].
45489         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45490         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
45491         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
45492         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45493         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
45494         __ASSUME_ACCEPT4_SYSCALL.
45495         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
45496         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
45497         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45498         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
45499         __ASSUME_ACCEPT4_SYSCALL.
45500         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
45501         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
45502         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
45503         [__ASSUME_ACCEPT4]: Change condition to
45504         [__ASSUME_ACCEPT4_SOCKETCALL].
45505         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45506         (__ASSUME_SOCKETCALL): Define.
45507         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
45508         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45509         (__ASSUME_SOCKETCALL): Define.
45510         (__ASSUME_ACCEPT4): Remove.
45511         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
45512         Define.
45513         * sysdeps/unix/sysv/linux/mips/kernel-features.h
45514         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
45515         Likewise.
45516         * sysdeps/unix/sysv/linux/tile/kernel-features.h
45517         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
45519         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
45520         macro.
45521         (HWCAP_ARM_LPAE): Likewise.
45522         (HWCAP_ARM_EVTSTRM): Likewise.
45523         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
45524         Add vpfd32, lpae and evtstrm.
45525         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
45526         Increase to 22.
45528 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
45530         * math/auto-libm-test-in: Add tests of clog10.
45531         * math/auto-libm-test-out: Regenerated.
45532         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
45533         * sysdeps/i386/fpu/libm-test-ulps: Update.
45534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45536 2014-02-18  Andreas Schwab  <schwab@suse.de>
45538         [BZ #16574]
45539         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
45540         Store non-zero if the second buffer was newly allocated.
45541         (send_dg): Likewise.
45542         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
45543         to send_vc and send_dg.
45544         (res_nsend): Pass NULL for ansp2_malloced.
45545         * resolv/res_query.c (__libc_res_nquery): Add parameter
45546         answerp2_malloced and pass it down to __libc_res_nsend.
45547         (res_nquery): Pass additional NULL to __libc_res_nquery.
45548         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
45549         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
45550         second answer buffer if answerp2_malloced was set.
45551         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
45552         (__libc_res_nquerydomain): Add parameter
45553         answerp2_malloced and pass it down to __libc_res_nquery.
45554         (res_nquerydomain): Pass additional NULL to
45555         __libc_res_nquerydomain.
45556         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
45557         additional NULL to __libc_res_nsend and __libc_res_nquery.
45558         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
45559         additional NULL to __libc_res_nsearch.
45560         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
45561         parameter of __libc_res_nsearch to check for separately allocated
45562         second buffer.
45563         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
45564         __libc_res_nquery.
45565         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
45566         additional NULL to __libc_res_nquery.
45567         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
45568         __libc_res_nsearch.
45569         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
45570         * include/resolv.h: Update prototypes of __libc_res_nquery,
45571         __libc_res_nsearch, __libc_res_nsend.
45573 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
45575         * math/auto-libm-test-in: Add tests of fma.
45576         * math/auto-libm-test-out: Regenerated.
45577         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
45578         (fma_towardzero_test_data): Likewise.
45579         (fma_downward_test_data): Likewise.
45580         (fma_upward_test_data): Likewise.
45581         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
45582         mpc_mode.
45583         (rounding_modes): Add values for new field.
45584         (func_calc_method): Add value mpfr_fff_f.
45585         (func_calc_desc): Add mpfr_fff_f union field.
45586         (test_function): Add field exact_args.
45587         (FUNC): Add macro argument EXACT_ARGS.
45588         (FUNC_mpfr_f_f): Update call to FUNC.
45589         (FUNC_mpfr_f_f): Likewise.
45590         (FUNC_mpfr_ff_f): Likewise.
45591         (FUNC_mpfr_if_f): Likewise.
45592         (FUNC_mpc_c_f): Likewise.
45593         (FUNC_mpc_c_c): Likewise.
45594         (test_functions): Add fma.  Update calls to FUNC.
45595         (handle_input_arg): Add argument exact_args.
45596         (add_test): Update call to handle_input_arg.
45597         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
45598         (output_for_one_input_case): Update call to calc_generic_results.
45599         Recalculate exact zero results in each rounding mode.
45601         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
45602         non-negative before setting low bit.
45603         * math/auto-libm-test-in: Mark one asin test possibly having
45604         spurious underflow.
45605         * math/auto-libm-test-out: Regenerated.
45606         * sysdeps/i386/fpu/libm-test-ulps: Update.
45607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45609 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
45611         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
45612         * sysdeps/unix/sysv/linux/microblaze: Move directory from
45613         ports/sysdeps/unix/sysv/linux/microblaze.
45614         * README: Add missing listing for microblaze*-*-linux-gnu.
45616 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
45618         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
45619         duplicate code
45621 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
45623         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
45624         * sysdeps/unix/sysv/linux/ia64: Move directory from
45625         ports/sysdeps/unix/sysv/linux/ia64.
45626         * README: Update listing for ia64-*-linux-gnu.
45628 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
45629             Joseph Myers  <joseph@codesourcery.com>
45631         * Makeconfig (test-name): New variable.
45632         (evaluate-test): Likewise.
45633         * Makerules (do-test-clean): Remove .test-result files.
45634         (common-mostlyclean): Likewise.
45635         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
45636         * scripts/evaluate-test.sh: New file.
45638 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
45640         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
45641         separate $(objpfx)tst-fopenloc-cmp.out and
45642         $(objpfx)tst-fopenloc-mem.out targets.
45643         (tests): Update dependencies.
45644         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
45645         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
45646         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
45647         (tst-rxspencer-no-utf8-ARGS): New variable.
45648         (tst-rxspencer-no-utf8-ENV): Likewise.
45649         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
45650         instead of $(objpfx)tst-rxspencer-mem.
45651         ($(objpfx)tst-rxspencer-mem): Change target to
45652         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
45653         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
45654         * posix/tst-rxspencer-no-utf8.c: New file.
45656         * elf/Makefile ($(objpfx)order.out): Remove rule.
45657         [$(run-built-tests) = yes] (tests): Depend on
45658         $(objpfx)order-cmp.out.
45659         ($(objpfx)order-cmp.out): New rule.
45660         [$(run-built-tests) = yes] (tests): Depend on
45661         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
45662         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
45663         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
45664         $(objpfx)tst-array5-static-cmp.out.
45665         ($(objpfx)tst-array1.out): Remove rule.
45666         ($(objpfx)tst-array1-cmp.out): New rule.
45667         ($(objpfx)tst-array1-static.out): Remove rule.
45668         ($(objpfx)tst-array1-static-cmp.out): New rule.
45669         ($(objpfx)tst-array2.out): Remove rule.
45670         ($(objpfx)tst-array2-cmp.out): New rule.
45671         ($(objpfx)tst-array3.out): Remove rule.
45672         ($(objpfx)tst-array3-cmp.out): New rule.
45673         ($(objpfx)tst-array4.out): Remove rule.
45674         ($(objpfx)tst-array4-cmp.out): New rule.
45675         ($(objpfx)tst-array5.out): Remove rule.
45676         ($(objpfx)tst-array5-cmp.out): New rule.
45677         ($(objpfx)tst-array5-static.out): Remove rule.
45678         ($(objpfx)tst-array5-static-cmp.out): New rule.
45679         [$(run-built-tests) = yes] (tests): Depend on
45680         $(objpfx)order2-cmp.out.
45681         ($(objpfx)order2.out): Remove rule.
45682         ($(objpfx)order2-cmp.out): New rule.
45683         ($(objpfx)tst-initorder.out): Remove rule.
45684         [$(run-built-tests) = yes] (tests): Depend on
45685         $(objpfx)tst-initorder-cmp.out.
45686         ($(objpfx)tst-initorder-cmp.out): New rule.
45687         ($(objpfx)tst-initorder2.out): Remove rule.
45688         [$(run-built-tests) = yes] (tests): Depend on
45689         $(objpfx)tst-initorder2-cmp.out.
45690         ($(objpfx)tst-initorder2-cmp.out): New rule.
45691         [$(run-built-tests) = yes] (tests): Depend on
45692         $(objpfx)tst-unused-dep-cmp.out.
45693         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
45694         ($(objpfx)tst-unused-dep-cmp.out): New rule.
45695         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
45696         on $(objpfx)tst-setvbuf1-cmp.out.
45697         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
45698         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
45699         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
45700         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
45701         ($(objpfx)tst-svc.out): Remove rule.
45702         ($(objpfx)tst-svc-cmp.out): New rule.
45704 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
45706         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
45707         * ctype/ctype.h [__USE_MISC]: Likewise.
45708         * dirent/dirent.h [__USE_MISC]: Likewise.
45709         * grp/grp.h [__USE_MISC]: Likewise.
45710         * io/fcntl.h [__USE_MISC]: Likewise.
45711         * io/sys/stat.h [__USE_MISC]: Likewise.
45712         * libio/stdio.h [__USE_MISC]: Likewise.
45713         * posix/unistd.h [__USE_MISC]: Likewise.
45714         * pwd/pwd.h [__USE_MISC]: Likewise.
45715         * stdlib.h [__USE_MISC]: Likewise.
45716         * string/bits/string2.h [__USE_MISC]: Likewise.
45717         * string/string.h [__USE_MISC]: Likewise.
45718         * time/time.h [__USE_MISC]: Likewise.
45720 2014-02-13  Andreas Schwab  <schwab@suse.de>
45722         [BZ #16574]
45723         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
45724         second answer buffer if it was separately allocated.
45726 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
45728         * sysdeps/mips/math-tests.h: Include <features.h>.
45729         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
45730         (ROUNDING_TESTS_long_double): Do not define.
45731         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
45732         (EXCEPTION_TESTS_long_double): Likewise.
45733         * sysdeps/mips/mips64/libm-test-ulps: Update.
45735         * include/features.h (__USE_BSD): Remove macro definitions.
45736         (__USE_SVID): Likewise.
45737         (_BSD_SOURCE): Likewise.
45738         (_SVID_SOURCE): Likewise.
45739         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
45740         from definition of _DEFAULT_SOURCE.
45741         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
45742         [_DEFAULT_SOURCE].
45743         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
45744         * bits/mman.h [__USE_BSD]: Likewise.
45745         * bits/termios.h [__USE_BSD]: Likewise.
45746         * bits/waitstatus.h [__USE_BSD]: Likewise.
45747         * ctype/ctype.h [__USE_SVID]: Likewise.
45748         * dirent/dirent.h [__USE_BSD]: Likewise.
45749         * grp/grp.h [__USE_SVID]: Likewise.
45750         [__USE_BSD]: Likewise.
45751         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
45752         * io/fcntl.h [__USE_BSD]: Likewise.
45753         * io/ftw.h [__USE_BSD]: Likewise.
45754         * io/sys/stat.h [__USE_BSD]: Likewise.
45755         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
45756         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
45757         * libio/stdio.h [__USE_SVID]: Likewise.
45758         [__USE_BSD]: Likewise.
45759         * math/math.h [__USE_SVID]: Likewise.
45760         [__USE_BSD]: Likewise.
45761         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
45762         * misc/bits/syslog.h [__USE_BSD]: Likewise.
45763         * misc/search.h [__USE_SVID]: Likewise.
45764         * misc/sys/mman.h [__USE_BSD]: Likewise.
45765         * misc/sys/syslog.h [__USE_BSD]: Likewise.
45766         * misc/sys/uio.h [__USE_BSD]: Likewise.
45767         * posix/bits/unistd.h [__USE_BSD]: Likewise.
45768         * posix/glob.h [__USE_BSD]: Likewise.
45769         * posix/regex.h [__USE_BSD]: Likewise.
45770         * posix/sys/types.h [__USE_BSD]: Likewise.
45771         [__USE_SVID]: Likewise.
45772         * posix/sys/utsname.h [__USE_SVID]: Likewise.
45773         * posix/sys/wait.h [__USE_BSD]: Likewise.
45774         [__USE_SVID]: Likewise.
45775         * posix/unistd.h [__USE_BSD]: Likewise.
45776         [__USE_SVID]: Likewise.
45777         * pwd/pwd.h [__USE_SVID]: Likewise.
45778         * resolv/netdb.h [__USE_BSD]: Likewise.
45779         * setjmp/setjmp.h [__USE_BSD]: Likewise.
45780         * signal/signal.h [__USE_BSD]: Likewise.
45781         [__USE_SVID]: Likewise.
45782         * socket/sys/socket.h [__USE_BSD]: Likewise.
45783         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
45784         * stdlib/stdlib.h [__USE_BSD]: Likewise.
45785         [__USE_SVID]: Likewise.
45786         * string/bits/string2.h [__USE_BSD]: Likewise.
45787         [__USE_SVID]: Likewise.
45788         * string/bits/string3.h [__USE_BSD]: Likewise.
45789         * string/endian.h [__USE_BSD]: Likewise.
45790         * string/string.h [__USE_SVID]: Likewise.
45791         [__USE_BSD]: Likewise.
45792         * string/strings.h [__USE_BSD]: Likewise.
45793         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
45794         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
45795         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
45796         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
45797         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
45798         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
45799         Likewise.
45800         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
45801         Likewise.
45802         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
45803         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
45804         Likewise.
45805         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
45806         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
45807         Likewise.
45808         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
45809         Likewise.
45810         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
45811         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
45812         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
45813         Likewise.
45814         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
45815         Likewise.
45816         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
45817         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
45818         * termios/termios.h [__USE_BSD]: Likewise.
45819         * time/sys/time.h [__USE_BSD]: Likewise.
45820         * time/time.h [__USE_BSD]: Likewise.
45821         [__USE_SVID]: Likewise.
45823         * Makefile (subdir_targets): Remove subdir_lint.out.
45825         * stdio-common/Makefile (do-tst-unbputc): Remove target.
45826         (do-tst-printf): Likewise.
45827         (tests): Depend directly on $(objpfx)tst-unbputc.out and
45828         $(objpfx)tst-printf.out.
45830         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
45832         * Makerules (check-abi-%): Change target to
45833         $(objpfx)check-abi-%.out.
45834         (check-abi target): Update dependencies.
45835         (check-abi-pattern variable): Redirect output of diff to $@.
45836         (check-abi variable): Likewise.
45837         * elf/Makefile (check-abi): Update dependencies.
45839         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
45840         unused.
45841         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
45842         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
45843         subnormal range.
45844         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
45845         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
45846         value has largest subnormal exponent.
45847         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
45848         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
45849         * sysdeps/aarch64/soft-fp/sfp-machine.h
45850         (_FP_TININESS_AFTER_ROUNDING): New macro.
45851         * sysdeps/alpha/soft-fp/sfp-machine.h
45852         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45853         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45854         Likewise.
45855         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
45856         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45857         * sysdeps/mips/soft-fp/sfp-machine.h
45858         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45859         * sysdeps/powerpc/soft-fp/sfp-machine.h
45860         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45861         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45862         Likewise.
45863         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
45864         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45865         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
45866         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45867         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45868         Likewise.
45870 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
45872         [BZ #16545]
45873         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
45874         model 1.
45876 2014-02-12  Richard Henderson  <rth@redhat.com>
45878         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
45879         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
45880         * sysdeps/unix/sysv/linux/alpha: Move directory from
45881         ports/sysdeps/unix/sysv/linux/alpha.
45882         * README: Update listing for alpha-*-linux-gnu.
45884 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
45886         * include/features.h: Update comment documenting feature test
45887         macros.
45888         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
45889         _DEFAULT_SOURCE.
45890         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
45891         (_SVID_SOURCE): Likewise.
45892         (_DEFAULT_SOURCE): Update description of default features.
45893         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
45894         with _GNU_SOURCE.
45895         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
45896         (S_ISVTX): Likewise.
45897         * manual/math.texi (Mathematical Constants): Likewise.
45898         * manual/signal.texi (Interrupted Primitives): Likewise.
45899         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
45900         * math/test-matherr.c (_SVID_SOURCE): Do not define.
45901         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
45902         Don't refer to _SVID_SOURCE in warning text.
45904         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45906         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
45907         already defined.
45908         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
45909         * sysdeps/mips/dl-lookup.c: Remove.
45910         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
45912 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
45914         [BZ #16447]
45915         * math/auto-libm-test-in: Add testcase for expl.
45916         * math/auto-libm-test-out: Regenerate.
45917         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
45918         calculation of unsafe.
45919         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
45921 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
45923         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
45924         * sysdeps/unix/sysv/linux/aarch64: Move directory from
45925         ports/sysdeps/unix/sysv/linux/aarch64.
45926         * README: Update listing for aarch64*-*-linux-gnu.
45928 2014-02-11  Will Newton  <will.newton@linaro.org>
45930         * manual/probes.texi (Mathematical Function Probes): Use
45931         "triggered" instead of "hit".
45933         * manual/probes.texi (Internal Probes): Add documentation
45934         of setjmp, longjmp and longjmp_target probes.
45936         * include/stap-probe.h: Add comment about probe argument
45937         format.
45939         * malloc/mtrace.c (attribute_hidden): Remove unused macro
45940         definition.  (tr_where, tr_freehook, tr_mallochook,
45941         tr_reallochook, tr_memalignhook): Use ANSI protoype.
45943 2014-02-11  David S. Miller  <davem@davemloft.net>
45945         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
45946         processing int_tests.
45948 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
45950         * sysdeps/mips: Move directory from ports/sysdeps/mips.
45951         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
45952         * sysdeps/unix/sysv/linux/mips: Move directory from
45953         ports/sysdeps/unix/sysv/linux/mips.
45954         * README: Update listing for mips-*-linux-gnu and
45955         mips64-*-linux-gnu.
45957 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
45959         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
45960         * sysdeps/unix/sysv/linux/m68k: Move directory from
45961         ports/sysdeps/unix/sysv/linux/m68k.
45962         * README: Update listing for m68k-*-linux-gnu.
45964 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
45966         * sysdeps/tile: Move directory from ports/sysdeps/tile.
45967         * sysdeps/unix/sysv/linux/generic: Move directory from
45968         ports/sysdeps/unix/sysv/linux/generic.
45969         * sysdeps/unix/sysv/linux/tile: Move directory from
45970         ports/sysdeps/unix/sysv/linux/tile.
45971         * README: Update listing for tile*-*-linux-gnu.
45973 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
45975         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
45976         __builtin_expect.
45977         * benchtests/bench-memmem.c (simple_memmem): Likewise.
45978         * catgets/open_catalog.c (__open_catalog): Likewise.
45979         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
45980         * debug/confstr_chk.c: Likewise.
45981         * debug/fread_chk.c (__fread_chk): Likewise.
45982         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
45983         * debug/getgroups_chk.c: Likewise.
45984         * debug/mbsnrtowcs_chk.c: Likewise.
45985         * debug/mbsrtowcs_chk.c: Likewise.
45986         * debug/mbstowcs_chk.c: Likewise.
45987         * debug/memcpy_chk.c: Likewise.
45988         * debug/memmove_chk.c: Likewise.
45989         * debug/mempcpy_chk.c: Likewise.
45990         * debug/memset_chk.c: Likewise.
45991         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
45992         * debug/strcat_chk.c (__strcat_chk): Likewise.
45993         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
45994         * debug/strncat_chk.c (__strncat_chk): Likewise.
45995         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
45996         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
45997         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
45998         * debug/wcpncpy_chk.c: Likewise.
45999         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
46000         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
46001         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
46002         * debug/wcsncpy_chk.c: Likewise.
46003         * debug/wcsnrtombs_chk.c: Likewise.
46004         * debug/wcsrtombs_chk.c: Likewise.
46005         * debug/wcstombs_chk.c: Likewise.
46006         * debug/wmemcpy_chk.c: Likewise.
46007         * debug/wmemmove_chk.c: Likewise.
46008         * debug/wmempcpy_chk.c: Likewise.
46009         * debug/wmemset_chk.c: Likewise.
46010         * dirent/scandirat.c (SCANDIRAT): Likewise.
46011         * dlfcn/dladdr1.c (dladdr1): Likewise.
46012         * dlfcn/dladdr.c (dladdr): Likewise.
46013         * dlfcn/dlclose.c (dlclose_doit): Likewise.
46014         * dlfcn/dlerror.c (__dlerror): Likewise.
46015         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
46016         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
46017         * dlfcn/dlopen.c (dlopen_doit): Likewise.
46018         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
46019         * dlfcn/dlsym.c (dlsym_doit): Likewise.
46020         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
46021         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
46022         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
46023         Likewise.
46024         * elf/dl-conflict.c: Likewise.
46025         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
46026         * elf/dl-dst.h: Likewise.
46027         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
46028         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
46029         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
46030         * elf/dl-init.c (call_init, _dl_init): Likewise.
46031         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
46032         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
46033         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
46034         Likewise.
46035         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
46036         Likewise.
46037         * elf/dl-minimal.c (__libc_memalign): Likewise.
46038         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
46039         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
46040         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
46041         * elf/dl-sym.c (do_sym): Likewise.
46042         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
46043         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
46044         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
46045         * elf/dl-writev.h (_dl_writev): Likewise.
46046         * elf/ldconfig.c (search_dir): Likewise.
46047         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
46048         (dl_main): Likewise.
46049         * elf/setup-vdso.h (setup_vdso): Likewise.
46050         * grp/compat-initgroups.c (compat_call): Likewise.
46051         * grp/fgetgrent.c (fgetgrent): Likewise.
46052         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
46053         * grp/putgrent.c (putgrent): Likewise.
46054         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
46055         Likewise.
46056         * hurd/hurdinit.c: Likewise.
46057         * iconvdata/8bit-gap.c (struct): Likewise.
46058         * iconvdata/ansi_x3.110.c : Likewise.
46059         * iconvdata/big5.c : Likewise.
46060         * iconvdata/big5hkscs.c : Likewise.
46061         * iconvdata/cp1255.c: Likewise.
46062         * iconvdata/cp1258.c : Likewise.
46063         * iconvdata/cp932.c : Likewise.
46064         * iconvdata/euc-cn.c: Likewise.
46065         * iconvdata/euc-jisx0213.c : Likewise.
46066         * iconvdata/euc-jp.c: Likewise.
46067         * iconvdata/euc-jp-ms.c : Likewise.
46068         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
46069         * iconvdata/gb18030.c : Likewise.
46070         * iconvdata/gbbig5.c (const): Likewise.
46071         * iconvdata/gbgbk.c: Likewise.
46072         * iconvdata/gbk.c : Likewise.
46073         * iconvdata/ibm1364.c : Likewise.
46074         * iconvdata/ibm930.c : Likewise.
46075         * iconvdata/ibm932.c: Likewise.
46076         * iconvdata/ibm933.c : Likewise.
46077         * iconvdata/ibm935.c : Likewise.
46078         * iconvdata/ibm937.c : Likewise.
46079         * iconvdata/ibm939.c : Likewise.
46080         * iconvdata/ibm943.c: Likewise.
46081         * iconvdata/iso_11548-1.c: Likewise.
46082         * iconvdata/iso-2022-cn.c : Likewise.
46083         * iconvdata/iso-2022-cn-ext.c : Likewise.
46084         * iconvdata/iso-2022-jp-3.c: Likewise.
46085         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
46086         * iconvdata/iso-2022-kr.c : Likewise.
46087         * iconvdata/iso646.c (gconv_end): Likewise.
46088         * iconvdata/iso_6937-2.c : Likewise.
46089         * iconvdata/iso_6937.c : Likewise.
46090         * iconvdata/iso8859-1.c: Likewise.
46091         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
46092         * iconvdata/shift_jisx0213.c : Likewise.
46093         * iconvdata/sjis.c : Likewise.
46094         * iconvdata/t.61.c : Likewise.
46095         * iconvdata/tcvn5712-1.c : Likewise.
46096         * iconvdata/tscii.c: Likewise.
46097         * iconvdata/uhc.c : Likewise.
46098         * iconvdata/unicode.c (gconv_end): Likewise.
46099         * iconvdata/utf-16.c (gconv_end): Likewise.
46100         * iconvdata/utf-32.c (gconv_end): Likewise.
46101         * iconvdata/utf-7.c (base64): Likewise.
46102         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
46103         * iconv/gconv_close.c (__gconv_close): Likewise.
46104         * iconv/gconv_open.c (__gconv_open): Likewise.
46105         * iconv/gconv_simple.c (internal_ucs4_loop_single)
46106         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
46107         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
46108         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
46109         (ucs4le_internal_loop_single): Likewise.
46110         * iconv/iconv.c (iconv): Likewise.
46111         * iconv/iconv_close.c: Likewise.
46112         * iconv/loop.c (SINGLE): Likewise.
46113         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
46114         * include/atomic.h: Likewise.
46115         * inet/inet6_option.c (option_alloc): Likewise.
46116         * intl/bindtextdom.c (set_binding_values): Likewise.
46117         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
46118         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
46119         * intl/localealias.c (read_alias_file): Likewise.
46120         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
46121         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
46122         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
46123         * libio/fmemopen.c (fmemopen): Likewise.
46124         * libio/iofgets.c (_IO_fgets): Likewise.
46125         * libio/iofgets_u.c (fgets_unlocked): Likewise.
46126         * libio/iofgetws.c (fgetws): Likewise.
46127         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
46128         * libio/iogetdelim.c (_IO_getdelim): Likewise.
46129         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
46130         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
46131         * locale/findlocale.c (_nl_find_locale): Likewise.
46132         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
46133         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
46134         Likewise.
46135         * locale/setlocale.c (setlocale): Likewise.
46136         * login/programs/pt_chown.c (main): Likewise.
46137         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
46138         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
46139         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
46140         (mmap, mmap64, mremap, munmap): Likewise.
46141         * math/e_exp2l.c: Likewise.
46142         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
46143         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
46144         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
46145         * math/s_catan.c (__catan): Likewise.
46146         * math/s_catanf.c (__catanf): Likewise.
46147         * math/s_catanh.c (__catanh): Likewise.
46148         * math/s_catanhf.c (__catanhf): Likewise.
46149         * math/s_catanhl.c (__catanhl): Likewise.
46150         * math/s_catanl.c (__catanl): Likewise.
46151         * math/s_ccosh.c (__ccosh): Likewise.
46152         * math/s_ccoshf.c (__ccoshf): Likewise.
46153         * math/s_ccoshl.c (__ccoshl): Likewise.
46154         * math/s_cexp.c (__cexp): Likewise.
46155         * math/s_cexpf.c (__cexpf): Likewise.
46156         * math/s_cexpl.c (__cexpl): Likewise.
46157         * math/s_clog10.c (__clog10): Likewise.
46158         * math/s_clog10f.c (__clog10f): Likewise.
46159         * math/s_clog10l.c (__clog10l): Likewise.
46160         * math/s_clog.c (__clog): Likewise.
46161         * math/s_clogf.c (__clogf): Likewise.
46162         * math/s_clogl.c (__clogl): Likewise.
46163         * math/s_csin.c (__csin): Likewise.
46164         * math/s_csinf.c (__csinf): Likewise.
46165         * math/s_csinh.c (__csinh): Likewise.
46166         * math/s_csinhf.c (__csinhf): Likewise.
46167         * math/s_csinhl.c (__csinhl): Likewise.
46168         * math/s_csinl.c (__csinl): Likewise.
46169         * math/s_csqrt.c (__csqrt): Likewise.
46170         * math/s_csqrtf.c (__csqrtf): Likewise.
46171         * math/s_csqrtl.c (__csqrtl): Likewise.
46172         * math/s_ctan.c (__ctan): Likewise.
46173         * math/s_ctanf.c (__ctanf): Likewise.
46174         * math/s_ctanh.c (__ctanh): Likewise.
46175         * math/s_ctanhf.c (__ctanhf): Likewise.
46176         * math/s_ctanhl.c (__ctanhl): Likewise.
46177         * math/s_ctanl.c (__ctanl): Likewise.
46178         * math/w_pow.c: Likewise.
46179         * math/w_powf.c: Likewise.
46180         * math/w_powl.c: Likewise.
46181         * math/w_scalb.c (sysv_scalb): Likewise.
46182         * math/w_scalbf.c (sysv_scalbf): Likewise.
46183         * math/w_scalbl.c (sysv_scalbl): Likewise.
46184         * misc/error.c (error_tail): Likewise.
46185         * misc/pselect.c (__pselect): Likewise.
46186         * nis/nis_callback.c (__nis_create_callback): Likewise.
46187         * nis/nis_call.c (__nisfind_server): Likewise.
46188         * nis/nis_creategroup.c (nis_creategroup): Likewise.
46189         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
46190         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
46191         * nis/nis_getservlist.c (nis_getservlist): Likewise.
46192         * nis/nis_lookup.c (nis_lookup): Likewise.
46193         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
46194         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
46195         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
46196         * nis/nis_xdr.c (xdr_endpoint): Likewise.
46197         * nis/nss_compat/compat-grp.c (getgrent_next_file)
46198         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
46199         * nis/nss_compat/compat-initgroups.c (add_group)
46200         (internal_getgrent_r): Likewise.
46201         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
46202         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
46203         * nis/nss_compat/compat-spwd.c (getspent_next_file)
46204         (internal_getspnam_r): Likewise.
46205         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
46206         (_nss_nis_getaliasbyname_r): Likewise.
46207         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
46208         (_nss_nis_getntohost_r): Likewise.
46209         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
46210         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
46211         (_nss_nis_getgrgid_r): Likewise.
46212         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
46213         (internal_nis_gethostent_r, internal_gethostbyname2_r)
46214         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
46215         (_nss_nis_gethostbyname4_r): Likewise.
46216         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
46217         (initgroups_netid): Likewise.
46218         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
46219         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
46220         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
46221         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
46222         (_nss_nis_getprotobynumber_r): Likewise.
46223         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
46224         (_nss_nis_getsecretkey): Likewise.
46225         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
46226         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
46227         (_nss_nis_getpwuid_r): Likewise.
46228         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
46229         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
46230         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
46231         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
46232         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
46233         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
46234         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
46235         Likewise.
46236         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
46237         (_nss_nisplus_getntohost_r): Likewise.
46238         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
46239         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
46240         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
46241         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
46242         Likewise.
46243         * nis/nss_nisplus/nisplus-initgroups.c
46244         (_nss_nisplus_initgroups_dyn): Likewise.
46245         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
46246         (_nss_nisplus_getnetbyaddr_r): Likewise.
46247         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
46248         (_nss_nisplus_getprotobynumber_r): Likewise.
46249         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
46250         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
46251         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
46252         Likewise.
46253         * nis/nss_nisplus/nisplus-service.c
46254         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
46255         (_nss_nisplus_getservbyport_r): Likewise.
46256         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
46257         (_nss_nisplus_getspnam_r): Likewise.
46258         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
46259         Likewise.
46260         * nscd/aicache.c (addhstaiX): Likewise.
46261         * nscd/cache.c (cache_search, prune_cache): Likewise.
46262         * nscd/connections.c (register_traced_file, send_ro_fd)
46263         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
46264         (main_loop_epoll): Likewise.
46265         * nscd/grpcache.c (addgrbyX): Likewise.
46266         * nscd/hstcache.c (addhstbyX): Likewise.
46267         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46268         * nscd/mem.c (gc, mempool_alloc): Likewise.
46269         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
46270         (addinnetgrX): Likewise.
46271         * nscd/nscd-client.h (__nscd_acquire_maplock)
46272         (__nscd_drop_map_ref): Likewise.
46273         * nscd/nscd_getai.c (__nscd_getai): Likewise.
46274         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
46275         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
46276         Likewise.
46277         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
46278         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46279         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
46280         (__nscd_get_map_ref): Likewise.
46281         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
46282         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
46283         Likewise.
46284         * nscd/pwdcache.c (addpwbyX): Likewise.
46285         * nscd/selinux.c (preserve_capabilities): Likewise.
46286         * nscd/servicescache.c (addservbyX): Likewise.
46287         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
46288         * posix/fnmatch.c (fnmatch): Likewise.
46289         * posix/getopt.c (_getopt_internal_r): Likewise.
46290         * posix/glob.c (glob, glob_in_dir): Likewise.
46291         * posix/wordexp.c (exec_comm_child): Likewise.
46292         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
46293         (getanswer_r, gaih_getanswer_slice): Likewise.
46294         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
46295         * resolv/res_init.c: Likewise.
46296         * resolv/res_mkquery.c (res_nmkquery): Likewise.
46297         * resolv/res_query.c (__libc_res_nquery): Likewise.
46298         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
46299         Likewise.
46300         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
46301         * stdio-common/perror.c (perror): Likewise.
46302         * stdio-common/printf_fp.c (___printf_fp): Likewise.
46303         * stdio-common/tmpnam.c (tmpnam): Likewise.
46304         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
46305         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
46306         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
46307         Likewise.
46308         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
46309         * stdlib/putenv.c (putenv): Likewise.
46310         * stdlib/setenv.c (__add_to_environ): Likewise.
46311         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
46312         * stdlib/strtol_l.c (INTERNAL): Likewise.
46313         * string/memmem.c (memmem): Likewise.
46314         * string/strerror.c (strerror): Likewise.
46315         * string/strnlen.c (__strnlen): Likewise.
46316         * string/test-memmem.c (simple_memmem): Likewise.
46317         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
46318         * sunrpc/pm_getport.c (__get_socket): Likewise.
46319         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
46320         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
46321         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
46322         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
46323         Likewise.
46324         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
46325         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
46326         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
46327         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
46328         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
46329         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
46330         Likewise.
46331         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
46332         Likewise.
46333         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
46334         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
46335         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46336         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
46337         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
46338         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
46339         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
46340         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
46341         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
46342         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
46343         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46344         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
46345         Likewise.
46346         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
46347         Likewise.
46348         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
46349         Likewise.
46350         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
46351         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46352         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
46353         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
46354         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
46355         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
46356         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46357         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
46358         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
46359         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
46360         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
46361         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46362         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
46363         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
46364         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46365         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
46366         Likewise.
46367         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
46368         Likewise.
46369         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
46370         Likewise.
46371         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
46372         Likewise.
46373         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46374         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46375         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
46376         Likewise.
46377         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
46378         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
46379         * sysdeps/posix/opendir.c (__opendirat): Likewise.
46380         * sysdeps/posix/sleep.c: Likewise.
46381         * sysdeps/posix/tempname.c: Likewise.
46382         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
46383         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46384         Likewise.
46385         * sysdeps/powerpc/powerpc32/dl-machine.h
46386         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
46387         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
46388         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46389         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
46390         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
46391         Likewise.
46392         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
46393         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
46394         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
46395         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
46396         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
46397         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
46398         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
46399         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
46400         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46401         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
46402         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
46403         (elf_machine_lazy_rel): Likewise.
46404         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46405         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
46406         (elf_machine_lazy_rel): Likewise.
46407         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
46408         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
46409         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
46410         * sysdeps/unix/grantpt.c (grantpt): Likewise.
46411         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
46412         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
46413         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
46414         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46415         Likewise.
46416         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
46417         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
46418         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
46419         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
46420         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
46421         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
46422         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
46423         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
46424         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
46425         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
46426         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
46427         Likewise.
46428         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
46429         (__posix_fallocate64_l64): Likewise.
46430         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
46431         (posix_fallocate): Likewise.
46432         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
46433         Likewise.
46434         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46435         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
46436         (getifaddrs_internal): Likewise.
46437         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
46438         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
46439         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
46440         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
46441         * sysdeps/unix/sysv/linux/posix_fallocate64.c
46442         (__posix_fallocate64_l64): Likewise.
46443         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
46444         Likewise.
46445         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
46446         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
46447         (__get_clockfreq): Likewise.
46448         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
46449         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
46450         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
46451         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46452         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46453         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
46454         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
46455         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
46456         Likewise.
46457         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
46458         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
46459         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
46460         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
46461         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46462         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
46463         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
46464         Likewise.
46465         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
46466         (posix_fallocate): Likewise.
46467         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46468         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
46469         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
46470         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
46471         (elf_machine_rela, elf_machine_rela_relative)
46472         (elf_machine_lazy_rel): Likewise.
46473         * time/asctime.c (asctime_internal): Likewise.
46474         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
46475         * time/tzset.c (__tzset_parse_tz): Likewise.
46476         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
46477         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
46478         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
46479         * wcsmbs/wcsmbsload.h: Likewise.
46481         [BZ #15894]
46482         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
46484         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
46485         (arena_get2): Remove THREAD_STATS conditionals.
46486         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
46487         (__malloc_stats, int): Likewise.
46489 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
46491         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
46492         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
46494         * manual/setjmp.texi: Fix typos/grammar errors.
46496         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
46497         Only return early when n is <= 0.  Delete unused return statement.
46499         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
46500         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
46501         * debug/tst-longjmp_chk3.c: New file.
46503         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
46504         (test_main): Replace code with set_fortify_handler call.
46505         * debug/test-strcpy_chk.c: Likewise.
46506         * debug/tst-chk1.c: Likewise.
46507         * debug/tst-longjmp_chk.c: Likewise.
46508         * test-skeleton.c: Include fcntl.h & paths.h
46509         (set_fortify_handler): Define.
46511         * debug/tst-longjmp_chk.c: Add header comment and include
46512         ../test-skeleton.c.
46513         (do_test): Mark static.
46514         (TEST_FUNCTION): Define.
46516         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
46517         (IP_PMTUDISC_INTERFACE): Likewise.
46518         (IP_MULTICAST_IF): Likewise.
46519         (IP_MULTICAST_TTL): Likewise.
46520         (IP_MULTICAST_LOOP): Likewise.
46521         (IP_ADD_MEMBERSHIP): Likewise.
46522         (IP_DROP_MEMBERSHIP): Likewise.
46523         (IP_UNBLOCK_SOURCE): Likewise.
46524         (IP_BLOCK_SOURCE): Likewise.
46525         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
46526         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
46527         (IP_MSFILTER): Likewise.
46528         (MCAST_JOIN_GROUP): Likewise.
46529         (MCAST_BLOCK_SOURCE): Likewise.
46530         (MCAST_UNBLOCK_SOURCE): Likewise.
46531         (MCAST_LEAVE_GROUP): Likewise.
46532         (MCAST_JOIN_SOURCE_GROUP): Likewise.
46533         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
46534         (MCAST_MSFILTER): Likewise.
46535         (IP_MULTICAST_ALL): Likewise.
46536         (IP_UNICAST_IF): Likewise.
46538         * timezone/Makefile: Delete $(have-ksh) check.
46539         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
46540         * timezone/tzselect.ksh: Add +x mode bits.
46542         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
46543         (ANON_INODE_FS_MAGIC): Likewise.
46544         (BDEVFS_MAGIC): Likewise.
46545         (BINFMTFS_MAGIC): Likewise.
46546         (BTRFS_TEST_MAGIC): Likewise.
46547         (CRAMFS_MAGIC_WEND): Likewise.
46548         (DEBUGFS_MAGIC): Likewise.
46549         (ECRYPTFS_SUPER_MAGIC): Likewise.
46550         (EXT3_SUPER_MAGIC): Likewise.
46551         (EXT4_SUPER_MAGIC): Likewise.
46552         (FUTEXFS_SUPER_MAGIC): Likewise.
46553         (HOSTFS_SUPER_MAGIC): Likewise.
46554         (HUGETLBFS_MAGIC): Likewise.
46555         (MINIX3_SUPER_MAGIC): Likewise.
46556         (MTD_INODE_FS_MAGIC): Likewise.
46557         (NILFS_SUPER_MAGIC): Likewise.
46558         (OPENPROM_SUPER_MAGIC): Likewise.
46559         (PIPEFS_MAGIC): Likewise.
46560         (PSTOREFS_MAGIC): Likewise.
46561         (QNX6_SUPER_MAGIC): Likewise.
46562         (RAMFS_MAGIC): Likewise.
46563         (REISERFS_SUPER_MAGIC_STRING): Likewise.
46564         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
46565         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
46566         (SECURITYFS_MAGIC): Likewise.
46567         (SELINUX_MAGIC): Likewise.
46568         (SMACK_MAGIC): Likewise.
46569         (SOCKFS_MAGIC): Likewise.
46570         (SQUASHFS_MAGIC): Likewise.
46571         (STACK_END_MAGIC): Likewise.
46572         (TMPFS_MAGIC): Likewise.
46573         (USBDEVICE_SUPER_MAGIC): Likewise.
46574         (V9FS_MAGIC): Likewise.
46575         (XENFS_SUPER_MAGIC): Likewise.
46576         (CRAMFS_MAGIC): Fix typo in comment.
46577         (EXT2_SUPER_MAGIC): Update comment.
46578         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
46580 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
46582         * sysdeps/arm: Move directory from ports/sysdeps/arm.
46583         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
46584         * sysdeps/unix/sysv/linux/arm: Move directory from
46585         ports/sysdeps/unix/sysv/linux/arm.
46586         * README: Update listing for arm-*-linux-gnueabi.
46588         * README: Remove mention of am33.
46590 2014-02-07  Roland McGrath  <roland@hack.frob.com>
46592         * bits/sigset.h (__sigemptyset): Use a statement expression rather
46593         than the comma operator, to avoid "rhs of comma has no effect"
46594         compiler warnings.
46595         (__sigfillset, __sigandset, __sigorset): Likewise.
46596         * include/signal.h (__sigemptyset): Likewise.
46597         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
46599 2014-02-07  Allan McRae  <allan@archlinux.org>
46601         * version.h (RELEASE): Set to "development".
46602         (VERSION): Set to "2.19.90"
46603         * NEWS: Add 2.20 section.
46605 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
46607         [BZ #16529]
46608         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
46610 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
46612         * manual/contrib.texi: Update entry for Carlos O'Donell,
46613         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
46615 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
46617         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
46619         * sysdeps/unix/sysv/linux/kernel-features.h
46620         [__LINUX_KERNEL_VERSION >= 0x020621]
46621         (__ASSUME_PROC_PID_TASK_COMM): Define.
46623 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46625         [BZ #16398]
46626         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
46627         conversion when destination buffer does not have enough space.
46628         * libio/tst-ftell-partial-wide.c: New test case.
46629         * libio/Makefile (tests): Add tst-ftell-partial-wide.
46631         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
46632         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
46633         Leonard and Allan McRae.
46635 2014-02-04  David S. Miller  <davem@davemloft.net>
46637         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
46638         32-bit.
46640 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
46643         New file
46644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
46645         New file
46646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
46647         New file.
46648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
46649         New file.
46650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
46651         New file.
46652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
46653         New file.
46654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
46655         New file.
46656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
46657         New file.
46658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
46659         New file.
46660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
46661         New file.
46662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
46663         New file.
46664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
46665         New file.
46666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
46667         New file.
46669 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46671         * nptl/shlib-versions: Change powerpc*le start to 2.17.
46672         * shlib-versions: Likewise.
46674 2014-02-04  Roland McGrath  <roland@hack.frob.com>
46675             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46677         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
46678         (abilist-pattern): New variable, set to %-le.abilist.
46680         * Makerules (abilist-pattern): New variable.
46681         (vpath): Use $(abilist-pattern) in place of %.abilist.
46682         (check-abi-% pattern rule): Likewise.
46683         (check-abi, update-abi): Likewise.
46685 2014-02-04  Eric Wong  <normalperson@yhbt.net>
46687         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46689 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
46691         * manual/startup.texi: Add next, previous, and top entries for
46692         the `Program Arguments' and `Environment Variables' nodes.
46694 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
46696         * manual/macros.texi: Add comments before MTASC-safety macros.
46698         * manual/users.texi: Document MTASC-safety properties.
46700         * manual/threads.texi (pthread_key_create, pthread_key_delete)
46701         (pthread_getspecific, pthread_setspecific): Format with
46702         @deftypefun, and add @safety note.
46703         * manual/signal.texi: Move comments that analyze the above
46704         functions to their home place.
46706 2014-02-03  Allan McRae  <allan@archlinux.org>
46708         * po/sl.po: Update Slovenian translation from translation project.
46710 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
46712         * manual/time.texi (timegm): Add missing blank after @c.
46713         Reported by Joseph Myers <joseph@codesourcery.com>.
46715 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
46717         * manual/check-safety.sh: New.
46718         * manual/Makefile ($(objpfx)stamp-summary): Run it.
46720         * manual/terminal.texi: Document MTASC-safety properties.
46722         * manual/filesys.texi: Document MTASC-safety properties.
46724         * manual/errno.texi: Document MTASC-safety properties.
46726         * manual/intro.texi: Document safety identifiers and
46727         conditionals.
46729         * manual/string.texi (wcstok): Fix prototype.
46730         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
46732         * manual/time.texi: Document MTASC-safety properties.
46734         * manual/string.texi: Document MTASC-safety properties.
46736         * manual/threads.texi: Document MTASC-safety properties.
46738         * manual/stdio.texi: Document MTASC-safety properties.
46740         * manual/syslog.texi: Document MTASC-safety properties.
46742         * manual/sysinfo.texi: Document MTASC-safety properties.
46744         * manual/startup.texi: Document MTASC-safety properties.
46746         * manual/socket.texi: Document MTASC-safety properties.
46748         * manual/signal.texi: Document MTASC-safety properties.
46750 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
46752         * manual/setjmp.texi: Document MTASC-safety properties.
46754         * manual/search.texi: Document MTASC-safety properties.
46756         * manual/resource.texi: Document MTASC-safety properties.
46758         * manual/process.texi: Document MTASC-safety properties.
46760         * manual/platform.texi: Document MTASC-safety properties.
46762         * manual/pipe.texi: Document MTASC-safety properties.
46764         * manual/pattern.texi: Document MTASC-safety properties.
46766         * manual/message.texi: Document MTASC-safety properties.
46768         [BZ #12751]
46769         * manual/memory.texi: Document MTASC-safety properties.
46771         * manual/math.texi: Document MTASC-safety properties.
46773         * manual/locale.texi: Document MTASC-safety properties.
46775         * manual/llio.texi: Document MTASC-safety properties.
46777         * manual/libdl.texi: New.
46779         * manual/lang.texi: Document MTASC-safety properties.
46781         * manual/job.texi: Document MTASC-safety properties.
46783         * manual/getopt.texi: Document MTASC-safety properties.
46785         * manual/ctype.texi: Document MTASC-safety properties.
46787 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
46789         [BZ #16046]
46790         * csu/libc-tls.c (static_map): Remove variable.
46791         (__libc_setup_tls): Use main executable's link map for TLS data.
46792         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
46793         casing for LM_ID_BASE and GL(dl_nns).
46794         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
46795         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
46796         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
46797         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
46798         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
46799         member.
46800         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
46801         l_phnum members.
46803 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
46805         * manual/debug.texi: Document MTASC-safety properties.
46807 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
46809         [BZ #16510]
46810         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
46811         of __x86_64__ when disabling x87 inline functions.
46813 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
46815         * manual/charset.texi: Document MTASC-safety properties.
46817         * manual/crypt.texi: Document MTASC-safety properties.
46819         * manual/conf.texi: Document MTASC-safety properties.
46821         * manual/arith.texi: Document MTASC-safety properties.
46823         * manual/argp.texi: Document MTASC-safety properties.
46825         * manual/macros.texi: Introduce macros to document multi
46826         thread, asynchronous signal and asynchronous cancellation
46827         safety properties.
46828         * manual/intro.texi: Introduce the properties themselves.
46830 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46832         * sysdeps/sh/sh4/Makefile: New file.
46834 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
46836         * math/gen-libm-test.pl ($srcdir): New variable.
46837         ($auto_input): Use it.
46839 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46841         [BZ #16506]
46842         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
46843         access beyond array bounds when parsing netgroups file.
46845         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
46846         the old buffer before realloc.
46848 2014-01-27  Allan McRae  <allan@archlinux.org>
46850         * po/fr.po: Update French translation from translation project.
46852 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46854         * sysdeps/sh/libm-test-ulps: Regenerate.
46856 2014-01-24  David S. Miller  <davem@davemloft.net>
46858         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
46860 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46862         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
46863         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
46865 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46867         [BZ #16474]
46868         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
46869         string pointers after reallocation.
46871 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46873         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
46874         __SH4A__ instead of __SH_FPU_ANY__.
46876 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46878         * sysdeps/sh/fpu_control.h: New file.
46879         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
46880         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
46881         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
46882         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
46883         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
46884         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
46885         * sysdeps/sh/sys/ucontext.h: Remove.
46886         * sysdeps/sh/sys: Remove directory.
46888 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46890         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
46891         s390/sys/ucontext.h.
46892         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
46893         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
46895 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
46897         [BZ #15605]
46898         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
46900 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46902         [BZ#16431]
46903         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
46904         Adjust the vDSO correctly for internal calls.
46905         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
46907 2014-01-20  Allan McRae  <allan@archlinux.org>
46909         * po/ca.po: Update Catalan translation from translation project.
46911 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
46913         * sysdeps/s390/sotruss-lib.c: New file.
46915 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46917         [BZ#16430]
46918         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
46919         (__GI___gettimeofday): Alias for a different internal symbol to avoid
46920         local calls issues by not having a PLT stub required for IFUNC calls.
46921         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
46923 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
46925         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
46926         * math/test-fpucw-static.c: Likewise.
46928 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46930         [BZ #16453]
46931         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
46933 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46935         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
46936         implementation for powerpc.
46938 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
46940         [BZ #14782]
46941         * sysdeps/posix/system.c (__libc_system): Do not enable
46942         asynchronous cancellation.
46944 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46946         [BZ #16427]
46947         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
46948         handling only for numbers special also in the IEEE case.
46950 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46952         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46954 2014-01-11  Allan McRae  <allan@archlinux.org>
46956         * po/bg.po: Update Bulgarian translation from translation project.
46958         * po/de.po: Update German translation from translation project.
46960 2014-01-10  Roland McGrath  <roland@hack.frob.com>
46962         * sysdeps/generic/gcc-compat.h: New file.
46964 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46966         * benchtests/asin-inputs: Correct slow inputs.
46967         * benchtests/acos-inputs: Likewise.
46969 2014-01-10  Allan McRae  <allan@archlinux.org>
46971         * po:sv.po: Update Swedish translation from translation project.
46973         * po/vi.po: Update Vietnamese translation from translation project.
46975         * po/eo.po: Update Esperanto translation from translation project.
46977         * po/cs.po: Update Czech translation from translation project.
46979         * po/nl.po: Update Dutch translation from translation project.
46981         * po/pl.po: Update Polish translation from translation project.
46983         * po/ru.po: Update Russian translation from translation project.
46985         * po/uk.po: Update Ukrainian translation from translation project.
46987 2014-01-08  Brooks Moses  <bmoses@google.com>
46989         * elf/dl-load.c: Fix comment typo.
46991 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
46993         * po/header.pot: Rename to...
46994         * po/pot.header: ... this.
46995         * po/Makefile: Use pot.header.
46997 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
46998             Maxim Kuvyrkov  <maxim@kugelworks.com>
47000         [BZ #16394]
47001         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
47002         SRC and DEST against LEN.
47004 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47006         [BZ #16414]
47007         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
47008         implementation.
47009         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
47011 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47013         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47015 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
47017         [BZ #16408]
47018         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
47019         for large positive arguments.
47021 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
47023         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47025         * math/auto-libm-test-in: Mark various tests with
47026         xfail-rounding:ldbl-128ibm.
47027         * math/auto-libm-test-out: Regenerated.
47029         [BZ #16407]
47030         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
47031         Increase overflow threshold.
47033 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
47035         [BZ #14286]
47036         * stdio-common/vfprintf.c: Check for integer overflow.
47038 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47040         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
47041         the first argument and return value of __tls_get_addr_internal.
47043 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47045         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
47046         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
47048 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47050         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
47051         * sysdeps/s390/rtld-global-offsets.sym: New file.
47052         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
47053         GLIBC_2.19 symbol.
47054         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
47055         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
47056         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
47057         ... this.
47058         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
47059         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
47060         ... this.
47061         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47062         Regenerate.
47063         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47064         Regenerate.
47065         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
47066         halfs of GPRs for high_gprs contexts.
47067         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
47068         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
47069         field.
47070         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
47071         uc_flags field.
47072         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
47073         64 bit versions:
47074         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
47075         for high GPRs (uc_high_gprs) and for future extensions
47076         (__reserved).
47077         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
47078         for future extensions (__reserved).
47079         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
47080         64 bit versions:
47081         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
47082         SC_HIGHGPRS offset definition.
47083         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
47084         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
47086         * Versions.def: Add GLIBC_2.19 for libpthread.
47087         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
47088         siglongjmp for libpthread with GLIBC_2.19 symver.
47089         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
47090         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
47091         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
47092         * sysdeps/s390/__longjmp.c: New file.
47093         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
47094         * sysdeps/s390/longjmp.c: New file.
47095         * sysdeps/s390/setjmp.S: New file.
47096         * sysdeps/s390/sigjmp.S: New file.
47097         * sysdeps/s390/v1-longjmp.c: New file.
47098         * sysdeps/s390/v1-setjmp.h: New file.
47099         * sysdeps/s390/v1-sigjmp.c: New file.
47100         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
47101         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
47102         GLIBC_2.19 version.
47103         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
47104         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
47105         versioned symbols for ____longjmp_chk.
47106         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
47107         Likewise.
47108         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47109         Regenerate.
47110         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47111         Regenerate.
47112         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47113         Regenerate.
47114         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47115         Regenerate.
47116         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
47117         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
47118         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
47119         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
47120         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
47121         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
47122         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
47123         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
47124         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
47125         * sysdeps/s390/rtld-__longjmp.c: New file.
47126         * sysdeps/s390/rtld-setjmp.S: New file.
47128 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
47130         [BZ #16400]
47131         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47132         Return -__logl (x) for small positive arguments without evaluating
47133         a polynomial.
47135 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
47137         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
47138         Rename to ...
47139         (__ptrace_peeksiginfo_args): ... this.
47140         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47141         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47142         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47144 2014-01-06  Allan McRae  <allan@archlinux.org>
47146         * inet/netinet/in.h: Fix typo in comment.
47148 2014-01-05  Andreas Jaeger  <aj@suse.de>
47150         * sysdeps/i386/fpu/libm-test-ulps: Update.
47152 2014-01-05  Allan McRae  <allan@archlinux.org>
47154         * po/libc.pot: Regenerated.
47156         * malloc/memusagestat.c: Fix gettext call formatting.
47158 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
47160         * nscd/nscd.c: Improve usage() output.
47162 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
47164         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
47165         * sysdeps/unix/sysv/linux/configure: Regenerated.
47166         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
47167         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
47169 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
47171         [BZ #16390]
47172         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
47173         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
47175 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47177         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
47178         extra tokens at end of #undef directive.
47179         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
47180         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
47181         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
47183 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
47185         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47187         * math/auto-libm-test-in: Mark various tests with
47188         xfail-rounding:ldbl-128ibm.
47189         * math/auto-libm-test-out: Regenerated.
47191 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
47193         [BZ #16386]
47194         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
47195         numbers with subnormal high part when calculating exponent.
47197         [BZ #16385]
47198         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
47199         fabs.
47201         [BZ #16384]
47202         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
47203         M_LN2l.
47204         (__ieee754_acoshl): Use __log1pl not __log1p.
47206 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
47208         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
47209         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
47210         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
47211         (grow_heap, heap_trim, _int_new_arena, get_free_list)
47212         (reused_arena, arena_get2): Convert to GNU style.
47213         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
47214         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
47215         (memalign_check, __malloc_set_state): Likewise.
47216         * malloc/mallocbug.c (main): Likewise.
47217         * malloc/malloc.c (__malloc_assert, malloc_init_state)
47218         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
47219         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
47220         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
47221         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
47222         (__posix_memalign, malloc_info): Likewise.
47223         * malloc/malloc.h: Likewise.
47224         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
47225         (mallochook, memalignhook, reallochook, mabort): Likewise.
47226         * malloc/mcheck.h: Likewise.
47227         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
47228         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
47229         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
47230         * malloc/morecore.c (__default_morecore): Likewise.
47231         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
47232         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
47233         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
47234         (print_and_abort): Likewise.
47235         * malloc/obstack.h: Likewise.
47236         * malloc/set-freeres.c (__libc_freeres): Likewise.
47237         * malloc/tst-mallocstate.c (main): Likewise.
47238         * malloc/tst-mtrace.c (main): Likewise.
47239         * malloc/tst-realloc.c (do_test): Likewise.
47241 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47243         [BZ #16366]
47244         * nscd/netgroupcache.c (do_notfound): New function.
47245         (addgetnetgrentX): Use it.
47247         [BZ # 16365]
47248         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
47249         NSS_STATUS_NOTFOUND.
47251 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
47253         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
47254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47256 2014-01-01  Allan McRae  <allan@archlinux.org>
47258         * scripts/update-copyrights: Update configure input file suffix.
47260         * NEWS: Update copyright year.
47261         * catgets/gencat.c: Likewise.
47262         * csu/version.c: Likewise.
47263         * debug/catchsegv.sh: Likewise.
47264         * debug/pcprofiledump.c: Likewise.
47265         * debug/xtrace.sh: Likewise.
47266         * elf/ldconfig.c: Likewise.
47267         * elf/ldd.bash.in: Likewise.
47268         * elf/pldd.c: Likewise.
47269         * elf/sotruss.ksh: Likewise.
47270         * elf/sprof.c: Likewise.
47271         * iconv/iconv_prog.c: Likewise.
47272         * iconv/iconvconfig.c: Likewise.
47273         * locale/programs/locale.c: Likewise.
47274         * locale/programs/localedef.c: Likewise.
47275         * login/programs/pt_chown.c: Likewise.
47276         * malloc/memusage.sh: Likewise.
47277         * malloc/memusagestat.c: Likewise.
47278         * malloc/mtrace.pl: Likewise.
47279         * manual/libc.texinfo: Likewise.
47280         * nscd/nscd.c: Likewise.
47281         * nss/getent.c: Likewise.
47282         * nss/makedb.c: Likewise.
47283         * posix/getconf.c: Likewise.
47284         * scripts/test-installation.pl: Likewise.
47286         * All files with FSF copyright notices: Update copyright dates
47287         using scripts/update-copyrights.
47288         * intl/plural.c: Regenerated.
47289         * locale/programs/charmap-kw.h: Likewise.
47290         * locale/programs/locfile-kw.h: Likewise.
47292 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
47294         * sysdeps/unix/sysv/linux/configure: Regenerated.
47295         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
47296         the linux/fanotify.h header.
47297         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
47298         HAVE_LINUX_FANOTIFY_H is defined.
47300 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
47302         * benchtests/cos-inputs: New inputs.
47303         * benchtests/sin-inputs: Likewise.
47305         * benchtests/atan-inputs: New inputs. Fix name of multiple
47306         precision fallback inputs.
47308         * benchtests/atanh-inputs: New inputs.
47309         * benchtests/tanh-inputs: Likewise.
47311         * benchtests/acosh-inputs: New inputs.
47312         * benchtests/asinh-inputs: Likewise.
47314         * benchtests/cosh-inputs: New inputs.
47315         * benchtests/sinh-inputs: Likewise.
47317         * benchtests/acos-inputs: Add more inputs.
47318         * benchtests/asin-inputs: Likewise.
47320 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
47322         [BZ #16375]
47323         * manual/arith.texi: Fix spelling.
47324         * manual/charset.texi: Likewise.
47325         * manual/errno.texi: Likewise.
47326         * manual/filesys.texi: Likewise.
47327         * manual/lang.texi: Likewise.
47328         * manual/llio.texi: Likewise.
47329         * manual/locale.texi: Likewise.
47330         * manual/message.texi: Likewise.
47331         * manual/resource.texi: Likewise.
47332         * manual/search.texi: Likewise.
47333         * manual/setjmp.texi: Likewise.
47334         * manual/stdio.texi: Likewise.
47335         * manual/string.texi: Likewise.
47336         * manual/sysinfo.texi: Likewise.
47337         * manual/time.texi: Likewise.
47339 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
47341         * po/sl.po: New file.
47343 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
47345         * .gitignore: Add core/.gdbinit/.gdb_history.
47347 2013-12-27  Allan McRae  <allan@archlinux.org>
47349         [BZ #16369]
47350         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
47351         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
47353 2013-12-24  Brooks Moses  <bmoses@google.com>
47355         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
47356         all compilers that claim C++98 compliance, not just GCC.
47357         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
47358         Likewise.
47360 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
47362         * NEWS: Restore accidentally deleted bug-fix entries.
47364 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
47365             Ondřej Bílka  <neleai@seznam.cz>
47367         [BZ #15073]
47368         * malloc/malloc.c (_int_free): Perform sanity check only if we
47369         have_lock.
47371 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
47373         [BZ #12986]
47374         * manual/stdio.texi (String Input Conversions): Clarify that character
47375         classes are not supported.
47377 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47379         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47381 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
47383         [BZ #16337]
47384         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47385         Calculate results for small negative arguments directly rather
47386         than using reflection formula with special underflow handling.
47388         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
47389         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
47390         sysdeps/unix/bsd/bsd4.4/syscalls.list.
47391         (fchflags): Likewise.
47392         (revoke): Likewise.
47393         (setlogin): Likewise.
47394         (sigaltstack): Likewise.
47395         (wait4): Likewise.
47396         (sigblock): Remove.
47397         (sigsetmask): Likewise.
47398         (wait3): Likewise.
47399         (waitpid): Likewise.
47400         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
47401         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
47402         file.
47403         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
47404         * sysdeps/unix/bsd/Makefile: ... here.
47405         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
47406         * sysdeps/unix/bsd/Versions: ... here.
47407         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
47408         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
47409         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
47410         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
47411         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
47412         * sysdeps/unix/bsd/sigblock.c: ... here.
47413         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
47414         * sysdeps/unix/bsd/sigsetmask.c: ... here.
47415         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
47416         * sysdeps/unix/bsd/sigvec.c: ... here.
47417         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
47418         * sysdeps/unix/bsd/tcdrain.c: ... here.
47419         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
47420         * sysdeps/unix/bsd/tcgetattr.c: ... here.
47421         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
47422         * sysdeps/unix/bsd/tcsetattr.c: ... here.
47423         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
47424         * sysdeps/unix/bsd/wait.c: ... here.
47425         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
47426         * sysdeps/unix/bsd/wait3.c: ... here.
47427         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
47428         * sysdeps/unix/bsd/waitpid.c: ... here.
47430 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
47432         [BZ #16356]
47433         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
47434         round-to-nearest for [!USE_AS_EXPM1L].
47435         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
47436         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
47437         more tests of exp and exp10.  Expect some exp10 tests to miss
47438         exceptions or fail in directed rounding modes.
47439         * math/auto-libm-test-out: Regenerated.
47440         * math/libm-test.inc (exp10_tonearest_test_data): New array.
47441         (exp10_test_tonearest): New function.
47442         (exp10_towardzero_test_data): New array.
47443         (exp10_test_towardzero): New function.
47444         (exp10_downward_test_data): New array.
47445         (exp10_test_downward): New function.
47446         (exp10_upward_test_data): New array.
47447         (exp10_test_upward): New function.
47448         (main): Call the new functions.
47449         * sysdeps/i386/fpu/libm-test-ulps: Update.
47450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47452 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
47454         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
47455         asinh, atan, atan2, atanh, cbrt, cos and cosh.
47456         * math/auto-libm-test-out: Regenerated.
47457         * math/libm-test.inc (acosh_test_data): Add more tests.
47458         (atanh_test_data): Likewise.
47459         (ceil_test_data): Likewise.
47460         (copysign_test_data): Likewise.
47461         * sysdeps/i386/fpu/libm-test-ulps: Update.
47462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47464         * timezone/checktab.awk: Update from tzcode 2013i.
47465         * timezone/private.h: Likewise.
47466         * timezone/scheck.c: Likewise.
47467         * timezone/tzfile.h: Likewise.
47468         * timezone/tzselect.ksh: Likewise.
47469         * timezone/zdump.c: Likewise.
47470         * timezone/zic.c: Likewise.
47472         * math/auto-libm-test-in: Add tests of cpow.
47473         * math/auto-libm-test-out: Regenerated.
47474         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
47475         * math/gen-auto-libm-tests.c (func_calc_method): Add value
47476         mpc_cc_c.
47477         (func_calc_desc): Add mpc_cc_c union field.
47478         (test_functions): Add cpow.
47479         (special_fill_2pi): New function.
47480         (special_real_inputs): Add 2pi.
47481         (calc_generic_results): Handle mpc_cc_c.
47482         * sysdeps/i386/fpu/libm-test-ulps: Update.
47483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47485         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
47486         csqrt, ctan and ctanh.
47487         * math/auto-libm-test-out: Regenerated.
47488         * math/libm-test.inc (TEST_COND_x86_64): New macro.
47489         (TEST_COND_x86): Likewise.
47490         (ccos_test_data): Use AUTO_TESTS_c_c.
47491         (ccosh_test_data): Likewise.
47492         (cexp_test_data): Likewise.
47493         (clog_test_data): Likewise.
47494         (csqrt_test_data): Likewise.
47495         (ctan_test_data): Likewise.
47496         (ctan_tonearest_test_data): Likewise.
47497         (ctan_towardzero_test_data): Likewise.
47498         (ctan_downward_test_data): Likewise.
47499         (ctan_upward_test_data): Likewise.
47500         (ctanh_test_data): Likewise.
47501         (ctanh_tonearest_test_data): Likewise.
47502         (ctanh_towardzero_test_data): Likewise.
47503         (ctanh_downward_test_data): Likewise.
47504         (ctanh_upward_test_data): Likewise.
47505         * math/gen-auto-libm-tests.c (func_calc_method): Add value
47506         mpc_c_c.
47507         (func_calc_desc): Add mpc_c_c union field.
47508         (FUNC_mpc_c_c): New macro.
47509         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
47510         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
47511         ctanh.
47512         (special_fill_min_subnorm_p120): New function.
47513         (special_real_inputs): Add min_subnorm_p120.
47514         (calc_generic_results): Handle mpc_c_c.
47515         * sysdeps/i386/fpu/libm-test-ulps: Update.
47516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47518 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47520         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
47521         (do_sin_slow): New functions.
47522         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
47523         (cslow2, csloww1, csloww2): Use the new functions.
47525         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
47526         Use M to change sign of result instead of X.  Assume X is
47527         positive.
47528         (csloww1): Likewise.
47529         (__sin): Adjust.
47530         (__cos): Adjust.
47532         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
47533         arguments A and DA.
47534         (__sin): Adjust.
47535         (__cos): Likewise.
47537         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
47538         (__cos): Likewise.
47539         (sloww1): Don't adjust sign of DX.
47540         (csloww1): Likewise.
47541         (sloww2): Use X directly and don't adjust sign of DX.
47542         (csloww2): Likewise.
47544 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
47546         * math/auto-libm-test-in: Add tests of cabs and carg.
47547         * math/auto-libm-test-out: Regenerated.
47548         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
47549         (carg_test_data): Likewise.
47550         * math/gen-auto-libm-tests.c (func_calc_method): Add value
47551         mpc_c_f.
47552         (func_calc_desc): Add mpc_c_f union field.
47553         (test_functions): Add cabs and carg.
47554         (calc_generic_results): Handle mpc_c_f.
47556         * sysdeps/powerpc/powerpc32/libgcc-compat.S
47557         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
47558         as a macro and a compat symbol.
47559         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
47560         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
47561         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
47562         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
47563         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
47564         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
47565         not use .hidden.
47566         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
47567         Likewise.
47568         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
47569         Likewise.
47570         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
47571         Likewise.
47572         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
47573         Likewise.
47574         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
47575         Likewise.
47576         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
47577         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
47578         from GLIBC_2.3.2.
47580 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47582         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47584 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
47586         * manual/texinfo.tex: Update to version 2013-11-26.10 with
47587         trailing whitespace removed.
47588         * scripts/config.guess: Update to version 2013-11-29.
47589         * scripts/config.sub: Update to version 2013-10-01.
47591         * math/auto-libm-test-in: Add tests of sincos.
47592         * math/auto-libm-test-out: Regenerated.
47593         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
47594         * math/gen-auto-libm-tests.c (func_calc_method): Add value
47595         mpfr_f_11.
47596         (func_calc_desc): Add mpfr_f_11 union field.
47597         (test_functions): Add sincos.
47598         (calc_generic_results): Handle mpfr_f_11.
47599         * sysdeps/i386/fpu/libm-test-ulps: Update.
47600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47602 2013-12-19  Andreas Schwab  <schwab@suse.de>
47604         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
47605         CALL_MCOUNT.
47606         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
47607         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
47608         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
47610 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
47612         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
47613         * sysdeps/i386/fpu/libm-test-ulps: Update.
47614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47616         [BZ #16293]
47617         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
47618         round-to-nearest mode when using frndint.
47619         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
47620         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
47621         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
47622         Likewise.
47623         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
47624         sinh test to fail.
47625         * math/auto-libm-test-out: Regenerated.
47626         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
47627         (TEST_COND_x86): Likewise.
47628         (expm1_tonearest_test_data): New array.
47629         (expm1_test_tonearest): New function.
47630         (expm1_towardzero_test_data): New array.
47631         (expm1_test_towardzero): New function.
47632         (expm1_downward_test_data): New array.
47633         (expm1_test_downward): New function.
47634         (expm1_upward_test_data): New array.
47635         (expm1_test_upward): New function.
47636         (main): Run the new test functions.
47637         * sysdeps/i386/fpu/libm-test-ulps: Update.
47638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47640         * include/features.h: Update comment documenting feature test
47641         macros.  Mention _DEFAULT_SOURCE in comment.
47642         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
47643         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
47644         _BSD_SOURCE and _SVID_SOURCE.
47645         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
47646         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
47647         !_SVID_SOURCE]: Likewise.
47648         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
47649         (__USE_POSIX_IMPLICITLY): Define.
47650         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
47651         (_POSIX_SOURCE): Undefine and redefine.
47652         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
47653         (_POSIX_C_SOURCE): Likewise.
47654         * manual/creature.texi (_DEFAULT_SOURCE): Document.
47655         (Feature Test Macros): Update documentation of default features.
47657 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
47659         * benchtests/Makefile: Add bench-strtok.
47660         * benchtests/bench-strtok.c: New file: strtok benchtest.
47662 2013-12-19  Allan McRae  <allan@archlinux.org>
47664         * manual/install.texi: Suppress menu for plain text output.
47665         * INSTALL: Regenerated.
47667 2013-12-18  Brooks Moses  <bmoses@google.com>
47669         [BZ #15846]
47670         * misc/getauxval.c: Include errno.h.
47671         (__getauxval): Set errno to ENOENT if the requested type is not
47672         found.
47673         * misc/sys/auxv.h (getauxval): Document that it may set errno;
47674         don't declare with __attribute_const__.
47675         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
47676         * manual/startup.texi: Document that getauxval sets errno.
47678 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
47680         * math/auto-libm-test-in: Add tests of jn and yn.
47681         * math/auto-libm-test-out: Regenerated.
47682         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
47683         (yn_test_data): Likewise.
47684         * math/gen-auto-libm-tests.c (func_calc_method): Add value
47685         mpfr_if_f.
47686         (func_calc_desc): Add mpfr_if_f union field.
47687         (FUNC_mpfr_if_f): New macro.
47688         (test_functions): Add jn and yn.
47689         (calc_generic_results): Assert type of second input for
47690         mpfr_ff_f.  Handle mpfr_if_f.
47691         (output_for_one_input_case): Disable all checking for arguments
47692         fitting floating-point types in case of an integer argument.
47693         * sysdeps/i386/fpu/libm-test-ulps: Update.
47694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
47697         Don't expect fegetround reference in libm.so.
47699 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47701         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
47702         $(config-cflags-nofma).
47704 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
47706         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
47707         * math/auto-libm-test-out: Regenerated.
47709         [BZ #16338]
47710         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
47711         to determine exponent and adjust argument to have exponent of -1.
47712         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
47713         log2.
47714         * math/auto-libm-test-out: Regenerated.
47715         * sysdeps/i386/fpu/libm-test-ulps: Update.
47716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47718 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
47720         * manual/probes.texi: Remove cases when per-thread arenas are
47721         disabled.
47723 2013-12-18  Andreas Schwab  <schwab@suse.de>
47725         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
47726         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
47727         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
47728         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
47729         * sysdeps/i386/i686/multiarch/Makefile: Update.
47730         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
47732 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
47734         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
47735         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
47737 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
47739         [BZ #15968]
47740         Support TZ transition times < 00:00:00.
47741         This is needed for version-3 tz-format files; it supports time
47742         stamps past 2037 for America/Godthab (the only entry in the tz
47743         database for which this change is relevant).
47744         * manual/time.texi (TZ Variable): Document transition times
47745         from -167:59:59 through -00:00:01.
47746         * time/tzset.c (tz_rule): Time of day is now signed.
47747         (__tzset_parse_tz): Parse negative time of day.
47749         Document TZ transition times >= 25:00:00.
47750         * manual/time.texi (TZ Variable): Document transition times from
47751         25:00:00 through 167:59:59.  These are already supported, and this
47752         support will help with version-3 tz-format files.
47754         * manual/time.texi (TZ Variable): Modernize North America example
47755         to reflect current (i.e., 2007-and-later) daylight saving rules.
47757         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
47759 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
47761         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
47762         * sysdeps/unix/bsd/bits/stat.h: Likewise.
47763         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
47764         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47765         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
47766         * sysdeps/unix/bsd/bsdstat.h: Likewise.
47767         * sysdeps/unix/bsd/clock.c: Likewise.
47768         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
47769         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
47770         * sysdeps/unix/bsd/init-posix.c: Likewise.
47771         * sysdeps/unix/bsd/poll.c: Likewise.
47772         * sysdeps/unix/bsd/ptsname.c: Likewise.
47773         * sysdeps/unix/bsd/seekdir.c: Likewise.
47774         * sysdeps/unix/bsd/setegid.c: Likewise.
47775         * sysdeps/unix/bsd/seteuid.c: Likewise.
47776         * sysdeps/unix/bsd/setgid.c: Likewise.
47777         * sysdeps/unix/bsd/setrgid.c: Likewise.
47778         * sysdeps/unix/bsd/setruid.c: Likewise.
47779         * sysdeps/unix/bsd/setsid.c: Likewise.
47780         * sysdeps/unix/bsd/setuid.c: Likewise.
47781         * sysdeps/unix/bsd/sigaction.c: Likewise.
47782         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
47783         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
47784         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
47785         * sysdeps/unix/bsd/telldir.c: Likewise.
47786         * sysdeps/unix/bsd/times.c: Likewise.
47787         * sysdeps/unix/bsd/usleep.c: Likewise.
47789         * misc/Makefile (install-lib): Remove libbsd-compat.a.
47790         ($(objpfx)libbsd-compat.a): Remove rule.
47792         * include/features.h (__FAVOR_BSD): Do not define.
47793         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
47794         features conflicting with POSIX.
47795         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
47796         (_BSD_SOURCE): Remove description of not being a subset of other
47797         feature test macros.
47798         * manual/job.texi (getpgrp): Do not document BSD version.
47799         (getpgid): Do not document by reference to BSD getpgrp.
47800         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
47801         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
47802         * signal/signal.h [__FAVOR_BSD]: Likewise.
47803         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
47804         instead of making contents conditional on [__FAVOR_BSD].
47805         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
47807 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47809         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47811 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
47813         [BZ #16314]
47814         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
47815         values below 2**-450, not 2**-500.
47816         * math/auto-libm-test-in: Don't allow spurious underflow from
47817         hypot.
47818         * math/auto-libm-test-out: Regenerated.
47820         [BZ #16316]
47821         [BZ #16330]
47822         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
47823         values of ha and hb and sort them after adjusting subnormal
47824         arguments.
47825         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
47826         Likewise.
47827         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
47828         values of ea and eb and sort them after adjusting subnormal
47829         arguments.
47830         * math/auto-libm-test-in: Do not expect some hypot tests of
47831         subnormals to fail.  Add more hypot tests.
47832         * math/auto-libm-test-out: Regenerated.
47834 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47836         [BZ #13304]
47837         * sysdeps/sh/s_fma.c: New file.
47838         * sysdeps/sh/s_fmaf.c: New file.
47839         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
47840         version.
47841         * sysdeps/sh/Implies: Add sh/soft-fp.
47843 2013-12-16  Roland McGrath  <roland@hack.frob.com>
47845         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
47846         level of indirection to members `objname', `errstring', `malloced'.
47847         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
47848         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
47849         it as the __longjmp argument (just pass 1 instead).
47850         (_dl_catch_error): Initialize C with argument pointers and address of
47851         volatile local ERRCODE rather than copying values out of C at return.
47853 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
47855         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
47856         * math/auto-libm-test-out: Regenerated.
47857         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
47858         (hypot_test_data): Likewise.
47859         (pow_test_data): Likewise.
47860         (pow_tonearest_test_data): Likewise.
47861         * math/gen-auto-libm-tests.c (func_calc_method): Add value
47862         mpfr_ff_f.
47863         (func_calc_desc): Add mpfr_ff_f union field.
47864         (FUNC_mpfr_ff_f): New macro.
47865         (test_functions): Add atan2, hypot and pow.
47866         (special_fill_min): New function.
47867         (special_fill_minus_min): Likewise.
47868         (special_fill_min_subnorm): Likewise.
47869         (special_fill_minus_min_subnorm): Likewise.
47870         (special_real_inputs): Add min, -min, min_subnorm and
47871         -min_subnorm.
47872         (calc_generic_results): Handle mpfr_ff_f.
47873         * sysdeps/i386/fpu/libm-test-ulps: Update.
47874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47876 2013-12-16  Will Newton  <will.newton@linaro.org>
47878         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
47879         (Aligned Memory Blocks): Add documentation for aligned_alloc
47880         and suggest it as an alternative to posix_memalign.
47881         (Hooks for Malloc): Document __memalign_hook is also called
47882         for aligned_alloc.  (Summary of Malloc): Add summary for
47883         aligned alloc.  Document __memalign_hook is also called
47884         for aligned_alloc.
47886 2013-12-16  Will Newton  <will.newton@linaro.org>
47888         * manual/memory.texi (Malloc Examples): Clarify default
47889         alignment documentation.  Suggest posix_memalign rather
47890         than memalign or valloc.
47891         (Aligned Memory Blocks): Remove suggestion to use memalign
47892         or valloc.  Remove obsolete comment about BSD.
47893         Document memalign errno values and mark the function obsolete.
47894         Document posix_memalign returned error codes.  Mark valloc
47895         as obsolete.  (Hooks for Malloc): __memalign_hook is also
47896         called for posix_memalign and valloc.
47897         (Summary of Malloc): Add posix_memalign to function summary.
47898         __memalign_hook is also called for posix_memalign and valloc.
47900 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47902         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
47903         TAYLOR_SIN.
47904         (__sin): Adjust.
47905         (__cos): Likewise.
47906         (sloww): Use mynumber union.  Expand ternary operator into
47907         if-else statements.
47908         (cslow): use mynumber union.
47910 2013-12-16  Allan McRae  <allan@archlinux.org>
47912         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
47913         * configure: Regenerated.
47915         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
47917         [BZ #14120]
47918         * configure.ac: Added --enable-maintainer-mode. Check for
47919         autoconf when enabled.
47920         * configure: Regenerated.
47922         * nscd/nscd.service: New file.
47923         * nscd/nscd.tmpfiles: New file.
47925 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
47927         [BZ #12100]
47928         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
47929         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
47930         * sysdeps/x86_64/multiarch/strstr.c: ... here.
47931         (strstr): Add __strstr_sse2_unaligned ifunc.
47932         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
47933         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
47934         (strcasestr): Remove __strcasestr_sse42 ifunc.
47935         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
47936         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
47937         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
47939 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47941         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
47942         * sysdeps/sh/bits/fenv.h: ... here.
47943         * sysdeps/sh/sh4/fpu/bits: Remove directory.
47945 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47947         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
47949         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
47950         hypotf multiarch implementations.
47951         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
47952         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
47953         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
47954         multiarch hypot for PPC64.
47955         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
47956         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
47957         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
47958         multiarch hypotf for PPC64.
47960         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
47961         modff multiarch implementations.
47962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
47963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
47964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
47965         multiarch modf for PPC64.
47966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
47967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
47968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
47969         multiarch modff for PPC64.
47971         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
47972         and logl multiarch implementations.
47973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
47974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
47975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
47976         multiarch logb for PPC64.
47977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
47978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
47979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
47980         multiarch logb for PPC64.
47981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
47982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
47983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
47984         multiarch logb for PPC64.
47986         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
47987         isinff multiarch implementation.
47988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
47989         file.
47990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
47991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
47992         multiarch isinf for PPC64.
47993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
47994         file.
47995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
47996         multiarch isinff for PPC64.
47998         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
47999         finitef multiarch implementation.
48000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
48001         file.
48002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
48003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
48004         multiarch finite for PPC64.
48005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
48006         file.
48007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
48008         multiarch finitef for PPC64.
48010         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
48011         lrint multiarch implementation.
48012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
48013         file.
48014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
48015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
48016         multiarch llrint for PPC64.
48017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
48018         multiarch lrint for PPC64.
48020         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
48021         copysignf multiarch implementation.
48022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
48023         file.
48024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
48025         file.
48026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
48027         multiarch copysign for PPC64.
48028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
48029         multiarch copysignf for PPC64.
48031         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
48032         multiarch implementation.
48033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
48034         file.
48035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
48036         file.
48037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
48038         file.
48039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
48040         file.
48041         multiarch llround for PPC64.
48042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
48043         multiarch trunc for PPC64.
48044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
48045         multiarch truncf for PPC64.
48047         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
48048         multiarch implementation.
48049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
48050         file.
48051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
48052         file.
48053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
48054         file.
48055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
48056         file.
48057         multiarch llround for PPC64.
48058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
48059         multiarch round for PPC64.
48060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
48061         multiarch roundf for PPC64.
48063         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
48064         multiarch implementation.
48065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
48066         file.
48067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
48068         file.
48069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
48070         file.
48071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
48072         file.
48073         multiarch llround for PPC64.
48074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
48075         multiarch floor for PPC64.
48076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
48077         multiarch floorf for PPC64.
48079         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
48080         multiarch implementation.
48081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
48082         file.
48083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
48084         file.
48085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
48086         file.
48087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
48088         file.
48089         multiarch llround for PPC64.
48090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
48091         multiarch ceil for PPC64.
48092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
48093         multiarch ceilf for PPC64.
48095         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
48096         multiarch implementation.
48097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
48098         file.
48099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
48100         file.
48101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
48102         file.
48103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
48104         multiarch llround for PPC64.
48105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
48106         multiarch lround for PPC64.
48108         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
48109         multiarch implementation.
48110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
48111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
48112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
48113         file.
48114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
48115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
48116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
48117         multiarch isnan for PPC64.
48118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
48119         multiarch isnanf for PPC64.
48121         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
48122         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
48123         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
48124         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
48125         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
48126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
48128         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
48129         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48130         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48131         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48133         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
48134         multiarch implementations.
48135         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48136         (__libc_ifunc_impl_list): Likewise.
48137         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
48138         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
48139         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
48140         multiarch stpcpy for PPC64.
48142         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
48143         multiarch implementations.
48144         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48145         (__libc_ifunc_impl_list): Likewise.
48146         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
48147         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
48148         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
48149         multiarch strcpy for PPC64.
48151         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
48152         redefine function name.
48153         (_wordcopy_fwd_dest_aligned): Likewise.
48154         (_wordcopy_bwd_aligned): Likewise.
48155         (_wordcopy_bwd_dest_aligned): Likewise.
48156         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
48157         multiarch implementations.
48158         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48159         (__libc_ifunc_impl_list): Likewise.
48160         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
48161         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
48162         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
48163         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
48164         multiarch wcscpy for PPC64.
48166         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
48167         multiarch implementations.
48168         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48169         (__libc_ifunc_impl_list): Likewise.
48170         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
48171         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
48172         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
48173         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
48174         multiarch wcscpy for PPC64.
48176         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
48177         multiarch implementations.
48178         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48179         (__libc_ifunc_impl_list): Likewise.
48180         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
48181         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
48182         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
48183         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
48184         multiarch wcsrchr for PPC64.
48186         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
48187         multiarch implementations.
48188         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48189         (__libc_ifunc_impl_list): Likewise.
48190         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
48191         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
48192         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
48193         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
48194         multiarch wcschr for PPC64.
48196         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
48197         multiarch implementations.
48198         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48199         (__libc_ifunc_impl_list): Likewise.
48200         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
48201         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
48202         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
48203         multiarch strchrnul for PPC64.
48205         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
48206         implementations.
48207         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48208         (__libc_ifunc_impl_list): Likewise.
48209         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
48210         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
48211         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
48212         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
48213         strchr for PPC64.
48215         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
48216         implementations.
48217         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48218         (__libc_ifunc_impl_list): Likewise.
48219         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
48220         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
48221         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
48222         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
48223         strncmp for PPC64.
48225         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
48226         multiarch implementations.
48227         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48228         (__libc_ifunc_impl_list): Likewise.
48229         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
48230         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
48231         strncasecmp for PPC64.
48232         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
48233         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
48234         multiarch strncasecmp_l for PPC64.
48236         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
48237         multiarch implementations.
48238         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48239         (__libc_ifunc_impl_list): Likewise.
48240         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
48241         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
48242         multiarch strcasecmp for PPC64.
48243         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
48244         file.
48245         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
48246         multiarch strcasecmp_l for PPC64.
48248         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
48249         implementations.
48250         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48251         (__libc_ifunc_impl_list): Likewise.
48252         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
48253         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
48254         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
48255         strnlen for PPC64.
48257         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
48258         implementations.
48259         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48260         (__libc_ifunc_impl_list): Likewise.
48261         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
48262         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
48263         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
48264         strlen for PPC64.
48266         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
48267         implementations.
48268         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48269         (__libc_ifunc_impl_list): Likewise.
48270         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
48271         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
48272         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
48273         rawmemrchr for PPC64.
48275         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
48276         implementation.
48277         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48278         (__libc_ifunc_impl_list): Likewise.
48279         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
48280         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
48281         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
48282         memrchr for PPC64.
48284         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
48285         implementation.
48286         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48287         (__libc_ifunc_impl_list): Likewise.
48288         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
48289         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
48290         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
48291         memchr for PPC64.
48293         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
48294         implementation.
48295         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48296         (__libc_ifunc_impl_list): Likewise.
48297         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
48298         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
48299         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
48300         mempcpy for PPC64.
48302         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
48303         avoid cretion of __bzero symbol.
48304         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
48305         Likewise.
48306         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
48307         Likewise.
48308         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
48309         Likewise.
48310         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
48311         multiarch implementations.
48312         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48313         (__libc_ifunc_impl_list): Likewise.
48314         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
48315         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
48316         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
48317         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
48318         bzero for PPC32.
48319         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
48320         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
48321         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
48322         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
48323         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
48324         memset for PPC64.
48325         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
48327         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
48328         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
48329         implementations.
48330         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48331         (__libc_ifunc_impl_list): Likewise.
48332         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
48333         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
48334         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
48335         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
48336         memcmp for PPC64.
48338         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
48339         multiarch for POWER/PPC64.
48340         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
48341         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
48342         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
48343         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
48344         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
48345         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
48346         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
48347         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
48348         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
48349         memcpy for PPC64.
48351         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
48352         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
48353         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
48354         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
48355         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
48356         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
48357         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
48358         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
48359         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
48360         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
48361         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
48362         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
48363         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
48364         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
48365         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
48366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
48367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
48368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
48369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
48370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
48371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
48372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
48374 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48376         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
48378 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48380         * benchtests/Makefile (bench): Add exp2 and log2.
48381         (LDLIBS-bench-exp2): Add -lm.
48382         (LDLIBS-bench-log2): Likewise.
48383         * benchtests/exp2-inputs: New inputs file.
48384         * benchtests/log2-inputs: New inputs file.
48385         * benchtests/log-inputs: Add new inputs.
48386         * benchtests/tan-inputs: Likewise.
48388 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48390         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
48391         definition...
48392         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
48393         (csloww2): ... from here.
48395         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
48396         instead of structures.
48397         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
48398         (POLYNOMIAL): Likewise.
48399         (TAYLOR_SLOW): Likewise.
48400         (__sin): Likewise.
48401         (__cos): Likewise.
48402         (slow1): Likewise.
48403         (slow2): Likewise.
48404         (sloww): Likewise.
48405         (sloww1); Likewise.
48406         (sloww2): Likewise.
48407         (bsloww1): Likewise.
48408         (bsloww2): Likewise.
48409         (cslow2): Likewise.
48410         (csloww): Likewise.
48411         (csloww1): Likewise.
48412         (csloww2): Likewise.
48414 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
48416         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
48417         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
48418         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
48419         * malloc/hooks.c (realloc_check): Likewise.
48421         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
48422         * malloc/arena.c: Remove PER_THREAD conditional.
48423         [!PER_THREAD]: Remove code.
48424         (ptmalloc_unlock_all2): Likewise.
48425         (ptmalloc_init): Likewise.
48426         (_int_new_arena): Likewise.
48427         (arena_get2): Likewise.
48428         * malloc/hooks.c (__malloc_get_state): Likewise.
48429         (__malloc_set_state): Likewise.
48430         * malloc/malloc.c: Likewise.
48431         (struct malloc_state): Likewise.
48432         (struct malloc_par): Likewise.
48433         (__libc_realloc): Likewise.
48434         (__libc_mallopt): Likewise.
48436 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48438         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
48440 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
48442         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
48443         macro to a function.  Check for zero perturb_byte.
48444         (_int_malloc, _int_free): Remove zero perturb_byte checks.
48446         * malloc/malloc.c: (force_reg): Remove.
48447         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
48448         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
48449         force_reg by atomic_forced_read.
48450         * malloc/arena.c (ptmalloc_init): Likewise.
48451         * malloc/hooks.c (top_check): Likewise.
48453 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48455         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48457 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
48459         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48461 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
48463         * math/auto-libm-test-in: Add tests of lgamma.
48464         * math/auto-libm-test-out: Regenerated.
48465         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
48466         (M_LOG_2_SQRT_PIl): Likewise.
48467         (lgamma_test_data): Use AUTO_TESTS_f_f1.
48468         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48469         mpfr_f_f1.
48470         (func_calc_desc): Add mpfr_f_f1 union field.
48471         (ARGS1): New macro.
48472         (ARGS2): Likewise.
48473         (ARGS3): Likewise.
48474         (ARGS4): Likewise.
48475         (RET1): Likewise.
48476         (RET2): Likewise.
48477         (CALC): Likewise.
48478         (FUNC): Likewise.
48479         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
48480         (test_functions): Add lgamma.
48481         (calc_generic_results): Handle mpfr_f_f1.
48482         * sysdeps/i386/fpu/libm-test-ulps: Update.
48483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48485 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48487         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
48488         __mpn_add_n for PowerPC64/POWER7.
48489         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
48490         __mpn_sub_n for PowerPC64/POWER7.
48492         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
48493         __mpn_addmul_1 for PowerPC64.
48494         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
48495         __mpn_submul_1 for PowerPC64.
48496         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
48497         for PowerPC64.
48498         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
48499         for PowerPC64.
48501 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
48503         [BZ #15089]
48504         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
48506 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48508         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
48510         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
48511         add multiarch folders.
48512         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
48513         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
48514         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
48515         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
48516         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
48517         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
48518         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
48519         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
48520         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
48521         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
48522         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
48523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
48524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
48525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
48526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
48527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
48528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
48530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
48531         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
48532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
48533         New file.
48534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
48535         New file.
48536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
48537         multiarch __ieee754_hypot for PowerPC32.
48538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
48539         New file.
48540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
48541         New file.
48542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
48543         multiarch __ieee754_hypotf for PowerPC32.
48545         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
48546         long_double_symbol only if __logbl is defined.
48547         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
48548         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
48549         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
48550         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
48551         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
48552         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
48553         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
48554         path for implementation.
48555         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
48556         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
48557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
48558         logb, and logbl multiarch implementations for PowerPC32.
48559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
48560         file.
48561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
48562         file.
48563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
48564         multiarch logb for PowerPC32.
48565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
48566         file.
48567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
48568         file.
48569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
48570         multiarch logbf for PowerPC32.
48571         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
48572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
48573         file.
48574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
48575         multiarch logbl implementation for PowerPC32.
48577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
48578         and modff multiarch implementations.
48579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
48580         New file.
48581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
48582         New file.
48583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
48584         multiarch modf for PowerPC32.
48585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
48586         New file.
48587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
48588         New file.
48589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
48590         multiarch modff for PowerPC32.
48592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
48593         and lrintf multiarch implementations.
48594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
48595         New file.
48596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
48597         New file.
48598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
48599         multiarch lrint for PowerPC32.
48600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
48601         file: multiarch lrintf for PowerPC32.
48603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
48604         and lroundf multiarch implementations.
48605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
48606         New file.
48607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
48608         New file.
48609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
48610         New file.
48611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
48612         multiarch lround for PowerPC32.
48613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
48614         file: multiarch lroundf for PowerPC32.
48616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
48617         copysign and copysignf multiarch implementations.
48618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
48619         New file.
48620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
48621         New file.
48622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
48623         file: multiarch copysign for PowerPC32.
48624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
48625         file: multiarch copysignf for PowerPC32.
48627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
48628         and truncf multiarch implementations.
48629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
48630         New file.
48631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
48632         file.
48633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
48634         multiarch trunc for PowerPC32.
48635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
48636         New file.
48637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
48638         New file.
48639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
48640         multiarch truncf for PowerPC32.
48642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
48643         and roundf multiarch implementations.
48644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
48645         New file.
48646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
48647         file.
48648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
48649         multiarch round for PowerPC32.
48650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
48651         New file.
48652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
48653         New file.
48654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
48655         multiarch roundf for PowerPC32.
48657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
48658         and floorf multiarch implementations.
48659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
48660         New file.
48661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
48662         file.
48663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
48664         multiarch floor for PowerPC32.
48665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
48666         New file.
48667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
48668         New file.
48669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
48670         multiarch floorf for PowerPC32.
48672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
48673         and ceilf multiarch implementations.
48674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
48675         New file.
48676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
48677         file.
48678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
48679         multiarch ceil for PowerPC32.
48680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
48681         New file.
48682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
48683         file.
48684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
48685         multiarch ceilf for PowerPC32.
48687         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
48688         is defined.
48689         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
48690         FINITEF is defined.
48691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
48692         and finitef multiarch implementations.
48693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
48694         New file.
48695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
48696         file.
48697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
48698         multiarch finite for PowerPC32.
48699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
48700         New file.
48701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
48702         file: multiarch finitef for PowerPC32.
48704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
48705         and isinff multiarch implementations.
48706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
48707         file.
48708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
48709         file.
48710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
48711         multiarch isinf for PowerPC32.
48712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
48713         New file.
48714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
48715         multiarch isinff for PowerPC32.
48717         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
48718         alias when __isnan is defined.
48719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
48720         and isnanf multiarch implementations.
48721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
48722         file.
48723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
48724         file.
48725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
48726         file.
48727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
48728         file.
48729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
48730         multiarch isnan for PowerPC32.
48731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
48732         New file.
48733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
48734         New file.
48735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
48736         multiarch isnanf for PowerPC32.
48738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
48739         and sqrtf multiarch implementations.
48740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
48741         file.
48742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
48743         file.
48744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
48745         multiarch sqrt for PowerPC32.
48746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
48747         file.
48748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
48749         file.
48750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
48751         multiarch sqrtf for PowerPC32.
48753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
48754         and llroundf multiarch implementations.
48755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
48756         New file.
48757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
48758         New file.
48759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
48760         New file.
48761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
48762         file: multiarch llround for PowerPC32.
48763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
48764         file: multiarch llroundf for PowerPC32.
48766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
48767         multiarch PowerPC32 fpu implementations.
48768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
48769         New file.
48770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
48771         New file.
48772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
48773         multiarch llrint for PowerPC32.
48774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
48775         New file.
48776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
48777         New file.
48778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
48779         file.
48781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
48783         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
48784         file.
48785         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
48786         file.
48787         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
48788         file.
48789         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
48790         multiarch wordcopy for PPC32.
48791         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
48792         wordcopy objects.
48793         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48794         (__libc_ifunc_impl_list): Likewise.
48795         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
48796         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
48797         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
48798         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
48799         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
48800         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
48802         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
48803         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
48804         file.
48805         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
48806         file.
48807         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
48808         file.
48809         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
48810         multiarch wcscpy for PPC32.
48811         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
48812         multiarch objects.
48813         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48814         (__libc_ifunc_impl_list): Likewise.
48815         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
48816         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
48817         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
48818         sysdeps/powerpc/power6/wcscpy.c.
48820         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
48821         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
48822         file.
48823         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
48824         file.
48825         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
48826         file.
48827         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
48828         multiarch wcsrchr for PPC32.
48829         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
48830         multiarch objects.
48831         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48832         (__libc_ifunc_impl_list): Likewise.
48833         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
48834         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
48835         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
48836         sysdeps/powerpc/power6/wcsrchr.c.
48838         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
48839         file.
48840         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
48841         file.
48842         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
48843         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
48844         multiarch wcschr for PPc32.
48845         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
48846         multiarch objects.
48847         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48848         (__libc_ifunc_impl_list): Likewise.
48849         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
48850         * sysdeps/powerpc/power6/wcschr.c: ... to here.
48851         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
48852         sysdeps/powerpc/power6/wcschr.c.
48854         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
48855         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
48856         file.
48857         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
48858         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
48859         file: multiarch strchr for PPC32.
48860         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
48861         multiarch objects.
48862         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48863         (__libc_ifunc_impl_list): Likewise.
48865         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
48866         name.
48867         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
48868         file.
48869         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
48870         file.
48871         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
48872         multiarch strchrnul for PPC32.
48873         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
48874         multiarch objects.
48875         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48876         (__libc_ifunc_impl_list): Likewise.
48878         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
48879         file.
48880         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
48881         multiarch strncasecmp for PPC32.
48882         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
48883         file.
48884         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
48885         multiarch strncasecmp_l for PPC32.
48886         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
48887         strncasecmp multiarch objects.
48888         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48889         (__libc_ifunc_impl_list): Likewise.
48891         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
48892         file.
48893         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
48894         multiarch strncasecmp for PPC32.
48895         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
48896         New file.
48897         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
48898         multiarch strcasecmp_l for PPC32.
48899         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
48900         multiarch objects.
48901         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48902         (__libc_ifunc_impl_list): Likewise.
48904         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
48905         file.
48906         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
48907         file.
48908         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
48909         multiarch strncmp for PPC32.
48910         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
48911         multiarch objects.
48912         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48913         (__libc_ifunc_impl_list): Likewise.
48915         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
48916         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
48917         file.
48918         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
48919         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
48920         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
48921         multiarch objects.
48922         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48923         (__libc_ifunc_impl_list): Likewise.
48925         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
48926         file.
48927         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
48928         file.
48929         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
48930         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
48931         multiarch objects.
48932         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48933         (__libc_ifunc_impl_list): Likewise.
48935         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
48936         file.
48937         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
48938         file.
48939         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
48940         multiarch rawmemchr for PPC32.
48941         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
48942         multiarch objects.
48943         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48944         (__libc_ifunc_impl_list): Likewise.
48946         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
48947         file.
48948         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
48949         file.
48950         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
48951         file: memrchr multiarch for PPC32.
48952         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
48953         multiarch objects.
48954         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48955         (__libc_ifunc_impl_list): Likewise.
48957         * string/memchr.c (__memchr): Using macro to redefine symbol name.
48958         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
48959         file.
48960         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
48961         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
48962         multiarch memchr for PPC32.
48963         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
48964         multiarch objects.
48965         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48966         (__libc_ifunc_impl_list): Likewise.
48968         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
48969         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
48970         file.
48971         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
48972         file.
48973         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
48974         file: multiarch mempcpy for PPC32.
48975         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
48976         multiarch objects.
48977         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48978         (__libc_ifunc_impl_list): Likewise.
48980         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
48981         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
48982         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
48983         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
48984         multiarch bzero for PPC32.
48985         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
48986         file.
48987         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
48988         file.
48989         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
48990         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
48991         file: multiarch memset for PPC32.
48992         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
48993         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
48994         memset multiarch objects.
48995         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48996         (__libc_ifunc_impl_list): Likewise.
48998         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
48999         file.
49000         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
49001         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
49002         memcmp for PPC32.
49003         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
49004         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
49005         multiarch objects.
49006         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49007         (__libc_ifunc_impl_list): Likewise.
49009         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
49010         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
49011         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
49012         file.
49013         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
49014         file.
49015         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
49016         file.
49017         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
49018         multiarch memcpy for PPC32.
49019         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
49020         multiarch objects.
49021         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49022         (__libc_ifunc_impl_list): Likewise.
49024         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
49025         support multiarch for POWER/PPC32.
49026         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
49027         Likewise.
49028         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
49029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
49030         Implies file to make multiarch folder appers before the fpu and
49031         default folder for power4 configuration.
49033 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
49035         * scripts/bench.pl: Append volatile keyword to type.
49037 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49039         * sysdeps/sh/sotruss-lib.c: New file.
49040         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
49042 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49044         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49046 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
49048         [BZ #6810]
49049         * math/w_tgamma.c: Include <errno.h>.
49050         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
49051         * math/w_tgammaf.c: Include <errno.h>.
49052         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
49053         * math/w_tgammal.c: Include <errno.h>.
49054         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
49055         * math/auto-libm-test-in: Do not allow missing errno on tgamma
49056         underflow.  Add more tgamma tests.
49057         * math/auto-libm-test-out: Regenerated.
49058         * sysdeps/i386/fpu/libm-test-ulps: Update.
49059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49061         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
49062         sin, sinh, tan, tanh, tgamma, y0 and y1.
49063         * math/auto-libm-test-out: Regenerated.
49064         * math/libm-test.inc (TEST_COND_x86_64): New macro.
49065         (TEST_COND_x86): Likewise.
49066         (M_E2l): Remove macro.
49067         (M_E3l): Likewise.
49068         (M_2_SQRT_PIl): Likewise.
49069         (M_SQRT_PIl): Likewise.
49070         (M_1_DIV_El): Likewise.
49071         (log_test_data): Use AUTO_TESTS_f_f.
49072         (log10_test_data): Likewise.
49073         (log1p_test_data): Likewise.
49074         (log2_test_data): Likewise.
49075         (sin_test_data): Likewise.
49076         (sin_tonearest_test_data): Likewise.
49077         (sin_towardzero_test_data): Likewise.
49078         (sin_downward_test_data): Likewise.
49079         (sin_upward_test_data): Likewise.
49080         (sinh_test_data): Likewise.
49081         (sinh_tonearest_test_data): Likewise.
49082         (sinh_towardzero_test_data): Likewise.
49083         (sinh_downward_test_data): Likewise.
49084         (sinh_upward_test_data): Likewise.
49085         (tan_test_data): Likewise.
49086         (tan_tonearest_test_data): Likewise.
49087         (tan_towardzero_test_data): Likewise.
49088         (tan_downward_test_data): Likewise.
49089         (tan_upward_test_data): Likewise.
49090         (tanh_test_data): Likewise.
49091         (tgamma_test_data): Likewise.
49092         (y0_test_data): Likewise.
49093         (y1_test_data): Likewise.
49094         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
49095         (special_real_inputs): Add pi/4.
49096         * sysdeps/i386/fpu/libm-test-ulps: Update.
49097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49099 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49101         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
49102         "longjmp_target" static probes.
49103         (__longjmp): Rename to __longjmp_symbol.
49104         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49105         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
49106         on which longjmp to generate.
49107         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
49108         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
49109         probe.
49110         (__sigsetjmp): Rename to __sigsetjmp_symbol.
49111         (__sigjmp_save): Rename to __sigjmp_save_symbol.
49112         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
49113         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
49114         and __sigjmp_save_symbol based on which sigsetjmp to generated.
49115         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
49117         __longjmp_symbol based on which __longjmp to generate.
49118         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
49119         probe.
49120         (setjmp): Rename to setjmp_symbol.
49121         (__sigsetjmp): Rename to __sigsetjmp_symbol.
49122         (_setjmp): Rename to _setjmp_symbol.
49123         (__sigsetjmp): Rename to __sigsetjmp_symbol.
49124         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
49125         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
49126         which setjmp to generate.
49127         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
49128         "longjmp_target" static probes.
49130 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49132         * benchtests/README: Add note about output arguments.
49133         * benchtests/bench-sincos.c: Remove file.
49134         * benchtests/sincos-inputs: New file.
49135         * scripts/bench.pl: Identify output arguments and define
49136         static variables for them.
49138         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
49140         [BZ #15941]
49141         * Makefile (INSTALL): Add install-plain.texi as the primary
49142         dependency.
49143         * manual/install-plain.texi: New file.
49144         * manual/install.texi: Include node directive only for
49145         non-plaintext output.
49147 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
49149         * stdlib/longlong.h: Update from GCC.
49151         [BZ #6807]
49152         [BZ #15901]
49153         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
49154         * math/w_j0f.c (y0f): Likewise.
49155         * math/w_j0l.c (__y0l): Likewise.
49156         * math/w_j1.c (y1): Likewise.
49157         * math/w_j1f.c (y1f): Likewise.
49158         * math/w_j1l.c (__y1l): Likewise.
49159         * math/w_jn.c (yn): Likewise.
49160         * math/w_jnf.c (ynf): Likewise.
49161         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
49162         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
49163         value for Bessel function domain errors outside _SVID_ mode.
49164         Adjust sign of return value for yn (negative integer, 0).
49165         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
49166         by zero in return for negative x and set sign appropriately for
49167         negative n.
49168         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
49169         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
49170         * math/libm-test.inc (y0_test_data): Add more tests and adjust
49171         expectations in error cases.
49172         (y1_test_data): Likewise.
49173         (yn_test_data): Likewise.
49174         * sysdeps/i386/fpu/libm-test-ulps: Update.
49175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49177 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49179         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
49180         "64" to "64-v1".  Add "64-v2".
49181         (abi-64-options): Rename to ...
49182         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
49183         (abi-64-condition): Rename to ...
49184         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
49185         (abi-64-ld-soname): Rename to ...
49186         (abi-64-v1-ld-soname): ... this.
49187         (abi-64-v2-options): Define.
49188         (abi-64-v2-condition): Likewise.
49189         (abi-64-v2-ld-soname): Likewise.
49190         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
49191         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
49192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
49193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
49194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
49196 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49197             Alan Modra  <amodra@gmail.com>
49199         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
49200         New versions for use with the ELFv2 ABI.
49201         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
49202         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
49203         declaration.
49204         (struct La_ppc64v2_retval): Likewise.
49205         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
49206         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
49207         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
49208         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
49209         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
49210         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49211         Do not save or restore CR.
49212         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
49213         (_dl_profile_resolve): Do no save or restore CR.  Support extended
49214         return values for ELFv2 ABI.  Fix location of FPR return registers.
49215         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
49216         updated values for _CALL_ELF == 2.
49217         (La_regs, La_retval, int_retval): Likewise.
49219 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49221         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
49222         (FRAME_MIN_SIZE_PARM): Likewise.
49223         (FRAME_BACKCHAIN): Likewise.
49224         (FRAME_CR_SAVE): Likewise.
49225         (FRAME_LR_SAVE): Likewise.
49226         (FRAME_TOC_SAVE): Likewise.
49227         (FRAME_PARM_SAVE): Likewise.
49228         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
49229         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
49230         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
49231         (call_mcount_parm_offset): New macro.
49232         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
49233         (PROF): Use symbolic stack frame offsets.
49234         (TAIL_CALL_SYSCALL_ERROR): Likewise.
49235         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
49236         Redefine in terms of FRAME_MIN_SIZE.
49237         (_dl_runtime_resolve): Use symbolic stack frame offsets.
49238         (_dl_profile_resolve): Likewise.  Update comment.
49239         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
49240         symbols stack frame offsets.
49241         (__sigsetjmp): Likewise.
49242         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
49243         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
49244         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
49245         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
49247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
49248         (FRAME_BACKCHAIN): Remove.
49249         (FRAME_CR_SAVE): Likewise.
49250         (FRAME_LR_SAVE): Likewise.
49251         (FRAME_COMPILER_DW): Likewise.
49252         (FRAME_LINKER_DW): Likewise.
49253         (FRAME_TOC_SAVE): Likewise.
49254         (FRAME_PARM_SAVE): Likewise.
49255         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
49256         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
49257         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
49258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
49259         (CHECK_SP): Use symbolic stack frame offsets.
49260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
49261         zone" instead of caller's parameter save area for temp storage.
49262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49263         Likewise.  Also, use symbolic stack frame offsets.
49264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
49265         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
49266         our own stack frame instead of the caller's.
49267         (__socket): Use symbolic stack frame offsets.
49269 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49270             Alan Modra  <amodra@gmail.com>
49272         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
49273         Define.
49274         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
49275         (PPC64_LOCAL_ENTRY_OFFSET): Define.
49276         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
49277         New function.
49278         (elf_machine_fixup_plt): Call it.
49279         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
49280         reloc arguments.
49281         (elf_machine_rela): Update call to elf_machine_plt_conflict.
49282         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
49283         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
49284         r2 before calling target.
49286 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49287             Alan Modra  <amodra@gmail.com>
49289         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
49290         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
49291         versions of macros to support ELFv2 ABI.
49292         (LOCALENTRY): New macro.
49293         (ENTRY, EALIGN): Use it.
49294         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
49295         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
49296         fall through into ENTRY entry point.
49297         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
49298         Only define if _CALL_ELF != 2.
49300         (elf_machine_matches_host): Verify ABI version matches.
49301         (RTLD_START): Use LOCALENTRY.
49302         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
49303         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
49304         (PLT_ENTRY_WORDS): New macro.
49305         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
49306         (elf_machine_runtime_setup): Support ELFv2 ABI.
49307         (elf_machine_fixup_plt): Likewise.
49308         (elf_machine_plt_conflict): Likewise.
49309         (resolve_ifunc): Likewise.
49310         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
49311         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
49312         Likewise.
49313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
49314         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
49315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49316         (makecontext): Support ELFv2 ABI.
49317         * elf/elf.h (EF_PPC64_ABI): Define.
49319 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49321         * sysdeps/powerpc/powerpc64/sysdep.h
49322         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
49323         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
49324         (ENTRY) [ASSEMBLER]: ... but instead here ...
49325         (EALIGN) [ASSEMBLER]: ... and here.
49326         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
49327         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
49328         (ENTRY_2) [!ASSEMBLER]: Use it.
49329         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
49330         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
49331         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
49332         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
49333         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
49334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
49335         Use PPC64_LOAD_FUNCPTR.
49337         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
49339 2013-12-04  Alan Modra  <amodra@gmail.com>
49341         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
49342         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
49343         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
49344         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
49346         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
49347         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
49348         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
49349         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
49350         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
49351         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
49353 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49356         (__makecontext): Fix incorrect CFI when backtracing out of
49357         context created via makecontext.
49358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
49359         (__setcontext): Fix incorrect CFI during switch to new context.
49360         (__novec_setcontext): Likewise.
49362 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
49364         [BZ #4772]
49365         * time/strptime_l.c (__strptime_internal): Allow modifiers
49366         in strptime.
49367         * time/tst-strptime.c (day_tests): Add testcase.
49369 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49371         * scripts/bench.pl: Skip over blank lines.
49373 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
49375         [BZ #926]
49376         * manual/time.texi (Calendar Time): Clarify what timezone functions
49377         use.
49379 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49381         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49383 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
49385         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
49386         implementation.
49387         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
49388         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
49389         * debug/memset_chk.c (__memset_chk): Likewise.
49390         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
49391         * debug/strncpy_chk.c: Likewise.
49393 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
49395         [BZ #15268]
49396         [BZ #15425]
49397         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
49398         (__ieee754_exp): For possibly underflowing results, check size of
49399         result and force underflow exception if required.
49400         * math/auto-libm-test-in: Add more tests of exp.
49401         * math/auto-libm-test-out: Regenerated.
49402         * sysdeps/i386/fpu/libm-test-ulps: Update.
49403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49405         [BZ #16283]
49406         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
49407         * math/w_exp2f.c (__exp2f): Likewise.
49408         * math/w_exp2l.c (__exp2l): Likewise.
49409         * math/auto-libm-test-in: Do not allow missing errno on exp2
49410         underflow.
49411         * math/auto-libm-test-out: Regenerated.
49413 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
49415         [BZ #16274]
49416         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
49417         handle filename validation.
49418         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
49419         (do_open): Delete.
49421 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
49423         [BZ #6786]
49424         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
49425         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
49426         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
49427         <float.h>.
49428         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
49429         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
49430         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49431         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
49432         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49433         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
49434         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49435         * math/auto-libm-test-in: Don't allow missing errno from erfc.
49436         Add more erfc tests.
49437         * math/auto-libm-test-out: Regenerated.
49438         * sysdeps/i386/fpu/libm-test-ulps: Update.
49439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49441         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
49442         exp2, expm1, j0 and j1.
49443         * math/auto-libm-test-out: Regenerated.
49444         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
49445         (erfc_test_data): Likewise.
49446         (exp_test_data): Likewise.
49447         (exp_tonearest_test_data): Likewise.
49448         (exp_towardzero_test_data): Likewise.
49449         (exp_downward_test_data): Likewise.
49450         (exp_upward_test_data): Likewise.
49451         (exp10_test_data): Likewise.
49452         (exp2_test_data): Likewise.
49453         (expm1_test_data): Likewise.
49454         (j0_test_data): Likewise.
49455         (j1_test_data): Likewise.
49456         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
49457         (input_flag_type): Add flag_xfail_rounding.
49458         (input_flags): Add xfail-rounding.
49459         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
49460         (output_for_one_input_case): Handle flag_xfail_rounding.
49461         * sysdeps/i386/fpu/libm-test-ulps: Update.
49462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49464 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
49466         [BZ #16289]
49467         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
49468         division by 0.
49470 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49472         [BZ #16195]
49473         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
49474         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
49475         (STAP_PROBE0): New macro.
49476         (STAP_PROBE1): Likewise.
49477         (STAP_PROBE2): Likewise.
49478         (STAP_PROBE3): Likewise.
49479         (STAP_PROBE4): Likewise.
49481 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
49483         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
49485 2013-12-02  Steve Ellcey  <sellcey@mips.com>
49487         * benchtests/Makefile (bench): Add sqrt.
49488         (LDLIBS-bench-sqrt): New.
49489         * benchtests/sqrt-input: New.
49491 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
49493         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
49494         (GAIH_EAI): Likewise.
49495         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
49496         (gaih_inet): Likewise.
49497         (getaddrinfo): Don't use GAIH_EAI.
49499         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
49500         (struct gaih): Remove definition.
49502 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49504         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
49505         Use HERRNOP directly.
49507 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49509         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49511 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
49513         * math/gen-auto-libm-tests.c (test_functions): Add more
49514         single-argument functions.
49515         (special_fill_pi_2): New function.
49516         (special_fill_minus_pi_2): Likewise.
49517         (special_fill_pi_6): Likewise.
49518         (special_fill_minus_pi_6): Likewise.
49519         (special_fill_pi_3): Likewise.
49520         (special_fill_2pi_3): Likewise.
49521         (special_fill_e): Likewise.
49522         (special_fill_1_e): Likewise.
49523         (special_fill_e_minus_1): Likewise.
49524         (special_real_inputs): Add more special inputs.
49525         (output_for_one_input_case): Do not require ERANGE on underflow to
49526         zero if round-to-nearest result does not underflow to zero, unless
49527         exact results required.
49528         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
49529         atan, atanh, cbrt, cos and cosh.
49530         * math/auto-libm-test-out: Regenerated.
49531         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
49532         (acos_tonearest_test_data): Likewise.
49533         (acos_towardzero_test_data): Likewise.
49534         (acos_downward_test_data): Likewise.
49535         (acos_upward_test_data): Likewise.
49536         (acosh_test_data): Likewise.
49537         (asin_test_data): Likewise.
49538         (asin_tonearest_test_data): Likewise.
49539         (asin_towardzero_test_data): Likewise.
49540         (asin_upward_test_data): Likewise.
49541         (asinh_test_data): Likewise.
49542         (atan_test_data): Likewise.
49543         (atanh_test_data): Likewise.
49544         (cbrt_test_data): Likewise.
49545         (cos_test_data): Likewise.
49546         (cos_tonearest_test_data): Likewise.
49547         (cos_towardzero_test_data): Likewise.
49548         (cos_downward_test_data): Likewise.
49549         (cos_upward_test_data): Likewise.
49550         (cosh_test_data): Likewise.
49551         (cosh_tonearest_test_data): Likewise.
49552         (cosh_towardzero_test_data): Likewise.
49553         (cosh_downward_test_data): Likewise.
49554         (cosh_upward_test_data): Likewise.
49555         * sysdeps/i386/fpu/libm-test-ulps: Update.
49556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49558 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
49560         [BZ #6787]
49561         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
49562         * math/w_exp10f.c (__exp10f): Likewise.
49563         * math/w_exp10l.c (__exp10l): Likewise.
49564         * math/libm-test.inc (exp10_test_data): Add more tests and expect
49565         errno settings in existing tests.
49567         [BZ #14032]
49568         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
49569         precision control set to double precision.
49570         * sysdeps/i386/fpu/w_sqrt.c: New file.
49571         * math/auto-libm-test-in: Add more tests.
49572         * math/auto-libm-test-out: Update.
49574         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
49575         (sqrt_test_tonearest): New function.
49576         (sqrt_towardzero_test_data): New variable.
49577         (sqrt_test_towardzero): New function.
49578         (sqrt_downward_test_data): New variable.
49579         (sqrt_test_downward): New function.
49580         (sqrt_upward_test_data): New variable.
49581         (sqrt_test_upward): New function.
49582         (main): Call the new functions.
49584         * math/gen-auto-libm-tests.c: New file.
49585         * math/auto-libm-test-in: Likewise.
49586         * math/auto-libm-test-out: New generated file.
49587         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
49588         variables.
49589         (%beautify): Add generated representations of zero.
49590         (top level): Set $auto_input and call parse_auto_input.
49591         (beautify): Remove trailing "f" from hex float constants.
49592         (parse_args): Handle XFAIL_TEST.
49593         (convert_condition): New function.
49594         (or_value): Likewise.
49595         (or_cond_value): Likewise.
49596         (generate_testfile): Handle AUTO_TESTS_* lines.
49597         (parse_auto_input): New function.
49598         * math/libm-test.inc (XFAIL_TEST): New macro.
49599         (ERRNO_UNCHANGED): Update value.
49600         (ERRNO_EDOM): Likewise.
49601         (ERRNO_ERANGE): Likewise.
49602         (IGNORE_RESULT): Likewise.
49603         (TEST_COND_flt_32): New macro.
49604         (TEST_COND_dbl_64): Likewise.
49605         (TEST_COND_ldbl_96_intel): Likewise.
49606         (TEST_COND_ldbl_96_m68k): Likewise.
49607         (TEST_COND_ldbl_128): Likewise.
49608         (TEST_COND_ldbl_128ibm): Likewise.
49609         (TEST_COND_long32): Likewise.
49610         (TEST_COND_long64): Likewise.
49611         (TEST_COND_before_rounding): Likewise.
49612         (TEST_COND_after_rounding): Likewise.
49613         (enable_test): Handle XFAIL_TEST flag.
49614         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
49615         with finite results.
49616         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
49617         auto-libm-test-out.
49619 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49620             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49622         [BZ #16214]
49623         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
49624         __tls_get_addr_internal instead of __tls_get_offset in order to
49625         avoid GOT pointer dependency.  Make rtld export
49626         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
49627         __tls_get_addr since we are a __tls_get_offset platform.
49628         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
49629         GOT pointer being set up before.
49630         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
49632 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
49634         * manual/math.texi (Errors in Math Functions): Document accuracy
49635         goals.
49637         [BZ #15004]
49638         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
49639         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
49640         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49641         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49642         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49643         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49644         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49645         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
49646         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
49647         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49648         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49649         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49650         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49651         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49652         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49653         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
49655         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
49656         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
49657         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
49658         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
49659         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
49660         Likewise.
49661         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
49662         Likewise.
49663         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
49664         Likewise.
49665         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
49666         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
49667         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
49668         atomic-feupdateenv and flt-rounds.
49669         * sysdeps/powerpc/nofpu/Versions (libc): Add
49670         __atomic_feholdexcept, __atomic_feclearexcept,
49671         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
49672         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
49673         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
49674         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
49675         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
49676         here.
49677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
49678         Update.
49680         * manual/arith.texi (FP Exceptions): Document that exceptions may
49681         not be raised when matherr is used.
49682         (Math Error Reporting): Document overflow in directed rounding
49683         modes.  Document that errno may not be set when finite values are
49684         returned on overflow.  Document intent to set errno on underflow
49685         only for underflow to zero.
49687         [BZ #16271]
49688         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
49689         round-to-nearest then adjust result for other rounding modes.
49690         * include/fenv.h (fegetround): Use libm_hidden_proto.
49691         * math/fegetround.c (fegetround): Use libm_hidden_def.
49692         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
49693         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
49694         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
49695         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
49696         Likewise.
49697         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
49698         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
49699         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
49700         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
49702 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49704         [BZ #16077]
49705         * nss/Versions (libnss_files): Add
49706         _nss_files_gethostbyname3_r.
49707         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
49708         New function.
49709         (HOST_DB_LOOKUP): Remove macro.
49710         (_nss_files_gethostbyname_r): Implement function without the
49711         HOST_DB_LOOKUP macro.
49712         (_nss_files_gethostbyname2_r): Likewise.
49714 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
49716         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
49718 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
49720         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
49721         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
49722         warning.
49724 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49726         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
49727         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
49728         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
49729         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
49730         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
49731         __fe_nomask_env_priv and attribute_hidden.
49732         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
49733         (libc_feupdateenv_test_ppc): Likewise.
49734         (libc_feresetround_ppc): Likewise.
49735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
49736         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
49737         compat_symbol macro.
49738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
49739         (__fe_nomask_env): Likewise.
49740         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
49742 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
49744         * string/Makefile: Remove ifunc tests.
49745         * string/test-string.h: Define TEST_IFUNC.
49746         * string/test-bcopy-ifunc.c: Remove.
49747         * string/test-bzero-ifunc.c: Likewise.
49748         * string/test-memccpy-ifunc.c: Likewise.
49749         * string/test-memchr-ifunc.c: Likewise.
49750         * string/test-memcmp-ifunc.c: Likewise.
49751         * string/test-memcpy-ifunc.c: Likewise.
49752         * string/test-memmem-ifunc.c: Likewise.
49753         * string/test-memmove-ifunc.c: Likewise.
49754         * string/test-mempcpy-ifunc.c: Likewise.
49755         * string/test-memrchr-ifunc.c: Likewise.
49756         * string/test-memset-ifunc.c: Likewise.
49757         * string/test-rawmemchr-ifunc.c: Likewise.
49758         * string/test-stpcpy-ifunc.c: Likewise.
49759         * string/test-stpncpy-ifunc.c: Likewise.
49760         * string/test-strcasecmp-ifunc.c: Likewise.
49761         * string/test-strcasestr-ifunc.c: Likewise.
49762         * string/test-strcat-ifunc.c: Likewise.
49763         * string/test-strchr-ifunc.c: Likewise.
49764         * string/test-strchrnul-ifunc.c: Likewise.
49765         * string/test-strcmp-ifunc.c: Likewise.
49766         * string/test-strcpy-ifunc.c: Likewise.
49767         * string/test-strcspn-ifunc.c: Likewise.
49768         * string/test-strlen-ifunc.c: Likewise.
49769         * string/test-strncasecmp-ifunc.c: Likewise.
49770         * string/test-strncat-ifunc.c: Likewise.
49771         * string/test-strncmp-ifunc.c: Likewise.
49772         * string/test-strncpy-ifunc.c: Likewise.
49773         * string/test-strnlen-ifunc.c: Likewise.
49774         * string/test-strpbrk-ifunc.c: Likewise.
49775         * string/test-strrchr-ifunc.c: Likewise.
49776         * string/test-strspn-ifunc.c: Likewise.
49777         * string/test-strstr-ifunc.c: Likewise.
49779 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
49781         * benchtests/Makefile: Remove ifunc tests.
49782         * benchtests/bench-string.h: Define TEST_IFUNC.
49783         * benchtests/bench-bcopy-ifunc.c: Remove.
49784         * benchtests/bench-bzero-ifunc.c: Likewise.
49785         * benchtests/bench-memccpy-ifunc.c: Likewise.
49786         * benchtests/bench-memchr-ifunc.c: Likewise.
49787         * benchtests/bench-memcmp-ifunc.c: Likewise.
49788         * benchtests/bench-memcpy-ifunc.c: Likewise.
49789         * benchtests/bench-memmem-ifunc.c: Likewise.
49790         * benchtests/bench-memmove-ifunc.c: Likewise.
49791         * benchtests/bench-mempcpy-ifunc.c: Likewise.
49792         * benchtests/bench-memrchr-ifunc.c: Likewise.
49793         * benchtests/bench-memset-ifunc.c: Likewise.
49794         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
49795         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
49796         * benchtests/bench-stpcpy-ifunc.c: Likewise.
49797         * benchtests/bench-stpncpy-ifunc.c: Likewise.
49798         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
49799         * benchtests/bench-strcasestr-ifunc.c: Likewise.
49800         * benchtests/bench-strcat-ifunc.c: Likewise.
49801         * benchtests/bench-strchr-ifunc.c: Likewise.
49802         * benchtests/bench-strchrnul-ifunc.c: Likewise.
49803         * benchtests/bench-strcmp-ifunc.c: Likewise.
49804         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
49805         * benchtests/bench-strcpy-ifunc.c: Likewise.
49806         * benchtests/bench-strcspn-ifunc.c: Likewise.
49807         * benchtests/bench-strlen-ifunc.c: Likewise.
49808         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
49809         * benchtests/bench-strncat-ifunc.c: Likewise.
49810         * benchtests/bench-strncmp-ifunc.c: Likewise.
49811         * benchtests/bench-strncpy-ifunc.c: Likewise.
49812         * benchtests/bench-strnlen-ifunc.c: Likewise.
49813         * benchtests/bench-strpbrk-ifunc.c: Likewise.
49814         * benchtests/bench-strrchr-ifunc.c: Likewise.
49815         * benchtests/bench-strsep-ifunc.c: Likewise.
49816         * benchtests/bench-strspn-ifunc.c: Likewise.
49817         * benchtests/bench-strstr-ifunc.c: Likewise.
49819 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
49821         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
49823 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
49825         * resolv/netdb.h: Use __glibc_reserved instead __unused.
49826         * rt/aio.h: Likewise.
49827         * sysdeps/gnu/bits/utmp.h: Likewise.
49828         * sysdeps/gnu/bits/utmpx.h: Likewise.
49829         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
49830         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
49831         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
49832         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
49833         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
49834         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
49835         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
49836         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
49837         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
49838         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
49839         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
49840         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
49841         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
49842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
49843         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
49844         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
49845         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
49846         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
49847         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
49848         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
49849         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
49850         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
49851         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
49852         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49853         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
49854         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49855         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
49856         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
49857         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
49858         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
49859         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
49860         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
49861         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
49862         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
49863         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
49864         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
49865         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
49866         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
49867         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
49868         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
49869         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
49870         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
49872 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
49874         [BZ #16245]
49875         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
49876         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
49878 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
49880         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
49881         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
49882         Likewise.
49884 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49886         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
49887         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
49888         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
49889         (__fesetround): Remove define.
49890         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
49891         rounding and exceptions handling.
49892         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
49893         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
49894         (__fe_nomask_env): Likewise.
49895         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
49896         __fegetround instead of fegetround.
49897         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
49898         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
49900 2013-11-21  Roland McGrath  <roland@hack.frob.com>
49902         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
49903         it's there.
49905         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
49907 2013-11-21  Meador Inge  <meadori@codesourcery.com>
49909         [BZ #11157]
49910         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
49911         (encrypt_r): Likewise.
49912         * malloc/obstack.h (obstack_free): Likewise.
49913         * posix/unistd.h (encrypt): Likewise.
49915 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
49917         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
49918         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
49919         DL_CALL_DT_FINI() that call the functions directly.
49920         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
49921         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
49922         * elf/dl-fini.c: Likewise.
49924 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
49926         * malloc/hooks.c (memalign_check): Add alignment rounding.
49927         * malloc/malloc.c (_mid_memalign): New function.
49928         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
49929         Implement by calling _mid_memalign.
49930         * manual/probes.texi (Memory Allocation Probes): Remove
49931         memory_valloc_retry and memory_pvalloc_retry.
49933 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49935         * locale/programs/locarchive.c (open_archive): Add const
49936         qualifier to ARCHIVEFNAME and copy default fname to
49937         DEFAULT_FNAME.
49939         [BZ #15601]
49940         * libio/tst-widetext.input: Rename Oriya to Odia.
49941         * locale/iso-639.def: Likewise.
49943         * manual/probes.texi (Mathematical Function Probes): Add
49944         documentation for sin, cos, asin and acos probes.
49945         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
49946         (__sin32): Add slowasin probe.
49947         (__cos32): Add slowacos probe.
49948         (__mpsin): Add slowsin probe.
49949         (__mpcos): Add slowcos probe.
49951 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
49953         [BZ #15483]
49954         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
49955         thread-local __sim_exceptions_thread and global
49956         __sim_exceptions_global.
49957         (__sim_disabled_exceptions): Change to thread-local
49958         __sim_disabled_exceptions_thread and global
49959         __sim_disabled_exceptions_global.
49960         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
49961         and global __sim_round_mode_global.
49962         (__simulate_exceptions): Use thread-local floating-point state and
49963         set global state from it as needed.
49964         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
49965         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
49966         __sim_round_mode_thread.
49967         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
49968         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
49969         and global __sim_exceptions_global.
49970         (__sim_disabled_exceptions): Change to thread-local
49971         __sim_disabled_exceptions_thread and global
49972         __sim_disabled_exceptions_global.
49973         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
49974         and global __sim_round_mode_global.
49975         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
49976         (SIM_SET_GLOBAL): Likewise.
49977         * sysdeps/powerpc/soft-fp/sfp-machine.h
49978         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
49979         __sim_round_mode_thread.
49980         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
49981         __sim_disabled_exceptions_thread.
49982         (__sim_exceptions): Change to __sim_exceptions_thread.
49983         (__sim_disabled_exceptions): Change to
49984         __sim_disabled_exceptions_thread.
49985         (__sim_round_mode): Change to __sim_round_mode_thread.
49986         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
49987         thread-local floating-point state and set global state from it as
49988         needed.
49989         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
49990         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
49991         (__sim_disabled_exceptions): Remove extern declaration.
49992         (feenableexcept): Use thread-local floating-point state and set
49993         global state from it as needed.
49994         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
49995         extern declaration.
49996         (__sim_disabled_exceptions): Likewise.
49997         (__sim_round_mode): Likewise.
49998         (__fegetenv): Use thread-local floating-point state.
49999         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
50000         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
50001         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
50002         floating-point state and set global state from it as needed.
50003         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
50004         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
50005         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
50006         Likewise.
50007         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
50008         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
50009         Likewise.
50010         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
50011         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
50012         Use __sim_round_mode_thread.
50013         * math/test-fenv-tls.c: New file.
50014         * math/Makefile (tests): Add test-fenv-tls.
50015         ($(objpfx)test-fenv-tls): Depend on
50016         $(common-objpfx)nptl/libpthread.so.
50018 2013-11-19  Andreas Schwab  <schwab@suse.de>
50020         * locale/programs/locale.c (show_info): Decode wordarray elements.
50021         * locale/categories.def (LC_MONETARY): Add element for
50022         _NL_MONETARY_CRNCYSTR.
50023         * locale/C-monetary.c (conversion_rate): New variable.
50024         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
50025         element.
50027 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
50029         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
50030         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
50032 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
50034         * elf/Makefile (tst-auxv): New test.
50035         * elf/tst-auxv.c: New
50036         * elf/rtld.c (dl_main): Adjust AT_EXECFN
50038 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
50040         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
50041         (hidden_proto): Caller changed.
50042         (hidden_tls_proto): New macro.
50043         (libc_hidden_tls_proto): Likewise.
50044         (rtld_hidden_tls_proto): Likewise.
50045         (libm_hidden_tls_proto): Likewise.
50046         (libresolv_hidden_tls_proto): Likewise.
50047         (librt_hidden_tls_proto): Likewise.
50048         (libdl_hidden_tls_proto): Likewise.
50049         (libnss_files_hidden_tls_proto): Likewise.
50050         (libnsl_hidden_tls_proto): Likewise.
50051         (libnss_nisplus_hidden_tls_proto): Likewise.
50052         (libutil_hidden_tls_proto): Likewise.
50054 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
50056         [BZ #10253]
50057         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
50058         (decompose_rpath): Defer expansion to fillin_rpath.
50059         (_dl_init_paths): Pass linkmap to fillin_rpath.
50061 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
50063         * benchtests/Makefile: Add strsep.
50064         * benchtests/bench-strsep.c: New file: strsep benchtest.
50065         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
50067 2013-11-18  Andreas Schwab  <schwab@suse.de>
50069         * locale/programs/locale.c (show_info) [case byte]: Check for
50070         '\377' instead of '\177'.
50071         * locale/C-monetary.c (not_available): Always use "\377".
50072         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
50073         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
50074         detect unavailable sign_posn locale elements.
50075         * locale/localeconv.c (__localeconv): For grouping and
50076         mon_grouping handle "\177" and "\377" like no grouping.
50077         (INT_ELEM): New macro.  Use it to set all numeric members.
50078         * locale/programs/ld-monetary.c (monetary_read)
50079         <tok_mon_grouping>: Normalize single -1 to the empty string.
50080         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
50081         Likewise.
50083 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
50085         [BZ #16055]
50086         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
50087         when we match (nil).
50088         * stdio-common/tst-sscanf.c (struct test): Add testcase.
50090 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
50092         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
50093         (NO_TEST_INLINE): Update value.
50094         (ERRNO_UNCHANGED): Likewise.
50095         (ERRNO_EDOM): Likewise.
50096         (ERRNO_ERANGE): Likewise.
50097         (IGNORE_RESULT): Likewise.
50098         (check_float_internal): Check signs of NaN results if
50099         TEST_NAN_SIGN used.
50100         (check_complex): Pass TEST_NAN_SIGN flag through to second
50101         check_float_internal call.
50102         (copysign_test_data): Add tests with quiet NaNs as second
50103         argument.  Use TEST_NAN_SIGN.
50104         (fabs_test_data): Add test of negative quiet NaN argument.  Use
50105         TEST_NAN_SIGN.
50106         (signbit_test_data): Add tests of quiet NaN argument.
50107         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
50109         * math/gen-libm-test.pl (show_exceptions): Take extra argument
50110         $ignore_result.
50111         (parse_args): Handle function results specified as IGNORE.
50112         * math/libm-test.inc (IGNORE_RESULT): New macro.
50113         (check_float_internal): Do not check numerical result if flag
50114         IGNORE_RESULT set.
50115         (check_complex): Pass through IGNORE_RESULT to second
50116         check_float_internal call.
50117         (check_int): Do not check numerical result if flag IGNORE_RESULT
50118         set.
50119         (check_long): Likewise.
50120         (check_bool): Likewise.
50121         (check_longlong): Likewise.
50122         (lrint_test_data): Add tests of infinite and NaN arguments.
50123         (lrint_tonearest_test_data): Likewise.
50124         (lrint_towardzero_test_data): Likewise.
50125         (lrint_downward_test_data): Likewise.
50126         (lrint_upward_test_data): Likewise.
50127         (llrint_test_data): Likewise.
50128         (llrint_tonearest_test_data): Likewise.
50129         (llrint_towardzero_test_data): Likewise.
50130         (llrint_downward_test_data): Likewise.
50131         (llrint_upward_test_data): Likewise.
50132         (lround_test_data): Likewise.
50133         (llround_test_data): Likewise.
50135         * math/libm-test.inc (NO_TEST_INLINE): New macro.
50136         (ERRNO_UNCHANGED): Update value.
50137         (ERRNO_EDOM): Likewise.
50138         (ERRNO_ERANGE): Likewise.
50139         (NO_TEST_INLINE_FLOAT): New macro.
50140         (NO_TEST_INLINE_DOUBLE): Likewise.
50141         (enable_test): New function.
50142         (RUN_TEST_f_f): Check enable_test before running test.
50143         (RUN_TEST_2_f): Likewise.
50144         (RUN_TEST_fff_f): Likewise.
50145         (RUN_TEST_c_f): Likewise.
50146         (RUN_TEST_f_f1): Likewise.
50147         (RUN_TEST_fF_f1): Likewise.
50148         (RUN_TEST_fI_f1): Likewise.
50149         (RUN_TEST_ffI_f1): Likewise.
50150         (RUN_TEST_c_c): Likewise.
50151         (RUN_TEST_cc_c): Likewise.
50152         (RUN_TEST_f_i): Likewise.
50153         (RUN_TEST_f_i_tg): Likewise.
50154         (RUN_TEST_ff_i_tg): Likewise.
50155         (RUN_TEST_f_b): Likewise.
50156         (RUN_TEST_f_b_tg): Likewise.
50157         (RUN_TEST_f_l): Likewise.
50158         (RUN_TEST_f_L): Likewise.
50159         (RUN_TEST_fFF_11): Likewise.
50160         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
50161         conditionals.
50162         (cosh_test_data): Likewise.
50163         (exp_test_data): Likewise.
50164         (expm1_test_data): Likewise.
50165         (hypot_test_data): Likewise.
50166         (pow_test_data): Likewise.
50167         (sinh_test_data): Likewise.
50168         (tanh_test_data): Likewise.
50169         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
50170         flags argument.
50172         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
50173         tests with quiet NaN input and output.
50174         (acosh_test_data): Likewise.
50175         (asin_test_data): Likewise.
50176         (asinh_test_data): Likewise.
50177         (atan_test_data): Likewise.
50178         (atanh_test_data): Likewise.
50179         (atan2_test_data): Likewise.
50180         (cbrt_test_data): Likewise.
50181         (cos_test_data): Likewise.
50182         (cosh_test_data): Likewise.
50183         (erf_test_data): Likewise.
50184         (erfc_test_data): Likewise.
50185         (exp_test_data): Likewise.
50186         (exp10_test_data): Likewise.
50187         (exp2_test_data): Likewise.
50188         (expm1_test_data): Likewise.
50189         (hypot_test_data): Likewise.
50190         (j0_test_data): Likewise.
50191         (j1_test_data): Likewise.
50192         (jn_test_data): Likewise.
50193         (lgamma_test_data): Likewise.
50194         (log_test_data): Likewise.
50195         (log10_test_data): Likewise.
50196         (log1p_test_data): Likewise.
50197         (log2_test_data): Likewise.
50198         (pow_test_data): Likewise.
50199         (scalb_test_data): Likewise.
50200         (sin_test_data): Likewise.
50201         (sincos_test_data): Likewise.
50202         (sinh_test_data): Likewise.
50203         (tan_test_data): Likewise.
50204         (tanh_test_data): Likewise.
50205         (tgamma_test_data): Likewise.
50206         (y0_test_data): Likewise.
50207         (y1_test_data): Likewise.
50208         (yn_test_data): Likewise.
50210         [BZ #16167]
50211         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
50212         argument being NaN and avoid computations with second argument in
50213         that case.
50214         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50215         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
50216         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50218 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
50220         * locale/iso-639.def: Add Chitwani Tharu (the).
50222 2013-11-14  Andreas Schwab  <schwab@suse.de>
50224         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
50225         word instead of empty string.
50227 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50230         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
50231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50232         (__fe_nomask_env): Likewise.
50234 2013-11-13  Steve Ellcey  <sellcey@mips.com>
50236         * benchtests/bench-timing.h: Include time.h.
50238 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
50240         [BZ #15997]
50241         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
50242         to 3.4.0 for x32.
50243         * sysdeps/unix/sysv/linux/configure: Regenerated.
50245 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
50247         [BZ #16151]
50248         * stdlib/strtod_l.c (round_and_return): Do not consider
50249         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
50250         exponent one less than half the least subnormal exponent.
50251         * stdlib/test-strtod-round-data: Add more tests.
50252         * stdlib/tst-strtod-round.c (tests): Regenerated.
50254 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50256         [BZ #14143]
50257         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
50258         (__fe_mask_env): Likewise.
50259         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
50260         libm_hidden_proto and add function prototype.
50261         (__fe_mask_env): Add function prototype.
50262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50263         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
50264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
50265         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
50266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50267         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
50269 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50271         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50272         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
50274 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50276         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
50277         of htab_find_slot().
50279 2013-11-11  David S. Miller  <davem@davemloft.net>
50281         [BZ #16150]
50282         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
50283         symbol in the non-vis3 case in static builds.
50284         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
50285         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
50286         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
50287         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
50289 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
50291         [BZ #387]
50292         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
50293         it is empty.
50295 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50297         * benchtests/Makefile: Add bench-strtod.
50298         * benchtests/bench-strtod.c: New file: strtod benchtest
50300 2013-11-11  Andreas Schwab  <schwab@suse.de>
50302         [BZ #16153]
50303         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
50304         terminating NUL in key length.
50306 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50308         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
50309         Add artificial ODP entry for vDSO symbol for PPC64.
50310         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
50311         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
50313 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
50315         [BZ #15374]
50316         * nss/getent.c (services_keys): Recognize services starting with digit.
50318 2013-11-06  David S. Miller  <davem@davemloft.net>
50320         [BZ #15985]
50321         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
50322         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
50324 2013-11-06  Will Newton  <will.newton@linaro.org>
50326         * manual/memory.texi (Malloc Examples): Remove register
50327         keyword from examples.
50329 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
50331         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
50333 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
50335         [BZ #6981]
50336         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
50337         depending on [__GCC_IEC_559 > 0].
50338         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
50339         depending on [__GCC_IEC_559_COMPLEX > 0].
50341 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
50343         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
50344         to iso-639.def.
50346 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
50348         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
50350 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
50352         [BZ #16112]
50353         * malloc/malloc (malloc_info): Do not handle first bin as
50354         special case.
50356 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
50358         * locale/iso-639.def: Add Central Nahuatl (nhn).
50360 2013-11-01  Bruno Haible  <bruno@clisp.org>
50362         [BZ #7003]
50363         * manual/math.texi (BSD Random): Specify range upper bound as
50364         in POSIX.
50366 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
50368         * locale/iso-639.def: Add Meadow Mari (mhr).
50370 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
50372         [BZ #14752], [BZ #15763]
50373         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
50374         Validate name.
50375         * rt/tst_shm.c: Add test for escaping directory.
50377 2013-10-31  Andreas Schwab  <schwab@suse.de>
50379         [BZ #15917]
50380         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
50381         followed by 'x' as part of digit sequence.
50382         * stdio-common/tst-sscanf.c (double_tests2): New tests.
50384 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
50386         [BZ #16037]
50387         * configure.ac: allow GNU Make 4.0 and greater.
50388         * configure: Regenerated.
50390 2013-10-30  Will Newton  <will.newton@linaro.org>
50392         [BZ #16038]
50393         * malloc/hooks.c (memalign_check): Limit alignment to the
50394         maximum representable power of two.
50395         * malloc/malloc.c (__libc_memalign): Likewise.
50396         * malloc/tst-memalign.c (do_test): Add test for very
50397         large alignment values.
50398         * malloc/tst-posix_memalign.c (do_test): Likewise.
50400 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
50402         [BZ #11087]
50403         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
50404         (munmap_chunk): Likewise.
50405         (mremap_chunk): Likewise.
50407 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
50409         [BZ #15799]
50410         * stdlib/div.c (div): Remove obsolete code.
50411         * stdlib/ldiv.c (ldiv): Likewise.
50412         * stdlib/lldiv.c (lldiv): Likewise.
50414 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50416         [BZ #16071]
50417         * nss/nss_files/files-XXX.c (get_contents_ret): New
50418         enumerator.
50419         (get_contents): New function.
50420         (internal_getent): Use it.  Expand size of LINEBUFLEN.
50422 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
50424         * configure.in: Moved to ...
50425         * configure.ac: ... here. Change reference to configure.in
50426         to configure.ac.
50427         * sysdeps/arm/preconfigure.ac: ... here.
50428         configure.in to configure.ac.
50429         * sysdeps/gnu/configure.in: Moved to ...
50430         * sysdeps/gnu/configure.ac: ... here.
50431         * sysdeps/i386/configure.in: Moved to ...
50432         * sysdeps/i386/configure.ac: ... here.
50433         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
50434         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
50435         * sysdeps/mach/configure.in: Moved to ...
50436         * sysdeps/mach/configure.ac: ... here.
50437         * sysdeps/mach/hurd/configure.in: Moved to ...
50438         * sysdeps/mach/hurd/configure.ac: ... here.
50439         * sysdeps/powerpc/configure.in: Moved to ...
50440         * sysdeps/powerpc/configure.ac: ... here.
50441         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
50442         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
50443         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
50444         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
50445         * sysdeps/s390/s390-32/configure.in: Moved to ...
50446         * sysdeps/s390/s390-32/configure.ac: ... here.
50447         * sysdeps/s390/s390-64/configure.in: Moved to ...
50448         * sysdeps/s390/s390-64/configure.ac: ... here.
50449         * sysdeps/sh/configure.in: Moved to ...
50450         * sysdeps/sh/configure.ac: ... here.
50451         * sysdeps/sparc/configure.in: Moved to ...
50452         * sysdeps/sparc/configure.ac: ... here.
50453         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
50454         * sysdeps/unix/sysv/linux/configure.ac: ... here.
50455         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
50456         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
50457         * sysdeps/x86_64/configure.in: Moved to ...
50458         * sysdeps/x86_64/configure.ac: ... here.
50459         * sysdeps/x86_64/preconfigure.in: Moved to ...
50460         * sysdeps/x86_64/preconfigure.ac: ... here.
50461         * aclocal.m4: Change reference to configure.in to configure.ac.
50462         * config.h.in: Likewise.
50463         * manual/install.texi: Likewise.
50464         * manual/maint.texi: Likewise.
50465         * Makefile: Likewise.
50466         * malloc/Makefile: Likewise.
50467         * nscd/Makefile: Likewise.
50468         * Makeconfig: Change reference to configure.in and
50469         preconfigure.in to configure.ac and preconfigure.ac
50470         respectively.
50471         * INSTALL: Regenerated.
50472         * configure: Likewise.
50473         * sysdeps/gnu/configure: Likewise.
50474         * sysdeps/i386/configure: Likewise.
50475         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
50476         * sysdeps/mach/configure: Likewise.
50477         * sysdeps/mach/hurd/configure: Likewise.
50478         * sysdeps/powerpc/configure: Likewise.
50479         * sysdeps/powerpc/powerpc32/configure: Likewise.
50480         * sysdeps/powerpc/powerpc64/configure: Likewise.
50481         * sysdeps/s390/s390-32/configure: Likewise.
50482         * sysdeps/s390/s390-64/configure: Likewise.
50483         * sysdeps/sh/configure: Likewise.
50484         * sysdeps/sparc/configure: Likewise.
50485         * sysdeps/unix/sysv/linux/configure: Likewise.
50486         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
50487         * sysdeps/x86_64/configure: Likewise.
50488         * sysdeps/x86_64/preconfigure: Likewise.
50490 2013-10-29  Andreas Schwab  <schwab@suse.de>
50492         * stdio-common/Makefile (tst-swscanf-ENV): Define.
50494 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50496         * benchtests/pow-inputs: Add new inputs.
50498         * benchtests/exp-inputs: Add new inputs.
50500         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
50501         conditional check for return value.
50502         (__cos32): Likewise.
50504 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50506         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
50507         to provide a boost for large inputs with word alignment.
50508         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
50509         implementation based on optimized PPC64 strcpy.
50510         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
50511         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
50512         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
50513         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
50515 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
50517         [BZ #2801]
50518         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
50520 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
50522         [BZ #14876]
50523         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
50524         * time/tst-strptime.c (day_tests): Add testcase.
50526 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
50528         [BZ #14029]
50529         * manual/pattern.texi: Acknowledge that fnmatch can fail.
50531 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
50533         [BZ #16074]
50534         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
50535         MAP_FAILED on error.
50537 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50539         [BZ #16072]
50540         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
50541         heap for large requests.
50543 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
50545         [BZ #9954]
50546         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
50547         result if the result has no associated interface.
50548         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
50549         interface for all 127.X.Y.Z addresses.
50551 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
50553         * locale/iso-639.def: Add Ligurian (lij)
50555 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
50557         [BZ #15825]
50558         * sunrpc/rpc_main.c: Document rpcgen -5.
50560 2013-10-19  Michael Stahl  <mstahl@redhat.com>
50562         * elf/rtld.c (do_preload): Print the reason why preloading failed.
50564 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
50566         [BZ #10278]
50567         * posix/glob.c: Match only directories when trailing slash is present.
50568         * posix/tst-gnuglob.c (my_opendir): Do not open files.
50569         (main): Add testcase.
50571 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
50573         [BZ #15670]
50574         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
50576 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
50578         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
50579         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
50580         AUTH_DES and cindex for FIPS 140-2.
50581         (DES Encryption): Add cindex FIPS 46-3.
50583         * locale/locarchive.h (struct locarhandle): Add fname.
50584         * locale/programs/localedef.c (main): Pass ARGV[remaining]
50585         if an optional argument was specified to --list-archive,
50586         otherwise NULL.
50587         * locale/programs/locarchive.c (show_archive_content): Take new
50588         argument fname and pass it via ah.fname to open_archive.
50589         * locale/programs/localedef.h: Update decl.
50590         (open_archive): If AH->fname is non-null, open that file
50591         rather than the default file name, and don't ignore ENOENT.
50592         (create_archive): Set AH.fname to NULL.
50593         (delete_locales_from_archive): Likewise.
50594         (add_locales_to_archive): Likewise.
50595         * locale/programs/locfile.c (write_all_categories): Likewise.
50597 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
50598             Aldy Hernandez  <aldyh@redhat.com>
50600         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
50601         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
50602         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
50603         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
50604         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
50605         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
50606         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
50607         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
50608         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
50609         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
50610         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
50611         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
50612         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
50613         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
50614         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
50615         Likewise.
50616         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
50617         Likewise.
50618         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
50619         Likewise.
50620         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
50621         Likewise.
50622         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
50623         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
50624         Likewise.
50625         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
50626         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
50627         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
50628         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
50629         Likewise.
50630         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
50631         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
50632         * sysdeps/powerpc/preconfigure: Likewise.
50633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
50634         Likewise.
50635         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
50636         Replace contents of file by #include of <fenv_libc.h>.
50637         * sysdeps/powerpc/soft-fp/sfp-machine.h
50638         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
50639         and <sys/prctl.h>.
50640         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
50641         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
50642         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
50643         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
50644         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
50645         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
50646         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
50647         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
50648         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
50649         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
50650         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
50651         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
50652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
50653         Allow copysignl PLT reference to be missing.
50655 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
50656             Joseph Myers  <joseph@codesourcery.com
50658         [BZ #15948]
50659         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
50660         single character.
50661         (add_to_tablewc): Assert sequence of wide characters is nonempty.
50663 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50665         * elf/tst-tls-dlinfo.c: Don't include tls.h.
50666         * elf/tst-tls1.c: Likewise.
50667         * elf/tst-tls10.h: Likewise.
50668         * elf/tst-tls14.c: Likewise.
50669         * elf/tst-tls2.c: Likewise.
50670         * elf/tst-tls3.c: Likewise.
50671         * elf/tst-tls4.c: Likewise.
50672         * elf/tst-tls5.c: Likewise.
50673         * elf/tst-tls6.c: Likewise.
50674         * elf/tst-tls7.c: Likewise.
50675         * elf/tst-tls8.c: Likewise.
50676         * elf/tst-tls9.c: Likewise.
50677         * elf/tst-tlsmod1.c: Likewise.
50678         * elf/tst-tlsmod13.c: Likewise.
50679         * elf/tst-tlsmod13a.c: Likewise.
50680         * elf/tst-tlsmod14a.c: Likewise.
50681         * elf/tst-tlsmod16a.c: Likewise.
50682         * elf/tst-tlsmod16b.c: Likewise.
50683         * elf/tst-tlsmod2.c: Likewise.
50684         * elf/tst-tlsmod3.c: Likewise.
50685         * elf/tst-tlsmod4.c: Likewise.
50686         * elf/tst-tlsmod5.c: Likewise.
50687         * elf/tst-tlsmod6.c: Likewise.
50689 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
50691         [BZ #12486]
50692         * malloc/malloc.c: remove checks for statistics.
50694 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
50696         [BZ #15277]
50697         * inet/inet_net.c (inet_network): Detect additional invalid strings.
50698         * inet/tst-network.c: Add testcase.
50700 2013-10-17  Andreas Schwab  <schwab@suse.de>
50702         [BZ #15218]
50703         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
50704         to determine canonical name.
50706 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
50708         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
50709         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
50710         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50711         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50712         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50713         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50714         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50715         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50716         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50717         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50718         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50719         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50720         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50721         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50722         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50723         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50724         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50725         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50726         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
50727         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50728         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50729         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50730         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50731         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
50732         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
50733         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50734         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50735         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
50736         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50737         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
50738         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50739         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50740         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
50741         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50742         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50743         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50744         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50745         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50746         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50747         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50748         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50749         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
50750         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
50751         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50752         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
50753         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50754         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50755         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
50756         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
50757         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50758         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
50759         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50760         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50761         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
50762         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50763         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
50764         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50765         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50767 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
50769         [BZ #16041]
50770         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
50771         make result into a quiet NaN.
50773 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
50775         * soft-fp/adddf3.c: Fix horizontal whitespace.
50776         * soft-fp/addsf3.c: Likewise.
50777         * soft-fp/addtf3.c: Likewise.
50778         * soft-fp/divdf3.c: Likewise.
50779         * soft-fp/divsf3.c: Likewise.
50780         * soft-fp/divtf3.c: Likewise.
50781         * soft-fp/double.h: Likewise.
50782         * soft-fp/eqdf2.c: Likewise.
50783         * soft-fp/eqsf2.c: Likewise.
50784         * soft-fp/eqtf2.c: Likewise.
50785         * soft-fp/extenddftf2.c: Likewise.
50786         * soft-fp/extended.h: Likewise.
50787         * soft-fp/extendsfdf2.c: Likewise.
50788         * soft-fp/extendsftf2.c: Likewise.
50789         * soft-fp/extendxftf2.c: Likewise.
50790         * soft-fp/fixdfdi.c: Likewise.
50791         * soft-fp/fixdfsi.c: Likewise.
50792         * soft-fp/fixdfti.c: Likewise.
50793         * soft-fp/fixsfdi.c: Likewise.
50794         * soft-fp/fixsfsi.c: Likewise.
50795         * soft-fp/fixsfti.c: Likewise.
50796         * soft-fp/fixtfdi.c: Likewise.
50797         * soft-fp/fixtfsi.c: Likewise.
50798         * soft-fp/fixtfti.c: Likewise.
50799         * soft-fp/fixunsdfdi.c: Likewise.
50800         * soft-fp/fixunsdfsi.c: Likewise.
50801         * soft-fp/fixunsdfti.c: Likewise.
50802         * soft-fp/fixunssfdi.c: Likewise.
50803         * soft-fp/fixunssfsi.c: Likewise.
50804         * soft-fp/fixunssfti.c: Likewise.
50805         * soft-fp/fixunstfdi.c: Likewise.
50806         * soft-fp/fixunstfsi.c: Likewise.
50807         * soft-fp/fixunstfti.c: Likewise.
50808         * soft-fp/floatdidf.c: Likewise.
50809         * soft-fp/floatdisf.c: Likewise.
50810         * soft-fp/floatditf.c: Likewise.
50811         * soft-fp/floatsidf.c: Likewise.
50812         * soft-fp/floatsisf.c: Likewise.
50813         * soft-fp/floatsitf.c: Likewise.
50814         * soft-fp/floattidf.c: Likewise.
50815         * soft-fp/floattisf.c: Likewise.
50816         * soft-fp/floattitf.c: Likewise.
50817         * soft-fp/floatundidf.c: Likewise.
50818         * soft-fp/floatundisf.c: Likewise.
50819         * soft-fp/floatunditf.c: Likewise.
50820         * soft-fp/floatunsidf.c: Likewise.
50821         * soft-fp/floatunsisf.c: Likewise.
50822         * soft-fp/floatunsitf.c: Likewise.
50823         * soft-fp/floatuntidf.c: Likewise.
50824         * soft-fp/floatuntisf.c: Likewise.
50825         * soft-fp/floatuntitf.c: Likewise.
50826         * soft-fp/fmadf4.c: Likewise.
50827         * soft-fp/fmasf4.c: Likewise.
50828         * soft-fp/fmatf4.c: Likewise.
50829         * soft-fp/gedf2.c: Likewise.
50830         * soft-fp/gesf2.c: Likewise.
50831         * soft-fp/getf2.c: Likewise.
50832         * soft-fp/ledf2.c: Likewise.
50833         * soft-fp/lesf2.c: Likewise.
50834         * soft-fp/letf2.c: Likewise.
50835         * soft-fp/muldf3.c: Likewise.
50836         * soft-fp/mulsf3.c: Likewise.
50837         * soft-fp/multf3.c: Likewise.
50838         * soft-fp/negdf2.c: Likewise.
50839         * soft-fp/negsf2.c: Likewise.
50840         * soft-fp/negtf2.c: Likewise.
50841         * soft-fp/op-1.h: Likewise.
50842         * soft-fp/op-2.h: Likewise.
50843         * soft-fp/op-4.h: Likewise.
50844         * soft-fp/op-8.h: Likewise.
50845         * soft-fp/op-common.h: Likewise.
50846         * soft-fp/quad.h: Likewise.
50847         * soft-fp/single.h: Likewise.
50848         * soft-fp/soft-fp.h: Likewise.
50849         * soft-fp/sqrtdf2.c: Likewise.
50850         * soft-fp/sqrtsf2.c: Likewise.
50851         * soft-fp/sqrttf2.c: Likewise.
50852         * soft-fp/subdf3.c: Likewise.
50853         * soft-fp/subsf3.c: Likewise.
50854         * soft-fp/subtf3.c: Likewise.
50855         * soft-fp/truncdfsf2.c: Likewise.
50856         * soft-fp/trunctfdf2.c: Likewise.
50857         * soft-fp/trunctfsf2.c: Likewise.
50858         * soft-fp/trunctfxf2.c: Likewise.
50859         * soft-fp/unorddf2.c: Likewise.
50860         * soft-fp/unordsf2.c: Likewise.
50861         * soft-fp/unordtf2.c: Likewise.
50863 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
50865         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
50866         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
50868 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
50870         * elf/dl-libc.c: Clear initfini list after freeing.
50872 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
50874         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
50875         * soft-fp/addsf3.c: Likewise.
50876         * soft-fp/addtf3.c: Likewise.
50877         * soft-fp/divdf3.c: Likewise.
50878         * soft-fp/divsf3.c: Likewise.
50879         * soft-fp/divtf3.c: Likewise.
50880         * soft-fp/double.h: Likewise.
50881         * soft-fp/eqdf2.c: Likewise.
50882         * soft-fp/eqsf2.c: Likewise.
50883         * soft-fp/eqtf2.c: Likewise.
50884         * soft-fp/extenddftf2.c: Likewise.
50885         * soft-fp/extended.h: Likewise.
50886         * soft-fp/extendsfdf2.c: Likewise.
50887         * soft-fp/extendsftf2.c: Likewise.
50888         * soft-fp/extendxftf2.c: Likewise.
50889         * soft-fp/fixdfdi.c: Likewise.
50890         * soft-fp/fixdfsi.c: Likewise.
50891         * soft-fp/fixdfti.c: Likewise.
50892         * soft-fp/fixsfdi.c: Likewise.
50893         * soft-fp/fixsfsi.c: Likewise.
50894         * soft-fp/fixsfti.c: Likewise.
50895         * soft-fp/fixtfdi.c: Likewise.
50896         * soft-fp/fixtfsi.c: Likewise.
50897         * soft-fp/fixtfti.c: Likewise.
50898         * soft-fp/fixunsdfdi.c: Likewise.
50899         * soft-fp/fixunsdfsi.c: Likewise.
50900         * soft-fp/fixunsdfti.c: Likewise.
50901         * soft-fp/fixunssfdi.c: Likewise.
50902         * soft-fp/fixunssfsi.c: Likewise.
50903         * soft-fp/fixunssfti.c: Likewise.
50904         * soft-fp/fixunstfdi.c: Likewise.
50905         * soft-fp/fixunstfsi.c: Likewise.
50906         * soft-fp/fixunstfti.c: Likewise.
50907         * soft-fp/floatdidf.c: Likewise.
50908         * soft-fp/floatdisf.c: Likewise.
50909         * soft-fp/floatditf.c: Likewise.
50910         * soft-fp/floatsidf.c: Likewise.
50911         * soft-fp/floatsisf.c: Likewise.
50912         * soft-fp/floatsitf.c: Likewise.
50913         * soft-fp/floattidf.c: Likewise.
50914         * soft-fp/floattisf.c: Likewise.
50915         * soft-fp/floattitf.c: Likewise.
50916         * soft-fp/floatundidf.c: Likewise.
50917         * soft-fp/floatundisf.c: Likewise.
50918         * soft-fp/floatunsidf.c: Likewise.
50919         * soft-fp/floatunsisf.c: Likewise.
50920         * soft-fp/floatuntidf.c: Likewise.
50921         * soft-fp/floatuntisf.c: Likewise.
50922         * soft-fp/floatuntitf.c: Likewise.
50923         * soft-fp/fmadf4.c: Likewise.
50924         * soft-fp/fmasf4.c: Likewise.
50925         * soft-fp/fmatf4.c: Likewise.
50926         * soft-fp/gedf2.c: Likewise.
50927         * soft-fp/gesf2.c: Likewise.
50928         * soft-fp/getf2.c: Likewise.
50929         * soft-fp/ledf2.c: Likewise.
50930         * soft-fp/lesf2.c: Likewise.
50931         * soft-fp/letf2.c: Likewise.
50932         * soft-fp/muldf3.c: Likewise.
50933         * soft-fp/mulsf3.c: Likewise.
50934         * soft-fp/multf3.c: Likewise.
50935         * soft-fp/negdf2.c: Likewise.
50936         * soft-fp/negsf2.c: Likewise.
50937         * soft-fp/negtf2.c: Likewise.
50938         * soft-fp/op-1.h: Likewise.
50939         * soft-fp/op-2.h: Likewise.
50940         * soft-fp/op-4.h: Likewise.
50941         * soft-fp/op-8.h: Likewise.
50942         * soft-fp/op-common.h: Likewise.
50943         * soft-fp/quad.h: Likewise.
50944         * soft-fp/single.h: Likewise.
50945         * soft-fp/soft-fp.h: Likewise.
50946         * soft-fp/sqrtdf2.c: Likewise.
50947         * soft-fp/sqrtsf2.c: Likewise.
50948         * soft-fp/sqrttf2.c: Likewise.
50949         * soft-fp/subdf3.c: Likewise.
50950         * soft-fp/subsf3.c: Likewise.
50951         * soft-fp/subtf3.c: Likewise.
50952         * soft-fp/truncdfsf2.c: Likewise.
50953         * soft-fp/trunctfdf2.c: Likewise.
50954         * soft-fp/trunctfsf2.c: Likewise.
50955         * soft-fp/trunctfxf2.c: Likewise.
50956         * soft-fp/unorddf2.c: Likewise.
50957         * soft-fp/unordsf2.c: Likewise.
50958         * soft-fp/unordtf2.c: Likewise.
50960 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
50962         [BZ #15672]
50963         * misc/error.c (error_tail): Fix possible buffer overflow.
50965 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
50967         [BZ #13028]
50968         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
50969         address.
50971 2013-10-14  P. J. McDermott  <pj@pehjota.net>
50973         [BZ #832]
50974         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
50975         testing pipefail option.
50977 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
50979         * soft-fp/double.h: Indent preprocessor directives inside #if.
50980         * soft-fp/extended.h: Likewise.
50981         * soft-fp/op-2.h: Likewise.
50982         * soft-fp/op-4.h: Likewise.
50983         * soft-fp/op-common.h: Likewise.
50984         * soft-fp/quad.h: Likewise.
50985         * soft-fp/single.h: Likewise.
50986         * soft-fp/soft-fp.h: Likewise.
50988 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
50990         * iconv/iconv_prog.c: Fix typos.
50991         * stdio-common/psiginfo-data.h: Likewise.
50993 2013-10-12   Reuben Thomas <rrt@sc3d.org>
50995         [BZ #15764]
50996         * locale/setlocale.c: Fix typo.
50998 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
51000         [BZ #16036]
51001         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
51002         signaling NaN arguments.
51003         * soft-fp/unordsf2.c (__unordsf2): Likewise.
51004         * soft-fp/unordtf2.c (__unordtf2): Likewise.
51006         [BZ #14910]
51007         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
51008         unordered operands.
51009         * soft-fp/gesf2.c (__gesf2): Likewise.
51010         * soft-fp/getf2.c (__getf2): Likewise.
51011         * soft-fp/ledf2.c (__ledf2): Likewise.
51012         * soft-fp/lesf2.c (__lesf2): Likewise.
51013         * soft-fp/letf2.c (__letf2): Likewise.
51015         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
51016         * soft-fp/eqsf2.c (__eqsf2): Likewise.
51017         * soft-fp/eqtf2.c (__eqtf2): Likewise.
51018         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
51019         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
51020         * soft-fp/fixdfti.c (__fixdfti): Likewise.
51021         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
51022         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
51023         * soft-fp/fixsfti.c (__fixsfti): Likewise.
51024         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
51025         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
51026         * soft-fp/fixtfti.c (__fixtfti): Likewise.
51027         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
51028         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
51029         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
51030         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
51031         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
51032         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
51033         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
51034         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
51035         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
51036         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
51037         * soft-fp/floatdisf.c (__floatdisf): Likewise.
51038         * soft-fp/floatsisf.c (__floatsisf): Likewise.
51039         * soft-fp/floattidf.c (__floattidf): Likewise.
51040         * soft-fp/floattisf.c (__floattisf): Likewise.
51041         * soft-fp/floattitf.c (__floattitf): Likewise.
51042         * soft-fp/floatundidf.c (__floatundidf): Likewise.
51043         * soft-fp/floatundisf.c (__floatundisf): Likewise.
51044         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
51045         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
51046         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
51047         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
51048         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
51049         * soft-fp/gesf2.c (__gesf2): Likewise.
51050         * soft-fp/getf2.c (__getf2): Likewise.
51051         * soft-fp/ledf2.c (__ledf2): Likewise.
51052         * soft-fp/lesf2.c (__lesf2): Likewise.
51053         * soft-fp/letf2.c (__letf2): Likewise.
51055         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
51056         Undefine and redefine.
51057         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
51058         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
51059         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
51060         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
51061         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51062         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
51063         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51064         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
51065         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51066         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
51067         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51068         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
51069         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51070         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
51071         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51073         [BZ #16032]
51074         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
51075         without decrementing exponent if mantissa >= that for the
51076         denominator, not >.
51077         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
51078         denominator, not >.  Decrement exponent in < case instead of
51079         incrementing in >= case.
51080         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
51081         without decrementing exponent if mantissa >= that for the
51082         denominator, not >.
51084         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
51085         computing saturated result for unsigned overflow.
51087 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51088             Jeff Law  <law@redhat.com>
51090         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
51091         (atan2Mp): Add systemtap probe marker.
51092         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
51093         (__ieee754_log): Add systemtap probe marker.
51094         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
51095         (atanMp): Add systemtap probe marker.
51096         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
51097         (tanMp): Add systemtap probe marker.
51098         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
51099         (__slowexp): Add systemtap probe marker.
51100         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
51101         (__slowpow): Add systemtap probe marker.
51102         * manual/probes.texi: Document probes.
51104 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
51106         [BZ #15362]
51107         * libio/fileops.c (_IO_new_file_write): Return count of bytes
51108         written.
51109         (_IO_new_file_xsputn): Don't return EOF if nothing has been
51110         written.
51111         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
51112         written to buffer but not flushed.
51113         * libio/iofwrite_u.c:  Likewise.
51114         * libio/iopadn.c:  Return bytes returned even if EOF was
51115         encountered.
51116         * libio/iowpadn.c:  Likewise.
51117         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
51118         if _IO_padn does not write the whole buffer.
51119         [!COMPILE_WPRINTF] (PAD): Likewise.
51121 2013-10-10  David S. Miller  <davem@davemloft.net>
51123         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
51124         directory block.
51126 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
51128         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
51129         instead of FSF address.
51130         * soft-fp/fixdfti.c: Likewise.
51131         * soft-fp/fixsfti.c: Likewise.
51132         * soft-fp/fixtfti.c: Likewise.
51133         * soft-fp/fixunsdfti.c: Likewise.
51134         * soft-fp/fixunssfti.c: Likewise.
51135         * soft-fp/fixunstfti.c: Likewise.
51136         * soft-fp/floattidf.c: Likewise.
51137         * soft-fp/floattisf.c: Likewise.
51138         * soft-fp/floattitf.c: Likewise.
51139         * soft-fp/floatuntidf.c: Likewise.
51140         * soft-fp/floatuntisf.c: Likewise.
51141         * soft-fp/floatuntitf.c: Likewise.
51142         * soft-fp/trunctfxf2.c: Likewise.
51144         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
51145         * soft-fp/fixdfti.c: Likewise.
51146         * soft-fp/fixsfti.c: Likewise.
51147         * soft-fp/fixtfti.c: Likewise.
51148         * soft-fp/fixunsdfti.c: Likewise.
51149         * soft-fp/fixunssfti.c: Likewise.
51150         * soft-fp/fixunstfti.c: Likewise.
51151         * soft-fp/floattidf.c: Likewise.
51152         * soft-fp/floattisf.c: Likewise.
51153         * soft-fp/floattitf.c: Likewise.
51154         * soft-fp/floatuntidf.c: Likewise.
51155         * soft-fp/floatuntisf.c: Likewise.
51156         * soft-fp/floatuntitf.c: Likewise.
51157         * soft-fp/trunctfxf2.c: Likewise.
51159 2013-10-10  David S. Miller  <davem@davemloft.net>
51161         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51163 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
51165         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
51166         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
51167         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
51168         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
51169         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
51170         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
51171         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
51173         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
51174         for NaNs before doing comparisons on argument.
51175         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
51176         Likewise.
51178 2013-10-10  Will Newton  <will.newton@linaro.org>
51180         * malloc/hooks.c (memalign_check): Ensure the value of bytes
51181         passed to _int_memalign does not overflow.
51183 2013-10-10  Torvald Riegel  <triegel@redhat.com>
51185         * scripts/bench.pl: Add include-sources directive.
51186         * benchtests/README: Update documentation.
51188 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
51190         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
51191         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
51192         instead of FP_INIT_ROUNDMODE.
51193         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
51194         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
51196         [BZ #16034]
51197         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
51198         copy class of input value.
51199         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
51200         not handle exceptions.
51201         * soft-fp/negsf2.c (__negsf2): Likewise.
51202         * soft-fp/negtf2.c (__negtf2): Likewise.
51203         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
51205 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
51207         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
51208         semicolon.  From Linux kernel.
51210 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
51212         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
51214 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
51216         [BZ #156]
51217         * manual/socket.texi: Added statement about buffer
51218         for gethostbyname2_r.
51220 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
51222         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
51223         Use .p2align directive instead, throughout.
51224         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
51225         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
51226         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
51227         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51228         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51229         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
51230         * sysdeps/x86_64/strchr.S: Likewise.
51231         * sysdeps/x86_64/strrchr.S: Likewise.
51233 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
51235         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
51237         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
51239         * sysdeps/generic/math_private.h (__mpsin1): Remove
51240         declaration.
51241         (__mpcos1): Likewise.
51242         (__mpsin): New argument __range_reduce.
51243         (__mpcos): Likewise.
51244         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51245         (slow): Use __mpsin and __mpcos.
51246         (slow1): Likewise.
51247         (slow2): Likewise.
51248         (sloww): Likewise.
51249         (sloww1): Likewise.
51250         (sloww2): Likewise.
51251         (bsloww): Likewise.
51252         (bsloww1): Likewise.
51253         (bsloww2): Likewise.
51254         (cslow2): Likewise.
51255         (csloww): Likewise.
51256         (csloww1): Likewise.
51257         (csloww2): Likewise.
51258         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
51259         range_reduce.  Merge in __mpsin1.
51260         (__mpcos): Likewise.
51261         (__mpsin1): Remove.
51262         (__mpcos1): Likewise.
51264 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
51266         * locale/loadlocale.c (_nl_intern_locale_data): Use
51267         LOCFILE_ALIGNED_P.
51268         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
51269         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
51270         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
51271         obstack data is appropriately aligned.
51272         (obstack_int32_grow_fast): Likewise.
51273         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
51274         * locale/programs/locfile.c (add_locale_uint32): Likewise.
51275         (add_locale_uint32_array): Likewise.
51277 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
51279         * benchtests/Makefile: Remove ARGLIST and RET variables.
51280         ($(objpfx)bench-%.c): Pass only function name to the script.
51281         * benchtests/README: Update documentation.
51282         * benchtests/acos-inputs: Add new directives.
51283         * benchtests/acosh-inputs: Likewise.
51284         * benchtests/asin-inputs: Likewise.
51285         * benchtests/asinh-inputs: Likewise.
51286         * benchtests/atan-inputs: Likewise.
51287         * benchtests/atanh-inputs: Likewise.
51288         * benchtests/cos-inputs: Likewise.
51289         * benchtests/cosh-inputs: Likewise.
51290         * benchtests/exp-inputs: Likewise.
51291         * benchtests/log-inputs: Likewise.
51292         * benchtests/pow-inputs: Likewise.
51293         * benchtests/rint-inputs: Likewise.
51294         * benchtests/sin-inputs: Likewise.
51295         * benchtests/sinh-inputs: Likewise.
51296         * benchtests/tan-inputs: Likewise.
51297         * benchtests/tanh-inputs: Likewise.
51298         * scripts/bench.pl: Add support for new directives.
51300 2013-10-07  Alan Modra  <amodra@gmail.com>
51302         * README: Fix careless merge.
51304 2013-10-05  Alan Modra  <amodra@gmail.com>
51306         * NEWS: Mention powerpc64le support and bugs fixed.
51307         * README: Both big-endian and little-endian powerpc64 supported.
51309 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51311         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
51312         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
51313         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
51314         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
51316 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
51318         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
51319         match prototype.
51321 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
51323         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
51324         Move -mhard-float appending from
51325         ports/sysdeps/powerpc/powerpc32/Makefile.
51326         [$(with-fp) = yes] (ASFLAGS): Likewise.
51327         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
51328         * sysdeps/powerpc/nofpu: Move directory from
51329         ports/sysdeps/powerpc/nofpu.
51330         * sysdeps/powerpc/soft-fp: Move directory from
51331         ports/sysdeps/powerpc/soft-fp.
51332         * sysdeps/powerpc/powerpc32/405: Move directory from
51333         ports/sysdeps/powerpc/powerpc32/405.
51334         * sysdeps/powerpc/powerpc32/440: Move directory from
51335         ports/sysdeps/powerpc/powerpc32/440.
51336         * sysdeps/powerpc/powerpc32/464: Move directory from
51337         ports/sysdeps/powerpc/powerpc32/464.
51338         * sysdeps/powerpc/powerpc32/476: Move directory from
51339         ports/sysdeps/powerpc/powerpc32/476.
51340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
51341         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
51342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
51343         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
51344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
51345         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
51346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
51347         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
51348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
51349         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
51350         * README: Update for powerpc-*-linux-gnu software floating point
51351         support in libc.
51353         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
51354         case to powerpc/powerpc32*.
51355         * sysdeps/unix/sysv/linux/configure: Regenerated.
51357         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
51358         (_FPU_MASK_OM): Define as 0x04.
51359         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
51360         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
51361         0x00c10080.
51362         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
51363         0x0000003c.
51364         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
51366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
51367         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
51368         getcontext_e500.
51369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
51370         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
51371         setcontext_e500.
51372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
51373         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
51374         and setcontext_e500.
51376 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
51378         * locale/iso-3166.def: Update iso-1366.def and related occurrences
51380 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51382         * manual/threads.texi (Default Thread Attributes): Fix typo.
51384 2013-10-04  Will Newton  <will.newton@linaro.org>
51386         * malloc/Makefile: Add tst-memalign.
51387         * malloc/tst-memalign.c: New file.
51389         * malloc/tst-posix_memalign.c: Add comments.
51390         (do_test): Add comments and call free on all potentially
51391         allocated pointers. Add space after cast.
51393         * malloc/tst-pvalloc.c: Add comments.
51394         (do_test): Add comments and call free on all potentially
51395         allocated pointers. Remove duplicate check for NULL pointer.
51396         Add space after cast.
51398         * malloc/tst-valloc.c: Add comments.
51399         (do_test): Add comments and call free on all potentially
51400         allocated pointers. Remove duplicate check for NULL pointer.
51401         Add space after cast.
51403 2013-10-04  Alan Modra  <amodra@gmail.com>
51405         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51406         Use stdint types in rather than __attribute__((mode())).
51407         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51409 2013-10-04  Alan Modra  <amodra@gmail.com>
51411         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51412         Correct handling of unaligned relocs for little-endian.
51413         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51415 2013-10-04  Alan Modra  <amodra@gmail.com>
51417         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
51418         * configure: Regenerate.
51419         * nptl/shlib-versions: Powerpc*le starts at 2.18.
51420         * shlib-versions: Likewise.
51422 2013-10-04  Alan Modra  <amodra@gmail.com>
51424         * string/tester.c (test_memrchr): Increment reported test cycle.
51426 2013-10-04  Alan Modra  <amodra@gmail.com>
51428         * string/test-memcpy.c (do_one_test): When reporting errors, print
51429         string address and don't overrun end of string.
51431 2013-10-04  Alan Modra  <amodra@gmail.com>
51433         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
51434         insrdi.  Make better use of reg selection to speed exit slightly.
51435         Schedule entry path a little better.  Remove useless "are we done"
51436         checks on entry to main loop.  Handle wrapping around zero address.
51437         Correct main loop count.  Handle single left-over word from main
51438         loop inline rather than by using loop_small.  Remove extra word
51439         case in loop_small caused by wrong loop count.  Add little-endian
51440         support.
51441         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
51442         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
51443         cache hint.
51444         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
51445         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
51446         support.  Avoid rlwimi.
51447         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
51449 2013-10-04  Alan Modra  <amodra@gmail.com>
51451         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
51452         insrdi.  Formatting.
51453         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
51454         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
51455         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
51456         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
51457         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
51458         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
51460 2013-10-04  Alan Modra  <amodra@gmail.com>
51462         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
51463         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51464         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
51465         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
51466         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
51467         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
51468         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51469         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51470         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
51471         use of regs.  Use power7 mtocrf.  Tidy function tails.
51473 2013-10-04  Alan Modra  <amodra@gmail.com>
51475         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
51476         Formatting.  Consistently use rXXX register defines or rN defines.
51477         Use early exit labels that avoid restoring unused non-volatile regs.
51478         Make cr field use more consistent with rWORDn compares.  Rename
51479         regs used as shift registers for unaligned loop, using rN defines
51480         for short lifetime/multiple use regs.
51481         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
51482         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
51483         addi 1,1,64 to pop stack frame.  Simplify return value code.
51484         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51486 2013-10-04  Alan Modra  <amodra@gmail.com>
51488         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
51489         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
51490         rather than rlwimi.
51491         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
51492         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
51493         little-endian support.  Correct typos.
51494         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
51495         rather than rlwimi.
51496         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
51497         in loop and entry code to keep "and." results.
51498         (strchr): Add little-endian support.  Comment.  Move cntlzd
51499         earlier in tail.
51500         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
51502 2013-10-04  Alan Modra  <amodra@gmail.com>
51504         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
51505         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
51506         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
51507         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
51509 2013-10-04  Alan Modra  <amodra@gmail.com>
51511         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
51512         (rTMP): Define as r11.
51513         (strcmp): Add little-endian support.  Optimise tail.
51514         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
51515         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
51516         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
51517         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51518         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
51519         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51520         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51522 2013-10-04  Alan Modra  <amodra@gmail.com>
51524         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
51525         little-endian support.  Remove unnecessary "are we done" tests.
51526         Handle "s" wrapping around zero and extremely large "size".
51527         Correct main loop count.  Handle single left-over word from main
51528         loop inline rather than by using small_loop.  Correct comments.
51529         Delete "zero" tail, use "end_max" instead.
51530         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
51532 2013-10-04  Alan Modra  <amodra@gmail.com>
51534         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
51535         support.  Don't branch over align.
51536         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
51537         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
51538         support.  Rearrange tmp reg use to suit.  Comment.
51539         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
51541 2013-10-04  Alan Modra  <amodra@gmail.com>
51543         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
51545 2013-10-04  Alan Modra  <amodra@gmail.com>
51547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
51548         conditional form of branch and link when obtaining pc.
51549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
51551 2013-10-04  Alan Modra  <amodra@gmail.com>
51553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
51554         HIWORD/LOWORD.
51555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
51556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
51558 2013-10-04  Alan Modra  <amodra@gmail.com>
51560         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
51561         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
51562         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
51563         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
51564         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
51565         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
51566         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
51567         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
51568         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
51569         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
51571 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
51572             Alistair Popple <alistair@ozlabs.au.ibm.com>
51573             Alan Modra <amodra@gmail.com>
51575         [BZ #15723]
51576         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
51577         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
51578         _dl_hwcap access for little-endian.
51579         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
51580         destroy vmx regs when saving unaligned.
51581         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
51582         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
51583         destroy vmx regs when saving unaligned.
51585 2013-10-04  Alan Modra  <amodra@gmail.com>
51587         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
51588         Don't use a union to pack hi/low value.
51590 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
51592         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
51593         for little-endian.
51594         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
51595         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
51596         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
51597         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
51598         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
51600 2013-10-04  Alan Modra  <amodra@gmail.com>
51602         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
51603         constants to usual value for .cst8 section, and remove redundant
51604         high address load.
51605         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
51606         constant for 0x1p52.  Load little-endian words of double from
51607         correct stack offsets.
51609 2013-10-04  Alan Modra  <amodra@gmail.com>
51611         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
51612         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
51613         words of double from correct stack offsets.
51614         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
51615         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
51616         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
51617         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
51618         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
51619         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
51620         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
51621         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
51622         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
51623         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
51624         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
51625         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
51626         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51627         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51628         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51629         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
51630         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
51632 2013-10-04  Alan Modra  <amodra@gmail.com>
51634         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
51635         64-bit int/double union.
51636         (_FPU_SETCW): Likewise.
51637         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
51638         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
51640 2013-10-04  Alan Modra  <amodra@gmail.com>
51642         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
51643         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
51645 2013-10-04  Alan Modra  <amodra@gmail.com>
51647         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
51648         use vector int constants.
51649         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
51651 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
51653         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
51654         array with long long.
51655         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
51656         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
51657         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
51658         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
51659         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
51660         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
51661         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
51662         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
51663         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
51664         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
51665         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
51666         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
51667         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
51669 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
51671         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
51672         (__signbit): Likewise.  Correct for little-endian.
51673         (__signbitl): Call __signbit.
51674         (lrint): Correct for little-endian.
51675         (lrintf): Call lrint.
51677 2013-10-04  Alan Modra  <amodra@gmail.com>
51679         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
51680         union 32-bit int array member with 64-bit int array.
51681         (t515, tm256): Double rather than long double.
51682         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
51684 2013-10-04  Alan Modra  <amodra@gmail.com>
51686         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
51687         Delete.
51688         (IEEE854_LONG_DOUBLE_BIAS): Delete.
51689         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
51690         version of math_ldbl.h.
51692 2013-10-04  Alan Modra  <amodra@gmail.com>
51694         [BZ #15734], [BZ #15735]
51695         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
51696         all uses of ieee875 long double macros and unions.  Simplify test
51697         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
51698         ldbl_extract_mantissa value for ix,iy exponents.  Properly
51699         normalize after ldbl_extract_mantissa, and don't add hidden bit
51700         already handled.  Don't treat low word of ieee854 mantissa like
51701         low word of IBM long double and mask off bit when testing for
51702         zero.
51703         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
51704         all uses of ieee875 long double macros and unions.  Simplify tests
51705         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
51706         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
51707         two1022, instead use their values.  Recognise that tests for large
51708         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
51709         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
51710         Rewrite all uses of ieee875 long double macros and unions.  Simplify
51711         test for 0.0L and nan.  Correct negation.
51712         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
51713         ieee875 long double macros and unions.  Correct output for large
51714         magnitude x.  Correct absolute value calculation.
51715         (__erfcl): Likewise.
51716         * math/libm-test.inc: Add tests for errors discovered in IBM long
51717         double versions of fmodl, remainderl, erfl and erfcl.
51719 2013-10-04  Alan Modra  <amodra@gmail.com>
51721         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
51722         all uses of ieee854 long double macros and unions.  Simplify tests
51723         for long doubles that are fully specified by the high double.
51724         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
51725         Likewise.
51726         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
51727         Remove dead code too.
51728         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
51729         (__ieee754_ynl): Likewise.
51730         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
51731         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
51732         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
51733         Remove dead code too.
51734         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
51735         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
51736         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
51737         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
51738         Simplify.
51739         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
51740         Simplify.
51741         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
51742         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
51743         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
51744         Comment on variable precision.
51745         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
51746         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
51747         Likewise.
51748         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
51749         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
51750         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
51751         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
51752         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
51754 2013-10-04  Alan Modra  <amodra@gmail.com>
51756         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
51757         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
51758         all uses of ieee854 long double macros and unions.
51759         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
51760         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
51761         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
51762         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
51763         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
51764         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
51765         Likewise.
51766         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
51767         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51768         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
51769         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51770         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
51771         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
51772         Simplify sign and nan test too.
51773         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
51774         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
51775         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
51776         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
51777         Likewise.
51778         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
51779         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
51780         Likewise.
51781         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51782         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
51783         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
51784         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
51785         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
51786         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
51788 2013-10-04  Alan Modra  <amodra@gmail.com>
51790         * stdio-common/printf_size.c (__printf_size): Don't use
51791         union ieee854_long_double in fpnum union.
51792         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
51793         signbit macro to retrieve sign from long double.
51794         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
51795         retrieve sign from long double.
51796         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
51797         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
51798         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
51799         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
51800         * math/test-misc.c (main): Don't use union ieee854_long_double.
51802 2013-10-04  Alan Modra  <amodra@gmail.com>
51804         [BZ #15680]
51805         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
51806         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
51807         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
51808         calculation.  Remove unnecessary test for denormal exponent.
51809         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
51810         Correct handling of denormals.  Avoid undefined shift behaviour.
51811         Correct normalisation of low mantissa when low double is denormal.
51812         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
51813         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
51814         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
51815         Correct normalisation of low mantissa.  Test for overflow of high
51816         mantissa and normalise.
51817         (ldbl_nearbyint): Use more readable constant for two52.
51818         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
51819         (__mpn_construct_long_double): Fix test for overflow of high
51820         mantissa and correct normalisation.  Avoid undefined shift.
51822 2013-10-04  Alan Modra  <amodra@gmail.com>
51824         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
51825         (union ibm_extended_long_double): Define as an array of ieee754_double.
51826         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
51827         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
51828         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
51829         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
51830         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51831         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
51832         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51833         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
51834         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
51835         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
51836         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
51838 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
51840         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
51841         page size instead of calling getpagesize.
51843         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
51844         (LOCFILE_ALIGN_MASK): Likewise.
51845         (LOCFILE_ALIGN_UP): Likewise.
51846         (LOCFILE_ALIGNED_P): Likewise.
51847         * locale/programs/ld-collate.c (collate_output): Use the new
51848         macros instead of __alignof__ (int32_t).
51849         * locale/weight.h (findidx): Likewise.
51851 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
51853         [BZ #431]
51854         * manual/string.texi: Fix strncat and wcsncat.
51856 2013-10-03  Brooks Moses  <bmoses@google.com>
51858         [BZ #15915]
51859         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
51860         * Makerules: ...here, and adjust associated comments.
51862 2013-10-02  Will Newton  <will.newton@linaro.org>
51864         * malloc/Makefile: Add tst-pvalloc.
51865         * malloc/tst-pvalloc.c: New file.
51867 2013-10-02  Will Newton  <will.newton@linaro.org>
51869         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
51870         improve test coverage.
51872 2013-10-02  Will Newton  <will.newton@linaro.org>
51874         * malloc/Makefile: Add tst-posix_memalign.
51875         * malloc/tst-posix_memalign.c: New file.
51877 2013-10-01  Eric Blake  <eblake@redhat.com>
51879         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
51880         Use __THROWNL rather than __THROW on static functions.
51882 2013-09-30  Petr Machata  <pmachata@redhat.com>
51884         * elf/elf.h (R_AARCH64_ABS16): New macro.
51885         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
51886         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
51887         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
51888         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
51889         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
51890         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
51891         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
51892         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
51893         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
51894         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
51895         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
51896         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
51897         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
51898         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
51899         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
51900         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
51901         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
51902         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
51903         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
51904         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
51905         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
51906         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
51907         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
51908         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
51909         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
51910         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
51911         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
51912         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
51913         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
51914         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
51915         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
51916         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
51917         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
51918         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
51919         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
51920         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
51921         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
51922         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
51923         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
51924         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
51925         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
51926         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
51927         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
51928         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
51929         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
51930         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
51931         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
51932         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
51933         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
51934         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
51935         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
51936         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
51937         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
51938         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
51939         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
51940         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
51941         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
51942         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
51943         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
51944         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
51945         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
51946         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
51947         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
51948         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
51949         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
51950         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
51951         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
51952         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
51953         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
51954         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
51955         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
51956         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
51957         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
51958         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
51959         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
51960         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
51961         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
51962         (R_AARCH64_TLSDESC_LDR): Likewise.
51963         (R_AARCH64_TLSDESC_ADD): Likewise.
51964         (R_AARCH64_TLSDESC_CALL): Likewise.
51966 2013-09-30  Andreas Schwab  <schwab@suse.de>
51968         [BZ #15048]
51969         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
51970         the nss database lookup.
51971         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51972         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51974 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
51976         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
51978 2013-09-28  P. J. McDermott  <pj@pehjota.net>
51980         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
51981         ${Bash-specific parameter/pattern/string} parameter expansion.
51982         * sysdeps/unix/make-syscalls.sh: Likewise.
51984 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51986         * sysdeps/sh/stackguard-macros.h: New file.
51988 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
51990         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
51991         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
51992         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
51993         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
51994         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51995         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
51997 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51999         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
52000         Fix thread ID register.
52002 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
52004         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
52005         [POSIX || UNIX98]: Require rather than permitting all symbols from
52006         <time.h>.
52007         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
52008         element of struct sched_param.
52009         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
52010         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
52011         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
52012         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
52013         constant.
52015 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
52017         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
52018         argument calculation.
52020 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
52022         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
52023         Expect macro.
52024         [POSIX] (pthread_attr_t): Do not require type.
52025         [POSIX] (pthread_cond_t): Likewise.
52026         [POSIX] (pthread_condattr_t): Likewise.
52027         [POSIX] (pthread_key_t): Likewise.
52028         [POSIX] (pthread_mutex_t): Likewise.
52029         [POSIX] (pthread_mutexattr_t): Likewise.
52030         [POSIX] (pthread_once_t): Likewise.
52031         [POSIX] (pthread_t): Likewise.
52032         [POSIX-based standards] (pthread_atfork): Expect function.
52034 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
52035             Richard Sandiford  <richard@codesourcery.com>
52037         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
52038         (swap_endianness_p): New extern variable.
52039         (set_big_endian): New inline function.
52040         (maybe_swap_uint32): Likewise.
52041         (maybe_swap_uint32_array): Likewise.
52042         (maybe_swap_uint32_obstack): Likewise.
52043         * locale/programs/locfile.c: Include <stdbool.h>.
52044         (swap_endianness_p): New variable.
52045         (add_locale_uint32): Call maybe_swap_uint32.
52046         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
52047         (write_locale_data): Call maybe_swap_uint32_array.
52048         * locale/programs/ld-collate.c (obstack_int32_grow): Call
52049         maybe_swap_uint32.
52050         (obstack_int32_grow_fast): Likewise.
52051         (output_weightwc): Call maybe_swap_uint32_obstack.
52052         (collate_output): Likewise.
52053         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
52054         (OPT_LITTLE_ENDIAN): Likewise.
52055         (options): Add --little-endian and --big-endian options.
52056         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
52057         * locale/programs/locarchive.c: Include "locfile.h".
52058         (GET): New macro.
52059         (SET): Likewise.
52060         (INC): Likewise.
52061         (create_archive): Use the new macros to access fields of
52062         structures directly mapped from or written to locale archives.
52063         (oldlocrecentcmp): Likewise.
52064         (enlarge_archive): Likewise.
52065         (insert_name): Likewise.
52066         (add_alias): Likewise.
52067         (add_locale): Likewise.
52068         (delete_locales_from_archive): Likewise.
52069         (show_archive_content): Likewise.
52070         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
52071         locale data.
52073 2013-09-24  Roland McGrath  <roland@hack.frob.com>
52075         * manual/freemanuals.texi: Updated from (newly) canonical copy at
52076         http://www.gnu.org/doc/freemanuals.texi.
52077         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
52079 2013-09-24  Will Newton  <will.newton@linaro.org>
52081         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
52082         macro.
52084 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
52086         * locale/hashval.h (compute_hashval): Interpret bytes of key as
52087         unsigned char.
52089 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
52091         * manual/threads.texi (POSIX Threads): Fix a typo.
52093 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
52095         [BZ #14547]
52096         * string/tst-strcoll-overflow.c: New test case.
52097         * string/Makefile (xtests): Add tst-strcoll-overflow.
52098         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
52099         cache if string sizes may cause integer overflow.
52101         [BZ #14547]
52102         * string/strcoll_l.c (coll_seq): New members rule, idx,
52103         save_idx and back_us.
52104         (get_next_seq_nocache): New function.
52105         (do_compare_nocache): New function.
52106         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
52107         when malloc fails.
52109 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
52111         [BZ #15754]
52112         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
52113         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
52114         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
52116         [BZ #15754]
52117         * elf/Makefile (tests): Add tst-ptrguard1.
52118         (tests-static): Add tst-ptrguard1-static.
52119         (tst-ptrguard1-ARGS): Define.
52120         (tst-ptrguard1-static-ARGS): Define.
52121         * elf/tst-ptrguard1.c: New file.
52122         * elf/tst-ptrguard1-static.c: New file.
52123         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
52124         * sysdeps/i386/stackguard-macros.h: Likewise.
52125         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
52126         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
52127         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
52128         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
52129         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
52130         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
52132 2013-09-23  Hector Marco  <hecmargi@upv.es>
52133             Ismael Ripoll  <iripoll@disca.upv.es>
52134             Carlos O'Donell  <carlos@redhat.com>
52136         [BZ #15754]
52137         * sysdeps/generic/stackguard-macros.h: Define
52138         __pointer_chk_guard_local and POINTER_CHK_GUARD.
52139         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
52140         Define __pointer_chk_guard_local.
52141         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
52142         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
52144 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
52146         [BZ #15859]
52147         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
52149 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
52151         * include/string.h (__ffs): Declare as hidden.
52152         * string/ffs.c (__ffs): Define as hidden.
52153         * sysdeps/i386/ffs.c (__ffs): Likewise.
52154         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
52155         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
52156         * sysdeps/s390/ffs.c (__ffs): Likewise.
52157         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
52159 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
52161         * NEWS: Mention malloc probes.
52163         * malloc/arena.c (new_heap): New memory_heap_new probe.
52164         (grow_heap): New memory_heap_more probe.
52165         (shrink_heap): New memory_heap_less probe.
52166         (heap_trim): New memory_heap_free probe.
52167         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
52168         (systrim): New memory_sbrk_less probe.
52169         * manual/probes.texi: Document them.
52171         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
52172         * manual/probes.texi: Document it.
52174         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
52175         (__libc_realloc): Add memory_realloc_retry probe.
52176         (__libc_memalign): Add memory_memalign_retry probe.
52177         (__libc_valloc): Add memory_valloc_retry probe.
52178         (__libc_pvalloc): Add memory_pvalloc_retry probe.
52179         (__libc_calloc): Add memory_calloc_retry probe.
52180         * manual/probes.texi: Document them.
52182         * malloc/arena.c (get_free_list): Add probe
52183         memory_arena_reuse_free_list.
52184         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
52185         and memory_arena_reuse.
52186         (arena_get2) [!PER_THREAD]: Likewise.
52187         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
52188         memory_arena_reuse_realloc.
52189         * manual/probes.texi: Document them.
52191         * malloc/malloc.c (__libc_free): Add
52192         memory_mallopt_free_dyn_thresholds probe.
52193         (__libc_mallopt): Add multiple memory_mallopt probes.
52194         * manual/probes.texi: Document them.
52196         * malloc/malloc.c: Include stap-probe.h.
52197         (__libc_mallopt): Add memory_mallopt probe.
52198         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
52199         * manual/probes.texi: New.
52200         * manual/Makefile (chapters): Add probes.
52201         * manual/threads.texi: Set next node.
52203 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
52205         [BZ #15963, #13985]
52206         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
52207         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
52208         Add `Chinese' to `nan' entry name.
52210 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52212         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
52213         (POLYNOMIAL): Likewise.
52214         (TAYLOR_SINCOS): Likewise.
52215         (TAYLOR_SLOW): Likewise.
52216         (__sin): Use TAYLOR_SINCOS.
52217         (__cos): Likewise.
52218         (slow): Use TAYLOR_SLOW.
52219         (sloww): Likewise.
52220         (bsloww): Likewise.
52221         (csloww): Likewise.
52223 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52225         * stdlib/strtod_l.c: Fix buffer overrun.
52227 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52229         * benchtests/Makefile (bench): Add sincos.
52230         * benchtests/bench-sincos.c: New file.
52232         * math/libm-test.inc (cos_test_data): New test inputs.
52233         (sin_test_data): Likewise.
52235         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
52236         macro.
52237         (__sin): Use it.
52238         (__cos): Likewise.
52239         (slow1): Likewise.
52240         (slow2): Likewise.
52241         (sloww1): Likewise.
52242         (sloww2): Likewise.
52243         (bsloww1): Likewise.
52244         (bsloww2): Likewise.
52245         (cslow2): Likewise.
52246         (csloww1): Likewise.
52247         (csloww2): Likewise.
52249         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
52250         function.
52251         (__sin): Use it.
52252         (__cos): Likewise.
52254         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
52255         gotos.
52256         (__cos): Likewise.
52258 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
52260         * config.h.in (HAVE_MIPS_NAN2008): New macro.
52261         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
52262         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
52263         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
52264         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
52265         * elf/cache.c (print_entry): Handle the new cache flags.
52267 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
52268             Aldy Hernandez  <aldyh@redhat.com>
52270         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
52271         Change condition to [_SOFT_FLOAT].
52272         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
52273         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
52274         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
52275         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
52276         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
52277         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
52278         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
52279         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
52280         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
52281         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
52282         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
52283         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
52284         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
52285         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
52286         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
52287         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
52288         declaration.
52290 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
52292         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
52293         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
52294         (__longjmp): Use LOAD_GP to load saved GPRs.
52295         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
52296         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
52297         (__sigsetjmp): Use SAVE_GP to save GPRs.
52299         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
52300         Do not append -msoft-float.
52301         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
52303 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52305         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
52307 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
52309         [BZ #15966]
52310         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
52311         (_FPU_GETCW): Use initial "__" on variable and field names but not
52312         on macro parameter name.
52313         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
52314         parentheses around reference to macro parameter.
52316 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
52318         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
52319         prototype.
52320         (ctype_startup): Use uint32_t in cast and sizeof for
52321         ctype->charnames.
52323 2013-09-11  Jia Liu  <proljc@gmail.com>
52325         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
52326         __daddr_t_defined.
52327         [__FreeBSD__]: Likewise.
52329 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
52331         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
52332         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
52333         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
52334         (strchr): Remove __strchr_sse42 ifunc selection.
52335         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
52336         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
52338 2013-09-11  Will Newton  <will.newton@linaro.org>
52340         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
52341         parameter to RES. Remove hardcoded 1000 value.
52342         * benchtests/bench-skeleton.c (main): Pass RES parameter
52343         to TIMING_INIT and multiply result by 1000.
52345 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52347         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52349 2013-09-11  Andreas Schwab  <schwab@suse.de>
52351         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
52352         if not defined.
52353         (O_TMPFILE) [__USE_GNU]: Define.
52354         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
52355         Define.
52357 2013-09-11  Will Newton  <will.newton@linaro.org>
52359         [BZ #15857]
52360         * malloc/malloc.c (__libc_memalign): Check the value of bytes
52361         does not overflow.
52363 2013-09-11  Will Newton  <will.newton@linaro.org>
52365         [BZ #15856]
52366         * malloc/malloc.c (__libc_valloc): Check the value of bytes
52367         does not overflow.
52369 2013-09-11  Will Newton  <will.newton@linaro.org>
52371         [BZ #15855]
52372         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
52373         does not overflow.
52375 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
52377         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
52378         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52379         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52380         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52381         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52383 2013-09-10  Allan McRae  <allan@archlinux.org>
52385         [BZ #15748]
52386         * manual/arith.texi (Parsing of Floats): Clarify
52387         cross-reference.
52389         [BZ #15849]
52390         * manual/install.texi (Running make install): Mention
52391         --enable-pt-chown.
52392         * INSTALL: Regenerated.
52394 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
52396         * csu/init-first.c (_init): Remove the !SHARED condition around
52397         FPU control word initialization.
52398         * elf/dl-support.c (_dl_fpu_control): New variable.
52399         (_dl_aux_init) <AT_FPUCW>: Initialize it.
52400         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
52401         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
52402         * math/test-fpucw-static.c: New file.
52403         * math/test-fpucw-ieee.c: New file.
52404         * math/test-fpucw-ieee-static.c: New file.
52405         * math/Makefile (tests): Add `test-fpucw-ieee' and
52406         `$(tests-static)'.
52407         (tests-static): New variable.
52408         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
52409         dependency to...
52410         [($(build-shared),yes)]
52411         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
52412         ... this.
52413         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
52414         New dependency.
52416 2013-09-09  Allan McRae  <allan@archlinux.org>
52418         [BZ #15939]
52419         * manual/string.texi (Collation Functions): Fix typo in
52420         strcoll example.
52421         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
52423         [BZ #15893]
52424         * stdlib/isomac.c (get_null_defines): Fix memory leak.
52426         [BZ #15892]
52427         * libio/memstream.c (open_memstream): Fix memory leak.
52428         * libio/wmemstream.c (open_wmemstream): Likewise.
52430         [BZ #15895]
52431         * nscd/netgroupcache.c: Fix nesting of ifdefs.
52433 2013-09-09  Will Newton  <will.newton@linaro.org>
52435         * malloc/Makefile: Add tst-realloc to tests.
52436         * malloc/tst-realloc.c: New file.
52438 2013-09-09  Allan McRae  <allan@archlinux.org>
52440         [BZ #15844]
52441         * COPYING: Update from GNU website to fix FSF address.
52442         * COPYING.LIB: Likewise.
52444 2013-09-06  David S. Miller  <davem@davemloft.net>
52446         * po/zh_TW.po: Update Chinese (traditional) translation from
52447         translation project.
52449 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
52450             Joseph Myers  <joseph@codesourcery.com>
52452         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
52453         "localeinfo.h".
52454         (obstack_chunk_alloc): New macro.
52455         (obstack_chunk_free): Likewise.
52456         (record_offset): New function.
52457         (init_locale_data): Likewise.
52458         (align_locale_data): Likewise.
52459         (add_locale_empty): Likewise.
52460         (add_locale_raw_data): Likewise.
52461         (add_locale_raw_obstack): Likewise.
52462         (add_locale_string): Likewise.
52463         (add_locale_wstring): Likewise.
52464         (add_locale_uint32): Likewise.
52465         (add_locale_uint32_array): Likewise.
52466         (add_locale_char): Likewise.
52467         (start_locale_structure): Likewise.
52468         (end_locale_structure): Likewise.
52469         (start_locale_prelude): Likewise.
52470         (end_locale_prelude): Likewise.
52471         (write_locale_data): Take locale_file structure rather than an
52472         iovec.
52473         * locale/programs/locfile.h: Include "obstack.h".
52474         (struct locale_file): Change to store locale file contents instead
52475         of header.
52476         (init_locale_data): New prototype.
52477         (align_locale_data): Likewise.
52478         (add_locale_empty): Likewise.
52479         (add_locale_raw_data): Likewise.
52480         (add_locale_raw_obstack): Likewise.
52481         (add_locale_string): Likewise.
52482         (add_locale_wstring): Likewise.
52483         (add_locale_uint32): Likewise.
52484         (add_locale_uint32_array): Likewise.
52485         (add_locale_char): Likewise.
52486         (start_locale_structure): Likewise.
52487         (end_locale_structure): Likewise.
52488         (start_locale_prelude): Likewise.
52489         (end_locale_prelude): Likewise.
52490         (write_locale_data): Update prototype.
52491         * locale/programs/3level.h (struct TABLE): Remove result field.
52492         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
52493         Use new locale_file interface.
52494         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
52495         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
52496         * locale/programs/ld-address.c (address_output): Use new
52497         locale_file interface.
52498         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
52499         NO_ADD_LOCALE.
52500         (collate_finish): Don't call collseq_table_finalize.
52501         (collate_output): Use new locale_file interface.
52502         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
52503         in file.
52504         (NO_FINALIZE): Change to NO_ADD_LOCALE.
52505         (TABLE): Move defines earlier in file.
52506         (ELEMENT): Likewise.
52507         (DEFAULT): Likewise.
52508         (wctrans_table_add): Move macro and inline function earlier in
52509         file.
52510         (struct wctype_table): Move type earlier in file.
52511         (add_locale_wctype_table): New static prototype.
52512         (struct locale_ctype_t): Use logical types instead of struct iovec
52513         pointers for members.
52514         (ctype_output): Use new locale_file interface.
52515         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
52516         new locale_file interface.
52517         (allocate_arrays): Update for use of new locale_file interface.
52518         * locale/programs/ld-identification.c (identification_output): Use
52519         new locale_file interface.
52520         * locale/programs/ld-measurement.c (measurement_output): Likewise.
52521         * locale/programs/ld-messages.c (messages_output): Likewise.
52522         * locale/programs/ld-monetary.c (monetary_output): Likewise.
52523         * locale/programs/ld-name.c (name_output): Likewise.
52524         * locale/programs/ld-numeric.c (numeric_output): Likewise.
52525         * locale/programs/ld-paper.c (paper_output): Likewise.
52526         * locale/programs/ld-telephone.c (telephone_output): Likewise.
52527         * locale/programs/ld-time.c (time_output): Likewise.
52529 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52531         * benchtests/Makefile: Add memrchr benchmark.
52532         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
52533         benchmark as memrchr.
52534         * benchtests/bench-memrchr-ifunc.c: New file.
52535         * benchtests/bench-memrchr.c: New file.
52537 2013-09-06   Will Newton  <will.newton@linaro.org>
52539         * benchtests/Makefile (string-bench): Add memcpy.
52541 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
52542             Cong Wang  <amwang@redhat.com>
52544         [BZ #15850]
52545         * sysdeps/unix/sysv/linux/bits/in.h
52546         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
52547         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
52548         before __USE_KERNEL_IPV6_DEFS uses.
52549         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
52550         IPPROTO_BEETPH.
52551         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
52552         sockaddr_in6, or ipv6_mreq.
52554 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52556         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
52557         memory access for final bytes in some large inputs.
52558         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
52560 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52562         * string/test-memrchr.c: New file.
52563         * string/test-memrchr-ifunc.c: New file.
52564         * string/Makefile: Add new memrchr testcase.
52566 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
52568         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
52569         fanotify_init returns EPERM.
52571 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
52573         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
52574         errors.
52575         (top level): Treat second token from macro or constant entries for
52576         allowed headers as allowed.
52577         * include/complex.h: Condition internal declarations on
52578         [!_ISOMAC].
52579         * include/fenv.h: Condition include of <stdbool.h> and internal
52580         declarations on [!_ISOMAC].
52582 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
52584         [BZ #15923]
52585         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
52587 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
52589         * configure.in (--enable-versioning): Remove configure option.
52590         (libc_cv_asm_symver_directive): Remove configure test.
52591         (libc_cv_ld_version_script_option): Likewise.
52592         (VERSIONING): Remove variable and AC_SUBST.
52593         (DO_VERSIONING): Remove AC_DEFINE.
52594         * configure: Regenerated.
52595         * config.h.in (DO_VERSIONING): Remove macro.
52596         * Makerules [$(versioning) = yes]: Change conditionals to
52597         [$(build-shared) = yes].
52598         * config.make.in (versioning): Remove variable.
52599         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
52600         [$(build-shared) = yes].
52601         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
52602         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
52603         * elf/Makefile [$(versioning) = yes]: Change conditionals to
52604         [$(build-shared) = yes].
52605         * extra-lib.mk [$(versioning) = yes]: Likewise.
52606         * hurd/Makefile [$(versioning) = yes]: Likewise.
52607         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
52608         [SHARED].
52609         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
52610         [SHARED].
52611         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
52612         [SHARED && !NO_HIDDEN].
52613         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
52614         [SHARED].
52615         [SHARED && DO_VERSIONING]: Likewise..
52616         * libio/Makefile [$(versioning) = yes]: Change conditionals to
52617         [$(build-shared) = yes].
52618         * manual/install.texi (--disable-versioning): Remove
52619         documentation.
52620         * INSTALL: Regenerated.
52621         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
52622         to [SHARED].
52623         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
52624         [$(build-shared) = yes].
52625         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
52626         * sysdeps/i386/i686/multiarch/strstr-c.c
52627         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
52628         [SHARED && !NO_HIDDEN].
52629         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
52630         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
52631         * sysdeps/powerpc/powerpc32/dl-machine.c
52632         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
52633         * sysdeps/powerpc/powerpc32/sysdep.h
52634         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
52635         to [SHARED && PIC && !NO_HIDDEN].
52636         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
52637         conditional to [SHARED].
52639 2013-09-04   Will Newton  <will.newton@linaro.org>
52641         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
52642         * benchtests/bench-string.h: Include bench-timing.h instead
52643         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
52644         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
52645         call to HP_TIMING_DIFF_INIT.
52646         * benchtests/bench-memccpy.c: Use bench-timing.h macros
52647         instead of hp-timing.h macros.
52648         * benchtests/bench-memchr.c: Likewise.
52649         * benchtests/bench-memcmp.c: Likewise.
52650         * benchtests/bench-memcpy.c: Likewise.
52651         * benchtests/bench-memmem.c: Likewise.
52652         * benchtests/bench-memmove.c: Likewise.
52653         * benchtests/bench-memset.c: Likewise.
52654         * benchtests/bench-rawmemchr.c: Likewise.
52655         * benchtests/bench-strcasecmp.c: Likewise.
52656         * benchtests/bench-strcasestr.c: Likewise.
52657         * benchtests/bench-strcat.c: Likewise.
52658         * benchtests/bench-strchr.c: Likewise.
52659         * benchtests/bench-strcmp.c: Likewise.
52660         * benchtests/bench-strcpy.c: Likewise.
52661         * benchtests/bench-strcpy_chk.c: Likewise.
52662         * benchtests/bench-strlen.c: Likewise.
52663         * benchtests/bench-strncasecmp.c: Likewise.
52664         * benchtests/bench-strncat.c: Likewise.
52665         * benchtests/bench-strncmp.c: Likewise.
52666         * benchtests/bench-strncpy.c: Likewise.
52667         * benchtests/bench-strnlen.c: Likewise.
52668         * benchtests/bench-strpbrk.c: Likewise.
52669         * benchtests/bench-strrchr.c: Likewise.
52670         * benchtests/bench-strspn.c: Likewise.
52671         * benchtests/bench-strstr.c: Likewise.
52673 2013-09-04  Will Newton  <will.newton@linaro.org>
52675         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
52677 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
52679         [BZ #15427]
52680         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
52681         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
52682         * math/libm-test.inc (lgamma_test_data): Add more tests.
52683         * sysdeps/i386/fpu/libm-test-ulps: Update.
52684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52686 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
52688         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
52689         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
52690         Add ifunc.
52691         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
52692         Add strcmp-sse2-unaligned
52693         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
52695 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
52697         * Versions.def (libc): Add GLIBC_2.19.
52699 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
52701         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
52702         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
52704 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
52706         [BZ #14155]
52707         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
52708         intermediate calculations in recurrence.
52709         (__ieee754_ynf): Likewise.
52710         * math/libm-test.inc (jn_test_data): Do not allow spurious
52711         underflow exception.  Add more tests.
52712         (yn_test_data): Add more tests.
52713         * sysdeps/i386/fpu/libm-test-ulps: Update.
52714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52716 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
52718         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
52720 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
52722         * csu/init-first.c: Fix then/than typos.
52723         * locale/programs/ld-collate.c: Likewise.
52724         * locale/programs/linereader.h: Likewise.
52725         * manual/charset.texi: Likewise.
52726         * manual/filesys.texi: Likewise.
52727         * manual/stdio.texi: Likewise.
52728         * manual/string.texi: Likewise.
52729         * stdlib/fmtmsg.c: Likewise.
52730         * sysdeps/i386/stpncpy.S: Likewise.
52731         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52732         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
52733         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52734         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
52736 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
52738         * elf/dl-open.c: Fix typos.
52739         * iconvdata/gbbig5.c: Likewise.
52740         * iconvdata/iso-2022-jp.c: Likewise.
52741         * iconv/gconv_int.h: Likewise.
52742         * iconv/loop.c: Likewise.
52743         * nis/rpcsvc/nis.h: Likewise.
52744         * resolv/ns_name.c: Likewise.
52745         * stdio-common/vfscanf.c: Likewise.
52746         * streams/stropts.h: Likewise.
52747         * sunrpc/rpc_thread.c: Likewise.
52748         * sysdeps/i386/strpbrk.S: Likewise.
52749         * sysdeps/ieee754/k_standard.c: Likewise.
52750         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52751         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52752         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
52753         * sysdeps/mach/hurd/profil.c: Likewise.
52754         * sysdeps/s390/dl-procinfo.h: Likewise.
52755         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
52756         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
52757         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
52758         * sysdeps/x86_64/dl-trampoline.S: Likewise.
52759         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
52761 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
52763         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
52764         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
52766 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
52768         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
52769         aix specific files.
52770         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
52771         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
52772         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
52773         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
52774         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
52775         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
52776         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
52777         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
52779 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
52780             Roland McGrath  <roland@hack.frob.com>
52782         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
52783         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
52785 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52787         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
52788         __executable_start symbol instead of _start.
52790 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
52792         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
52793         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
52794         Move macros to...
52795         * sysdeps/gnu/ldsodefs.h: ... this new file.
52797         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
52798         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
52799         instead of ELFOSABI_LINUX.
52801         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
52802         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
52803         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
52804         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
52805         Likewise.
52806         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
52807         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
52808         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
52809         Likewise.
52810         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
52811         (ibm_extended_long_double): Add ieee_nan member.
52812         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
52813         (do_test): New function.
52815         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
52816         TEST_TRUNC.
52817         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
52818         functions, renamed from truncdfsf_test, trunctfsf_test,
52819         trunctfdf_test.
52820         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
52821         functions.
52822         (do_test): Run all these.
52824 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
52826         * argp/argp-help.c: Fix typos.
52827         * argp/argp-parse.c: Likewise.
52828         * debug/backtracesyms.c: Likewise.
52829         * elf/elf.h: Likewise.
52830         * malloc/malloc.c: Likewise.
52831         * nis/nis_print.c: Likewise.
52832         * resolv/res_comp.c: Likewise.
52833         * stdlib/stdlib.h: Likewise.
52834         * sunrpc/clnt_tcp.c: Likewise.
52835         * sunrpc/clnt_udp.c: Likewise.
52836         * sunrpc/clnt_unix.c: Likewise.
52837         * sysdeps/unix/bsd/ptsname.c: Likewise.
52838         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
52839         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
52840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
52841         Likewise.
52842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
52843         Likewise.
52844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
52845         Likewise.
52846         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
52848 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52850         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
52851         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52853 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
52855         [BZ #15897]
52856         * dlfcn/Makefile (tests): Add bug-dl-leaf.
52857         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
52858         ($(objpfx)bug-dl-leaf): New rule.
52859         ($(objpfx)bug-dl-leaf.so): Likewise.
52860         ($(objpfx)bug-dl-leaf.out): Likewise.
52861         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
52862         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
52863         * dlfcn/bug-dl-leaf.c: New test.
52864         * dlfcn/bug-dl-leaf-lib.c: Likewise.
52865         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
52866         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
52867         (dlclose): Likewise.
52868         (dlmopen): Likewise.
52870 2013-08-27  Roland McGrath  <roland@hack.frob.com>
52872         * include/netdb.h [!_ISOMAC]:
52873         Don't include <tls.h>.
52874         (h_errno, __libc_h_errno): Move declaration and macros out of
52875         [_LIBC_REENTRANT].
52877         * include/resolv.h [_RESOLV_H_]:
52878         Don't include <tls.h>.
52879         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
52880         * resolv/res_libc.c: Don't include <tls.h>.
52881         (_res): Use __attribute__ ((nocommon)) in place of
52882         __attribute__ ((section (".bss"))).
52884         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
52885         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
52887         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
52889         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
52890         only under [SIOCGIFCONF && SIOCGIFNETMASK].
52892         * resolv/res_mkquery.c: Include <sys/time.h>.
52894         * inet/ifreq.c: Moved to ...
52895         * sysdeps/unix/ifreq.c: ... here.
52896         * inet/ifreq.c: New file, true stub version.
52898         * socket/sa_len.c: New file.
52899         * socket/Makefile (aux): Add it.
52900         * sysdeps/unix/sysv/linux/Makefile
52901         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
52902         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
52903         and #include <socket/sa_len.c>.
52904         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
52905         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
52907         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
52908         * bits/socket.h: ... here.
52910         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
52911         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
52912         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
52914 2013-08-27  Andreas Schwab  <schwab@suse.de>
52916         [BZ #15736]
52917         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
52918         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
52919         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
52920         * string/test-strcasecmp.c (test_main): Run tests in several
52921         locales.
52922         * string/test-strncasecmp.c (test_main): Likewise.
52924         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
52925         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
52926         to __strcasecmp_nonascii and __strncasecmp_nonascii.
52927         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
52928         (__strncasecmp_ssse3) [PIC]: Likewise.
52930 2013-08-26  Roland McGrath  <roland@hack.frob.com>
52932         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
52934         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
52935         instead of explicitly declaring xdecrypt.
52936         * nis/nss_nis/nis-publickey.c: Likewise.
52938 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52940         [BZ #15890]
52941         * nscd/aicache.c: Include res_hconf.h.
52942         (addhstaiX): Initialize res_hconf.
52944 2013-08-26  Andreas Schwab  <schwab@suse.de>
52946         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
52947         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
52949 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52951         * nscd/aicache.c (addhstaiX): Fix indentation.
52953 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
52955         * configure.ac: Quote $build_pt_chown test.
52956         * configure: Regenerated.
52958 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
52960         [BZ #15532]
52961         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
52962         * math/s_cexpf.c (__cexpf): Likewise.
52963         * math/s_cexpl.c (__cexpl): Likewise.
52964         * math/libm-test.inc (cexp_test_data): Correct expected return
52965         value for NaN + i0.  Add another test.
52967 2013-08-22  David S. Miller  <davem@davemloft.net>
52969         * po/ca.po: Update Catalan translation from translation project.
52970         * po/uk.po: Add Ukrainian translations from translation project.
52972 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
52974         [BZ #15797]
52975         * math/s_fdim.c (__fdim): Check for infinite arguments if result
52976         is infinite, not alongside NaN test.
52977         * math/s_fdimf.c (__fdimf): Likewise.
52978         * math/s_fdiml.c (__fdiml): Likewise.
52979         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
52980         errno is unchanged.
52982 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
52984         * argp/argp-help.c: Fix typos.
52985         * crypt/speeds.c: Likewise.
52986         * csu/check_fds.c: Likewise.
52987         * elf/dl-load.c: Likewise.
52988         * elf/dl-open.c: Likewise.
52989         * elf/reldep3.c: Likewise.
52990         * elf/reldep.c: Likewise.
52991         * elf/sprof.c: Likewise.
52992         * iconv/iconv_charmap.c: Likewise.
52993         * iconv/skeleton.c: Likewise.
52994         * iconv/strtab.c: Likewise.
52995         * io/lockf64.c: Likewise.
52996         * libio/libioP.h: Likewise.
52997         * resolv/gai_notify.c: Likewise.
52998         * resolv/ns_name.c: Likewise.
52999         * resolv/ns_samedomain.c: Likewise.
53000         * resolv/res_send.c: Likewise.
53001         * stdlib/random.c: Likewise.
53002         * sunrpc/rpc/xdr.h: Likewise.
53003         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
53004         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53005         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53006         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53007         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53008         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53009         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53010         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53011         * sysdeps/mach/hurd/check_fds.c: Likewise.
53012         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
53013         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
53014         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53015         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
53016         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
53017         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
53018         * sysdeps/pthread/aio_notify.c: Likewise.
53019         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
53020         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
53021         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
53022         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53023         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
53025 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53027         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
53028         version if bit_Slow_SSE4_2 is set.
53029         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53030         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53032 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53034         [BZ #15867]
53035         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
53036         trampoline stack frame information.
53037         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
53038         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
53039         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
53040         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
53041         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
53042         * sysdeps/unix/sysv/linux/powerpc/init-first.c
53043         (_libc_vdso_platform_setup): Initialize the signal trampolines.
53044         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
53045         sa_flags value.
53046         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
53047         interrupting a syscall and set with option SA_SIGINFO.
53049 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
53051         [BZ #15531]
53052         * math/s_cproj.c (__cproj): Only return an infinity if one part of
53053         argument is infinite.
53054         * math/s_cprojf.c (__cprojf): Likewise.
53055         * math/s_cprojl.c (__cprojl): Likewise.
53056         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
53057         * math/libm-test.inc (cproj_test_data): Add more tests.
53059         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
53061         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
53062         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
53063         size.  Use __ffs to determine corresponding shift.
53065 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
53066             Roland McGrath  <roland@hack.frob.com>
53068         * Makefile (INSTALL): Remove trailing blank lines from output of
53069         makeinfo.
53071 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53073         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
53074         Align 32 bit compat elf_greg to 8 bytes.
53076 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
53078         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
53080 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53082         * string/strcoll_l.c (coll_seq): New structure.
53083         (get_next_seq_cached): New function.
53084         (get_next_seq): New function.
53085         (do_compare): New function.
53086         (STRCOLL): Use GNU style definition.  Simplify implementation
53087         by using get_next_seq, get_next_seq_cached and do_compare.
53089 2013-08-16  Florian Weimer  <fweimer@redhat.com>
53091         [BZ #14699]
53092         CVE-2013-4237
53093         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
53094         member.
53095         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
53096         member.
53097         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
53098         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
53099         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
53100         conditional.
53101         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
53102         GETDENTS_64BIT_ALIGNED.
53103         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
53104         * manual/filesys.texi (Reading/Closing Directory): Document
53105         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
53106         strongly.
53107         * manual/conf.texi (Limits for Files): Add portability note to
53108         NAME_MAX, PATH_MAX.
53109         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
53111 2013-08-13  Andreas Schwab  <schwab@suse.de>
53113         [BZ #15749]
53114         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
53115         of fabs.
53116         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
53117         LDBL_MAX_EXP >= 16384]: Add tests for it.
53119 2013-08-12  David S. Miller  <davem@davemloft.net>
53121         * version.h (RELEASE): Set to "development".
53122         (VERSION): Set to "2.18.90".
53123         * NEWS: Add 2.19 section.
53125 2013-08-03  David S. Miller  <davem@davemloft.net>
53127         * po/ko.po: Update Korean translation from translation project.
53129 2013-08-01  David S. Miller  <davem@davemloft.net>
53131         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
53132         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
53133         Bilka.
53135 2013-07-30  David S. Miller  <davem@davemloft.net>
53137         * po/fr.po: Update French translation from translation project.
53139 2013-07-28  David S. Miller  <davem@davemloft.net>
53141         * po/cs.po: Update Czech translation from translation project.
53143         * po/sv.po: Update Swedish translation from translation project.
53145 2013-07-27  David S. Miller  <davem@davemloft.net>
53147         * po/eo.po: Update Esperanto translation from translation project.
53149         * po/vi.po: Update Vietnamese translation from translation project.
53151         * po/de.po: Update German translation from translation project.
53153 2013-07-26  David S. Miller  <davem@davemloft.net>
53155         * po/bg.po: Update Bulgarian translation from translation project.
53157         * po/nl.po: Update Dutch translation from translation project.
53158         * po/pl.po: Update Polish translation from translation project.
53159         * po/ru.po: Update Russian translation from translation project.
53161 2013-07-24  David S. Miller  <davem@davemloft.net>
53163         * po/libc.pot: Update.
53165 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53167         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
53168         variable page size.
53169         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
53170         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
53171         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
53173 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53175         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
53177 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53178             Andreas Schwab  <schwab@suse.de>
53179             Roland McGrath  <roland@hack.frob.com>
53180             Joseph Myers  <joseph@codesourcery.com>
53181             Carlos O'Donell  <carlos@redhat.com>
53183         [BZ #15755]
53184         * config.h.in: Define HAVE_PT_CHOWN.
53185         * config.make.in (build-pt-chown): New variable.
53186         * configure.in (--enable-pt_chown): New configure option.
53187         * configure: Regenerate.
53188         * login/Makefile: Include Makeconfig.  Build pt_chown only if
53189         build-pt-chown is enabled.
53190         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
53191         pt_chown to fix pty ownership.
53192         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
53193         CLOSE_ALL_FDS.
53194         * manual/install.texi (Configuring and compiling): Mention
53195         --enable-pt_chown. Add @findex for grantpt.
53196         * INSTALL: Regenerate.
53198 2013-07-20  David S. Miller  <davem@davemloft.net>
53200         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
53201         difference between 32-bit and 64-bit.
53203 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
53205         [BZ #15711]
53206         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
53207         Avoid system header dependency with -ffreestanding.
53208         ($(objpfx)bits/syscall%d): Likewise.
53210 2013-07-13  David S. Miller  <davem@davemloft.net>
53212         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
53213         underflows from atanl/atan2l due to bug 15319.
53214         (casinh_test_data): Likewise.
53216 2013-07-07  David S. Miller  <davem@davemloft.net>
53218         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
53220 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
53222         * sysdeps/i386/fpu/libm-test-ulps: Update.
53223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53225 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53227         * configure.in (--enable-lock-elision): Fix message text.
53228         * INSTALL: Regenerate.
53229         * configure: Regenerate.
53231 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53233         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53235 2013-07-03  Andreas Jaeger  <aj@suse.de>
53237         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
53238         define.
53239         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
53240         (ptrace_peeksiginfo_args): Add.
53241         (__ptrace_peeksiginfo_flags): Add.
53242         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53243         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53244         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53246 2013-07-03  Allan McRae  <allan@archlinux.org>
53248         * sysdeps/i386/fpu/libm-test-ulps: Update.
53250 2013-07-02  David S. Miller  <davem@davemloft.net>
53252         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53254 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
53256         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53258 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
53260         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
53261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53263 2013-07-02  Andi Kleen <ak@linux.intel.com>
53265         * config.h.in (ENABLE_LOCK_ELISION): Add.
53266         * configure.in (--enable-lock-elision): Add option.
53267         * manual/install.texi: Document --enable lock elision.
53268         * configure: Regenerate
53269         * INSTALL: Regenerate.
53271 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
53273         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
53274         SSE4.2 strcasecmp for libc.a.
53275         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
53277 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
53279         [BZ #13304]
53280         * soft-fp/op-common.h (_FP_FMA): New macro.
53281         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
53282         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
53283         (_FP_MUL_MEAT_1_imm): ... here.
53284         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
53285         (_FP_MUL_MEAT_1_wide): ... here.
53286         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
53287         (_FP_MUL_MEAT_1_hard): ... here.
53288         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
53289         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
53290         (_FP_MUL_MEAT_2_wide): ... here.
53291         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
53292         (_FP_MUL_MEAT_2_wide_3mul): ... here.
53293         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
53294         (_FP_MUL_MEAT_2_gmp): ... here.
53295         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
53296         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
53297         (_FP_MUL_MEAT_4_wide): ... here.
53298         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
53299         (_FP_MUL_MEAT_4_gmp): ... here.
53300         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
53301         (_FP_WFRACBITS_DW_S): Likewise.
53302         (_FP_WFRACXBITS_DW_S): Likewise.
53303         (_FP_HIGHBIT_DW_S): Likewise.
53304         (FP_FMA_S): Likewise.
53305         (_FP_FRAC_HIGH_DW_S): Likewise.
53306         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
53307         (_FP_WFRACBITS_DW_D): Likewise.
53308         (_FP_WFRACXBITS_DW_D): Likewise.
53309         (_FP_HIGHBIT_DW_D): Likewise.
53310         (FP_FMA_D): Likewise.
53311         (_FP_FRAC_HIGH_DW_D): Likewise.
53312         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
53313         (_FP_WFRACBITS_DW_E): Likewise.
53314         (_FP_WFRACXBITS_DW_E): Likewise.
53315         (_FP_HIGHBIT_DW_E): Likewise.
53316         (FP_FMA_E): Likewise.
53317         (_FP_FRAC_HIGH_DW_E): Likewise.
53318         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
53319         (_FP_WFRACBITS_DW_Q): Likewise.
53320         (_FP_WFRACXBITS_DW_Q): Likewise.
53321         (_FP_HIGHBIT_DW_Q): Likewise.
53322         (FP_FMA_Q): Likewise.
53323         (_FP_FRAC_HIGH_DW_Q): Likewise.
53324         * soft-fp/fmasf4.c: New file.
53325         * soft-fp/fmadf4.c: Likewise.
53326         * soft-fp/fmatf4.c: Likewise.
53328 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53330         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53331         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
53332         Silvermont.
53333         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
53334         macro.
53335         (index_Slow_SSE4_2): Likewise.
53336         (index_Prefer_PMINUB_for_stringop): Likewise.
53337         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
53338         bit_Slow_SSE4_2 is set.
53339         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
53340         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53342 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53344         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
53345         rtld_global._dl_hwcap2.
53346         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
53347         POWER8.
53348         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
53349         POWER8 feature descriptions defined in _dl_hwcap2.
53350         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
53351         string handling for POWER8 feature bits.
53352         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
53353         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
53354         _dl_powerpc_cap_flags.
53355         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
53356         * sysdeps/powerpc/rtld-global-offsets.sym
53357         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
53358         _dl_hwcap2 in the rtld_global_ro structure.
53360 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53362         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
53363         hardware capabilities in support of AT_HWCAP2.
53364         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
53365         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
53366         GLRO(dl_hwcap2).
53367         (_dl_show_auxv): Add support for calling _dl_procinfo to display
53368         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
53369         explicitly the unknown a_type display mechanism is used.
53370         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
53371         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
53372         struct member.
53373         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
53374         to macro prototype for AT_HWCAP2 support.
53375         * sysdeps/i386/dl-procinfo.h: Likewise.
53376         * sysdeps/s390/dl-procinfo.h: Likewise.
53377         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
53378         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
53379         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
53380         return -1 for unknown a_type display fallback.
53381         * sysdeps/sparc/dl-procinfo.h: Likewise.
53382         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
53383         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
53385 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
53387         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
53388         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
53390 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
53392         [BZ #12492]
53393         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
53394         mprotect making __stack_prot writable.
53396 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
53397             Joseph Myers  <joseph@codesourcery.com>
53399         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
53400         as being properly aligned.
53402 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
53404         * dlfcn/modstatic5.c: New file.
53405         * dlfcn/tststatic5.c: New file.
53406         * dlfcn/Makefile (tests): Add tststatic5.
53407         (tests-static): Likewise.
53408         (modules-names): Add modstatic5.
53409         (tststatic5-ENV): New variable.
53410         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
53412         [BZ #15022]
53413         * elf/dl-support.c (_dl_main_map): New variable.
53414         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
53415         (_dl_nns, _dl_load_adds): Set to 1.
53416         (_dl_initial_searchlist): Refer to _dl_main_map.
53417         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
53418         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
53419         call to _dl_get_origin.
53420         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
53421         around call_map.
53422         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
53423         * dlfcn/modstatic3.c: New file.
53424         * dlfcn/tststatic3.c: New file.
53425         * dlfcn/tststatic4.c: New file.
53426         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
53427         (tests-static): Likewise.
53428         (modules-names): Add modstatic3.
53429         (tststatic3-ENV, tststatic4-ENV): New variables.
53430         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
53431         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
53433 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
53435         * configure.in (CC): Require GCC version 4.4 or later.
53436         * configure: Regenerated.
53437         * manual/install.texi (Tools for Compilation): Update GCC version
53438         requirement.
53439         * INSTALL: Regenerated.
53441 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53443         [BZ #15674]
53444         * string/test-memcmp.c (check2): New.
53445         (main): Call check2.
53447         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
53449 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
53451         [BZ #15022]
53452         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
53453         over to...
53454         (dl_open_worker) [!SHARED]: ... here.
53456 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53458         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
53460 2013-06-25  Richard Henderson  <rth@redhat.com>
53462         * locale/programs/locarchive.c: Include <libc-internal.h>
53464 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
53466         * manual/texinfo.tex: Update to version 2013-06-21.17, with
53467         trailing whitespace removed.
53469 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
53471         [BZ #10283]
53472         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
53473         * locale/programs/locarchive.c: Include libc-mmap.h.
53474         (prepare_address_space): Take two new outputs (the mmap base and len).
53475         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
53476         values.
53477         (create_archive): Declare new mmap base and len values for
53478         prepare_address_space, and store the result in ah.
53479         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
53480         (enlarge_archive): If ah->mmap_base is not NULL, use that and
53481         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
53482         Declare new mmap base and len values for
53483         prepare_address_space, and store the result in new_ah.
53484         (open_archive): Declare new mmap base and len values for
53485         prepare_address_space, and store the result in ah.
53486         (close_archive): If ah->mmap_base is not NULL, use that and
53487         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
53488         * sysdeps/generic/libc-mmap.h: New file.
53490 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
53492         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
53493         (ALIGN_UP): Likewise.
53494         (PTR_ALIGN_DOWN): Likewise.
53495         (PTR_ALIGN_UP): Likewise.
53497 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53499         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
53500         entry mapped to PPC_PLATFORM_POWER8.
53501         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
53502         POWER8.
53503         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
53504         (_dl_string_platform): Add case for exporting platform position for
53505         POWER8.
53506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
53507         search path to sysdeps/powerpc/powerpc32/power8 directory.
53508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
53509         search path to sysdeps/powerpc/powerpc64/power8 directory.
53510         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
53511         power7 directories.
53512         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
53513         power7 directories.
53515 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
53517         * INSTALL: Regenerate.
53519         * nscd/connections.c (nscd_init): Fix comment.
53521 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
53523         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
53525         [BZ #15667]
53526         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
53527         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
53529 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
53531         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
53532         DL_DST_REQ_STATIC.
53533         (DL_DST_REQ_STATIC): Remove macro.
53535 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
53537         [BZ #7006]
53538         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
53539         with a shift of 0 bits.
53541 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
53543         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
53544         $(tststatic-ENV).
53546 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53548         [BZ #15655]
53549         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
53551 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53553         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
53554         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
53555         accepts -fno-tree-loop-distribute-patterns.
53556         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
53557         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
53558         recursive call.
53559         * string/memset.c (memset): Likewise.
53560         * string/test-memmove.c (simple_memmove): Disable loop transformation
53561         to library calls.
53562         * string/test-memset.c (simple_memset): Likewise.
53563         * benchtests/bench-memmove.c (simple_memmove): Likewise.
53564         * benchtests/bench-memset.c (simple_memset): Likewise.
53565         * configure: Regenerated.
53567 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
53569         * math/test-misc.c (main): Ignore fesetround failure when failures
53570         of subsequent rounding tests would be ignored.
53572         [BZ #15654]
53573         * math/fedisblxcpt.c (fedisableexcept): Return 0.
53574         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
53575         * math/fegetenv.c (__fegetenv): Return 0.
53576         * math/fegetexcept.c (fegetexcept): Return 0.
53577         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
53578         FE_TONEAREST.
53579         * math/feholdexcpt.c (feholdexcept): Return 0.
53580         * math/fesetenv.c (__fesetenv): Return 0.
53581         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
53582         argument FE_TONEAREST.
53583         * math/feupdateenv.c (__feupdateenv): Return 0.
53584         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
53586 2013-06-18  Roland McGrath  <roland@hack.frob.com>
53588         * elf/rtld-Rules (rtld-compile-command.S): New variable.
53589         (rtld-compile-command.s, rtld-compile-command.c): New variables.
53590         ($(objpfx)rtld-%.os rules): Use them.
53592 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53594         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
53595         fields.
53597 2013-06-17  Roland McGrath  <roland@hack.frob.com>
53599         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
53600         length of target pattern, then descending length of dependency pattern.
53601         * configure.in (AWK): Require gawk 3.1.2 or newer.
53602         * manual/install.texi (Tools for Compilation): Say that we do.
53603         * configure: Regenerated.
53605         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
53606         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
53607         * scripts/sysd-rules.awk: ... this new script.
53608         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
53609         than a glob-style pattern.
53611 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
53613         * math/test-misc.c (main): Do not treat incorrectly rounded
53614         conversions as failure unless ROUNDING_TESTS passes.
53616 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
53618         [BZ #15631]
53619         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
53620         restore exception state around main square root computation, then
53621         check for inexactness explicitly.
53623         * math/libm-test.inc (fma_test_data): Add another test.
53625 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53627         * manual/threads.texi (Non-POSIX Extensions): New document
53628         node.  Document pthread_getattr_default_np and
53629         pthread_setattr_default_np.
53631         * Versions.def (libpthread): Add GLIBC_2.18.
53632         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
53633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
53634         Likewise.
53635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53636         Likewise.
53637         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53638         Likewise.
53639         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53640         Likewise.
53641         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
53642         Likewise.
53643         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
53644         Likewise.
53645         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
53646         Likewise.
53647         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
53648         Likewise.
53649         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
53650         Likewise.
53652 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53654         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53655         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
53657 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53658             H.J. Lu  <hjl.tools@gmail.com>
53660         [BZ #15627]
53661         * sysdeps/x86_64/rtld-memset.c: Remove file.
53662         * sysdeps/x86_64/rtld-memset.S: New file.
53664 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
53666         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
53667         (test_in_one_mode): Take arguments for whether the rounding mode
53668         is supported for each floating-point type.
53669         (do_test): Pass new arguments to test_in_one_mode using
53670         ROUNDING_TESTS.
53672 2013-06-13  Roland McGrath  <roland@hack.frob.com>
53674         * posix/tst-waitid.c (do_test): Distinguish different instances of
53675         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
53676         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
53677         before entering the kernel for waitpid.
53679 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
53681         * NEWS: Fix note on clock function precision.  Text by Roland
53682         McGrath.
53684 2013-06-13  Roland McGrath  <roland@hack.frob.com>
53686         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
53687         it into place only when and if the sanity check passes.
53689 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
53691         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
53692         output for whether conversion result is exact.  Take argument
53693         indicating whether type is IBM long double.
53694         (round_for_all): Change need_exact field to ibm_ld.
53695         * stdlib/tst-strtod-round.c (struct exactness): New type.
53696         (struct test): Change bool ld_ok field to struct exactness exact.
53697         (TEST): Update all definitions for change to field.
53698         (tests): Regenerate array contents.
53699         (test_in_one_mode): Take pointer to new field instead of old ld_ok
53700         field value.  Check for IBM long double here.
53701         (do_test): Update calls to test_in_one_mode.
53703 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
53705         [BZ #12515]
53706         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
53707         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
53709 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53711         [BZ #15605]
53712         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
53713         generated by the compiler on loop optimizations.
53714         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
53715         general definitions.
53717 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
53719         * math/bug-nextafter.c: Include <math-tests.h>.
53720         (main): Only test for exceptions if EXCEPTION_TESTS is true for
53721         the relevant type.
53722         * math/bug-nexttoward.c: Include <math-tests.h>.
53723         (main): Only test for exceptions if EXCEPTION_TESTS is true for
53724         the relevant type.
53725         * math/test-misc.c: Include <math-tests.h>.
53726         (main): Only test for exceptions if EXCEPTION_TESTS is true for
53727         the relevant type.
53729 2013-06-12  Andreas Jaeger  <aj@suse.de>
53731         * po/ia.po: Update Interlingua translation from translation
53732         project.
53734 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53736         * include/fenv.h: Include stdbool.h.
53737         (struct rm_ctx): New structure.
53738         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
53739         Define macro.
53740         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
53741         (SET_RESTORE_ROUNDF): Likewise.
53742         (SET_RESTORE_ROUNDL): Likewise.
53743         (SET_RESTORE_ROUND_NOEX): Likewise.
53744         (SET_RESTORE_ROUND_NOEXF): Likewise.
53745         (SET_RESTORE_ROUND_NOEXL): Likewise.
53746         (SET_RESTORE_ROUND_53BIT): Likewise.
53747         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
53748         (libc_feresetround_noexf_ctx): Likewise.
53749         (libc_feresetround_noexl_ctx): Likewise.
53750         (libc_feholdsetround_53bit_ctx): Likewise.
53751         (libc_feresetround_53bit_ctx): Likewise.
53752         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
53753         (libc_feholdexcept_setround_sse_ctx): New function.
53754         (libc_fesetenv_sse_ctx): Likewise.
53755         (libc_feupdateenv_sse_ctx): Likewise.
53756         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
53757         (libc_feholdexcept_setround_387_ctx): Likewise.
53758         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
53759         (libc_feholdsetround_387_prec_ctx): Likewise.
53760         (libc_feholdsetround_387_ctx): Likewise.
53761         (libc_feholdsetround_387_53bit_ctx): Likewise.
53762         (libc_feholdsetround_sse_ctx): Likewise.
53763         (libc_feresetround_sse_ctx): Likewise.
53764         (libc_feresetround_387_ctx): Likewise.
53765         (libc_feupdateenv_387_ctx): Likewise.
53766         (libc_feholdexcept_setroundf_ctx): Define macro.
53767         (libc_fesetenvf_ctx): Likewise.
53768         (libc_feupdateenvf_ctx): Likewise.
53769         (libc_feholdsetroundf_ctx): Likewise.
53770         (libc_feresetroundf_ctx): Likewise.
53771         (libc_feholdexcept_setround_ctx): Likewise.
53772         (libc_fesetenv_ctx): Likewise.
53773         (libc_feupdateenv_ctx): Likewise.
53774         (libc_feholdsetround_ctx): Likewise.
53775         (libc_feresetround_ctx): Likewise.
53776         (libc_feholdexcept_setroundl_ctx): Likewise.
53777         (libc_feupdateenvl_ctx): Likewise.
53778         (libc_feholdsetroundl_ctx): Likewise.
53779         (libc_feresetroundl_ctx): Likewise.
53780         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
53781         (libc_feresetround_53bit_ctx): Likewise.
53783 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53785         * locale/iso-639.def: Convert to UTF-8.
53787 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
53789         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
53790         (EXCEPTION_TESTS_double): Likewise.
53791         (EXCEPTION_TESTS_long_double): Likewise.
53792         (EXCEPTION_TESTS): Likewise.
53793         * math/libm-test.inc (test_exceptions): Only test exceptions if
53794         EXCEPTION_TESTS (FLOAT).
53796 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53798         * benchtests/Makefile (string-bench): Add strcpy_chk and
53799         stpcpy_chk.
53800         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
53801         * benchtests/bench-stpcpy_chk.c: New file.
53802         * benchtests/bench-strcpy_chk-ifunc.c: New file.
53803         * benchtests/bench-strcpy_chk.c: New file.
53804         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
53805         code.
53806         (do_test): Likewise.
53808 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53810         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
53811         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
53812         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
53813         with tabs where appropriate.
53814         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
53815         dl-procinfo.h.
53816         [PPC_PLATFORM_PPC440]: Likewise.
53817         [PPC_PLATFORM_PPC464]: Likewise.
53818         [PPC_PLATFORM_PPC476]: Likewise.
53819         (_dl_string_platform): Add support for detecting ppc405, ppc440,
53820         ppc464, and ppc476 platform strings merging from ports/
53821         dl-procinfo.h.
53823 2013-06-11  Andreas Schwab  <schwab@suse.de>
53825         [BZ #14991]
53826         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
53827         (from_ucs4_idx): Regenerate.
53828         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
53829         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
53830         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
53831         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
53832         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
53833         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
53834         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
53835         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
53836         from FROM_LOOP and TO_LOOP specific macros.
53837         (BODY): Handle combining characters.
53838         * iconvdata/BIG5HKSCS.irreversible: Update.
53839         * iconvdata/BIG5HKSCS.precomposed: New file.
53840         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
53841         characters.
53842         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
53844 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53846         * include/sys/time.h: Fix indentation and add copyright header.
53848         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
53849         (do_test): Likewise.
53850         * string/test-memchr.c (do_one_test): Likewise.
53851         (do_test): Likewise.
53852         * string/test-memcmp.c (do_one_test): Likewise.
53853         (do_test): Likewise.
53854         * string/test-memcpy.c (do_one_test): Likewise.
53855         (do_test): Likewise.
53856         * string/test-memmem.c (do_one_test): Likewise.
53857         (do_test): Likewise.
53858         (do_random_tests): Likewise.
53859         * string/test-memmove.c (do_one_test): Likewise.
53860         (do_test): Likewise.
53861         * string/test-memset.c (do_one_test): Likewise.
53862         (do_test): Likewise.
53863         * string/test-rawmemchr.c (do_one_test): Likewise.
53864         (do_test): Likewise.
53865         * string/test-strcasecmp.c (do_one_test): Likewise.
53866         (do_test): Likewise.
53867         * string/test-strcasestr.c (do_one_test): Likewise.
53868         (do_test): Likewise.
53869         * string/test-strcat.c (do_one_test): Likewise.
53870         (do_test): Likewise.
53871         * string/test-strchr.c (do_one_test): Likewise.
53872         (do_test): Likewise.
53873         * string/test-strcmp.c (do_one_test): Likewise.
53874         (do_test): Likewise.
53875         * string/test-strcpy.c (do_one_test): Likewise.
53876         (do_test): Likewise.
53877         * string/test-string.h: Likewise.
53878         (test_init): Likewise.
53879         * string/test-strlen.c (do_one_test): Likewise.
53880         (do_test): Likewise.
53881         * string/test-strncasecmp.c (do_one_test): Likewise.
53882         (do_test): Likewise.
53883         * string/test-strncat.c (do_one_test): Likewise.
53884         (do_test): Likewise.
53885         * string/test-strncmp.c (do_one_test): Likewise.
53886         (do_test_limit): Likewise.
53887         (do_test): Likewise.
53888         * string/test-strncpy.c (do_one_test): Likewise.
53889         (do_test): Likewise.
53890         * string/test-strnlen.c (do_one_test): Likewise.
53891         (do_test): Likewise.
53892         * string/test-strpbrk.c (do_one_test): Likewise.
53893         (do_test): Likewise.
53894         * string/test-strrchr.c (do_one_test): Likewise.
53895         (do_test): Likewise.
53896         * string/test-strspn.c (do_one_test): Likewise.
53897         (do_test): Likewise.
53898         * string/test-strstr.c (do_one_test): Likewise.
53899         (do_test): Likewise.
53901         * benchtests/Makefile (string-bench): Add string benchmarks.
53902         * benchtests/bench-bcopy-ifunc.c: New file.
53903         * benchtests/bench-bcopy.c: New file.
53904         * benchtests/bench-bzero-ifunc.c: New file.
53905         * benchtests/bench-bzero.c: New file.
53906         * benchtests/bench-memccpy-ifunc.c: New file.
53907         * benchtests/bench-memccpy.c: New file.
53908         * benchtests/bench-memchr-ifunc.c: New file.
53909         * benchtests/bench-memchr.c: New file.
53910         * benchtests/bench-memcmp-ifunc.c: New file.
53911         * benchtests/bench-memcmp.c: New file.
53912         * benchtests/bench-memmem-ifunc.c: New file.
53913         * benchtests/bench-memmem.c: New file.
53914         * benchtests/bench-memmove-ifunc.c: New file.
53915         * benchtests/bench-memmove.c: New file.
53916         * benchtests/bench-mempcpy-ifunc.c: New file.
53917         * benchtests/bench-mempcpy.c: New file.
53918         * benchtests/bench-memset-ifunc.c: New file.
53919         * benchtests/bench-memset.c: New file.
53920         * benchtests/bench-rawmemchr-ifunc.c: New file.
53921         * benchtests/bench-rawmemchr.c: New file.
53922         * benchtests/bench-stpcpy-ifunc.c: New file.
53923         * benchtests/bench-stpcpy.c: New file.
53924         * benchtests/bench-stpncpy-ifunc.c: New file.
53925         * benchtests/bench-stpncpy.c: New file.
53926         * benchtests/bench-strcasecmp-ifunc.c: New file.
53927         * benchtests/bench-strcasecmp.c: New file.
53928         * benchtests/bench-strcasestr-ifunc.c: New file.
53929         * benchtests/bench-strcasestr.c: New file.
53930         * benchtests/bench-strcat-ifunc.c: New file.
53931         * benchtests/bench-strcat.c: New file.
53932         * benchtests/bench-strchr-ifunc.c: New file.
53933         * benchtests/bench-strchr.c: New file.
53934         * benchtests/bench-strchrnul-ifunc.c: New file.
53935         * benchtests/bench-strchrnul.c: New file.
53936         * benchtests/bench-strcmp-ifunc.c: New file.
53937         * benchtests/bench-strcmp.c: New file.
53938         * benchtests/bench-strcpy-ifunc.c: New file.
53939         * benchtests/bench-strcpy.c: New file.
53940         * benchtests/bench-strcspn-ifunc.c: New file.
53941         * benchtests/bench-strcspn.c: New file.
53942         * benchtests/bench-strlen-ifunc.c: New file.
53943         * benchtests/bench-strlen.c: New file.
53944         * benchtests/bench-strncasecmp-ifunc.c: New file.
53945         * benchtests/bench-strncasecmp.c: New file.
53946         * benchtests/bench-strncat-ifunc.c: New file.
53947         * benchtests/bench-strncat.c: New file.
53948         * benchtests/bench-strncmp-ifunc.c: New file.
53949         * benchtests/bench-strncmp.c: New file.
53950         * benchtests/bench-strncpy-ifunc.c: New file.
53951         * benchtests/bench-strncpy.c: New file.
53952         * benchtests/bench-strnlen-ifunc.c: New file.
53953         * benchtests/bench-strnlen.c: New file.
53954         * benchtests/bench-strpbrk-ifunc.c: New file.
53955         * benchtests/bench-strpbrk.c: New file.
53956         * benchtests/bench-strrchr-ifunc.c: New file.
53957         * benchtests/bench-strrchr.c: New file.
53958         * benchtests/bench-strspn-ifunc.c: New file.
53959         * benchtests/bench-strspn.c: New file.
53960         * benchtests/bench-strstr-ifunc.c: New file.
53961         * benchtests/bench-strstr.c: New file.
53963         * benchtests/Makefile: Disable parallel execution of targets.
53964         (string-bench): Add memcpy.
53965         (benchset): New variable to store a list of benchmark sets.
53966         (bench-func): Renamed from bench.
53967         (bench-set): New target.
53968         (bench): Depend on bench-func and bench-set.
53969         * benchtests/README: Add section on benchmark sets.
53970         * benchtests/bench-memcpy-ifunc.c: New file.
53971         * benchtests/bench-memcpy.c: New file.
53972         * benchtests/bench-string.h: New file.
53974 2013-06-11  Andreas Schwab  <schwab@suse.de>
53976         [BZ #15577]
53977         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
53978         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
53979         values in the triple.
53980         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
53981         terminator in the group key.
53983 2013-06-11  Andreas Jaeger  <aj@suse.de>
53985         * po/zh_TW.po: Update Chinese (traditional) translation from
53986         translation project.
53988 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53990         * include/time.h (__clock_gettime): Add libc_hidden_proto.
53991         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
53992         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
53993         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
53994         (clock_getcpuclockid): Likewise.
53995         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
53996         Add weak_alias and libc_hidden_def.
53997         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
53998         * rt/clock_gettime.c (clock_gettime): Rename to
53999         __clock_gettime.  Add weak_alias and libc_hidden_def.
54000         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
54001         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
54002         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
54003         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
54004         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
54005         Likewise.
54006         * rt/clock_settime.c (clock_settime): Rename to
54007         __clock_settime.  Add weak_alias and libc_hidden_def.
54008         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
54010 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
54012         * mach/err_boot.sub: Remove trailing whitespace.
54013         * mach/err_ipc.sub: Likewise.
54014         * mach/err_mach.sub: Likewise.
54016         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
54017         (ROUNDING_TESTS_double): Likewise.
54018         (ROUNDING_TESTS_long_double): Likewise.
54019         (ROUNDING_TESTS): Likewise.
54020         * math/libm-test.inc: Include <math-tests.h>.
54021         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
54022         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
54023         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
54024         (IF_ROUND_INIT_FE_UPWARD): Likewise.
54026 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54028         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
54029         of assigning.
54031 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
54033         * sysdeps/gnu/errlist.awk: Do not generate space at end of
54034         otherwise empty TRANS lines.
54035         * sysdeps/gnu/errlist.c: Regenerated.
54037         * catgets/gencat.c (error_print): Use (void) in function
54038         definition.
54039         * crypt/crypt_util.c (__init_des): Likewise.
54040         * crypt/speeds.c (Stop): Likewise.
54041         (main): Likewise.
54042         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
54043         * inet/ruserpass.c (token): Likewise.
54044         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
54045         * intl/localealias.c (extend_alias_table): Likewise.
54046         * intl/plural-exp.c (init_germanic_plural): Likewise.
54047         * libio/fcloseall.c (__fcloseall): Likewise.
54048         * libio/genops.c (_IO_flush_all): Likewise.
54049         (_IO_flush_all_linebuffered): Likewise.
54050         (_IO_cleanup): Likewise.
54051         (_IO_iter_begin): Likewise.
54052         (_IO_iter_end): Likewise.
54053         (_IO_list_lock): Likewise.
54054         (_IO_list_unlock): Likewise.
54055         (_IO_list_resetlock): Likewise.
54056         * libio/getchar.c (getchar): Likewise.
54057         * libio/getchar_u.c (getchar_unlocked): Likewise.
54058         * libio/getwchar.c (getwchar): Likewise.
54059         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
54060         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
54061         * login/getpt.c (__getpt): Likewise.
54062         * login/tst-utmp.c (main): Likewise.
54063         * malloc/hooks.c (__malloc_check_init): Likewise.
54064         * malloc/malloc.c (__malloc_stats): Likewise.
54065         * malloc/mtrace.c (tr_break): Likewise.
54066         (mtrace): Likewise.
54067         (muntrace): Likewise.
54068         * misc/fstab.c (endfsent): Likewise.
54069         * misc/getclktck.c (__getclktck): Likewise.
54070         * misc/getdtsz.c (__getdtablesize): Likewise.
54071         * misc/gethostid.c (gethostid): Likewise.
54072         * misc/getpagesize.c (__getpagesize): Likewise.
54073         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
54074         (__get_nprocs): Likewise.
54075         (__get_phys_pages): Likewise.
54076         (__get_avphys_pages): Likewise.
54077         * misc/getttyent.c (getttyent): Likewise.
54078         (setttyent): Likewise.
54079         (endttyent): Likewise.
54080         * misc/getusershell.c (getusershell): Likewise.
54081         (endusershell): Likewise.
54082         (setusershell): Likewise.
54083         (initshells): Likewise.
54084         * misc/hsearch.c (__hdestroy): Likewise.
54085         * misc/sync.c (sync): Likewise.
54086         * misc/syslog.c (closelog_internal): Likewise.
54087         (closelog): Likewise.
54088         * misc/ttyslot.c (ttyslot): Likewise.
54089         * misc/vhangup.c (vhangup): Likewise.
54090         * posix/fork.c (__fork): Likewise.
54091         * posix/getegid.c (__getegid): Likewise.
54092         * posix/geteuid.c (__geteuid): Likewise.
54093         * posix/getgid.c (__getgid): Likewise.
54094         * posix/getpid.c (__getpid): Likewise.
54095         * posix/getppid.c (__getppid): Likewise.
54096         * posix/getuid.c (__getuid): Likewise.
54097         * posix/pause.c (pause): Likewise.
54098         * posix/setpgrp.c (setpgrp): Likewise.
54099         * posix/setsid.c (__setsid): Likewise.
54100         * posix/test-vfork.c (noop): Likewise.
54101         * resolv/gethnamaddr.c (_endhtent): Likewise.
54102         (_gethtent): Likewise.
54103         (ht_endhostent): Likewise.
54104         (gethostent): Likewise.
54105         (dns_service): Likewise.
54106         * stdlib/drand48.c (drand48): Likewise.
54107         * stdlib/lrand48.c (lrand48): Likewise.
54108         * stdlib/mrand48.c (mrand48): Likewise.
54109         * stdlib/rand.c (rand): Likewise.
54110         * stdlib/random.c (__random): Likewise.
54111         * stdlib/setenv.c (clearenv): Likewise.
54112         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
54113         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
54114         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
54115         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
54116         (__get_nprocs): Likewise.
54117         (__get_phys_pages): Likewise.
54118         (__get_avphys_pages): Likewise.
54119         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
54120         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
54121         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
54122         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
54123         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
54124         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
54125         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
54126         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
54127         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
54128         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
54129         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
54130         * sysdeps/mach/hurd/sync.c (sync): Likewise.
54131         * sysdeps/posix/clock.c (clock): Likewise.
54132         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
54133         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
54134         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
54135         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
54136         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
54137         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
54138         (__get_nprocs_conf): Likewise.
54139         (__get_phys_pages): Likewise.
54140         (__get_avphys_pages): Likewise.
54141         * time/clock.c (clock): Likewise.
54142         * time/tzset.c (__tzname_max): Likewise.
54144 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
54146         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
54147         (__bswap_32): Do not use "register".
54148         * crypt/crypt.c (_ufc_doit_r): Likewise.
54149         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
54150         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
54151         * gmon/gmon.c (__monstartup): Likewise.
54152         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
54153         * hurd/hurdmalloc.c (more_memory): Likewise.
54154         (malloc): Likewise.
54155         (free): Likewise.
54156         (realloc): Likewise.
54157         (malloc_fork_prepare): Likewise.
54158         (malloc_fork_parent): Likewise.
54159         (malloc_fork_child): Likewise.
54160         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
54161         (_svcauth_des): Likewise.
54162         * inet/inet_lnaof.c (inet_lnaof): Likewise.
54163         * inet/inet_net.c (inet_network): Likewise.
54164         * inet/inet_netof.c (inet_netof): Likewise.
54165         * inet/rcmd.c (__validuser2_sa): Likewise.
54166         * io/fts.c (fts_open): Likewise.
54167         (fts_load): Likewise.
54168         (fts_close): Likewise.
54169         (fts_read): Likewise.
54170         (fts_children): Likewise.
54171         (fts_build): Likewise.
54172         (fts_stat): Likewise.
54173         (fts_sort): Likewise.
54174         (fts_alloc): Likewise.
54175         (fts_lfree): Likewise.
54176         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
54177         (_IO_file_xsgetn): Likewise.
54178         (_IO_file_xsgetn_mmap): Likewise.
54179         * libio/iofopncook.c (_IO_cookie_read): Likewise.
54180         (_IO_cookie_write): Likewise.
54181         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
54182         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
54183         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
54184         * malloc/obstack.c (_obstack_begin): Likewise.
54185         (_obstack_begin_1): Likewise.
54186         (_obstack_newchunk): Likewise.
54187         (_obstack_allocated_p): Likewise.
54188         (obstack_free): Likewise.
54189         (_obstack_memory_used): Likewise.
54190         * misc/getttyent.c (getttynam): Likewise.
54191         (getttyent): Likewise.
54192         (skip): Likewise.
54193         (value): Likewise.
54194         * misc/getusershell.c (initshells): Likewise.
54195         * misc/syslog.c (__vsyslog_chk): Likewise.
54196         * misc/ttyslot.c (ttyslot): Likewise.
54197         * nis/nis_hash.c (__nis_hash): Likewise.
54198         * posix/fnmatch_loop.c (FCT): Likewise.
54199         * posix/getconf.c (print_all): Likewise.
54200         (main): Likewise.
54201         * posix/getopt.c (exchange): Likewise.
54202         * posix/glob.c (globfree): Likewise.
54203         (prefix_array): Likewise.
54204         (__glob_pattern_type): Likewise.
54205         * resolv/arpa/nameser.h (NS_GET16): Likewise.
54206         (NS_GET32): Likewise.
54207         (NS_PUT16): Likewise.
54208         (NS_PUT32): Likewise.
54209         * resolv/gethnamaddr.c (getanswer): Likewise.
54210         (gethostbyname2): Likewise.
54211         (gethostbyaddr): Likewise.
54212         (_gethtent): Likewise.
54213         (_gethtbyname2): Likewise.
54214         (_gethtbyaddr): Likewise.
54215         * resolv/ns_print.c (dst_s_get_int16): Likewise.
54216         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
54217         * resolv/res_init.c (__res_vinit): Likewise.
54218         (net_mask): Likewise.
54219         * resolv/res_mkquery.c (outchar): Likewise.
54220         (PRINT): Likewise.
54221         * stdio-common/printf_fp.c (outchar): Likewise.
54222         (PRINT): Likewise.
54223         * stdio-common/printf_fphex.c (outchar): Likewise.
54224         (PRINT): Likewise.
54225         * stdio-common/printf_size.c (outchar): Likewise.
54226         (PRINT): Likewise.
54227         * stdio-common/test_rdwr.c (main): Likewise.
54228         * stdio-common/tfformat.c (matches): Likewise.
54229         * stdio-common/vfprintf.c (outchar): Likewise.
54230         (printf_unknown): Likewise.
54231         (buffered_vfprintf): Likewise.
54232         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
54233         * stdio-common/xbug.c (AppendToBuffer): Likewise.
54234         (ReadFile): Likewise.
54235         * stdlib/qsort.c (SWAP): Likewise.
54236         (_quicksort): Likewise.
54237         * stdlib/setenv.c (__add_to_environ): Likewise.
54238         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
54239         * stdlib/strtol_l.c (__strtol_l): Likewise.
54240         * stdlib/tst-strtod.c (main): Likewise.
54241         * stdlib/tst-strtol.c (main): Likewise.
54242         * stdlib/tst-strtoll.c (main): Likewise.
54243         * string/bits/string2.h (__strcmp_cc): Likewise.
54244         (__strcmp_cg): Likewise.
54245         (__strcspn_c1): Likewise.
54246         (__strcspn_c2): Likewise.
54247         (__strcspn_c3): Likewise.
54248         (__strspn_c1): Likewise.
54249         (__strspn_c2): Likewise.
54250         (__strspn_c3): Likewise.
54251         (__strsep_1c): Likewise.
54252         (__strsep_2c): Likewise.
54253         (__strsep_3c): Likewise.
54254         * string/memccpy.c (__memccpy): Likewise.
54255         * string/stpcpy.c (__stpcpy): Likewise.
54256         * string/strcmp.c (strcmp): Likewise.
54257         * string/strrchr.c (strrchr): Likewise.
54258         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
54259         Likewise.
54260         * sysdeps/mach/hurd/getcwd.c
54261         (_hurd_canonicalize_directory_name_internal): Likewise.
54262         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
54263         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
54264         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
54265         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
54266         Likewise, in both definitions.
54267         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
54268         definitions.
54269         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
54270         64] (__bswap_64): Likewise.
54271         * time/test_time.c (main): Likewise.
54272         * time/tzfile.c (__tzfile_read): Likewise.
54273         (__tzfile_compute): Likewise.
54274         * time/tzset.c (__tzset_parse_tz): Likewise.
54275         (tzset_internal): Likewise.
54276         (compute_change): Likewise.
54277         * wcsmbs/wcscat.c (__wcscat): Likewise.
54278         * wcsmbs/wcschr.c (wcschr): Likewise.
54279         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
54280         * wcsmbs/wcscspn.c (wcscspn): Likewise.
54281         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
54282         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
54283         * wcsmbs/wcsspn.c (wcsspn): Likewise.
54284         * wcsmbs/wcsstr.c (wcsstr): Likewise.
54285         * wcsmbs/wmemchr.c (wmemchr): Likewise.
54286         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
54287         * wcsmbs/wmemset.c (wmemset): Likewise.
54289 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
54291         * scripts/config.guess: Update to version 2013-05-16.
54292         * scripts/config.sub: Update to version 2013-04-24.
54293         * scripts/install-sh: Update to version 2011-11-20.07.
54294         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
54295         * scripts/move-if-change: Update to version 2012-01-06 07:23.
54297 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
54299         * debug/fgetws_u_chk.c: Fix leading whitespaces.
54300         * elf/sln.c: Likewise.
54301         * hurd/hurd/ioctl.h: Likewise.
54302         * hurd/hurdmalloc.c: Likewise.
54303         * hurd/xattr.c: Likewise.
54304         * include/shlib-compat.h: Likewise.
54305         * inet/ruserpass.c: Likewise.
54306         * libio/iofgets_u.c: Likewise.
54307         * libio/iofgetws_u.c: Likewise.
54308         * locale/programs/ld-identification.c: Likewise.
54309         * locale/programs/ld-time.c: Likewise.
54310         * mach/msg-destroy.c: Likewise.
54311         * nss/nss_files/files-netgrp.c: Likewise.
54312         * resolv/res_data.c: Likewise.
54313         * soft-fp/op-1.h: Likewise.
54314         * soft-fp/op-2.h: Likewise.
54315         * soft-fp/op-4.h: Likewise.
54316         * soft-fp/op-common.h: Likewise.
54317         * stdio-common/printf_fphex.c: Likewise.
54318         * stdlib/strtod_l.c: Likewise.
54319         * sunrpc/rpc/clnt.h: Likewise.
54320         * sysdeps/generic/framestate.c: Likewise.
54321         * sysdeps/i386/bsd-_setjmp.S: Likewise.
54322         * sysdeps/i386/bsd-setjmp.S: Likewise.
54323         * sysdeps/i386/__longjmp.S: Likewise.
54324         * sysdeps/i386/setjmp.S: Likewise.
54325         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54326         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54327         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54328         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54329         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54330         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54331         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54332         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54333         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54334         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
54335         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54336         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54337         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54338         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54339         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54340         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54341         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54342         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
54343         * sysdeps/ieee754/support.c: Likewise.
54344         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54345         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
54346         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
54347         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
54348         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
54349         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
54350         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
54351         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
54352         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
54353         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
54354         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
54355         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
54356         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
54357         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
54358         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
54359         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
54360         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
54361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
54363 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
54365         * posix/transbug.c: Remove executable mode.
54367 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
54369         * crypt/speeds.c: Remove trailing whitespace.
54370         * dlfcn/default.c: Likewise.
54371         * elf/ifuncdep2.c: Likewise.
54372         * elf/ifuncmain1.c: Likewise.
54373         * elf/ifuncmain1vis.c: Likewise.
54374         * elf/testobj.h: Likewise.
54375         * elf/tst-stackguard1.c: Likewise.
54376         * gmon/sys/gmon.h: Likewise.
54377         * hurd/hurdmsg.c: Likewise.
54378         * hurd/new-fd.c: Likewise.
54379         * hurd/ports-get.c: Likewise.
54380         * iconvdata/ibm1008_420.c: Likewise.
54381         * inet/tst-getni1.c: Likewise.
54382         * inet/tst-getni2.c: Likewise.
54383         * libio/ioungetc.c: Likewise.
54384         * libio/wfiledoalloc.c: Likewise.
54385         * manual/libm-err-tab.pl: Likewise.
54386         * math/w_dremf.c: Likewise.
54387         * misc/ftruncate.c: Likewise.
54388         * posix/bug-glob2.c: Likewise.
54389         * posix/tst-pcre.c: Likewise.
54390         * posix/wait4.c: Likewise.
54391         * resolv/README: Likewise.
54392         * resolv/res_debug.h: Likewise.
54393         * resolv/tst-inet_ntop.c: Likewise.
54394         * setjmp/bug269-setjmp.c: Likewise.
54395         * soft-fp/extended.h: Likewise.
54396         * soft-fp/op-1.h: Likewise.
54397         * soft-fp/op-2.h: Likewise.
54398         * soft-fp/op-4.h: Likewise.
54399         * soft-fp/op-8.h: Likewise.
54400         * soft-fp/testit.c: Likewise.
54401         * stdio-common/bug16.c: Likewise.
54402         * stdlib/random.c: Likewise.
54403         * sunrpc/rpcsvc/rquota.x: Likewise.
54404         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
54405         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54406         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54407         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54408         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54409         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54410         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54411         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54412         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54413         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54414         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54415         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54416         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54417         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54418         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54419         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54420         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54421         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54422         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54423         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54424         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54425         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54426         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
54427         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54428         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54429         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54430         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
54431         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54432         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54433         * sysdeps/ieee754/s_lib_version.c: Likewise.
54434         * sysdeps/mach/hurd/check_fds.c: Likewise.
54435         * sysdeps/mach/hurd/getsockname.c: Likewise.
54436         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
54437         * sysdeps/mach/hurd/recvfrom.c: Likewise.
54438         * sysdeps/powerpc/bits/link.h: Likewise.
54439         * sysdeps/powerpc/dl-procinfo.c: Likewise.
54440         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
54441         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
54442         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
54443         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
54444         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
54445         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
54446         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
54447         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
54448         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
54449         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
54450         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
54451         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
54452         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
54453         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
54454         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
54455         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
54456         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
54457         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
54458         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54459         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54460         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
54461         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54462         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
54463         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
54464         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
54465         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
54466         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54467         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54468         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
54469         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
54470         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
54471         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54472         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54473         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
54474         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
54475         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
54476         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
54477         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
54478         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
54479         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
54480         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
54481         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
54482         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
54483         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
54484         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
54485         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
54486         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
54487         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
54488         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
54489         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54490         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54491         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
54492         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54493         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
54494         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
54495         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
54496         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54497         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
54498         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
54499         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
54500         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
54501         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
54502         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
54503         * sysdeps/powerpc/sysdep.h: Likewise.
54504         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
54505         * sysdeps/s390/s390-64/sub_n.S: Likewise.
54506         * sysdeps/sh/dl-trampoline.S: Likewise.
54507         * sysdeps/sh/memset.S: Likewise.
54508         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
54509         * sysdeps/sh/strlen.S: Likewise.
54510         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
54511         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
54512         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
54513         * sysdeps/sparc/sparc32/rem.S: Likewise.
54514         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
54515         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
54516         * sysdeps/sparc/sparc32/strchr.S: Likewise.
54517         * sysdeps/sparc/sparc32/udiv.S: Likewise.
54518         * sysdeps/sparc/sparc32/urem.S: Likewise.
54519         * sysdeps/sparc/sparc64/add_n.S: Likewise.
54520         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
54521         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
54522         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
54523         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
54524         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
54525         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
54526         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
54527         * sysdeps/unix/bsd/times.c: Likewise.
54528         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
54529         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
54530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
54531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
54532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
54533         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
54534         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
54535         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
54536         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
54537         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
54538         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
54539         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
54540         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
54541         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
54542         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
54543         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
54544         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
54545         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
54546         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
54547         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
54548         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
54549         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
54550         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
54551         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
54552         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
54553         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
54554         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
54555         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54556         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
54557         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
54558         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
54559         * sysdeps/x86_64/strcspn.S: Likewise.
54561 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54563         * locale/C-translit.h: Revert #include <stdint.h> because this is a
54564         generated file.  Regenerate properly from gen-translit.pl.
54565         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
54566         locale/C-translit.h.
54568 2013-06-05  Andreas Schwab  <schwab@suse.de>
54570         [BZ #15100]
54571         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
54572         week as 6 instead of -1.
54573         * time/tst-strptime.c (day_tests): Add test case.
54575 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54577         * sysdeps/generic/math_private.h
54578         (libc_feholdexcept_setround_53bit): Replace with
54579         libc_feholdsetround_53bit.
54580         (libc_feupdateenv_53bit): Replace with
54581         libc_feresetround_53bit.
54582         (SET_RESTORE_ROUND_53BIT): Adjust.
54584 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
54586         * string/test-strchrnul.c: Add copyright header.
54588         * posix/tst-getaddrinfo4.c: Increase test timeout.
54590 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
54592         [BZ #15536]
54593         * math/libm-test.inc (MAX_EXP): Remove
54594         (MIN_EXP): Define.
54595         (ulp): Use MIN_EXP - MANT_DIG.
54596         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
54598 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
54600         * po/be.po: Revert last change.
54601         * po/zh_CN.po: Likewise.
54602         * po/header.pot: Likewise.
54604 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
54606         * Makefile ($(common-objpfx)linkobj/libc.so): Define
54607         link-libc-deps to empty as target-specific variable.
54608         * Makerules (link-libc-args): New variable.
54609         (libc-for-link): Likewise.
54610         (link-libc-deps): Likewise.
54611         (lib%.so): Depend on $(link-libc-deps).  Link with
54612         $(link-libc-args).
54613         (build-module): Link with $(link-libc-args).
54614         (build-module-asneeded): Likewise.
54615         (build-module-helper-objlist): Filter out $(link-libc-deps) from
54616         list of objects.
54617         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
54618         target-specific variable.
54619         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
54620         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
54621         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
54622         libc.
54623         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
54624         libc and ld.so.
54625         ($(objpfx)libpcprofile.so): Likewise.
54626         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
54627         libc_nonshared.a.
54628         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
54629         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
54630         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
54631         $(link-libc-deps).
54632         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
54633         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
54634         * login/Makefile ($(objpfx)libutil.so): Likewise.
54635         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
54636         * math/Makefile ($(objpfx)libm.so): Likewise.
54637         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
54638         $(objpfx)libnsl.so): Define libc-for-link as target-specific
54639         variable instead of depending directly on libc.
54640         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
54641         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
54642         $(link-libc-deps).
54643         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
54644         libc.
54645         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
54646         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
54647         ($(objpfx)libanl.so): Likewise.
54648         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
54649         ld.so.
54650         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
54651         $(link-libc-deps).
54652         * sysdeps/i386/fpu/Makefile: Remove file.
54653         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
54654         ($(objpfx)libm.so): Remove dependency on ld.so.
54656 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
54658         [BZ # 15553]
54659         * nis/yp_xdr.c (XDRMAXNAME): Define.
54660         (XDRMAXRECORD): Define.
54661         (xdr_domainname): Use XDRMAXNAME.
54662         (xdr_mapname): Likewise.
54663         (xdr_peername): Likewise.
54664         (xdr_keydat): Use XDRMAXRECORD.
54665         (xdr_valdat): Likewise.
54667 2013-05-30  Jeff Law  <law@redhat.com>
54669         [BZ #14256]
54670         * manual/errno.texi (ESTALE): Update to account for more than
54671         just NFS file systems.
54672         * sysdeps/gnu/errlist.c: Regenerated.
54674 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54676         [BZ #15465]
54677         * elf/Makefile (tests): Add tst-null-argv.
54678         (modules-names):  Add tst-null-argv-lib.
54679         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
54680         (tst-null-argv-ENV): Set environment for tst-null-argv.
54681         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
54682         (RTLD_PROGNAME): New macro.
54683         * elf/tst-null-argv.c: New test case.
54684         * elf/tst-null-argv-lib.c: Library for test case.
54685         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
54686         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
54687         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
54688         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
54689         * elf/dl-init.c (call_init): Likewise.
54690         (_dl_init): Likewise.
54691         * elf/dl-load.c (print_search_path): Likewise.
54692         (_dl_map_object): Likewise.
54693         * elf/dl-lookup.c (do_lookup_x): Likewise.
54694         (add_dependency): Likewise.
54695         (_dl_lookup_symbol_x): Likewise.
54696         (_dl_debug_bindings): Likewise.
54697         * elf/dl-open.c (_dl_show_scope): Likewise.
54698         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
54699         * elf/dl-version.c (match_symbol): Likewise.
54700         (_dl_check_map_versions): Likewise.
54701         * elf/rtld.c (dl_main): Likewise.
54702         (print_unresolved): Use RTLD_PROGNAME.
54703         (print_missing_version): Likewise.
54704         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
54705         (elf_machine_rela): Likewise.
54706         * sysdeps/powerpc/powerpc32/dl-machine.c
54707         (__process_machine_rela): Likewise.
54708         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54709         Likewise.
54710         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
54711         Likewise.
54712         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
54713         Likewise.
54714         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
54715         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
54716         Likewise.
54717         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
54718         Likewise.
54719         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
54721 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
54723         * po/be.po: Add descriptive title.
54724         * po/zh_CN.po: Likewise.
54725         * po/header.pot: Likewise.
54727 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
54729         * locale/programs/locarchive.c (create_archive): Inlucde fname in
54730         error message.
54731         (enlarge_archive): Likewise.
54733 2013-05-28  Ben North  <ben@redfrontdoor.org>
54735         * manual/arith.texi (frexp): It is the magnitude of the return
54736         value which lies in [0.5, 1), not the return value itself.
54738 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54740         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54742 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
54744         * stdio-common/bug26.c (main): Correct fscanf template.
54746         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
54747         declare _dl_skip_args.
54749         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
54750         Don't declare.
54752         * manual/platform.texi: Add missing @end deftypefun.
54754 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
54756         [BZ #15529]
54757         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
54758         bit of mantissa of 2^16382.
54759         * math/libm-test.inc (hypot_test_data): Add more tests.
54761         * math/libm-test.inc: Add drem and pow10 to list of tested
54762         functions.
54763         (pow10_test): New function.
54764         (drem_test): Likewise.
54765         (drem_test_tonearest): Likewise.
54766         (drem_test_towardzero): Likewise.
54767         (drem_test_downward): Likewise.
54768         (drem_test_upward): Likewise.
54769         (main): Call the new functions.
54771         * math/libm-test.inc (finite_test_data): Remove.
54772         (finite_test): Run tests from isfinite_test_data.
54773         (gamma_test_data): Remove.
54774         (gamma_test): Run tests from lgamma_test_data.
54775         * sysdeps/i386/fpu/libm-test-ulps: Update.
54776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54778 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54780         * manual/platform.texi: Add PowerPC PPR function set documentation.
54781         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
54782         implementation.
54784 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
54786         * math/libm-test.inc (MAX_EXP): Define.
54787         (ULPDIFF): Define.
54788         (ulp): New function.
54789         (check_float_internal): Use ULPDIFF.
54790         (cpow_test): Disable failing test.
54791         (check_ulp): Test ulp() implementation.
54792         (main): Call check_ulp before starting tests.
54794 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
54796         * math/gen-libm-test.pl (generate_testfile): Do not handle
54797         START_DATA and END_DATA.
54798         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
54799         END_DATA.
54800         (acos_tonearest_test_data): Likewise.
54801         (acos_towardzero_test_data): Likewise.
54802         (acos_downward_test_data): Likewise.
54803         (acos_upward_test_data): Likewise.
54804         (acosh_test_data): Likewise.
54805         (asin_test_data): Likewise.
54806         (asin_tonearest_test_data): Likewise.
54807         (asin_towardzero_test_data): Likewise.
54808         (asin_downward_test_data): Likewise.
54809         (asin_upward_test_data): Likewise.
54810         (asinh_test_data): Likewise.
54811         (atan_test_data): Likewise.
54812         (atanh_test_data): Likewise.
54813         (atan2_test_data): Likewise.
54814         (cabs_test_data): Likewise.
54815         (cacos_test_data): Likewise.
54816         (cacosh_test_data): Likewise.
54817         (carg_test_data): Likewise.
54818         (casin_test_data): Likewise.
54819         (casinh_test_data): Likewise.
54820         (catan_test_data): Likewise.
54821         (catanh_test_data): Likewise.
54822         (cbrt_test_data): Likewise.
54823         (ccos_test_data): Likewise.
54824         (ccosh_test_data): Likewise.
54825         (ceil_test_data): Likewise.
54826         (cexp_test_data): Likewise.
54827         (cimag_test_data): Likewise.
54828         (clog_test_data): Likewise.
54829         (clog10_test_data): Likewise.
54830         (conj_test_data): Likewise.
54831         (copysign_test_data): Likewise.
54832         (cos_test_data): Likewise.
54833         (cos_tonearest_test_data): Likewise.
54834         (cos_towardzero_test_data): Likewise.
54835         (cos_downward_test_data): Likewise.
54836         (cos_upward_test_data): Likewise.
54837         (cosh_test_data): Likewise.
54838         (cosh_tonearest_test_data): Likewise.
54839         (cosh_towardzero_test_data): Likewise.
54840         (cosh_downward_test_data): Likewise.
54841         (cosh_upward_test_data): Likewise.
54842         (cpow_test_data): Likewise.
54843         (cproj_test_data): Likewise.
54844         (creal_test_data): Likewise.
54845         (csin_test_data): Likewise.
54846         (csinh_test_data): Likewise.
54847         (csqrt_test_data): Likewise.
54848         (ctan_test_data): Likewise.
54849         (ctan_tonearest_test_data): Likewise.
54850         (ctan_towardzero_test_data): Likewise.
54851         (ctan_downward_test_data): Likewise.
54852         (ctan_upward_test_data): Likewise.
54853         (ctanh_test_data): Likewise.
54854         (ctanh_tonearest_test_data): Likewise.
54855         (ctanh_towardzero_test_data): Likewise.
54856         (ctanh_downward_test_data): Likewise.
54857         (ctanh_upward_test_data): Likewise.
54858         (erf_test_data): Likewise.
54859         (erfc_test_data): Likewise.
54860         (exp_test_data): Likewise.
54861         (exp_tonearest_test_data): Likewise.
54862         (exp_towardzero_test_data): Likewise.
54863         (exp_downward_test_data): Likewise.
54864         (exp_upward_test_data): Likewise.
54865         (exp10_test_data): Likewise.
54866         (exp2_test_data): Likewise.
54867         (expm1_test_data): Likewise.
54868         (fabs_test_data): Likewise.
54869         (fdim_test_data): Likewise.
54870         (finite_test_data): Likewise.
54871         (floor_test_data): Likewise.
54872         (fma_test_data): Likewise.
54873         (fma_towardzero_test_data): Likewise.
54874         (fma_downward_test_data): Likewise.
54875         (fma_upward_test_data): Likewise.
54876         (fmax_test_data): Likewise.
54877         (fmin_test_data): Likewise.
54878         (fmod_test_data): Likewise.
54879         (fpclassify_test_data): Likewise.
54880         (frexp_test_data): Likewise.
54881         (gamma_test_data): Likewise.
54882         (hypot_test_data): Likewise.
54883         (ilogb_test_data): Likewise.
54884         (isfinite_test_data): Likewise.
54885         (isgreater_test_data): Likewise.
54886         (isgreaterequal_test_data): Likewise.
54887         (isinf_test_data): Likewise.
54888         (isless_test_data): Likewise.
54889         (islessequal_test_data): Likewise.
54890         (islessgreater_test_data): Likewise.
54891         (isnan_test_data): Likewise.
54892         (isnormal_test_data): Likewise.
54893         (issignaling_test_data): Likewise.
54894         (isunordered_test_data): Likewise.
54895         (j0_test_data): Likewise.
54896         (j1_test_data): Likewise.
54897         (jn_test_data): Likewise.
54898         (ldexp_test_data): Likewise.
54899         (lgamma_test_data): Likewise.
54900         (lrint_test_data): Likewise.
54901         (lrint_tonearest_test_data): Likewise.
54902         (lrint_towardzero_test_data): Likewise.
54903         (lrint_downward_test_data): Likewise.
54904         (lrint_upward_test_data): Likewise.
54905         (llrint_test_data): Likewise.
54906         (llrint_tonearest_test_data): Likewise.
54907         (llrint_towardzero_test_data): Likewise.
54908         (llrint_downward_test_data): Likewise.
54909         (llrint_upward_test_data): Likewise.
54910         (log_test_data): Likewise.
54911         (log10_test_data): Likewise.
54912         (log1p_test_data): Likewise.
54913         (log2_test_data): Likewise.
54914         (logb_test_data): Likewise.
54915         (logb_downward_test_data): Likewise.
54916         (lround_test_data): Likewise.
54917         (llround_test_data): Likewise.
54918         (modf_test_data): Likewise.
54919         (nearbyint_test_data): Likewise.
54920         (nextafter_test_data): Likewise.
54921         (nexttoward_test_data): Likewise.
54922         (pow_test_data): Likewise.
54923         (pow_tonearest_test_data): Likewise.
54924         (pow_towardzero_test_data): Likewise.
54925         (pow_downward_test_data): Likewise.
54926         (pow_upward_test_data): Likewise.
54927         (remainder_test_data): Likewise.
54928         (remainder_tonearest_test_data): Likewise.
54929         (remainder_towardzero_test_data): Likewise.
54930         (remainder_downward_test_data): Likewise.
54931         (remainder_upward_test_data): Likewise.
54932         (remquo_test_data): Likewise.
54933         (rint_test_data): Likewise.
54934         (rint_tonearest_test_data): Likewise.
54935         (rint_towardzero_test_data): Likewise.
54936         (rint_downward_test_data): Likewise.
54937         (rint_upward_test_data): Likewise.
54938         (round_test_data): Likewise.
54939         (scalb_test_data): Likewise.
54940         (scalbn_test_data): Likewise.
54941         (scalbln_test_data): Likewise.
54942         (signbit_test_data): Likewise.
54943         (sin_test_data): Likewise.
54944         (sin_tonearest_test_data): Likewise.
54945         (sin_towardzero_test_data): Likewise.
54946         (sin_downward_test_data): Likewise.
54947         (sin_upward_test_data): Likewise.
54948         (sincos_test_data): Likewise.
54949         (sinh_test_data): Likewise.
54950         (sinh_tonearest_test_data): Likewise.
54951         (sinh_towardzero_test_data): Likewise.
54952         (sinh_downward_test_data): Likewise.
54953         (sinh_upward_test_data): Likewise.
54954         (sqrt_test_data): Likewise.
54955         (tan_test_data): Likewise.
54956         (tan_tonearest_test_data): Likewise.
54957         (tan_towardzero_test_data): Likewise.
54958         (tan_downward_test_data): Likewise.
54959         (tan_upward_test_data): Likewise.
54960         (tanh_test_data): Likewise.
54961         (tgamma_test_data): Likewise.
54962         (trunc_test_data): Likewise.
54963         (y0_test_data): Likewise.
54964         (y1_test_data): Likewise.
54965         (yn_test_data): Likewise.
54966         (significand_test_data): Likewise.
54968         * math/gen-libm-test.pl (@functions): Remove variable.
54969         (generate_testfile): Don't handle START and END lines.
54970         * math/libm-test.inc (START): New macro.
54971         (END): Likewise.
54972         (END_COMPLEX): Likewise.
54973         (acos_test): Use END macro without arguments.
54974         (acos_test_tonearest): Likewise.
54975         (acos_test_towardzero): Likewise.
54976         (acos_test_downward): Likewise.
54977         (acos_test_upward): Likewise.
54978         (acosh_test): Likewise.
54979         (asin_test): Likewise.
54980         (asin_test_tonearest): Likewise.
54981         (asin_test_towardzero): Likewise.
54982         (asin_test_downward): Likewise.
54983         (asin_test_upward): Likewise.
54984         (asinh_test): Likewise.
54985         (atan_test): Likewise.
54986         (atanh_test): Likewise.
54987         (atan2_test): Likewise.
54988         (cabs_test): Likewise.
54989         (cacos_test): Use END_COMPLEX macro without arguments.
54990         (cacosh_test): Likewise.
54991         (carg_test): Use END macro without arguments.
54992         (casin_test): Use END_COMPLEX macro without arguments.
54993         (casinh_test): Likewise.
54994         (catan_test): Likewise.
54995         (catanh_test): Likewise.
54996         (cbrt_test): Use END macro without arguments.
54997         (ccos_test): Use END_COMPLEX macro without arguments.
54998         (ccosh_test): Likewise.
54999         (ceil_test): Use END macro without arguments.
55000         (cexp_test): Use END_COMPLEX macro without arguments.
55001         (cimag_test): Use END macro without arguments.
55002         (clog_test): Use END_COMPLEX macro without arguments.
55003         (clog10_test): Likewise.
55004         (conj_test): Likewise.
55005         (copysign_test): Use END macro without arguments.
55006         (cos_test): Likewise.
55007         (cos_test_tonearest): Likewise.
55008         (cos_test_towardzero): Likewise.
55009         (cos_test_downward): Likewise.
55010         (cos_test_upward): Likewise.
55011         (cosh_test): Likewise.
55012         (cosh_test_tonearest): Likewise.
55013         (cosh_test_towardzero): Likewise.
55014         (cosh_test_downward): Likewise.
55015         (cosh_test_upward): Likewise.
55016         (cpow_test): Use END_COMPLEX macro without arguments.
55017         (cproj_test): Likewise.
55018         (creal_test): Use END macro without arguments.
55019         (csin_test): Use END_COMPLEX macro without arguments.
55020         (csinh_test): Likewise.
55021         (csqrt_test): Likewise.
55022         (ctan_test): Likewise.
55023         (ctan_test_tonearest): Likewise.
55024         (ctan_test_towardzero): Likewise.
55025         (ctan_test_downward): Likewise.
55026         (ctan_test_upward): Likewise.
55027         (ctanh_test): Likewise.
55028         (ctanh_test_tonearest): Likewise.
55029         (ctanh_test_towardzero): Likewise.
55030         (ctanh_test_downward): Likewise.
55031         (ctanh_test_upward): Likewise.
55032         (erf_test): Use END macro without arguments.
55033         (erfc_test): Likewise.
55034         (exp_test): Likewise.
55035         (exp_test_tonearest): Likewise.
55036         (exp_test_towardzero): Likewise.
55037         (exp_test_downward): Likewise.
55038         (exp_test_upward): Likewise.
55039         (exp10_test): Likewise.
55040         (exp2_test): Likewise.
55041         (expm1_test): Likewise.
55042         (fabs_test): Likewise.
55043         (fdim_test): Likewise.
55044         (finite_test): Likewise.
55045         (floor_test): Likewise.
55046         (fma_test): Likewise.
55047         (fma_test_towardzero): Likewise.
55048         (fma_test_downward): Likewise.
55049         (fma_test_upward): Likewise.
55050         (fmax_test): Likewise.
55051         (fmin_test): Likewise.
55052         (fmod_test): Likewise.
55053         (fpclassify_test): Likewise.
55054         (frexp_test): Likewise.
55055         (gamma_test): Likewise.
55056         (hypot_test): Likewise.
55057         (ilogb_test): Likewise.
55058         (isfinite_test): Likewise.
55059         (isgreater_test): Likewise.
55060         (isgreaterequal_test): Likewise.
55061         (isinf_test): Likewise.
55062         (isless_test): Likewise.
55063         (islessequal_test): Likewise.
55064         (islessgreater_test): Likewise.
55065         (isnan_test): Likewise.
55066         (isnormal_test): Likewise.
55067         (issignaling_test): Likewise.
55068         (isunordered_test): Likewise.
55069         (j0_test): Likewise.
55070         (j1_test): Likewise.
55071         (jn_test): Likewise.
55072         (ldexp_test): Likewise.
55073         (lgamma_test): Likewise.
55074         (lrint_test): Likewise.
55075         (lrint_test_tonearest): Likewise.
55076         (lrint_test_towardzero): Likewise.
55077         (lrint_test_downward): Likewise.
55078         (lrint_test_upward): Likewise.
55079         (llrint_test): Likewise.
55080         (llrint_test_tonearest): Likewise.
55081         (llrint_test_towardzero): Likewise.
55082         (llrint_test_downward): Likewise.
55083         (llrint_test_upward): Likewise.
55084         (log_test): Likewise.
55085         (log10_test): Likewise.
55086         (log1p_test): Likewise.
55087         (log2_test): Likewise.
55088         (logb_test): Likewise.
55089         (logb_test_downward): Likewise.
55090         (lround_test): Likewise.
55091         (llround_test): Likewise.
55092         (modf_test): Likewise.
55093         (nearbyint_test): Likewise.
55094         (nextafter_test): Likewise.
55095         (nexttoward_test): Likewise.
55096         (pow_test): Likewise.
55097         (pow_test_tonearest): Likewise.
55098         (pow_test_towardzero): Likewise.
55099         (pow_test_downward): Likewise.
55100         (pow_test_upward): Likewise.
55101         (remainder_test): Likewise.
55102         (remainder_test_tonearest): Likewise.
55103         (remainder_test_towardzero): Likewise.
55104         (remainder_test_downward): Likewise.
55105         (remainder_test_upward): Likewise.
55106         (remquo_test): Likewise.
55107         (rint_test): Likewise.
55108         (rint_test_tonearest): Likewise.
55109         (rint_test_towardzero): Likewise.
55110         (rint_test_downward): Likewise.
55111         (rint_test_upward): Likewise.
55112         (round_test): Likewise.
55113         (scalb_test): Likewise.
55114         (scalbn_test): Likewise.
55115         (scalbln_test): Likewise.
55116         (signbit_test): Likewise.
55117         (sin_test): Likewise.
55118         (sin_test_tonearest): Likewise.
55119         (sin_test_towardzero): Likewise.
55120         (sin_test_downward): Likewise.
55121         (sin_test_upward): Likewise.
55122         (sincos_test): Likewise.
55123         (sinh_test): Likewise.
55124         (sinh_test_tonearest): Likewise.
55125         (sinh_test_towardzero): Likewise.
55126         (sinh_test_downward): Likewise.
55127         (sinh_test_upward): Likewise.
55128         (sqrt_test): Likewise.
55129         (tan_test): Likewise.
55130         (tan_test_tonearest): Likewise.
55131         (tan_test_towardzero): Likewise.
55132         (tan_test_downward): Likewise.
55133         (tan_test_upward): Likewise.
55134         (tanh_test): Likewise.
55135         (tgamma_test): Likewise.
55136         (trunc_test): Likewise.
55137         (y0_test): Likewise.
55138         (y1_test): Likewise.
55139         (yn_test): Likewise.
55140         (significand_test): Likewise.
55142 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
55144         [BZ #15381]
55145         * libio/genops.c (_IO_no_init): Initialize wide struct info.
55147 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
55149         [BZ #14894]
55150         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
55151         __ppc_mdoio and __ppc_mdoom.
55152         * manual/platform.texi: Document new functions __ppc_yield,
55153         __ppc_mdoio and __ppc_mdoom.
55155 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
55157         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
55158         (main): Mention "tls" pseudo-hwcap is legacy.
55159         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
55161 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
55163         * math/gen-libm-test.pl (parse_args): Output only string of
55164         arguments as text for test name, not full call or descriptions of
55165         tests for extra outputs.
55166         (generate_testfile): Do not pass function name to parse_args.
55167         Generate this_func variable from START.
55168         * math/libm-test.inc (struct test_f_f_data): Rename test_name
55169         field to arg_str.
55170         (struct test_ff_f_data): Likewise.
55171         (test_ff_f_data_nexttoward): Likewise.
55172         (struct test_fi_f_data): Likewise.
55173         (struct test_fl_f_data): Likewise.
55174         (struct test_if_f_data): Likewise.
55175         (struct test_fff_f_data): Likewise.
55176         (struct test_c_f_data): Likewise.
55177         (struct test_f_f1_data): Likewise.  Remove field extra_name.
55178         (struct test_fF_f1_data): Likewise.
55179         (struct test_ffI_f1_data): Likewise.
55180         (struct test_c_c_data): Rename test_name field to arg_str.
55181         (struct test_cc_c_data): Likewise.
55182         (struct test_f_i_data): Likewise.
55183         (struct test_ff_i_data): Likewise.
55184         (struct test_f_l_data): Likewise.
55185         (struct test_f_L_data): Likewise.
55186         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
55187         and extra2_name.
55188         (COMMON_TEST_SETUP): New macro.
55189         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
55190         (COMMON_TEST_CLEANUP): Likewise.
55191         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
55192         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
55193         macros.
55194         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
55195         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
55196         macros.
55197         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
55198         (RUN_TEST_fff_f): Take argument string.  Call new setup and
55199         cleanup macros.
55200         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
55201         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
55202         macros.
55203         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
55204         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
55205         macros.
55206         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
55207         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
55208         cleanup macros.
55209         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
55210         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
55211         cleanup macros.
55212         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
55213         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
55214         cleanup macros.
55215         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
55216         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
55217         macros.
55218         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
55219         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
55220         macros.
55221         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
55222         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
55223         macros.
55224         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
55225         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
55226         cleanup macros.
55227         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
55228         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
55229         cleanup macros.
55230         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
55231         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
55232         macros.
55233         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
55234         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
55235         cleanup macros.
55236         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
55237         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
55238         macros.
55239         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
55240         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
55241         macros.
55242         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
55243         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
55244         cleanup macros.
55245         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
55247 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
55249         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
55250         to _sifields.sigfault.
55251         (si_addr_lsb): Define new macro.
55252         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
55253         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55254         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
55256 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
55258         [BZ #15441]
55259         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
55260         returns -1.
55261         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
55262         null return -1.
55263         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
55264         loading the domain.
55266 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
55268         * math/gen-libm-test.pl (parse_args): Do not include expected
55269         result in test name.
55270         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
55271         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55272         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55273         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55274         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55277 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
55279         * benchtests/Makefile: Sort function entries.
55281         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
55282         tanh, asinh, acosh, atanh.
55283         * benchtests/acos-inputs: New file.
55284         * benchtests/acosh-inputs: New file.
55285         * benchtests/asin-inputs: New file.
55286         * benchtests/asinh-inputs: New file.
55287         * benchtests/atanh-inputs: New file.
55288         * benchtests/cosh-inputs: New file.
55289         * benchtests/log-inputs: New file.
55290         * benchtests/sinh-inputs: New file.
55291         * benchtests/tanh-inputs: New file.
55293 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
55295         [BZ #15339]
55296         * posix/tst-getaddrinfo4.c: New test.
55297         * posix/Makefile (tests): Add it.
55299 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55301         [BZ #15339]
55302         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
55303         when no services were used.
55304         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
55305         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
55307 2013-05-21  Andreas Schwab  <schwab@suse.de>
55309         [BZ #15014]
55310         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
55311         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
55312         successful.
55313         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
55314         redundant variable declarations and reallocation of buffer when
55315         parsing as IPv6 address.  Always set NSS status when called from
55316         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
55317         buffer too small.  Correct computation of needed size.
55318         * nss/Makefile (tests): Add test-digits-dots.
55319         * nss/test-digits-dots.c: New test.
55321 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55323         * benchtests/Makefile: Remove instructions for adding
55324         benchmark tests.
55325         * benchtests/README: New file to explain how to execute and
55326         enhance the benchmark tests.
55328 2013-05-21  Andreas Schwab  <schwab@suse.de>
55330         [BZ #15493]
55331         * setjmp/Makefile (tests): Add tst-sigsetjmp.
55332         * setjmp/tst-sigsetjmp.c: New test.
55334 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
55336         * sysdeps/x86_64/memset.S (memset): New implementation.
55337         (__bzero): Likewise.
55338         (__memset_tail): New function.
55340 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
55342         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
55343         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
55344         __memcpy_sse2_unaligned ifunc selection.
55345         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
55346         Add memcpy-sse2-unaligned.S.
55347         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
55348         Add: __memcpy_sse2_unaligned.
55350 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
55352         [BZ #15490]
55353         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55354         math_force_eval before restoring floating-point envrionment.
55355         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
55356         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
55357         Likewise.
55358         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
55359         <math_private.h>.
55360         (__nearbyintl): Use math_force_eval before restoring
55361         floating-point environment.
55362         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
55364         * math/gen-libm-test.pl (special_functions): Remove.
55365         (parse_args): Don't handle TEST_extra.  Handle functions with no
55366         return value.
55367         * math/libm-test.inc (struct test_sincos_data): Replace with
55368         struct test_fFF_11_data.
55369         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
55370         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
55371         (sincos_test_data): Change element type to struct
55372         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
55373         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
55374         RUN_TEST_LOOP_sincos.
55375         * math/README.libm-test: Don't mention special handling of
55376         individual functions.
55377         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
55378         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55379         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55380         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55381         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55384         * math/gen-libm-test.pl (get_variable): Remove function.
55385         (parse_args): Don't show pointer parameters to call in test
55386         names.  Use "extra output N" in test names for extra outputs
55387         rather than naming variables.
55389 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
55391         [BZ #15488]
55392         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
55393         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
55394         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
55395         double tests.
55396         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
55397         disable.
55398         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
55399         check_long_double.
55401         * math/gen-libm-test.pl (@tests): Remove variable.
55402         ($count): Likewise.
55403         (new_test): Remove function.
55404         (show_exceptions): New function.
55405         (special_functions): Use show_exceptions instead of new_test.
55406         (parse_args): Likewise.
55407         (generate_testfile): Pass only function name in generated call to
55408         print_max_error or print_complex_max_error.
55409         (get_ulps): Do not handle complex tests specially.
55410         (output_test): Rename to ...
55411         (get_all_ulps_for_test): ... this.  Return a string rather than
55412         printing to a file.  Require ulps to be present.
55413         (output_ulps): Generate arrays rather than #defines.
55414         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
55415         (struct ulp_data): New type.
55416         (BUILD_COMPLEX_ULP): Remove macro.
55417         (compare_ulp_data): New function.
55418         (find_ulps): Likewise.
55419         (find_test_ulps): Likewise.
55420         (find_function_ulps): Likewise.
55421         (find_complex_function_ulps): Likewise.
55422         (print_max_error): Determine allowed ulps using
55423         find_function_ulps.
55424         (print_complex_max_error): Determine allowed ulps using
55425         find_complex_function_ulps.
55426         (check_float_internal): Determine max ulps using find_test_ulps.
55427         (check_float): Do not take max_ulp parameter.  Update call to
55428         check_float_internal.
55429         (check_complex): Likewise.
55430         (check_int): Do not take max_ulp parameter.
55431         (check_long): Likewise.
55432         (check_bool): Likewise.
55433         (check_longlong): Likewise.
55434         (struct test_f_f_data): Remove max_ulp field.
55435         (struct test_ff_f_data): Likewise.
55436         (struct test_ff_f_data_nexttoward): Likewise.
55437         (struct test_fi_f_data): Likewise.
55438         (struct test_fl_f_data): Likewise.
55439         (struct test_if_f_data): Likewise.
55440         (struct test_fff_f_data): Likewise.
55441         (struct test_c_f_data): Likewise.
55442         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
55443         (struct test_fF_f1_data): Likewise.
55444         (struct test_ffI_f1_data): Likewise.
55445         (struct test_c_c_data): Remove max_ulp field.
55446         (struct test_cc_c_data): Likewise.
55447         (struct test_f_i_data): Likewise.
55448         (struct test_ff_i_data): Likewise.
55449         (struct test_f_l_data): Likewise.
55450         (struct test_f_L_data): Likewise.
55451         (struct test_sincos_data): Likewise.
55452         (RUN_TEST_f_f): Do not handle ulps.
55453         (RUN_TEST_LOOP_f_f): Likewise.
55454         (RUN_TEST_2_f): Likewise.
55455         (RUN_TEST_LOOP_2_f): Likewise.
55456         (RUN_TEST_fff_f): Likewise.
55457         (RUN_TEST_LOOP_fff_f): Likewise.
55458         (RUN_TEST_c_f): Likewise.
55459         (RUN_TEST_LOOP_c_f): Likewise.
55460         (RUN_TEST_f_f1): Likewise.
55461         (RUN_TEST_LOOP_f_f1): Likewise.
55462         (RUN_TEST_fF_f1): Likewise.
55463         (RUN_TEST_LOOP_fF_f1): Likewise.
55464         (RUN_TEST_fI_f1): Likewise.
55465         (RUN_TEST_LOOP_fI_f1): Likewise.
55466         (RUN_TEST_ffI_f1): Likewise.
55467         (RUN_TEST_LOOP_ffI_f1): Likewise.
55468         (RUN_TEST_c_c): Likewise.
55469         (RUN_TEST_LOOP_c_c): Likewise.
55470         (RUN_TEST_cc_c): Likewise.
55471         (RUN_TEST_LOOP_cc_c): Likewise.
55472         (RUN_TEST_f_i): Likewise.
55473         (RUN_TEST_LOOP_f_i): Likewise.
55474         (RUN_TEST_f_i_tg): Likewise.
55475         (RUN_TEST_LOOP_f_i_tg): Likewise.
55476         (RUN_TEST_ff_i_tg): Likewise.
55477         (RUN_TEST_LOOP_ff_i_tg): Likewise.
55478         (RUN_TEST_f_b): Likewise.
55479         (RUN_TEST_LOOP_f_b): Likewise.
55480         (RUN_TEST_f_b_tg): Likewise.
55481         (RUN_TEST_LOOP_f_b_tg): Likewise.
55482         (RUN_TEST_f_l): Likewise.
55483         (RUN_TEST_LOOP_f_l): Likewise.
55484         (RUN_TEST_f_L): Likewise.
55485         (RUN_TEST_LOOP_f_L): Likewise.
55486         (RUN_TEST_sincos): Likewise.
55487         (RUN_TEST_LOOP_sincos): Likewise.
55489 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
55491         [BZ #15480]
55492         [BZ #15485]
55493         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
55494         main case of finite arguments, set rounding mode to FE_TONEAREST
55495         and discard exceptions.
55496         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
55497         exceptions.
55498         (remainder_tonearest_test_data): New variable.
55499         (remainder_test_tonearest): New function.
55500         (remainder_towardzero_test_data): New variable.
55501         (remainder_test_towardzero): New function.
55502         (remainder_downward_test_data): New variable.
55503         (remainder_test_downward): New function.
55504         (remainder_upward_test_data): New variable.
55505         (remainder_test_upward): New function.
55506         (main): Call the new test functions.
55508         * math/libm-test.inc (struct test_f_f1_data): Remove field
55509         extra_init.
55510         (struct test_fF_f1_data): Likewise.
55511         (struct test_ffI_f1_data): Likewise.
55512         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
55513         based on value of EXTRA_EXPECTED.
55514         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
55515         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
55516         EXTRA_VAR based on value of EXTRA_EXPECTED.
55517         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
55518         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
55519         EXTRA_VAR based on value of EXTRA_EXPECTED.
55520         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
55521         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
55522         EXTRA_VAR based on value of EXTRA_EXPECTED.
55523         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
55524         * math/gen-libm-test.pl (parse_args): Don't output initializers
55525         for extra output values.
55527         * math/libm-test.inc (check_int): Expect result to be exactly
55528         equal to expected value and do not handle ulps.
55529         (check_long): Likewise.
55530         (check_longlong): Likewise.
55532         * math/libm-test.inc (ceil_test_data): Test for "inexact"
55533         exceptions.
55534         (cimag_test_data): Likewise.
55535         (conj_test_data): Likewise.
55536         (copysign_test_data): Likewise.
55537         (cproj_test_data): Likewise.
55538         (creal_test_data): Likewise.
55539         (fabs_test_data): Likewise.
55540         (fdim_test_data): Likewise.
55541         (finite_test_data): Likewise.
55542         (floor_test_data): Likewise.
55543         (fmax_test_data): Likewise.
55544         (fmin_test_data): Likewise.
55545         (fmod_test_data): Likewise.
55546         (fpclassify_test_data): Likewise.
55547         (frexp_test_data): Likewise.
55548         (ilogb_test_data): Likewise.
55549         (isfinite_test_data): Likewise.
55550         (isgreater_test_data): Likewise.
55551         (isgreaterequal_test_data): Likewise.
55552         (isinf_test_data): Likewise.
55553         (isless_test_data): Likewise.
55554         (islessequal_test_data): Likewise.
55555         (islessgreater_test_data): Likewise.
55556         (isnan_test_data): Likewise.
55557         (isnormal_test_data): Likewise.
55558         (issignaling_test_data): Likewise.
55559         (isunordered_test_data): Likewise.
55560         (ldexp_test_data): Likewise.
55561         (lrint_test_data): Likewise.
55562         (lrint_test_data) [TEST_FLOAT]: Disable one test.
55563         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
55564         (lrint_tonearest_test_data): Test for "inexact" exceptions.
55565         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
55566         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
55567         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
55568         test input.
55569         (lrint_towardzero_test_data): Test for "inexact" exceptions.
55570         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
55571         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
55572         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
55573         that test input.
55574         (lrint_downward_test_data): Test for "inexact" exceptions.
55575         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
55576         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
55577         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
55578         test input.
55579         (lrint_upward_test_data): Test for "inexact" exceptions.
55580         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
55581         test input.
55582         (llrint_test_data): Test for "inexact" exceptions.
55583         (llrint_test_data) [TEST_FLOAT]: Disable one test.
55584         (llrint_tonearest_test_data): Test for "inexact" exceptions.
55585         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
55586         (llrint_towardzero_test_data): Test for "inexact" exceptions.
55587         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
55588         (llrint_downward_test_data): Test for "inexact" exceptions.
55589         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
55590         (llrint_upward_test_data): Test for "inexact" exceptions.
55591         (logb_test_data): Likewise.
55592         (logb_downward_test_data): Likewise.
55593         (nextafter_test_data): Likewise.
55594         (nexttoward_test_data): Likewise.
55595         (remainder_test_data): Likewise.
55596         (remquo_test_data): Likewise.
55597         (scalbn_test_data): Likewise.
55598         (scalbln_test_data): Likewise.
55599         (signbit_test_data): Likewise.
55600         (sqrt_test_data): Likewise.
55601         (significand_test_data): Likewise.
55603 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
55605         [BZ #15424]
55606         * benchtests/bench-modf.c (struct args): Mark arg0 as
55607         volatile.
55608         * scripts/bench.pl: Mark members of struct args as volatile.
55610 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55612         [BZ # 15497]
55613         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
55614         negative infinity on POWER6 or lower.
55615         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
55617 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
55619         [BZ #15442]
55620         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
55621         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
55622         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
55623         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
55624         (_FP_SETQNAN): New macro.
55625         (_FP_SETQNAN_SEMIRAW): Likewise.
55626         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
55627         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
55628         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
55629         (FP_EXTEND): Use _FP_FRAC_SNANP.
55630         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
55631         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
55632         into account.
55633         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
55634         New macro.
55635         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
55636         Likewise.
55638 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
55640         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
55641         with DIVIDE_BY_ZERO_EXCEPTION.
55642         (gamma_test_data): Likewise.
55643         (lgamma_test_data): Likewise.
55644         (log_test_data): Likewise.
55645         (log10_test_data): Likewise.
55646         (log2_test_data): Likewise.
55647         (tgamma_test_data): Likewise.
55649         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
55650         (acos_test_tonearest): Likewise.
55651         (acos_test_towardzero): Likewise.
55652         (acos_test_downward): Likewise.
55653         (acos_test_upward): Likewise.
55654         (acosh_test): Likewise.
55655         (asin_test): Likewise.
55656         (asin_test_tonearest): Likewise.
55657         (asin_test_towardzero): Likewise.
55658         (asin_test_downward): Likewise.
55659         (asin_test_upward): Likewise.
55660         (asinh_test): Likewise.
55661         (atan_test): Likewise.
55662         (atanh_test): Likewise.
55663         (atan2_test): Likewise.
55664         (cabs_test): Likewise.
55665         (cacos_test): Likewise.
55666         (cacosh_test): Likewise.
55667         (casin_test): Likewise.
55668         (casinh_test): Likewise.
55669         (catan_test): Likewise.
55670         (catanh_test): Likewise.
55671         (cbrt_test): Likewise.
55672         (ccos_test): Likewise.
55673         (ccosh_test): Likewise.
55674         (cexp_test): Likewise.
55675         (clog_test): Likewise.
55676         (clog10_test): Likewise.
55677         (cos_test): Likewise.
55678         (cos_test_tonearest): Likewise.
55679         (cos_test_towardzero): Likewise.
55680         (cos_test_downward): Likewise.
55681         (cos_test_upward): Likewise.
55682         (cosh_test): Likewise.
55683         (cosh_test_tonearest): Likewise.
55684         (cosh_test_towardzero): Likewise.
55685         (cosh_test_downward): Likewise.
55686         (cosh_test_upward): Likewise.
55687         (cpow_test): Likewise.
55688         (csin_test): Likewise.
55689         (csinh_test): Likewise.
55690         (csqrt_test): Likewise.
55691         (ctan_test): Likewise.
55692         (ctan_test_tonearest): Likewise.
55693         (ctan_test_towardzero): Likewise.
55694         (ctan_test_downward): Likewise.
55695         (ctan_test_upward): Likewise.
55696         (ctanh_test): Likewise.
55697         (ctanh_test_tonearest): Likewise.
55698         (ctanh_test_towardzero): Likewise.
55699         (ctanh_test_downward): Likewise.
55700         (ctanh_test_upward): Likewise.
55701         (erf_test): Likewise.
55702         (erfc_test): Likewise.
55703         (exp_test): Likewise.
55704         (exp_test_tonearest): Likewise.
55705         (exp_test_towardzero): Likewise.
55706         (exp_test_downward): Likewise.
55707         (exp_test_upward): Likewise.
55708         (exp10_test): Likewise.
55709         (exp2_test): Likewise.
55710         (expm1_test): Likewise.
55711         (fmod_test): Likewise.
55712         (gamma_test): Likewise.
55713         (hypot_test): Likewise.
55714         (j0_test): Likewise.
55715         (j1_test): Likewise.
55716         (jn_test): Likewise.
55717         (lgamma_test): Likewise.
55718         (log_test): Likewise.
55719         (log10_test): Likewise.
55720         (log1p_test): Likewise.
55721         (log2_test): Likewise.
55722         (logb_test_downward): Likewise.
55723         (pow_test): Likewise.
55724         (pow_test_tonearest): Likewise.
55725         (pow_test_towardzero): Likewise.
55726         (pow_test_downward): Likewise.
55727         (pow_test_upward): Likewise.
55728         (remainder_test): Likewise.
55729         (remquo_test): Likewise.
55730         (sin_test): Likewise.
55731         (sin_test_tonearest): Likewise.
55732         (sin_test_towardzero): Likewise.
55733         (sin_test_downward): Likewise.
55734         (sin_test_upward): Likewise.
55735         (sincos_test): Likewise.
55736         (sinh_test): Likewise.
55737         (sinh_test_tonearest): Likewise.
55738         (sinh_test_towardzero): Likewise.
55739         (sinh_test_downward): Likewise.
55740         (sinh_test_upward): Likewise.
55741         (sqrt_test): Likewise.
55742         (tan_test): Likewise.
55743         (tan_test_tonearest): Likewise.
55744         (tan_test_towardzero): Likewise.
55745         (tan_test_downward): Likewise.
55746         (tan_test_upward): Likewise.
55747         (tanh_test): Likewise.
55748         (tgamma_test): Likewise.
55749         (y0_test): Likewise.
55750         (y1_test): Likewise.
55751         (yn_test): Likewise.
55753         * math/gen-libm-test.pl (adjust_arg): Remove function.
55754         (special_function): Remove argument $in_func.  Only handle
55755         generating output for tables of tests, not inside functions.
55756         (parse_args): Likewise.
55757         (generate_testfile): Remove variable $in_func.  Update call to
55758         parse_args.
55759         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
55760         (MINUS_ZERO_INIT): Rename macro to minus_zero.
55761         (PLUS_INFTY_INIT): Rename macro to plus_infty.
55762         (MINUS_INFTY_INIT): Rename macro to minus_infty.
55763         (QNAN_VALUE_INIT): Rename macro to qnan_value.
55764         (MAX_VALUE_INIT): Rename macro to max_value.
55765         (MIN_VALUE_INIT): Rename macro to min_value.
55766         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
55767         (plus_zero): Remove variable.
55768         (minus_zero): Likewise.
55769         (plus_infty): Likewise.
55770         (minus_infty): Likewise.
55771         (qnan_value): Likewise.
55772         (max_value): Likewise.
55773         (min_value): Likewise.
55774         (min_subnorm_value): Likewise.
55776 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55778         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
55779         uint64_t or uint32_t usage.
55780         * crypt/sha256-block.c: Likewise.
55781         * crypt/sha256-crypt.c: Likewise.
55782         * crypt/sha256.c: Likewise.
55783         * crypt/sha512-block.c: Likewise.
55784         * crypt/sha512-crypt.c: Likewise.
55785         * crypt/sha512.c: Likewise.
55786         * debug/backtrace-tst.c: Likewise.
55787         * debug/pcprofiledump.c: Likewise.
55788         * elf/cache.c: Likewise.
55789         * elf/dl-cache.c: Likewise.
55790         * elf/dl-misc.c: Likewise.
55791         * elf/dl-profile.c: Likewise.
55792         * elf/dl-support.c: Likewise.
55793         * elf/ldconfig.c: Likewise.
55794         * elf/sprof.c: Likewise.
55795         * iconv/dummy-repertoire.c: Likewise.
55796         * iconv/iconv_charmap.c: Likewise.
55797         * iconv/skeleton.c: Likewise.
55798         * iconvdata/8bit-generic.c: Likewise.
55799         * iconvdata/cp737.h: Likewise.
55800         * iconvdata/cp775.h: Likewise.
55801         * iconvdata/ibm1008.h: Likewise.
55802         * iconvdata/ibm1025.h: Likewise.
55803         * iconvdata/ibm1046.h: Likewise.
55804         * iconvdata/ibm1097.h: Likewise.
55805         * iconvdata/ibm1112.h: Likewise.
55806         * iconvdata/ibm1122.h: Likewise.
55807         * iconvdata/ibm1123.h: Likewise.
55808         * iconvdata/ibm1124.h: Likewise.
55809         * iconvdata/ibm1129.h: Likewise.
55810         * iconvdata/ibm1130.h: Likewise.
55811         * iconvdata/ibm1132.h: Likewise.
55812         * iconvdata/ibm1133.h: Likewise.
55813         * iconvdata/ibm1137.h: Likewise.
55814         * iconvdata/ibm1140.h: Likewise.
55815         * iconvdata/ibm1141.h: Likewise.
55816         * iconvdata/ibm1142.h: Likewise.
55817         * iconvdata/ibm1143.h: Likewise.
55818         * iconvdata/ibm1144.h: Likewise.
55819         * iconvdata/ibm1145.h: Likewise.
55820         * iconvdata/ibm1146.h: Likewise.
55821         * iconvdata/ibm1147.h: Likewise.
55822         * iconvdata/ibm1148.h: Likewise.
55823         * iconvdata/ibm1149.h: Likewise.
55824         * iconvdata/ibm1153.h: Likewise.
55825         * iconvdata/ibm1154.h: Likewise.
55826         * iconvdata/ibm1155.h: Likewise.
55827         * iconvdata/ibm1156.h: Likewise.
55828         * iconvdata/ibm1157.h: Likewise.
55829         * iconvdata/ibm1158.h: Likewise.
55830         * iconvdata/ibm1160.h: Likewise.
55831         * iconvdata/ibm1161.h: Likewise.
55832         * iconvdata/ibm1162.h: Likewise.
55833         * iconvdata/ibm1163.h: Likewise.
55834         * iconvdata/ibm1164.h: Likewise.
55835         * iconvdata/ibm1166.h: Likewise.
55836         * iconvdata/ibm1167.h: Likewise.
55837         * iconvdata/ibm12712.h: Likewise.
55838         * iconvdata/ibm1390.h: Likewise.
55839         * iconvdata/ibm1399.h: Likewise.
55840         * iconvdata/ibm16804.h: Likewise.
55841         * iconvdata/ibm4517.h: Likewise.
55842         * iconvdata/ibm4899.h: Likewise.
55843         * iconvdata/ibm4909.h: Likewise.
55844         * iconvdata/ibm4971.h: Likewise.
55845         * iconvdata/ibm5347.h: Likewise.
55846         * iconvdata/ibm803.h: Likewise.
55847         * iconvdata/ibm856.h: Likewise.
55848         * iconvdata/ibm901.h: Likewise.
55849         * iconvdata/ibm902.h: Likewise.
55850         * iconvdata/ibm9030.h: Likewise.
55851         * iconvdata/ibm9066.h: Likewise.
55852         * iconvdata/ibm921.h: Likewise.
55853         * iconvdata/ibm922.h: Likewise.
55854         * iconvdata/ibm9448.h: Likewise.
55855         * iconvdata/isiri-3342.h: Likewise.
55856         * iconvdata/jis0201.h: Likewise.
55857         * include/link.h: Likewise.
55858         * include/netdb.h: Likewise.
55859         * inet/check_native.c: Likewise.
55860         * inet/check_pf.c: Likewise.
55861         * inet/getipv4sourcefilter.c: Likewise.
55862         * inet/getnameinfo.c: Likewise.
55863         * inet/getsourcefilter.c: Likewise.
55864         * inet/htonl.c: Likewise.
55865         * inet/setipv4sourcefilter.c: Likewise.
55866         * inet/setsourcefilter.c: Likewise.
55867         * inet/test-inet6_opt.c: Likewise.
55868         * inet/tst-network.c: Likewise.
55869         * locale/C-collate.c: Likewise.
55870         * locale/C-ctype.c: Likewise.
55871         * locale/C-time.c: Likewise.
55872         * locale/C-translit.h: Likewise.
55873         * locale/loadarchive.c: Likewise.
55874         * locale/programs/3level.h: Likewise.
55875         * locale/programs/charmap.c: Likewise.
55876         * locale/programs/charmap.h: Likewise.
55877         * locale/programs/ld-address.c: Likewise.
55878         * locale/programs/ld-collate.c: Likewise.
55879         * locale/programs/ld-ctype.c: Likewise.
55880         * locale/programs/ld-identification.c: Likewise.
55881         * locale/programs/ld-measurement.c: Likewise.
55882         * locale/programs/ld-messages.c: Likewise.
55883         * locale/programs/ld-monetary.c: Likewise.
55884         * locale/programs/ld-name.c: Likewise.
55885         * locale/programs/ld-numeric.c: Likewise.
55886         * locale/programs/ld-paper.c: Likewise.
55887         * locale/programs/ld-telephone.c: Likewise.
55888         * locale/programs/ld-time.c: Likewise.
55889         * locale/programs/linereader.c: Likewise.
55890         * locale/programs/locale.c: Likewise.
55891         * locale/programs/locarchive.c: Likewise.
55892         * locale/programs/locfile.h: Likewise.
55893         * locale/programs/repertoire.c: Likewise.
55894         * locale/programs/simple-hash.c: Likewise.
55895         * locale/programs/simple-hash.h: Likewise.
55896         * malloc/memusage.c: Likewise.
55897         * malloc/memusagestat.c: Likewise.
55898         * nis/nis_defaults.c: Likewise.
55899         * nis/nis_hash.c: Likewise.
55900         * nis/nis_print.c: Likewise.
55901         * nis/nis_xdr.c: Likewise.
55902         * nscd/connections.c: Likewise.
55903         * nscd/hstcache.c: Likewise.
55904         * nscd/nscd_gethst_r.c: Likewise.
55905         * nscd/nscd_getserv_r.c: Likewise.
55906         * nscd/nscd_helper.c: Likewise.
55907         * nscd/servicescache.c: Likewise.
55908         * nss/makedb.c: Likewise.
55909         * nss/nss_db/db-XXX.c: Likewise.
55910         * nss/nss_db/db-initgroups.c: Likewise.
55911         * nss/nss_db/db-netgrp.c: Likewise.
55912         * nss/nss_files/files-network.c: Likewise.
55913         * nss/nss_files/files-parse.c: Likewise.
55914         * posix/bug-regex5.c: Likewise.
55915         * posix/fnmatch_loop.c: Likewise.
55916         * posix/regcomp.c: Likewise.
55917         * posix/regexec.c: Likewise.
55918         * posix/tst-rfc3484-2.c: Likewise.
55919         * posix/tst-rfc3484-3.c: Likewise.
55920         * posix/tst-rfc3484.c: Likewise.
55921         * resolv/nss_dns/dns-canon.c: Likewise.
55922         * resolv/nss_dns/dns-network.c: Likewise.
55923         * resolv/res_init.c: Likewise.
55924         * resolv/res_mkquery.c: Likewise.
55925         * resolv/tst-aton.c: Likewise.
55926         * stdlib/cxa_atexit.c: Likewise.
55927         * stdlib/cxa_finalize.c: Likewise.
55928         * stdlib/gen-fpioconst.c: Likewise.
55929         * stdlib/strtol_l.c: Likewise.
55930         * string/tst-endian.c: Likewise.
55931         * sunrpc/auth_des.c: Likewise.
55932         * sunrpc/clnt_udp.c: Likewise.
55933         * sunrpc/rtime.c: Likewise.
55934         * sunrpc/svcauth_des.c: Likewise.
55935         * sunrpc/xdr.c: Likewise.
55936         * sunrpc/xdr_intXX_t.c: Likewise.
55937         * sunrpc/xdr_rec.c: Likewise.
55938         * sysdeps/generic/ldconfig.h: Likewise.
55939         * sysdeps/generic/ldsodefs.h: Likewise.
55940         * sysdeps/generic/memusage.h: Likewise.
55941         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
55942         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
55943         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
55944         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
55945         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55946         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55947         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
55948         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
55949         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55950         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
55951         * sysdeps/posix/getaddrinfo.c: Likewise.
55952         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55953         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55954         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
55955         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55956         * sysdeps/powerpc/test-gettimebase.c: Likewise.
55957         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
55958         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
55959         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
55960         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
55961         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
55962         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55963         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55964         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
55965         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
55966         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
55967         * sysdeps/x86_64/dl-tls.h: Likewise.
55968         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
55969         * time/alt_digit.c: Likewise.
55970         * time/era.c: Likewise.
55971         * wcsmbs/tst-c16c32-1.c: Likewise.
55973 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
55975         * math/libm-test.inc (struct test_sincos_data): New type.
55976         (RUN_TEST_LOOP_sincos): New macro.
55977         (sincos_test_data): New variable.
55978         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
55980 2013-05-16  Richard Henderson  <rth@redhat.com>
55982         * math/atest-exp2.c (LIMB64): New macro.
55983         (CONSTSZ): New macro.
55984         (mp_exp1, mp_exp_m1, mp_log2): New variables.
55985         (hexdig): Move ...
55986         (print_mpn_fp): ... to function scope.
55987         (read_mpn_hex): Remove.
55988         (get_log2): Remove.
55989         (exp2_mpn): Use mp_log2.
55990         (main): Use mp_exp1.
55992 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
55994         * math/libm-test.inc: Remove comment about not testing "inexact"
55995         exceptions.
55996         (INEXACT_EXCEPTION): New macro.
55997         (NO_INEXACT_EXCEPTION): Likewise.
55998         (INVALID_EXCEPTION_OK): Update value.
55999         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56000         (OVERFLOW_EXCEPTION_OK): Likewise.
56001         (UNDERFLOW_EXCEPTION_OK): Likewise.
56002         (IGNORE_ZERO_INF_SIGN): Likewise.
56003         (ERRNO_UNCHANGED): Likewise.
56004         (ERRNO_EDOM): Likewise.
56005         (ERRNO_ERANGE): Likewise.
56006         (test_exceptions): Handle testing "inexact" exceptions.
56007         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
56008         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
56009         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
56010         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
56011         INEXACT_EXCEPTION.
56012         (rint_towardzero_test_data): Likewise.
56013         (rint_downward_test_data): Likewise.
56014         (rint_upward_test_data): Likewise.
56016         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
56017         with OVERFLOW_EXCEPTION.
56018         (exp10_test_data): Likewise.
56019         (exp2_test_data): Likewise.
56020         (expm1_test_data): Likewise.
56021         (lgamma_test_data): Likewise.
56022         (pow_test_data): Likewise.
56023         (tgamma_test_data): Likewise.
56024         (yn_test_data): Remove duplicate test of overflow.
56026         * math/libm-test.inc (struct test_cc_c_data): New type.
56027         (RUN_TEST_LOOP_cc_c): New macro.
56028         (cpow_test_data): New variable.
56029         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
56031         * math/libm-test.inc (struct test_f_L_data): New type.
56032         (RUN_TEST_LOOP_f_L): New macro.
56033         (llrint_test_data): New variable.
56034         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
56035         (llrint_tonearest_test_data): New variable.
56036         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
56037         (llrint_towardzero_test_data): New variable.
56038         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
56039         (llrint_downward_test_data): New variable.
56040         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
56041         (llrint_upward_test_data): New variable.
56042         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
56043         (llround_test_data): New variable.
56044         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
56046 2013-05-13  Peter Collingbourne  <pcc@google.com>
56048         * math/atest-exp2.c (get_log2): Remove const attribute.
56050 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
56052         * math/libm-test.inc (struct test_f_l_data): New type.
56053         (RUN_TEST_LOOP_f_l): New macro.
56054         (lrint_test_data): New variable.
56055         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
56056         (lrint_tonearest_test_data): New variable.
56057         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
56058         (lrint_towardzero_test_data): New variable.
56059         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
56060         (lrint_downward_test_data): New variable.
56061         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
56062         (lrint_upward_test_data): New variable.
56063         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
56064         (lround_test_data): New variable.
56065         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
56067 2013-05-15  Peter Collingbourne  <pcc@google.com>
56069         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
56070         (EXTRACT_WORDS64) Use where appropriate.
56071         (INSERT_WORDS64) Likewise.
56073         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
56074         constraints with x constraints.
56075         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
56077         * malloc/obstack.c (_obstack_compat): Add initializer.
56079 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
56081         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
56082         si_trapno and add si_addr_lsb to _sifields.sigfault.
56083         (si_trapno): Remove macro.
56084         (si_addr_lsb): Define new macro.
56085         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
56087 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
56089         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
56090         instead of TEST_f_l.
56091         (llrint_test_tonearest): Likewise.
56092         (llrint_test_towardzero): Likewise.
56093         (llrint_test_downward): Likewise.
56094         (llrint_test_upward): Likewise.
56095         (llround_test): Likewise.
56097         * math/libm-test.inc (struct test_f_i_data): Add comment.
56098         (RUN_TEST_LOOP_f_b): New macro.
56099         (RUN_TEST_LOOP_f_b_tg): Likewise.
56100         (finite_test_data): New variable.
56101         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
56102         (isfinite_test_data): New variable.
56103         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56104         (isinf_test_data): New variable.
56105         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56106         (isnan_test_data): New variable.
56107         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56108         (isnormal_test_data): New variable.
56109         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56110         (issignaling_test_data): New variable.
56111         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56112         (signbit_test_data): New variable.
56113         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56115         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
56116         with INVALID_EXCEPTION.
56117         (acosh_test_data): Likewise.
56118         (asin_test_data): Likewise.
56119         (atanh_test_data): Likewise.
56120         (fmod_test_data): Likewise.
56121         (log_test_data): Likewise.
56122         (log10_test_data): Likewise.
56123         (log2_test_data): Likewise.
56124         (pow_test_data): Likewise.
56125         (sqrt_test_data): Likewise.
56126         (y0_test_data): Likewise.
56127         (y1_test_data): Likewise.
56128         (yn_test_data): Likewise.
56130         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
56131         function contents.
56133         * math/libm-test.inc (struct test_ff_i_data): New type.
56134         (RUN_TEST_LOOP_ff_i_tg): New macro.
56135         (isgreater_test_data): New variable.
56136         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56137         (isgreaterequal_test_data): New variable.
56138         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56139         (isless_test_data): New variable.
56140         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56141         (islessequal_test_data): New variable.
56142         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56143         (islessgreater_test_data): New variable.
56144         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56145         (isunordered_test_data): New variable.
56146         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56148 2013-05-14  David S. Miller  <davem@davemloft.net>
56150         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56152 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
56154         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
56156         * math/libm-test.inc (struct test_fF_f1_data): Change type of
56157         extra_test to int.
56158         (struct test_f_i_data): Change type of max_ulp to int.
56160         * math/libm-test.inc (test_ffI_f1_data): New type.
56161         (RUN_TEST_LOOP_ffI_f1): New macro.
56162         (remquo_test_data): New variable.
56163         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
56165         * setjmp/tst-setjmp-fp.c: New file.
56166         * setjmp/Makefile (tests): Add tst-setjmp-fp.
56167         (link-libm): New variable.
56168         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
56170         * math/libm-test.inc (struct test_f_i_data): New type.
56171         (RUN_TEST_LOOP_f_i): New macro.
56172         (RUN_TEST_LOOP_f_i_tg): Likewise.
56173         (fpclassify_test_data): New variable.
56174         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
56175         (ilogb_test_data): New variable.
56176         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
56178         * math/libm-test.inc (scalbln_test): Correct function name in END
56179         call.
56181         * math/libm-test.inc (struct test_f_f1_data): Add comment.
56182         (RUN_TEST_LOOP_fI_f1): New macro.
56183         (frexp_test_data): New variable.
56184         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
56186         * math/libm-test.inc (struct test_fF_f1_data): New type.
56187         (RUN_TEST_LOOP_fF_f1): New macro.
56188         (modf_test_data): New variable.
56189         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
56191         * math/libm-test.inc (struct test_f_f1_data): New type.
56192         (RUN_TEST_LOOP_f_f1): New macro.
56193         (gamma_test_data): New variable.
56194         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
56195         (lgamma_test_data): New variable.
56196         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
56198 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
56200         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
56201         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
56202         (main): Comment "tls" pseudo-hwcap.
56204 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
56206         * math/libm-test.inc (struct test_fl_f_data): New type.
56207         (RUN_TEST_LOOP_fl_f): New variable.
56208         (scalbln_test_data): New variable.
56209         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
56211         * math/libm-test.inc (struct test_fi_f_data): New type.
56212         (RUN_TEST_LOOP_fi_f): New macro.
56213         (ldexp_test_data): New variable.
56214         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
56215         (scalbn_test_data): New variable.
56216         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
56218         * math/libm-test.inc (struct test_c_f_data): New type.
56219         (RUN_TEST_LOOP_c_f): New macro.
56220         (cabs_test_data): New variable.
56221         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
56222         (carg_test_data): New variable.
56223         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
56224         (cimag_test_data): New variable.
56225         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
56226         (creal_test_data): New variable.
56227         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
56229         * math/libm-test.inc (struct test_if_f_data): New type.
56230         (RUN_TEST_LOOP_if_f): New macro.
56231         (jn_test_data): New variable.
56232         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
56233         (yn_test_data): New variable.
56234         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
56236         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
56238 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56240         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
56241         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
56243 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
56245         * benchtests/Makefile (CPPFLAGS-nonlib): Add
56246         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
56247         (bench-deps): Add bench-timing.h.
56248         * benchtests-bench-skeleton.c: Include bench-timing.h.
56249         (main): Use TIMING_* macros instead of clock_gettime.
56250         * benchtests/bench-timing.h: New file.
56252         [BZ #14582]
56253         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
56254         Renamed from _LIB_VERSION.
56255         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
56257 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
56259         * math/libm-test.inc (struct test_fff_f_data): New type.
56260         (RUN_TEST_LOOP_fff_f): New macro.
56261         (fma_test_data): New variable.
56262         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
56263         (fma_towardzero_test_data): New variable.
56264         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
56265         (fma_downward_test_data): New variable.
56266         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
56267         (fma_upward_test_data): New variable.
56268         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
56270         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
56271         (struct test_c_c_data): New type.
56272         (RUN_TEST_LOOP_c_c): New macro.
56273         (cacos_test_data): New variable.
56274         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
56275         (cacosh_test_data): New variable.
56276         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
56277         (casin_test_data): New variable.
56278         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
56279         (casinh_test_data): New variable.
56280         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
56281         (catan_test_data): New variable.
56282         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
56283         (catanh_test_data): New variable.
56284         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
56285         (ccos_test_data): New variable.
56286         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
56287         (ccosh_test_data): New variable.
56288         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
56289         (cexp_test_data): New variable.
56290         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
56291         (clog_test_data): New variable.
56292         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
56293         (clog10_test_data): New variable.
56294         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
56295         (conj_test_data): New variable.
56296         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
56297         (cproj_test_data): New variable.
56298         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
56299         (csin_test_data): New variable.
56300         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
56301         (csinh_test_data): New variable.
56302         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
56303         (csqrt_test_data): New variable.
56304         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
56305         (ctan_test_data): New variable.
56306         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
56307         (ctan_tonearest_test_data): New variable.
56308         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
56309         (ctan_towardzero_test_data): New variable.
56310         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
56311         (ctan_downward_test_data): New variable.
56312         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
56313         (ctan_upward_test_data): New variable.
56314         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
56315         (ctanh_test_data): New variable.
56316         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
56317         (ctanh_tonearest_test_data): New variable.
56318         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
56319         (ctanh_towardzero_test_data): New variable.
56320         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
56321         (ctanh_downward_test_data): New variable.
56322         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
56323         (ctanh_upward_test_data): New variable.
56324         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
56325         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
56326         of BUILD_COMPLEX.
56328         * math/libm-test.inc (struct test_ff_f_data): New type.
56329         (struct test_ff_f_data_nexttoward): Likewise.
56330         (RUN_TEST_LOOP_2_f): New macro.
56331         (RUN_TEST_LOOP_ff_f): Likewise.
56332         (atan2_test_data): New variable.
56333         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
56334         (copysign_test_data): New variable.
56335         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
56336         (fdim_test_data): New variable.
56337         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
56338         (fmax_test_data): New variable.
56339         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
56340         (fmin_test_data): New variable.
56341         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
56342         (fmod_test_data): New variable.
56343         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
56344         (hypot_test_data): New variable.
56345         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
56346         (nextafter_test_data): New variable.
56347         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
56348         (nexttoward_test_data): New variable.
56349         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
56350         (pow_test_data): New variable.
56351         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
56352         (pow_tonearest_test_data): New variable.
56353         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
56354         (pow_towardzero_test_data): New variable.
56355         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
56356         (pow_downward_test_data): New variable.
56357         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
56358         (pow_upward_test_data): New variable.
56359         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
56360         (remainder_test_data): New variable.
56361         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
56362         (scalb_test_data): New variable.
56363         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
56364         * sysdeps/i386/fpu/libm-test-ulps: Update.
56366 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
56368         * math/libm-test.inc (fma_test): Use max_value instead of local
56369         variable fltmax.
56370         (nextafter_test): Likewise.
56372         * math/libm-test.inc (acos_towardzero_test_data): New variable.
56373         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56374         (acos_downward_test_data): New variable.
56375         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56376         (acos_upward_test_data): New variable.
56377         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56378         (acosh_test_data): New variable.
56379         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
56380         (asin_test_data): New variable.
56381         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
56382         (asin_tonearest_test_data): New variable.
56383         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56384         (asin_towardzero_test_data): New variable.
56385         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56386         (asin_downward_test_data): New variable.
56387         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56388         (asin_upward_test_data): New variable.
56389         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56390         (asinh_test_data): New variable.
56391         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
56392         (atan_test_data): New variable.
56393         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
56394         (atanh_test_data): New variable.
56395         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
56396         (cbrt_test_data): New variable.
56397         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
56398         (ceil_test_data): New variable.
56399         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
56400         (cos_test_data): New variable.
56401         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
56402         (cos_tonearest_test_data): New variable.
56403         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56404         (cos_towardzero_test_data): New variable.
56405         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56406         (cos_downward_test_data): New variable.
56407         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56408         (cos_upward_test_data): New variable.
56409         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56410         (cosh_test_data): New variable.
56411         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
56412         (cosh_tonearest_test_data): New variable.
56413         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56414         (cosh_towardzero_test_data): New variable.
56415         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56416         (cosh_downward_test_data): New variable.
56417         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56418         (cosh_upward_test_data): New variable.
56419         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56420         (erf_test_data): New variable.
56421         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
56422         (erfc_test_data): New variable.
56423         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
56424         (exp_test_data): New variable.
56425         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
56426         (exp_tonearest_test_data): New variable.
56427         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56428         (exp_towardzero_test_data): New variable.
56429         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56430         (exp_downward_test_data): New variable.
56431         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56432         (exp_upward_test_data): New variable.
56433         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56434         (exp10_test_data): New variable.
56435         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
56436         (exp2_test_data): New variable.
56437         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
56438         (expm1_test_data): New variable.
56439         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
56440         (fabs_test_data): New variable.
56441         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
56442         (floor_test_data): New variable.
56443         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
56444         (j0_test_data): New variable.
56445         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
56446         (j1_test_data): New variable.
56447         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
56448         (log_test_data): New variable.
56449         (log_test): Run tests with RUN_TEST_LOOP_f_f.
56450         (log10_test_data): New variable.
56451         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
56452         (log1p_test_data): New variable.
56453         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
56454         (log2_test_data): New variable.
56455         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
56456         (logb_test_data): New variable.
56457         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
56458         (logb_downward_test_data): New variable.
56459         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56460         (nearbyint_test_data): New variable.
56461         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
56462         (rint_test_data): New variable.
56463         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
56464         (rint_tonearest_test_data): New variable.
56465         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56466         (rint_towardzero_test_data): New variable.
56467         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56468         (rint_downward_test_data): New variable.
56469         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56470         (rint_upward_test_data): New variable.
56471         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56472         (round_test_data): New variable.
56473         (round_test): Run tests with RUN_TEST_LOOP_f_f.
56474         (sin_test_data): New variable.
56475         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
56476         (sin_tonearest_test_data): New variable.
56477         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56478         (sin_towardzero_test_data): New variable.
56479         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56480         (sin_downward_test_data): New variable.
56481         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56482         (sin_upward_test_data): New variable.
56483         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56484         (sinh_test_data): New variable.
56485         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
56486         (sinh_tonearest_test_data): New variable.
56487         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56488         (sinh_towardzero_test_data): New variable.
56489         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56490         (sinh_downward_test_data): New variable.
56491         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56492         (sinh_upward_test_data): New variable.
56493         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56494         (sqrt_test_data): New variable.
56495         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
56496         (tan_test_data): New variable.
56497         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
56498         (tan_tonearest_test_data): New variable.
56499         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56500         (tan_towardzero_test_data): New variable.
56501         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56502         (tan_downward_test_data): New variable.
56503         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56504         (tan_upward_test_data): New variable.
56505         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56506         (tanh_test_data): New variable.
56507         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
56508         (tgamma_test_data): New variable.
56509         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
56510         (trunc_test_data): New variable.
56511         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
56512         (y0_test_data): New variable.
56513         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
56514         (y1_test_data): New variable.
56515         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
56516         (significand_test_data): New variable.
56517         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
56519 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
56521         [BZ #12387]
56522         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
56524 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56526         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
56528 2013-05-10  Andreas Jaeger  <aj@suse.de>
56530         [BZ #15448]
56531         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
56532         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
56534 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
56536         * math/gen-libm-test.pl (adjust_arg): New function.
56537         (special_functions): Handle generating output in both functions
56538         and arrays.
56539         (parse_args): Likewise.
56540         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
56541         $in_func argument to parse_args.
56542         * math/libm-test.inc (struct test_f_f_data): New type.
56543         (IF_ROUND_INIT_): New macro.
56544         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
56545         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
56546         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
56547         (IF_ROUND_INIT_FE_UPWARD): Likewise.
56548         (ROUND_RESTORE_): Likewise.
56549         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
56550         (ROUND_RESTORE_FE_TONEAREST): Likewise.
56551         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
56552         (ROUND_RESTORE_FE_UPWARD): Likewise.
56553         (RUN_TEST_LOOP_f_f): New macro.
56554         (acos_test_data): New variable.
56555         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
56556         (acos_tonearest_test_data): New variable.
56557         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56559 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56561         * benchtests/bench-skeleton.c (startup): Fix coding style.
56563 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
56565         [BZ #6809]
56566         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
56567         negative infinity argument.
56568         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
56569         negative infinity argument.
56570         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
56571         negative infinity argument.
56572         * math/libm-test.inc (tgamma_test): Expect errno to be set for
56573         domain errors.
56575 2013-05-10  Florian Weimer  <fweimer@redhat.com>
56577         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
56578         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
56579         * iconv/iconv_prog.c (main): Likewise.
56580         * locale/programs/charmap-dir.c (charmap_readdir)
56581         (fopen_uncompressed): Likewise.
56582         * locale/programs/locfile.c (siblings_uncached)
56583         (write_locale_data): Use lstat64 instead of lstat.
56584         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
56585         stat.
56587 2013-05-10  Andreas Jaeger  <aj@suse.de>
56589         [BZ #15395]
56590         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
56591         localization.
56592         Include <locale.h>.
56594 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
56596         * elf/dl-close.c (_dl_close_worker): Add comments.
56598 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
56600         [BZ #15359]
56601         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
56602         high part of pi/2.
56603         (__ieee754_rem_pio2l): Update comments.
56605         [BZ #15429]
56606         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
56607         high part of pi/2.
56608         (__ieee754_rem_pio2l): Update comments.
56610         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
56611         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
56613         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
56614         M_PI_4l.
56616         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
56617         (M_PI_34_LOG10El): Likewise.
56618         (M_PI2_LOG10El): Likewise.
56619         (M_PI4_LOG10El): Likewise.
56620         (M_PI_LOG10El): Likewise.
56622 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56624         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56626 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
56628         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
56629         (MINUS_ZERO_INIT): Likewise.
56630         (PLUS_INFTY_INIT): Likewise.
56631         (MINUS_INFTY_INIT): Likewise.
56632         (QNAN_VALUE_INIT): Likewise.
56633         (MAX_VALUE_INIT): Likewise.
56634         (MIN_VALUE_INIT): Likewise.
56635         (MIN_SUBNORM_VALUE_INIT): Likewise.
56636         (plus_zero): Initialize with PLUS_ZERO_INIT.
56637         (minus_zero): Initialize with MINUS_ZERO_INIT.
56638         (plus_infty): Initialize with PLUS_INFTY_INIT.
56639         (minus_infty): Initialize with MINUS_INFTY_INIT.
56640         (qnan_value): Initialize with QNAN_VALUE_INIT.
56641         (max_value): Initialize with MAX_VALUE_INIT.
56642         (min_value): Initialize with MIN_VALUE_INIT.
56643         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
56645         * math/libm-test.inc (RUN_TEST_if_f): New macro.
56646         (jn_test): Use TEST_if_f instead of TEST_ff_f.
56647         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
56648         (yn_test): Use TEST_if_f instead of TEST_ff_f.
56650         * math/libm-test.inc (RUN_TEST_f_f): New macro.
56651         (RUN_TEST_2_f): Likewise.
56652         (RUN_TEST_ff_f): Likewise.
56653         (RUN_TEST_fi_f): Likewise.
56654         (RUN_TEST_fl_f): Likewise.
56655         (RUN_TEST_fff_f): Likewise.
56656         (RUN_TEST_c_f): Likewise.
56657         (RUN_TEST_f_f1): Likewise.
56658         (RUN_TEST_fF_f1): Likewise.
56659         (RUN_TEST_fI_f1): Likewise.
56660         (RUN_TEST_ffI_f1): Likewise.
56661         (RUN_TEST_c_c): Likewise.
56662         (RUN_TEST_cc_c): Likewise.
56663         (RUN_TEST_f_i): Likewise.
56664         (RUN_TEST_f_i_tg): Likewise.
56665         (RUN_TEST_ff_i_tg): Likewise.
56666         (RUN_TEST_f_b): Likewise.
56667         (RUN_TEST_f_b_tg): Likewise.
56668         (RUN_TEST_f_l): Likewise.
56669         (RUN_TEST_f_L): Likewise.
56670         (RUN_TEST_sincos): Likewise.
56671         * math/gen-libm-test.pl (new_test): Take new argument to indicate
56672         whether to show exceptions.  Do not include ");\n" in return
56673         value.
56674         (special_functions): Output call to RUN_TEST_sincos instead of
56675         check_float calls.  Update calls to new_test.
56676         (parse_args): Output call to single RUN_TEST_* macro instead of
56677         check_* calls and other assignments.  Update calls to new_test.
56679         [BZ #2546]
56680         [BZ #2560]
56681         [BZ #5159]
56682         [BZ #15426]
56683         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
56684         input to result for tgamma overflow.
56685         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
56686         (gamma_coeff): New variable.
56687         (NCOEFF): New macro.
56688         (gamma_positive): New function.
56689         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
56690         underflow here.  Use gamma_positive instead of exp (lgamma) for
56691         other arguments.
56692         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
56693         (gamma_coeff): New variable.
56694         (NCOEFF): New macro.
56695         (gammaf_positive): New function.
56696         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
56697         underflow here.  Use gamma_positive instead of exp (lgamma) for
56698         other arguments.
56699         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
56700         (gamma_coeff): New variable.
56701         (NCOEFF): New macro.
56702         (gammal_positive): New function.
56703         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
56704         underflow here.  Use gamma_positive instead of exp (lgamma) for
56705         other arguments.
56706         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
56707         (gamma_coeff): New variable.
56708         (NCOEFF): New macro.
56709         (gammal_positive): New function.
56710         (__ieee754_gammal_r): Handle positive infinity, overflow and
56711         underflow here.  Handle NaN the same as positive infinity.  Remove
56712         check x < 0xffffffff for negative integers.  Use gamma_positive
56713         instead of exp (lgamma) for other arguments.
56714         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
56715         (gamma_coeff): New variable.
56716         (NCOEFF): New macro.
56717         (gammal_positive): New function.
56718         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
56719         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
56720         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
56721         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
56722         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
56723         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
56724         * sysdeps/generic/math_private.h (__gamma_productf): New
56725         prototype.
56726         (__gamma_product): Likewise.
56727         (__gamma_productl): Likewise.
56728         * math/Makefile (libm-calls): Add gamma_product.
56729         * math/libm-test.inc (tgamma_test): Add more tests.
56730         * sysdeps/i386/fpu/libm-test-ulps: Update.
56731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56733 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
56735         * benchtests/bench-skeleton.c (main): Preheat CPU.
56737 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
56739         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
56741 2013-05-07  Roland McGrath  <roland@hack.frob.com>
56743         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
56744         and _dl_skip_args_internal.
56746 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
56748         * manual/message.texi (Message Translation): Talk about users.
56749         Message to key mapping impacts design.
56751 2013-05-06  Roland McGrath  <roland@hack.frob.com>
56753         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
56755         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
56757         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
56758         * sysdeps/wordsize-64/glob64.c: ... here.
56760         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
56761         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
56762         New macros.
56764         * debug/getlogin_r_chk.c: Moved to ...
56765         * login/getlogin_r_chk.c: ... here.
56766         * debug/Makefile (routines): Move getlogin_r_chk to ...
56767         * login/Makefile (routines): ... here.
56768         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
56769         * login/Versions (libc: GLIBC_2.4): ... here.
56771         * io/poll.c (__poll): Renamed from poll.
56772         Add libc_hidden_def.
56773         (poll): Define as weak alias.
56775         * debug/ptsname_r_chk.c: Moved to ...
56776         * login/ptsname_r_chk.c: ... here.
56777         * debug/Makefile (routines): Move ptsname_r_chk to ...
56778         * login/Makefile (routines): ... here.
56779         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
56780         * login/Versions (libc: GLIBC_2.4): ... here.
56782         * posix/getlogin.c: Moved to ...
56783         * login/getlogin.c: ... here.
56784         * posix/getlogin_r.c: Moved to ...
56785         * login/getlogin_r.c: ... here.
56786         * posix/getlogin_r.c: Moved to ...
56787         * login/getlogin_r.c: ... here.
56788         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
56789         * login/Makefile (routines): ... here.
56790         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
56791         * login/Versions (libc: GLIBC_2.0): ... here.
56793         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
56794         (setrlimit): Define as weak alias.
56796         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
56797         Call __ names for open, ftruncate, and close.
56798         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
56799         (truncate): Define as weak alias.
56801 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
56803         * math/gen-libm-test.pl (parse_args): Initialize x before each
56804         test of frexp, modf and remquo.
56806         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
56807         test signgam value.
56809 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56811         [BZ #15418]
56812         [BZ #15419]
56813         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
56814         internal tests.
56815         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56817 2013-05-06  Roland McGrath  <roland@hack.frob.com>
56819         * elf/dl-writev.h: New file.
56820         * elf/dl-misc.c: Include it.
56821         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
56822         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
56824 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
56826         * math/libm-test.inc (noXFails): Remove variable.
56827         (noXPasses): Likewise.
56828         (BUILD_COMPLEX_INT): Remove macro.
56829         (print_screen): Remove xfail argument.
56830         (print_screen_max_error): Likewise.
56831         (update_stats): Likewise.
56832         (print_max_error): Likewise.  Update calls to other affected
56833         functions.
56834         (print_complex_max_error): Likewise.
56835         (test_single_exception): Update calls to print_screen.
56836         (test_single_errno): Likewise.
56837         (check_float_internal): Remove xfail argument.  Update calls to
56838         other affected functions.
56839         (check_float): Likewise.
56840         (check_complex): Likewise.
56841         (check_int): Likewise.
56842         (check_long): Likewise.
56843         (check_bool): Likewise.
56844         (check_longlong): Likewise.
56845         (main): Don't print noXFails and noXPasses.
56846         * math/gen-libm-test.pl (top level): Don't mention expected
56847         failure handling in comment.
56848         (new_test): Don't handle expected failures.
56849         (parse_args): Don't mention expected failure handling in comment.
56850         (generate_testfile): Don't handle expected failures.
56851         (parse_ulps): Likewise.
56852         (print_ulps_file): Likewise.
56853         (get_failure): Remove function.
56854         (output_test): Don't handle expected failures.
56855         * make/README.libm-test: Don't mention expected failure handling.
56857         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
56858         (minus_zero): Likewise.
56859         (plus_infty): Likewise.
56860         (minus_infty): Likewise.
56861         (qnan_value): Likewise.
56862         (max_value): Likewise.
56863         (min_value): Likewise.
56864         (min_subnorm_value): Likewise.
56865         (initialize): Do not initialize those variables dynamically.
56867 2013-05-03  Roland McGrath  <roland@hack.frob.com>
56869         * io/open.c (__open_2): Moved to ...
56870         * io/open_2.c: ... this new file.
56871         * io/open64.c (__open64_2): Moved to ...
56872         * io/open64_2.c: ... this new file.
56873         * io/openat.c (__openat_2): Moved to ...
56874         * io/openat_2.c: ... this new file.
56875         * io/openat64.c (__openat64_2): Moved to ...
56876         * io/openat64_2.c: ... this new file.
56877         * io/Makefile (routines): Add them.
56878         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
56879         * sysdeps/unix/sysv/linux/open_2.c: File removed.
56880         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
56881         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
56882         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
56883         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
56884         (__openat64): Add hidden_ver.
56885         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
56886         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
56888         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
56889         Separately conditionalize setting of GLRO(dl_sysinfo) so
56890         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
56891         as well, but the actual setting is only under [NEED_DL_SYSINFO].
56893 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56895         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
56896         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
56897         definition.
56898         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
56899         * sysdeps/unix/sysv/linux/powerpc/init-first.c
56900         (_libc_vdso_platform_setup): Add __vdso_time initialization.
56901         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
56902         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
56904 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
56906         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
56907         test signgam value.
56909         * math/libm-test.inc (hypot_test): Do not use
56910         IGNORE_ZERO_INF_SIGN.
56912 2013-05-03  Andreas Jaeger  <aj@suse.de>
56914         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
56915         Linux 3.9.
56916         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
56917         (PF_MAX): Adjust for VSOCK change.
56919 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56921         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56923 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
56925         [BZ #15264]
56926         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
56927         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
56928         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
56930 2013-05-02  David S. Miller  <davem@davemloft.net>
56932         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56934 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
56936         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
56938 2013-05-01  Roland McGrath  <roland@hack.frob.com>
56940         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
56942 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
56944         [BZ #14952]
56945         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
56946         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
56947         Use __attribute__ ((__gnu_inline__)).
56948         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
56949         Don't use __attribute__ ((__gnu_inline__)).
56951 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
56953         [BZ #15423]
56954         * math/s_catan.c (__catan): Handle small real or imaginary part of
56955         input specially to avoid spurious underflow.
56956         * math/s_catanf.c (__catanf): Likewise.
56957         * math/s_catanh.c (__catanh): Likewise.
56958         * math/s_catanhf.c (__catanhf): Likewise.
56959         * math/s_catanhl.c (__catanhl): Likewise.
56960         * math/s_catanl.c (__catanl): Likewise.
56961         * math/libm-test.inc (catan_test): Add more tests.
56962         (catanh_test): Likewise.
56963         * sysdeps/i386/fpu/libm-test-ulps: Update.
56964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56966 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56968         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56970 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
56972         [BZ #15416]
56973         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
56974         accurately for denominator in atan2.
56975         * math/s_catanf.c (__catanf): Likewise.
56976         * math/s_catanh.c (__catanh): Likewise.
56977         * math/s_catanhf.c (__catanhf): Likewise.
56978         * math/s_catanhl.c (__catanhl): Likewise.
56979         * math/s_catanl.c (__catanl): Likewise.
56980         * math/libm-test.inc (catan_test): Add more tests.
56981         (catanh_test): Likewise.
56982         * sysdeps/i386/fpu/libm-test-ulps: Update.
56983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56985 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
56987         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
56989         * benchtests/Makefile (bench): Remove slow benchmarks.
56990         * benchtests/atan-inputs: Add slow benchmark inputs.
56991         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
56992         (BENCH_FUNC): Accept variant offset.
56993         (VARIANT): Define.
56994         * benchtests/bench-skeleton.c (main): Run benchmark for each
56995         variant.
56996         * benchtests/cos-inputs: Add slow benchmark inputs.
56997         * benchtests/exp-inputs: Likewise.
56998         * benchtests/pow-inputs: Likewise.
56999         * benchtests/sin-inputs: Likewise.
57000         * benchtests/slowatan-inputs: Remove.
57001         * benchtests/slowatan.c: Remove.
57002         * benchtests/slowcos-inputs: Remove.
57003         * benchtests/slowcos.c: Remove.
57004         * benchtests/slowexp-inputs: Remove.
57005         * benchtests/slowexp.c: Remove.
57006         * benchtests/slowpow-inputs: Remove.
57007         * benchtests/slowpow.c: Remove.
57008         * benchtests/slowsin-inputs: Remove.
57009         * benchtests/slowsin.c: Remove.
57010         * benchtests/slowtan-inputs: Remove.
57011         * benchtests/slowtan.c: Remove.
57012         * benchtests/tan-inputs: Add slow benchmark inputs.
57013         * scripts/bench.pl: Parse comments and directives.
57015         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
57016         in CPPFLAGS.
57017         ($(objpfx)bench-%.c): Remove *-ITER.
57018         * benchtests/bench-modf.c: Remove definition of ITER.
57019         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
57020         (main): Loop for DURATION seconds instead of fixed number of
57021         iterations.
57022         * scripts/bench.pl: Don't expect iterations in parameters.
57024 2013-04-29  Roland McGrath  <roland@hack.frob.com>
57026         * io/fchdir.c (__fchdir): Renamed from fchdir.
57027         (fchdir): Define as weak alias.
57029 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
57031         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
57032         (ERRNO_EDOM): Likewise.
57033         (ERRNO_ERANGE): Likewise.
57034         (noErrnoTests): New variable.
57035         (init_max_error): Set errno to 0.
57036         (test_single_errno): New function.
57037         (test_errno): Likewise.
57038         (check_float_internal): Call test_errno.  Set errno to 0.
57039         (check_complex): Refer to errno tests in comment.
57040         (check_int): Call test_errno.  Set errno to 0.
57041         (check_long): Likewise.
57042         (check_bool): Likewise.
57043         (check_longlong): Likewise.
57044         (cos_test): Use ERRNO_* flags for errno tests instead of
57045         check_int.
57046         (expm1_test): Likewise.
57047         (fmod_test): Likewise.
57048         (ilogb_test): Likewise.
57049         (lgamma_test): Likewise.
57050         (pow_test): Likewise.
57051         (remainder_test): Likewise.
57052         (sin_test): Likewise.
57053         (tan_test): Likewise.
57054         (yn_test): Likewise.
57055         (initialize): Set errno to 0.
57056         (main): Print number of errno tests.
57057         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
57059 2013-04-29  Andreas Jaeger  <aj@suse.de>
57061         [BZ #15084]
57062         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
57063         and RES_USEVC.
57065         [BZ #15085]
57066         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
57067         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
57068         unimplemented.
57070         [BZ #15380]
57071         * stdlib/random.c (__initstate): Return NULL if
57072         __initstate fails.
57074         [BZ #15086]
57075         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
57076         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
57077         RES_SNGLKUPREOP.
57079 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57081         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57083 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
57085         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
57086         of individual tests.
57087         (casin_test): Likewise.
57088         (casinh_test): Likewise.
57090 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
57092         [BZ #15409]
57093         * math/s_catan.c (__catan): Handle arguments with large real or
57094         imaginary part separately without squaring.
57095         * math/s_catanf.c (__catanf): Likewise.
57096         * math/s_catanh.c (__catanh): Likewise.
57097         * math/s_catanhf.c (__catanhf): Likewise.
57098         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57099         and redefine.
57100         (__catanhl): Handle arguments with large real or imaginary part
57101         separately without squaring.
57102         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57103         and redefine.
57104         (__catanl): Handle arguments with large real or imaginary part
57105         separately without squaring.
57106         * math/libm-test.inc (catan_test): Add more tests.
57107         (catanh_test): Likewise.
57108         * sysdeps/i386/fpu/libm-test-ulps: Update.
57109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57111 2013-04-27  Andreas Jaeger  <aj@suse.de>
57113         [BZ #15007]
57114         * stdlib/stdlib.h: Update guards for qecvt.
57115         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
57116         <stdlib.h>.
57118 2013-04-27  Allan McRae  <allan@archlinux.org>
57120         * sysdeps/i386/fpu/libm-test-ulps: Update.
57122 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
57124         [BZ #15406]
57125         * math/s_catan.c: Include <float.h>.
57126         (__catan): Ensure underflow exception occurs for underflowed
57127         result.
57128         * math/s_catanf.c: Include <float.h>.
57129         (__catanf): Ensure underflow exception occurs for underflowed
57130         result.
57131         * math/s_catanh.c: Include <float.h>.
57132         (__catanh): Ensure underflow exception occurs for underflowed
57133         result.
57134         * math/s_catanhf.c: Include <float.h>.
57135         (__catanhf): Ensure underflow exception occurs for underflowed
57136         result.
57137         * math/s_catanhl.c: Include <float.h>.
57138         (__catanhl): Ensure underflow exception occurs for underflowed
57139         result.
57140         * math/s_catanl.c: Include <float.h>.
57141         (__catanl): Ensure underflow exception occurs for underflowed
57142         result.
57143         * math/libm-test.inc (catan_test): Add more tests.
57144         (catanh_test): Likewise.
57146         [BZ #15405]
57147         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
57148         underflowed result.
57149         * math/s_ccoshf.c (__ccoshf): Likewise.
57150         * math/s_ccoshl.c (__ccoshl): Likewise.
57151         * math/s_csin.c (__csin): Likewise.
57152         * math/s_csinf.c (__csinf): Likewise.
57153         * math/s_csinh.c (__csinh): Likewise.
57154         * math/s_csinhf.c (__csinhf): Likewise.
57155         * math/s_csinhl.c (__csinhl): Likewise.
57156         * math/s_csinl.c (__csinl): Likewise.
57157         * math/libm-test.inc (ccos_test): Add more tests.
57158         (ccosh_test): Likewise.
57159         (csin_test): Likewise.
57160         (csinh_test): Likewise.
57162 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57164         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
57165         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
57166         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
57167         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
57168         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
57169         powerpc/power5+/fpu folders.
57170         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
57173 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
57175         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57177 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
57179         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
57180         additions to variable.
57181         [$(config-machine) = x86_64] (modules-names): Likewise.
57182         ($(objpfx)tst-audit3): Remove dependency.
57183         ($(objpfx)tst-audit3.out): Likewise.
57184         ($(objpfx)tst-audit4): Likewise.
57185         ($(objpfx)tst-audit4.out): Likewise.
57186         ($(objpfx)tst-audit5): Likewise.
57187         ($(objpfx)tst-audit5.out): Likewise.
57188         ($(objpfx)tst-audit6): Likewise.
57189         ($(objpfx)tst-audit6.out): Likewise.
57190         ($(objpfx)tst-audit7): Likewise.
57191         ($(objpfx)tst-audit7.out): Likewise.
57192         (tst-audit3-ENV): Remove variable.
57193         (tst-audit4-ENV): Likewise.
57194         (tst-audit5-ENV): Likewise.
57195         (tst-audit6-ENV): Likewise.
57196         (tst-audit7-ENV): Likewise.
57197         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
57198         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
57199         addition to variable.
57200         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
57201         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
57202         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
57203         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
57204         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
57205         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
57206         tst-audit3, tst-audit4 and tst-audit5.
57207         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
57208         tst-audit6 and tst-audit7.
57209         [$(subdir) = elf] (modules-names): Add audit modules for those
57210         tests.
57211         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
57212         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
57213         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
57214         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
57215         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
57216         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
57217         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
57218         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
57219         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
57220         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
57221         [$(subdir) = elf] (tst-audit3-ENV): New variable.
57222         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
57223         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
57224         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
57225         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
57226         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
57227         Likewise.
57228         [$(subdir) = elf && $(config-cflags-avx) = yes]
57229         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
57230         [$(subdir) = elf && $(config-cflags-avx) = yes]
57231         (CFLAGS-tst-auditmod4a.c): Likewise.
57232         [$(subdir) = elf && $(config-cflags-avx) = yes]
57233         (CFLAGS-tst-auditmod4b.c): Likewise.
57234         [$(subdir) = elf && $(config-cflags-avx) = yes]
57235         (CFLAGS-tst-auditmod6b.c): Likewise.
57236         [$(subdir) = elf && $(config-cflags-avx) = yes]
57237         (CFLAGS-tst-auditmod6c.c): Likewise.
57238         [$(subdir) = elf && $(config-cflags-avx) = yes]
57239         (CFLAGS-tst-auditmod7b.c): Likewise.
57240         * elf/tst-audit3.c: Move to ...
57241         * sysdeps/x86_64/tst-audit3.c: ... here.
57242         * elf/tst-audit4.c: Move to ...
57243         * sysdeps/x86_64/tst-audit4.c: ... here.
57244         * elf/tst-audit5.c: Move to ...
57245         * sysdeps/x86_64/tst-audit5.c: ... here.
57246         * elf/tst-audit6.c: Move to ...
57247         * sysdeps/x86_64/tst-audit6.c: ... here.
57248         * elf/tst-audit7.c: Move to ...
57249         * sysdeps/x86_64/tst-audit7.c: ... here.
57250         * elf/tst-auditmod3a.c: Move to ...
57251         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
57252         * elf/tst-auditmod3b.c: Move to ...
57253         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
57254         * elf/tst-auditmod4a.c: Move to ...
57255         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
57256         * elf/tst-auditmod4b.c: Move to ...
57257         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
57258         * elf/tst-auditmod5a.c: Move to ...
57259         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
57260         * elf/tst-auditmod5b.c: Move to ...
57261         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
57262         * elf/tst-auditmod6a.c: Move to ...
57263         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
57264         * elf/tst-auditmod6b.c: Move to ...
57265         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
57266         * elf/tst-auditmod6c.c: Move to ...
57267         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
57268         * elf/tst-auditmod7a.c: Move to ...
57269         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
57270         * elf/tst-auditmod7b.c: Move to ...
57271         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
57273 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
57275         [BZ #15366]
57276         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
57277         define unconditionally.
57278         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
57279         define unconditionally.
57280         (INT8_C, INT16_C, etc.): Likewise.
57282 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
57284         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
57285         __ehdr_start with hidden visibility.
57287         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
57289 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
57291         * math/libm-test.inc (cos_test): Use accurate hex constants.
57292         (sincost_test): Likewise.
57294 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
57296         * math/libm-test.inc (catan_test): Add more tests.
57297         (catanh_test): Likewise.
57299         * math/s_catanf.c (__catanf): Use suffixed floating-point
57300         constants.
57301         * math/s_catanhf.c (__catanhf): Likewise.
57302         * math/s_catanhl.c (__catanhl): Likewise.
57303         * math/s_catanl.c (__catanl): Likewise.
57305         [BZ #15394]
57306         * math/s_catan.c (__catan): Calculate imaginary part of result
57307         with log1p not log unless computing log of number close to 0.
57308         * math/s_catanf.c (__catanf): Likewise.
57309         * math/s_catanl.c (__catanl): Likewise.
57310         * math/s_catanh.c (__catanh): Calculate real part of result with
57311         log1p not log unless computing log of number close to 0.
57312         * math/s_catanhf.c (__catanhf): Likewise.
57313         * math/s_catanhl.c (__catanhl): Likewise.
57314         * math/libm-test.inc (catan_test): Add more tests.
57315         (catanh_test): Likewise.
57316         * sysdeps/i386/fpu/libm-test-ulps: Update.
57317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57319 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
57321         * benchtests/Makefile: Mention files in which fast and slow
57322         paths of math functions are implemented.
57324 2013-04-23  Roland McGrath  <roland@hack.frob.com>
57326         * sysdeps/posix/timespec_get.c: New file.
57328 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57330         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
57331         POWER.
57332         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
57333         for POWER.
57334         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
57335         powerpc/power5/fpu folders.
57336         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
57337         * benchtests/Makefile: Add modf testcase.
57338         * benchtests/bench-modf.c: New file: Benchmark test for mo
57340 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
57342         [BZ #14888]
57343         * time/Makefile (tests): Add tst-strptime-whitespace.
57344         * time/strptime_l.c (get_number): Use ISSPACE.
57345         (__strptime_internal): Likewise.
57346         * time/tst-strptime-whitespace.c: New test case.
57348 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
57350         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
57351         member.
57352         (_nss_files_init): Set it here.
57354 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
57356         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
57357         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
57358         unsigned.
57360 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
57362         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
57364 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
57366         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
57367         size just once.
57369 2013-04-21  David S. Miller  <davem@davemloft.net>
57371         * po/ru.po: Update Russion translation from translation project.
57373 2013-04-17  Adam Conrad  <adconrad@0c3.net>
57375         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
57376         and setfsgid.
57378 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
57380         * configure.in: Remove i386 configure warning. Remove i386 case.
57381         * configure: Regenerate.
57382         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
57383         Add example to error message.
57384         * sysdeps/i386/configure: Regenerate.
57386 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
57388         * benchtests/Makefile (bench): Add cos, tan, slowcos and
57389         slowtan.
57390         * benchtests/cos-inputs: New file.
57391         * benchtests/slowcos-inputs: New file.
57392         * benchtests/slowcos.c: New file.
57393         * benchtests/slowtan-inputs: New file.
57394         * benchtests/slowtan.c: New file.
57395         * benchtests/tan-inputs: New file.
57397 2013-04-16  Roland McGrath  <roland@hack.frob.com>
57399         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
57400         considered kosher.
57402 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57404         * benchtests/Makefile: Include cppflags-iterator.mk to add
57405         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
57407         * Makefile.in (bench-clean): New target.
57408         * benchtests/Makefile (bench-clean): Likewise.
57410 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
57412         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
57414 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
57416         * stdio-common/tstdiomisc.c: Fix coding-style violation.
57418 2013-04-15  Andreas Schwab  <schwab@suse.de>
57420         * nscd/grpcache.c (cache_addgr): Properly check for short write.
57421         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57422         * nscd/pwdcache.c (cache_addpw): Likewise.
57423         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
57424         more than recsize.
57426 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57428         * benchtests/Makefile (bench): Write all output to
57429         bench-out.tmp together.
57431 2013-04-15  Andreas Schwab  <schwab@suse.de>
57433         * nscd/nscd.c (main): Don't fork again after closing files.
57435 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57437         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
57439         * benchtests/Rules (bench-deps): Collect dependencies into a
57440         single variable.  Add Makefile to dependencies.
57441         ($(objpfx)bench-%.c): Depend on bench-deps.
57443 2013-04-12  Roland McGrath  <roland@hack.frob.com>
57444             Xavier Roche  <roche+kml2@exalead.com>
57446         [BZ #15361]
57447         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
57448         just that it's a file descriptor.
57449         * manual/llio.texi (Synchronizing AIO Operations): Update description
57450         for EBADF error from aio_fsync.
57452 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
57454         * Rules (bench): Move target definition...
57455         * benchtests/Makefile: ... here.
57457 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
57459         * math/libm-test.inc (cos_test): Fix PI/2 test.
57460         (sincos_test): Likewise.
57461         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
57462         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
57464 2013-04-11  Andreas Schwab  <schwab@suse.de>
57466         [BZ #13988]
57467         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
57468         accept exponent character only when digits were seen.
57469         * stdio-common/Makefile (tests): Add bug26.
57470         * stdio-common/bug26.c: New file.
57472         [BZ #14293]
57473         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
57474         non-freeable.
57476 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57478         * Makeconfig (rtld-prefix): Define built linker prefix.
57479         * Rules (run-bench): Use it.
57480         * math/Makefile (run-regen-ulps): Likewise.
57482         * Rules (bench): Remove eval.
57484 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57485             Roland McGrath  <roland@hack.frob.com>
57486             Ondrej Bilka  <neleai@seznam.cz>
57488         [BZ #15346]
57489         * time/getdate.c: Include ctype.h and alloca.h.
57490         (__getdate_r): Trim leading and trailing spaces of input.
57491         * time/tst-getdate.c (tests): Add tests with leading and
57492         trailing spaces.
57494 2013-04-08  Roland McGrath  <roland@hack.frob.com>
57496         [BZ #14280]
57497         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
57498         when computing value.
57500 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
57502         * math/README.libm-test (How can I generate "libm-test-ulps"?):
57503         Use testrun.sh to run libm tests.
57505         [BZ #15309]
57506         * elf/dl-open.c (dl_open_worker): memset all of seen array.
57508 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
57510         [BZ #15264]
57511         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
57513 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
57515         * Makefile.in (regen-ulps): New target.
57516         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
57517         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
57518         [ifneq (no,$(PERL)] (regen-ulps): New target.
57519         [ifeq (no,$(PERL)] (regen-ulps): New target.
57520         * math/libm-test.inc (ulps_file_name): Define.
57521         (output_dir): New variable.
57522         (options): Add "output-dir" option.
57523         (parse_opt): Handle 'o' case.
57524         (main): If output_dir is non-NULL use it as a prefix
57525         otherwise use "".
57526         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
57528 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
57530         [BZ #10060, #10062]
57531         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
57532         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
57533         fail configure if __sync_val_compare_and_swap is not inlined.
57534         * sysdeps/i386/configure: Regenerate.
57535         * configure.in: Build for i686 when configured for i386.
57536         * configure: Regenerate.
57537         * README: Remove i386 reference.
57539 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
57541         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
57542         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57544 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
57546         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
57547         (lmsnanval): New variables.
57548         (F): Add conversion tests.
57549         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
57550         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
57552         * stdio-common/tstdiomisc.c (F): Properly collect individual
57553         tests' results.
57555         [BZ #14686, #15336]
57556         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
57557         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
57558         Instead, use input NaN values or generate a qNaN by arithmetic
57559         operation.  Also fix bugs to comply with the standard.
57560         * math/libm-test.inc (remainder_test): Add more tests.
57562         [BZ #15335, #15342]
57563         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
57564         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
57565         input NaN values or generate a qNaN by arithmetic operation.
57567         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
57568         unreachable code.
57570         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
57571         definitions.
57573 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
57575         [BZ #14478]
57576         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
57577         underflowed result.
57578         * math/s_cexpf.c (__cexpf): Likewise.
57579         * math/s_cexpl.c (__cexpl): Likewise.
57580         * math/libm-test.inc (cexp_test): Add more tests.
57582 2013-04-03  Andreas Schwab  <schwab@suse.de>
57584         [BZ #15330]
57585         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
57586         order arrays from heap if bigger than alloca cutoff.
57588 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
57590         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
57591         (SNAN_TESTS_double): Refer to GCC PR56831.
57592         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
57593         GCC PR56828.
57595 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
57597         * Rules (bench): Move bench.out after the run is complete.
57599         * Rules (bench): Echo currently running benchmark.
57601         * benchtests/Makefile (bench): Add atan and slowatan.
57602         * benchtests/atan-inputs: New file.
57603         * benchtests/slowatan-inputs: New file.
57604         * benchtests/slowatan.c: New file.
57606         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
57607         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
57608         its value.
57610         [BZ #15305]
57611         * sysdeps/unix/sysv/linux/kernel-features.h
57612         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
57613         __ASSUME_XFS_RESTRICTED_CHOWN.
57614         * sysdeps/unix/sysv/linux/pathconf.c
57615         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
57616         Save and restore errno.
57618 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
57620         [BZ #15327]
57621         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
57622         arguments using __kernel_casinh.
57623         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
57624         arguments using __kernel_casinhf.
57625         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
57626         arguments using __kernel_casinhl.
57627         * math/libm-test.inc (cacosh_test): Add more tests.
57628         * sysdeps/i386/fpu/libm-test-ulps: Update.
57629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57631 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
57633         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
57634         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
57636         * bench/Makefile (bench): Add sin and slowsin.
57637         * benchtests/sin-inputs: New file.
57638         * benchtests/slowsin-inputs: New file.
57639         * benchtests/slowsin.c: New file.
57641         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
57642         (bench): Add slowexp and slowpow.
57643         (exp-ITER): Increase iterations.
57644         (pow-ITER): Likewise.
57645         * benchtests/exp-inputs: Change input.
57646         * benchtests/pow-inputs: Likewise.
57647         * benchtests/slowexp-inputs: New file.
57648         * benchtests/slowexp.c: New file.
57649         * benchtests/slowpow-inputs: New file.
57650         * benchtests/slowpow.c: New file.
57652 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57654         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
57655         instructions.
57656         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57657         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
57658         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
57659         * benchtests/Makefile: Add rint benchtest.
57660         * benchtests/rint-inputs: Input for rint benchtest.
57662 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
57664         * Versions.def (libm): Add GLIBC_2.18.
57665         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
57666         hidden libm prototypes.
57667         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
57668         * math/Makefile (libm-calls): Add s_issignaling.
57669         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
57670         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
57671         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
57672         declaration.
57673         * math/math.h [__USE_GNU] (issignaling): New macro.
57674         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
57675         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
57676         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
57677         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
57678         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
57679         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
57680         * manual/arith.texi (issignaling): New section.
57681         * manual/libm-err-tab.pl (@all_functions): Update comment.
57682         * math/gen-libm-test.pl (parse_args): Apply special handling for
57683         issignaling.
57684         * math/libm-test.inc (print_float, issignaling_test): New
57685         functions.
57686         (check_float_internal): Add issignaling checks.
57687         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
57688         default definition.
57689         * sysdeps/powerpc/math-tests.h: New file.
57690         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
57691         tests.
57692         * math/test-snan.c (TEST_FUNC): Likewise.
57694 2013-03-30  David S. Miller  <davem@davemloft.net>
57696         * po/de.po: Update from translation team.
57698 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
57700         [BZ #10357]
57701         * math/k_casinh.c (__kernel_casinh): Handle arguments with
57702         imaginary part less than 1.0 and real part less than 0.5
57703         specially.
57704         * math/k_casinhf.c (__kernel_casinhf): Likewise.
57705         * math/k_casinhl.c (__kernel_casinhl): Likewise.
57706         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
57707         (cacos_test): Add more tests.
57708         (casin_test): Likewise.
57709         (casinh_test): Likewise.
57710         * sysdeps/i386/fpu/libm-test-ulps: Update.
57711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57713 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57715         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
57716         ONE with its value.
57718         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
57719         (__pow_mp): Replace ONE and MONE with their values.
57720         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57721         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
57722         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57723         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
57724         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
57725         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57727         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
57729         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
57730         (__pow_mp): Replace ZERO and MZERO with their values.
57731         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
57732         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57733         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57734         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
57735         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
57736         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
57737         (__sqr): Likewise.
57739         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
57741         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
57743 2013-03-28  Roland McGrath  <roland@hack.frob.com>
57745         * include/stdlib.h [!SHARED] (__call_tls_dtors):
57746         Declare with __attribute__ ((weak)).
57747         * stdlib/exit.c (__libc_atexit) [!SHARED]:
57748         Call __call_tls_dtors only if it's not NULL.
57750 2013-03-28  Roland McGrath  <roland@hack.frob.com>
57752         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
57753         didn't do it already, then set _dl_phdr and _dl_phnum based on the
57754         magic __ehdr_start linker symbol if it's defined.
57755         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
57756         them up here if it was already done.
57758         * elf/dl-support.c (_dl_phdr): Make pointer to const.
57759         (_dl_aux_init): Use const in cast when setting it.
57760         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
57761         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
57762         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
57764         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
57765         Declare them here.
57766         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
57767         * csu/libc-tls.c: Nor here.
57768         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
57770         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
57771         (__libc_message): Never call vsyslog.
57773 2013-03-28  Alan Modra  <amodra@gmail.com>
57775         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
57776         Define as empty.
57777         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
57778         Likewise.
57780 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57782         [BZ #15214]
57783         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
57784         underflow.
57785         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57787 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57789         [BZ #15304]
57790         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
57791         Don't add gid passed as argument.
57793         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
57795 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
57797         [BZ #15307]
57798         * math/k_casinh.c (__kernel_casinh): Handle arguments with
57799         imaginary part between 1.0 and 1.5 and real part less than 0.5
57800         specially.
57801         * math/k_casinhf.c (__kernel_casinhf): Likewise.
57802         * math/k_casinhl.c (__kernel_casinhl): Likewise.
57803         * math/libm-test.inc (cacos_test): Add more tests.
57804         (casin_test): Likewise.
57805         (casinh_test): Likewise.
57806         * sysdeps/i386/fpu/libm-test-ulps: Update.
57807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57809 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57811         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
57812         constants.
57813         (norm): Likewise.
57814         (denorm): Likewise.
57815         (__dbl_mp): Likewise.
57816         (add_magnitudes): Likewise.
57817         (sub_magnitudes): Likewise.
57818         (__add): Likewise.
57819         (__sub): Likewise.
57820         (__mul): Likewise.
57821         (__sqr): Likewise.
57822         (__inv): Likewise.
57823         (__dvd): Likewise.
57825         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
57826         commented code.
57827         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
57828         (__dubcos): Likewise.
57829         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
57830         (__ieee754_acos): Likewise.
57831         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
57832         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
57833         (__exp1): Likewise.
57834         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57835         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
57836         (log1): Likewise.
57837         (my_log2): Likewise.
57838         (checkint): Likewise.
57839         * sysdeps/ieee754/dbl-64/e_remainder.c
57840         (__ieee754_remainder): Likewise.
57841         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
57842         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
57843         (bsloww): Likewise.
57844         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57846         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
57847         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
57848         MANTISSA_STORE_T to store computations on mantissa.  Use
57849         macros for rounding and division.
57850         (denorm): Likewise.
57851         (__dbl_mp): Likewise.
57852         (add_magnitudes): Likewise.
57853         (sub_magnitudes): Likewise.
57854         (__mul): Likewise.
57855         (__sqr): Likewise.
57856         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
57857         powers of two in terms of TWOPOW macro.
57858         (mp_no): Make type of mantissa as MANTISSA_T.
57859         [!RADIXI]: Define RADIXI.
57860         [!TWO52]: Define TWO52.
57861         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
57863 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57865         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
57866         llroundl symbol when building for PPC32.
57868 2013-03-24  Mark H Weaver  <mhw@netris.org>
57870         * manual/arith.texi (Normalization Functions): Fix prototypes for
57871         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
57873 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57875         [BZ #13889]
57876         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
57877         high value to check if expl overflow.
57878         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
57879         to check for underflow and overflow.
57880         * math/libm-test.inc: Add exp test.
57882 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
57884         [BZ #11120]
57885         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
57886         with NOT_IN_libc.
57888 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57890         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
57891         symbol.
57893 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
57895         * math/gen-libm-test.pl (parse_args, special_functions): Properly
57896         wrap blocks consisting of several statements.
57898         * sysdeps/generic/math-tests.h: New file.
57899         * sysdeps/i386/fpu/math-tests.h: Likewise.
57900         * math/test-snan.c: Include it.
57901         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
57903 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
57905         [BZ #15285]
57906         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
57907         (__ieee754_j0l): Do not improve calculations using cos of twice
57908         input for inputs above LDBL_MAX / 2.0L.
57909         (__ieee754_y0l): Likewise.
57910         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
57911         (__ieee754_j1l): Do not improve calculations using cos of twice
57912         input for inputs above LDBL_MAX / 2.0L.
57913         (__ieee754_y1l): Likewise.
57914         * math/libm-test.inc (j0_test): Add another test.
57915         (j1_test): Likewise.
57916         (y0_test): Likewise.
57917         (y1_test): Likewise.
57918         * sysdeps/i386/fpu/libm-test-ulps: Update.
57920 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57922         * Rules ($(objpfx)bench-%.c): Include code from a C source
57923         file.
57925 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
57927         [BZ #15287]
57928         * math/k_casinh.c (__kernel_casinh): Handle arguments with
57929         imaginary part 1.0 and real part less than 0.5 specially.
57930         * math/k_casinhf.c (__kernel_casinhf): Likewise.
57931         * math/k_casinhl.c (__kernel_casinhl): Likewise.
57932         * math/libm-test.inc (cacos_test): Add more tests.
57933         (casin_test): Likewise.
57934         (casinh_test): Likewise.
57935         * sysdeps/i386/fpu/libm-test-ulps: Update.
57936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57938 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57940         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
57941         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
57943 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
57945         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
57946         * config.make.in (config-cflags-sse4): Remove variable.
57947         (config-cflags-avx): Likewise.
57948         (config-cflags-sse2avx): Likewise.
57949         (config-cflags-novzeroupper): Likewise.
57950         (config-asflags-i686): Likewise.
57951         (have-mfma4): Likewise.
57952         (have-as-vis3): Likewise.
57953         (MIG): Likewise.
57954         * configure.in (MIG): Do not AC_SUBST.
57955         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
57956         (libc_cv_cc_sse4): Do not AC_SUBST.
57957         (libc_cv_cc_avx): Likewise.
57958         (libc_cv_cc_sse2avx): Likewise.
57959         (libc_cv_cc_novzeroupper): Likewise.
57960         (libc_cv_cc_fma4): Likewise.
57961         (libc_cv_as_i686): Likewise.
57962         (libc_cv_sparc_as_vis3): Likewise.
57963         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
57964         LIBC_CONFIG_VAR.
57965         (config-asflags-i686): Likewise.
57966         (config-cflags-avx): Likewise.
57967         (config-cflags-sse2avx): Likewise.
57968         (have-mfma4): Likewise.
57969         (config-cflags-novzeroupper): Likewise.
57970         * sysdeps/mach/configure.in (MIG): Likewise.
57971         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
57972         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
57973         LIBC_CONFIG_VAR.
57974         (config-cflags-avx): Likewise.
57975         (config-cflags-sse2avx): Likewise.
57976         (have-mfma4): Likewise.
57977         (config-cflags-novzeroupper): Likewise.
57978         * configure: Regenerated.
57979         * sysdeps/i386/configure: Likewise.
57980         * sysdeps/mach/configure: Likewise.
57981         * sysdeps/sparc/configure: Likewise.
57982         * sysdeps/x86_64/configure: Likewise.
57984 2013-03-20  Roland McGrath  <roland@hack.frob.com>
57986         [BZ #14812]
57987         * locale/programs/localedef.c (options): Put N_ translation marker
57988         on argument names, not just descriptions.
57990 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57992         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
57994 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
57996         [BZ #14176]
57997         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
57999 2013-03-19  Roland McGrath  <roland@hack.frob.com>
58001         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
58002         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
58003         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
58004         [!BEFORE_ABORT] (before_abort): New function.
58005         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
58006         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
58007         (writev_for_fatal): New function.
58008         (WRITEV_FOR_FATAL): New macro; call that.
58009         (backtrace_and_maps): New function.
58010         (BEFORE_ABORT): New macro; call that.
58011         (struct str_list): Type removed.
58012         (__libc_message, __libc_fatal): Functions removed.
58013         Include <sysdeps/posix/libc_fatal.c> instead.
58015 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
58017         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
58018         constants.
58019         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
58020         double constants.
58022 2013-03-19  Andreas Schwab  <schwab@suse.de>
58024         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
58025         * sysdeps/gnu/configure: Regenerate.
58027         * configure.in: Substitute libc_cv_rtlddir.
58028         * configure: Regenerate.
58029         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
58030         * Makeconfig (rtlddir, inst_rtlddir): New variables.
58031         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
58032         * elf/Makefile (install-others, CFLAGS-interp.c)
58033         (ldso_install, common-ldd-rewrite): Likewise.
58034         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
58035         $(inst_slibdir)/$(rtld-installed-name).
58036         * scripts/rellns-sh: Add -p option.
58037         * Makerules (make-shlib-link): Use rellns-sh to get relative name
58038         for source.
58040 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58042         * manual/nptl.texi: Renamed to ...
58043         * manual/threads.texi: ... this.
58044         * manual/Makefile (chapters): Update.
58046 2013-03-18  Roland McGrath  <roland@hack.frob.com>
58048         [BZ #14812]
58049         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
58050         on argument names, not just descriptions.
58051         * malloc/memusagestat.c (options): Likewise.
58052         * nss/getent.c (options): Likewise.
58054 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
58056         [BZ #14812]
58057         * iconv/iconv_prog.c (options): Put N_ translation marker
58058         on argument names, not just descriptions.
58059         * iconv/iconvconfig.c (options): Likewise.
58061 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
58063         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
58064         implementation which is faster on all x86_64 architectures.
58065         Tested on AMD, Intel Nehalem, SNB, IVB.
58066         * sysdeps/x86_64/strnlen.S: Likewise.
58068         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
58069         Remove all multiarch strlen and strnlen versions.
58070         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
58071         Remove strlen and strnlen related parts.
58073         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
58074         Inline strlen part.
58075         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
58077         * sysdeps/x86_64/multiarch/strlen.S: Remove.
58078         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
58079         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
58080         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
58081         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
58082         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
58084 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
58086         * manual/memory.texi (Malloc Tunable Parameters):
58087         Sort parameters alphabetically. Add comments for missing entries.
58089 2013-03-17  David S. Miller  <davem@davemloft.net>
58091         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58093 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
58095         [BZ #15283]
58096         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
58097         for arguments at most half maximum finite value.
58098         * math/libm-test.inc (j0_test): Add more tests.
58099         (j1_test): Likewise.
58100         (y0_test): Likewise.
58101         (y1_test): Likewise.
58102         * sysdeps/i386/fpu/libm-test-ulps: Update.
58103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58105         [BZ #14155]
58106         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
58107         1 / x and functions P and Q for arguments above 0x1p256L.
58108         (__ieee754_y0l): Likewise.
58109         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
58110         (__ieee754_y1l): Likewise.
58111         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
58112         (j1_test): Likewise.
58113         (y0_test): Likewise.
58114         (y1_test): Likewise.
58116 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
58118         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
58119         variable.
58121 2013-03-15  Roland McGrath  <roland@hack.frob.com>
58123         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
58124         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
58125         zero since it's initialized to EXEC_PAGESIZE.
58127         * sysdeps/unix/sysv/linux/ldsodefs.h
58128         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
58129         * sysdeps/generic/ldsodefs.h: ... here.
58131 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
58133         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
58135         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
58136         math/test-snan.c.
58137         * math/test-snan.c: Renamed from
58138         sysdeps/powerpc/fpu/test-powerpc-snan.c.
58139         * math/Makefile (tests): Add test-snan.
58140         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
58141         test-powerpc-snan.
58143         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
58144         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
58145         functions.
58146         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
58147         __builtin_nan family of functions.
58148         * math/libm-test.inc (initialize): Initialize qnan_value with
58149         __builtin_nan family of functions.
58150         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
58151         Remove variables.
58152         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
58153         Remove functions.
58154         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
58155         storage class.  Initialize qNaN_var and sNaN_var with
58156         __builtin_nan and __builtin_nans families of functions,
58157         respectively.
58159         * math/libm-test.inc (acosh_test): Also test with qNaN input.
58160         (sqrt_test): Remove duplicate test with qNaN input.
58161         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
58162         (round_test, signbit_test, significand_test): Note missing +/-Inf
58163         as well as qNaN tests.
58165         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
58166         qNaN_var.  Fix a few strings, too.
58167         * math/libm-test.inc (nan_value): Rename to qnan_value.
58168         * math/gen-libm-test.pl (%beautify): Adjust to that.
58169         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
58170         * math/test-misc.c (main): Likewise.
58171         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
58172         to __qnan_bytes, and __qnan_union, respectively.
58173         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
58174         Likewise.
58175         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
58176         and lqnanval, respectively.
58177         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
58178         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
58179         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
58180         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
58182         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
58183         * math/test-misc.c (main) [__x86_64__]: Enable test for long
58184         doubles.
58186         * math/test-misc.c (main): Fix copy'n'pastos.
58187         * misc/tst-efgcvt.c (special): Likewise.
58189         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
58190         Remove declarations.
58192 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58194         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
58195         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
58196         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
58197         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
58199 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58201         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
58202         macro to return vdso values correctly in IFUNC implementations.
58203         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
58204         Optimization by using IFUNC.
58206 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58207             Richard Henderson  <rth@redhat.com>
58208             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58210         * Makefile.in (bench): New target.
58211         * NEWS: Mention the benchmark framework.
58212         * Rules (bench): Likewise.
58213         (binaries-bench): Generate binaries for functions to
58214         benchmark.
58215         * benchtests/Makefile: New makefile for benchmark tests.
58216         * benchtests/bench-skeleton.c: New skeleton file for benchmark
58217         programs.
58218         * benchtests/exp-inputs: New input file for EXP function.
58219         * benchtests/pow-inputs: New input file for POW function.
58220         * scripts/bench.pl: New script to generate source files for
58221         benchmark programs.
58223 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58225         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
58226         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
58227         computations on mantissa.  Use macros for rounding and
58228         division.
58229         (denorm): Likewise.
58230         (__dbl_mp): Likewise.
58231         (add_magnitudes): Likewise.
58232         (sub_magnitudes): Likewise.
58233         (__mul): Likewise.
58234         (__sqr): Likewise.
58235         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
58236         powers of two in terms of TWOPOW macro.
58237         (mp_no): Make type of mantissa as MANTISSA_T.
58238         [!RADIXI]: Define RADIXI.
58239         [!TWO52]: Define TWO52.
58240         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
58242         * manual/nptl.texi (cindex): Modify threads to pthreads.
58244 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
58246         * sysdeps/x86_64/preconfigure: Regenerated.
58248 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
58250         [BZ #14155]
58251         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
58252         0x1p28 and above.
58253         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
58254         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
58255         0x1p28 and above.
58256         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
58257         * math/libm-test.inc (j0_test): Do not allow one spurious
58258         underflow exception.
58259         (y1_test): Likewise.
58261 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58263         * manual/Makefile (chapters): Add nptl.
58264         * manual/debug.texi (Debugging Support): Add link to Threads
58265         chapter.
58266         * manual/nptl.texi: New file.
58268         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
58270 2013-03-14  Petr Baudis  <pasky@ucw.cz>
58272         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
58273         for non-NULL pointer before the memory validity test. Pointed
58274         out by Holger Brunck <holger.brunck@keymile.com>.
58276 2013-03-13  Andreas Schwab  <schwab@suse.de>
58278         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
58279         instead of .os.
58281 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
58283         * timezone/zic.c: Update from tzcode 2013b.
58285 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
58287         * manual/install.texi (Configuring and compiling):
58288         Mention i686 and i586.
58289         * INSTALL: Regenerate.
58291 2013-03-12  Roland McGrath  <roland@hack.frob.com>
58293         * sysdeps/init_array/elf-init.c: New file.
58294         * csu/elf-init.c
58295         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
58296         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
58298         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
58299         __gmon_start__ as global, but as static with a .preinit_array pointer.
58300         * sysdeps/init_array/gmon-start.c: New file.  Use that.
58301         * sysdeps/init_array/crti.S: New file, empty except for comments.
58302         * sysdeps/init_array/crtn.S: Likewise.
58304 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
58306         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
58307         definining bcopy.
58308         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58309         Remove Prefer_SSE_for_memop.
58310         * sysdeps/x86_64/multiarch/init-arch.h: Remove
58311         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
58312         HAS_PREFER_SSE_FOR_MEMOP.
58313         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
58314         memset-x86-64.
58315         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
58316         Remove bzero, memset ifunc support.
58317         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
58318         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
58319         * sysdeps/x86_64/multiarch/memset.S: Likewise.
58320         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
58322 2013-03-11  Andreas Schwab  <schwab@suse.de>
58324         [BZ #15234]
58325         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
58326         by SHLIB_COMPAT.
58327         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
58328         (GLIBC_2.16): Remove pthread_atfork.
58330 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
58332         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
58333         (ptestcases.h): Likewise.
58335 2013-03-08  Roland McGrath  <roland@hack.frob.com>
58337         * Makeconfig ($(common-objpfx)config.status): Depend on
58338         sysdeps/*/preconfigure{,.in} too.
58340 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
58342         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
58343         (__free_hook): Use void * instead of __malloc_ptr_t.
58344         (__malloc_hook): Likewise.
58345         (__realloc_hook): Likewise.
58346         (__memalign_hook): Likewise.
58347         (__after_morecore_hook): Likewise.
58348         * malloc/arena.c (save_malloc_hook): Likewise.
58349         (save_free_hook): Likewise.
58350         * malloc/hooks.c (malloc_hook_ini): Likewise.
58351         (realloc_hook_ini): Likewise.
58352         (memalign_hook_ini): Likewise.
58353         * malloc/malloc.c (malloc_hook_ini): Likewise.
58354         (realloc_hook_ini): Likewise.
58355         (memalign_hook_ini): Likewise.
58356         (__free_hook): Likewise.
58357         (__malloc_hook): Likewise.
58358         (__realloc_hook): Likewise.
58359         (__memalign_hook): Likewise.
58360         (__libc_malloc): Likewise.
58361         (__libc_free): Likewise.
58362         (__libc_realloc): Likewise.
58363         (__libc_memalign): Likewise.
58364         (__libc_valloc): Likewise.
58365         (__libc_pvalloc): Likewise.
58366         (__libc_calloc): Likewise.
58367         (__posix_memalign): Likewise.
58368         * malloc/morecore.c (__sbrk): Likewise.
58369         (__default_morecore): Likewise.
58371         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
58373         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
58374         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
58375         __malloc_ptrdiff_t.
58377         * malloc/malloc.h (__malloc_size_t): Remove macro.
58378         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
58379         __malloc_size_t.
58380         (old_memalign_hook): Likewise.
58381         (old_realloc_hook): Likewise.
58382         (struct hdr): Likewise.
58383         (flood): Likewise.
58384         (mallochook): Likewise.
58385         (memalignhook): Likewise.
58386         (reallochook): Likewise.
58387         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
58388         (tr_old_realloc_hook): Likewise.
58389         (tr_old_memalign_hook): Likewise.
58390         (tr_mallochook): Likewise.
58391         (tr_reallochook): Likewise.
58392         (tr_memalignhook): Likewise.
58394 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58396         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
58397         default_ldbl_pack and using as default implementation.
58398         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
58399         implementation.
58400         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
58401         redundant definition.
58402         (ldbl_insert_mantissa): Likewise.
58403         (ldbl_canonicalize): Likewise.
58404         (ldbl_nearbyint): Likewise.
58405         (ldbl_pack): Rename to ldbl_pack_ppc.
58406         (ldbl_unpack): Rename to ldbl_unpack_ppc.
58407         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
58408         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
58410 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
58412         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
58413         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
58414         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
58415         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
58416         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
58417         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
58418         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
58419         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
58421 2013-03-07  Andreas Jaeger  <aj@suse.de>
58423         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58424         bits/mman-linux.h.
58426 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
58428         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
58429         Include mpa.h and declare __MPEXP.
58430         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
58431         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
58432         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
58433         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
58434         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
58435         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
58436         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
58438         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
58439         (__slowpow): Use long double EXPL and LOGL functions to
58440         compute POW.
58441         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
58442         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
58443         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
58444         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
58445         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
58446         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
58448         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
58449         intermediate variable to calculate exponent.
58450         (__sqr): Likewise.
58451         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
58452         Likewise.
58453         (__sqr): Likewise.
58455         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
58456         [!NO__SQR]: Define __sqr.
58457         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
58458         and NO__SQR.  Remove all code except __mul and __sqr.  Include
58459         sysdeps/ieee754/dbl-64/mpa.c.
58460         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58462         [BZ #12723]
58463         * posix/Makefile (tests): Add tst-pathconf.
58464         * posix/tst-pathconf.c: New test case.
58465         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
58466         _PC_PIPE_BUF.
58467         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
58469 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
58471         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
58473 2013-03-06  Andreas Jaeger  <aj@suse.de>
58475         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
58476         definition via __MAP_ANONYMOUS.
58478         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
58479         it's not part of Linux headers.
58481         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
58482         (MAP_HUGE_MASK): Define.
58484         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58485         Define.
58486         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58487         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58488         Define.
58489         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58490         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58491         Define.
58492         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58493         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
58494         Define.
58495         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58497         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
58498         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
58499         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
58500         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
58501         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
58502         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
58504         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
58505         Handle f2fs.
58507         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58508         Handle f2fs and efivarfs.
58510         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
58511         f2fs.
58513         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
58514         (EFIVARFS_MAGIC): Add.
58515         (F2FS_LINK_MAX): Add.
58517 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
58519         * stdio-common/vfprintf.c: Replace __builtin_expect with
58520         __glibc_unlikely.
58522 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
58524         [BZ #13550]
58525         * sysdeps/generic/bp-sym.h: Remove file.
58526         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
58527         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
58528         <bp-sym.h> and <bp-asm.h>.
58529         (__longjmp): Don't use BP_SYM.
58530         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
58531         and <bp-asm.h>.
58532         (memcpy): Don't use BP_SYM.
58533         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
58534         <bp-sym.h> and <bp-asm.h>.
58535         (memcpy): Don't use BP_SYM.
58536         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
58537         <bp-asm.h>.
58538         (memcpy): Don't use BP_SYM.
58539         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
58540         <bp-asm.h>.
58541         (memset): Don't use BP_SYM.
58542         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58543         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58544         (__bzero): Don't use BP_SYM.
58545         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58546         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58547         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
58548         <bp-sym.h> and <bp-asm.h>.
58549         (memcmp): Don't use BP_SYM.  Remove comment about bounded
58550         pointers.
58551         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
58552         <bp-sym.h> and <bp-asm.h>.
58553         (memcpy): Don't use BP_SYM.
58554         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
58555         <bp-sym.h> and <bp-asm.h>.
58556         (memset): Don't use BP_SYM.
58557         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58558         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58559         (__bzero): Don't use BP_SYM.
58560         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58561         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58562         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
58563         <bp-sym.h> and <bp-asm.h>.
58564         (strncmp): Don't use BP_SYM.  Remove comment about bounded
58565         pointers.
58566         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
58567         <bp-sym.h> and <bp-asm.h>.
58568         (memcpy): Don't use BP_SYM.
58569         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
58570         <bp-sym.h> and <bp-asm.h>.
58571         (memset): Don't use BP_SYM.
58572         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58573         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58574         (__bzero): Don't use BP_SYM.
58575         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58576         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58577         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
58578         <bp-sym.h> and <bp-asm.h>.
58579         (__memchr): Don't use BP_SYM.
58580         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
58581         <bp-sym.h> and <bp-asm.h>.
58582         (memcmp): Don't use BP_SYM.  Remove comment about bounded
58583         pointers.
58584         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
58585         <bp-sym.h> and <bp-asm.h>.
58586         (memcpy): Don't use BP_SYM.
58587         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
58588         <bp-sym.h> and <bp-asm.h>.
58589         (__mempcpy): Don't use BP_SYM.
58590         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
58591         <bp-sym.h> and <bp-asm.h>.
58592         (__memrchr): Don't use BP_SYM.
58593         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
58594         <bp-sym.h> and <bp-asm.h>.
58595         (memset): Don't use BP_SYM.
58596         (__bzero): Likewise.
58597         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
58598         <bp-sym.h> and <bp-asm.h>.
58599         (__rawmemchr): Don't use BP_SYM.
58600         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
58601         <bp-sym.h> and <bp-asm.h>.
58602         (__STRCMP): Don't use BP_SYM.
58603         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
58604         <bp-sym.h> and <bp-asm.h>.
58605         (strchr): Don't use BP_SYM.
58606         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
58607         <bp-sym.h> and <bp-asm.h>.
58608         (__strchrnul): Don't use BP_SYM.
58609         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
58610         <bp-sym.h> and <bp-asm.h>.
58611         (strlen): Don't use BP_SYM.
58612         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
58613         <bp-sym.h> and <bp-asm.h>.
58614         (strncmp): Don't use BP_SYM.  Remove comment about bounded
58615         pointers.
58616         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
58617         <bp-sym.h> and <bp-asm.h>.
58618         (__strnlen): Don't use BP_SYM.
58619         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
58620         <bp-sym.h> and <bp-asm.h>.
58621         (__GI__setjmp): Don't use BP_SYM.
58622         (_setjmp): Likewise.
58623         (__sigsetjmp): Likewise.
58624         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
58625         (L(start_addresses)): Don't use BP_SYM.
58626         (_start): Likewise.
58627         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
58628         <bp-asm.h>.
58629         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
58630         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
58631         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58632         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58633         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
58634         <bp-asm.h>.
58635         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
58636         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
58637         about bounded pointers.
58638         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
58639         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
58640         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
58641         <bp-asm.h>.
58642         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
58643         about bounded pointers.  Remove GKM FIXME comments.
58644         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
58645         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
58646         <bp-asm.h>.
58647         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
58648         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
58649         Remove GKM FIXME comments.
58650         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58651         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58652         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
58653         <bp-asm.h>.
58654         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
58655         about bounded pointers.  Remove GKM FIXME comment.
58656         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
58657         and <bp-asm.h>.
58658         (strncmp): Don't use BP_SYM.  Remove comment about bounded
58659         pointers.
58660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
58661         <bp-sym.h> and <bp-asm.h>.
58662         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
58663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
58664         <bp-sym.h> and <bp-asm.h>.
58665         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
58666         comment.
58668 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
58670         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
58671         call free(NULL).
58673 2013-03-05  David S. Miller  <davem@davemloft.net>
58675         * po/es.po: Update from translation team.
58677 2013-03-05  Andreas Jaeger  <aj@suse.de>
58679         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
58680         <bits/mman-linux.h>.
58681         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
58682         is fine.
58683         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
58684         <bits/mman-linux.h> to end of file.
58685         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
58686         is fine.
58687         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
58688         <bits/mman-linux.h> to end of file.
58689         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
58690         is fine.
58691         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
58692         <bits/mman-linux.h> to end of file.
58694         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
58695         (MCL_CURRENT, MCL_FUTURE): Define here.
58697 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58699         [BZ #15232]
58700         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
58701         attribute_hidden.
58702         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
58704 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58706         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
58707         fourth parameter needed for rt_sigprocmask syscall.
58708         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
58709         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
58710         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
58711         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
58712         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
58713         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
58715 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
58717         [BZ #13550]
58718         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
58719         comment about bounded pointers.
58720         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
58721         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
58723 2013-03-04  Andreas Jaeger  <aj@suse.de>
58725         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
58726         common definitions.
58728         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
58729         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
58730         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
58731         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58732         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
58733         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58735 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58737         [BZ #15055]
58738         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
58739         __ieee754_sqrl instead of __sqrl.
58741 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
58743         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
58744         * sysdeps/powerpc/fpu_control.h: ... here.
58745         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
58746         * sysdeps/powerpc/bits/fenvinline.h: ... here.
58747         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
58748         * sysdeps/powerpc/bits/mathinline.h: ... here.
58750 2013-03-01  Roland McGrath  <roland@hack.frob.com>
58752         * elf/dl-hwcaps.c (_dl_important_hwcaps):
58753         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
58754         to just [NEED_DL_SYSINFO_DSO].
58755         * elf/dl-support.c: Likewise.
58756         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
58757         * elf/rtld.c (dl_main): Likewise.
58758         * elf/setup-vdso.h (setup_vdso): Likewise.
58759         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
58760         * sysdeps/unix/sysv/linux/dl-sysdep.c
58761         (_dl_discover_osversion): Likewise.
58763 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
58765         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
58766         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
58768 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
58770         * NEWS: Mention libm performance improvements and non-x86 PI
58771         futex support.
58773         * csu/libc-start.c (__pthread_initialize_minimal): Change
58774         function arguments.
58775         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
58777 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
58779         [BZ #13550]
58780         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
58781         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
58782         <bp-sym.h> and <bp-asm.h>.
58783         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
58784         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
58785         and <bp-asm.h>.
58786         (memcpy): Don't use BP_SYM.
58787         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
58788         <bp-asm.h>.
58789         (__mpn_add_n): Don't use BP_SYM.
58790         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
58791         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
58792         and <bp-asm.h>.
58793         (__mpn_addmul_1): Don't use BP_SYM.
58794         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58795         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
58796         <bp-sym.h>.
58797         (_setjmp): Don't use BP_SYM.
58798         (__novmx_setjmp): Likewise.
58799         (__GI__setjmp): Likewise.
58800         (__vmx_setjmp): Likewise.
58801         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
58802         <bp-sym.h>.
58803         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
58804         (__bzero): Don't use BP_SYM.
58805         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58806         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58807         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
58808         <bp-sym.h> and <bp-asm.h>.
58809         (memcpy): Don't use BP_SYM.
58810         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
58811         <bp-sym.h> and <bp-asm.h>.
58812         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
58813         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
58814         <bp-sym.h> and <bp-asm.h>.
58815         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
58816         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
58817         <bp-asm.h>.
58818         (__mpn_lshift): Don't use BP_SYM.
58819         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58820         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
58821         <bp-asm.h>.
58822         (memset): Don't use BP_SYM.
58823         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58824         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58825         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
58826         <bp-asm.h>.
58827         (__mpn_mul_1): Don't use BP_SYM.
58828         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58829         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
58830         <bp-sym.h> and <bp-asm.h>.
58831         (memcmp): Don't use BP_SYM.
58832         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
58833         <bp-sym.h> and <bp-asm.h>.
58834         (memcpy): Don't use BP_SYM.
58835         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
58836         <bp-sym.h> and <bp-asm.h>.
58837         (memset): Don't use BP_SYM.
58838         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
58839         <bp-sym.h> and <bp-asm.h>.
58840         (strncmp): Don't use BP_SYM.
58841         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
58842         <bp-sym.h> and <bp-asm.h>.
58843         (memcpy): Don't use BP_SYM.
58844         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
58845         <bp-sym.h> and <bp-asm.h>.
58846         (memset): Don't use BP_SYM.
58847         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
58848         <bp-sym.h> and <bp-asm.h>.
58849         (__memchr): Don't use BP_SYM.
58850         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
58851         <bp-sym.h> and <bp-asm.h>.
58852         (memcmp): Don't use BP_SYM.
58853         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
58854         <bp-sym.h> and <bp-asm.h>.
58855         (memcpy): Don't use BP_SYM.
58856         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
58857         <bp-sym.h> and <bp-asm.h>.
58858         (__mempcpy): Don't use BP_SYM.
58859         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
58860         <bp-sym.h> and <bp-asm.h>.
58861         (__memrchr): Don't use BP_SYM.
58862         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
58863         <bp-sym.h> and <bp-asm.h>.
58864         (memset): Don't use BP_SYM.
58865         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
58866         <bp-sym.h> and <bp-asm.h>.
58867         (__rawmemchr): Don't use BP_SYM.
58868         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
58869         <bp-sym.h> and <bp-asm.h>.
58870         (__STRCMP): Don't use BP_SYM.
58871         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
58872         <bp-sym.h> and <bp-asm.h>.
58873         (strchr): Don't use BP_SYM.
58874         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
58875         <bp-sym.h> and <bp-asm.h>.
58876         (__strchrnul): Don't use BP_SYM.
58877         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
58878         <bp-sym.h> and <bp-asm.h>.
58879         (strlen): Don't use BP_SYM.
58880         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
58881         <bp-sym.h> and <bp-asm.h>.
58882         (strncmp): Don't use BP_SYM.
58883         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
58884         <bp-sym.h> and <bp-asm.h>.
58885         (__strnlen): Don't use BP_SYM.
58886         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
58887         <bp-asm.h>.
58888         (__mpn_rshift): Don't use BP_SYM.
58889         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58890         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
58891         <bp-sym.h> and <bp-asm.h>.
58892         (__sigsetjmp): Don't use BP_SYM.
58893         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
58894         (L(start_addresses)): Don't use BP_SYM.
58895         (_start): Likewise.
58896         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
58897         <bp-asm.h>.
58898         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
58899         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58900         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58901         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
58902         <bp-asm.h>.
58903         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
58904         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
58905         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
58906         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
58907         <bp-asm.h>.
58908         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
58909         comments.
58910         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
58911         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
58912         <bp-asm.h>.
58913         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
58914         FIXME comments.
58915         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58916         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58917         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
58918         <bp-asm.h>.
58919         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
58920         comment.
58921         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
58922         and <bp-asm.h>.
58923         (strncmp): Don't use BP_SYM,
58924         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
58925         <bp-asm.h>.
58926         (__mpn_sub_n): Don't use BP_SYM.
58927         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
58928         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
58929         and <bp-asm.h>.
58930         (__mpn_submul_1): Don't use BP_SYM.
58931         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
58933         <bp-sym.h> and <bp-asm.h>.
58934         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
58935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
58936         <bp-sym.h> and <bp-asm.h>.
58937         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
58938         comment.
58940 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58942         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
58943         Use ZK to minimize writes to Z.
58944         (sub_magnitudes): Simplify code a bit.
58945         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
58946         Use ZK to minimize writes to Z.
58947         (sub_magnitudes): Simplify code a bit.
58949 2013-02-27  Roland McGrath  <roland@hack.frob.com>
58951         * csu/gmon-start.c: Add special exception to license text.
58953 2013-02-27  Richard Henderson  <rth@redhat.com>
58955         * scripts/config.guess: Update from config.git.
58956         * scripts/config.sub: Likewise.
58958 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
58960         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
58962         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
58964         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
58966         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
58968         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
58970 2013-02-26  Roland McGrath  <roland@hack.frob.com>
58972         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
58973         [$(build-shared = yes].
58975 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58977         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
58978         (__mul): Reduce iterations for calculating mantissa.
58980         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
58981         MPTWO.
58982         (__mpranred): Likewise.
58984         [BZ #15160]
58985         * malloc/memusagestat.c (main): Draw graphs for heap and stack
58986         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
58988 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
58990         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
58991         Define __attribute__.
58993 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58995         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
58996         unused.
58997         * posix/regex_internal.h (__attribute): Remove.
58998         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
58999         (re_string_context_at): Likewise.
59000         (bitset_not): Use __attribute__ and mark function as possibly
59001         unused.
59002         (bitset_merge): Likewise.
59003         (bitset_mask): Likewise.
59004         (re_string_char_size_at): Likewise.
59005         (re_string_wchar_at): Likewise.
59006         (re_string_elem_size_at): Likewise.
59008 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59010         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
59011         code.
59012         (cc32): Likewise.
59014         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
59015         (__acr): Likewise.
59016         (__cpy): Likewise.
59017         (norm): Likewise.
59018         (denorm): Likewise.
59019         (__dbl_mp): Likewise.
59020         (add_magnitudes): Likewise.
59021         (sub_magnitudes): Likewise.
59022         (__mul): Likewise.
59023         (__inv): Likewise.
59025         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
59026         style.
59028         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
59029         style.
59031         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
59032         code.
59034         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
59035         up changes with default code.
59036         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
59037         Likewise.
59039 2013-02-24  Allan McRae  <allan@archlinux.org>
59041         * manual/socket.texi (The Internet Namespace): Order menu items
59042         to match that in the file.
59044         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
59045         node listing of the info page menu.
59047 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
59049         [BZ #13550]
59050         * sysdeps/i386/bp-asm.h: Remove file.
59051         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
59052         (PARMS): Do not use macros from bp-asm.h.
59053         (S1): Likewise.
59054         (S2): Likewise.
59055         (SIZE): Likewise.
59056         (__mpn_add_n): Do not use BP_SYM
59057         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
59058         "bp-asm.h".
59059         (PARMS): Do not use macros from bp-asm.h.
59060         (S1): Likewise.
59061         (SIZE): Likewise.
59062         (__mpn_addmul_1): Do not use BP_SYM
59063         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
59064         "bp-asm.h".
59065         (PARMS): Do not use macros from bp-asm.h.
59066         (SIGMSK): Likewise.
59067         (_setjmp): Likewise.  Do not use BP_SYM.
59068         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
59069         "bp-asm.h".
59070         (PARMS): Do not use macros from bp-asm.h.
59071         (SIGMSK): Likewise.
59072         (setjmp): Likewise.  Do not use BP_SYM.
59073         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
59074         "bp-asm.h".
59075         (PARMS): Do not use macros from bp-asm.h.
59076         (__frexp): Do not use BP_SYM.
59077         (frexp): Likewise.
59078         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
59079         "bp-asm.h".
59080         (PARMS): Do not use macros from bp-asm.h.
59081         (__frexpf): Do not use BP_SYM.
59082         (frexpf): Likewise.
59083         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
59084         "bp-asm.h".
59085         (PARMS): Do not use macros from bp-asm.h.
59086         (__frexpl): Do not use BP_SYM.
59087         (frexpl): Likewise.
59088         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
59089         "bp-asm.h".
59090         (PARMS): Do not use macros from bp-asm.h.
59091         (__remquo): Do not use BP_SYM.
59092         (remquo): Likewise.
59093         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
59094         "bp-asm.h".
59095         (PARMS): Do not use macros from bp-asm.h.
59096         (__remquof): Do not use BP_SYM.
59097         (remquof): Likewise.
59098         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
59099         "bp-asm.h".
59100         (PARMS): Do not use macros from bp-asm.h.
59101         (__remquol): Do not use BP_SYM.
59102         (remquol): Likewise.
59103         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
59104         "bp-asm.h".
59105         (PARMS): Do not use macros from bp-asm.h.
59106         (DEST): Likewise.
59107         (SRC): Likewise.
59108         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
59109         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
59110         "bp-asm.h".
59111         (PARMS): Do not use macros from bp-asm.h.
59112         (strlen): Do not use BP_SYM.
59113         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
59114         "bp-asm.h".
59115         (PARMS): Do not use macros from bp-asm.h.
59116         (S1): Likewise.
59117         (S2): Likewise.
59118         (SIZE): Likewise.
59119         (__mpn_add_n): Do not use BP_SYM.
59120         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
59121         "bp-asm.h".
59122         (PARMS): Do not use macros from bp-asm.h.
59123         (S1): Likewise.
59124         (SIZE): Likewise.
59125         (__mpn_addmul_1): Do not use BP_SYM.
59126         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
59127         weak_alias.
59128         (bzero): Likewise.
59129         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
59130         "bp-asm.h".
59131         (PARMS): Do not use macros from bp-asm.h.
59132         (S): Likewise.
59133         (SIZE): Likewise.
59134         (__mpn_lshift): Do not use BP_SYM.
59135         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
59136         "bp-asm.h".
59137         (PARMS): Do not use macros from bp-asm.h.
59138         (DEST): Likewise.
59139         (SRC): Likewise.
59140         (LEN): Likewise.
59141         (memcpy): Likewise.  Do not use BP_SYM.
59142         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
59143         libc_hidden_def and weak_alias.
59144         (mempcpy): Do not use BP_SYM in weak_alias.
59145         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
59146         "bp-asm.h".
59147         (PARMS): Do not use macros from bp-asm.h.
59148         (DEST): Likewise.
59149         (LEN): Likewise.
59150         [!BZERO_P] (CHR): Likewise.
59151         (memset): Likewise.  Do not use BP_SYM.
59152         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
59153         "bp-asm.h".
59154         (PARMS): Do not use macros from bp-asm.h.
59155         (S1): Likewise.
59156         (SIZE): Likewise.
59157         (__mpn_mul_1): Do not use BP_SYM.
59158         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
59159         "bp-asm.h".
59160         (PARMS): Do not use macros from bp-asm.h.
59161         (S): Likewise.
59162         (SIZE): Likewise.
59163         (__mpn_rshift): Do not use BP_SYM.
59164         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
59165         "bp-asm.h".
59166         (PARMS): Do not use macros from bp-asm.h.
59167         (STR): Likewise.
59168         (CHR): Likewise.
59169         (strchr): Likewise.  Do not use BP_SYM.
59170         (index): Do not use BP_SYM in weak_alias.
59171         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
59172         "bp-asm.h".
59173         (PARMS): Do not use macros from bp-asm.h.
59174         (DEST): Likewise.
59175         (SRC): Likewise.
59176         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
59177         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
59178         "bp-asm.h".
59179         (PARMS): Do not use macros from bp-asm.h.
59180         (strlen): Do not use BP_SYM.
59181         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
59182         "bp-asm.h".
59183         (PARMS): Do not use macros from bp-asm.h.
59184         (S1): Likewise.
59185         (S2): Likewise.
59186         (SIZE): Likewise.
59187         (__mpn_sub_n): Do not use BP_SYM.
59188         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
59189         "bp-asm.h".
59190         (PARMS): Do not use macros from bp-asm.h.
59191         (S1): Likewise.
59192         (SIZE): Likewise.
59193         (__mpn_submul_1): Do not use BP_SYM.
59194         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
59195         "bp-asm.h".
59196         (PARMS): Do not use macros from bp-asm.h.
59197         (S1): Likewise.
59198         (S2): Likewise.
59199         (SIZE): Likewise.
59200         (__mpn_add_n): Do not use BP_SYM.
59201         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
59202         weak_alias.
59203         (bzero): Likewise.
59204         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
59205         "bp-asm.h".
59206         (PARMS): Do not use macros from bp-asm.h.
59207         (BLK2): Likewise.
59208         (LEN): Likewise.
59209         (memcmp): Do not use BP_SYM.
59210         (bcmp): Do not use BP_SYM in weak_alias.
59211         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
59212         "bp-asm.h".
59213         (PARMS): Do not use macros from bp-asm.h.
59214         (DEST): Likewise.
59215         (SRC): Likewise.
59216         (LEN): Likewise.
59217         (memcpy): Likewise.  Do not use BP_SYM.
59218         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
59219         "bp-asm.h".
59220         (PARMS): Do not use macros from bp-asm.h.
59221         (DEST): Likewise.
59222         (SRC): Likewise.
59223         (LEN): Likewise.
59224         (memmove): Likewise.  Do not use BP_SYM.
59225         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
59226         "bp-asm.h".
59227         (PARMS): Do not use macros from bp-asm.h.
59228         (DEST): Likewise.
59229         (SRC): Likewise.
59230         (LEN): Likewise.
59231         (__mempcpy): Likewise.  Do not use BP_SYM.
59232         (mempcpy): Do not use BP_SYM in weak_alias.
59233         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
59234         "bp-asm.h".
59235         (PARMS): Do not use macros from bp-asm.h.
59236         (DEST): Likewise.
59237         (LEN): Likewise.
59238         [!BZERO_P] (CHR): Likewise.
59239         (memset): Likewise.  Do not use BP_SYM.
59240         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
59241         "bp-asm.h".
59242         (PARMS): Do not use macros from bp-asm.h.
59243         (STR2): Likewise.
59244         (strcmp): Do not use BP_SYM.
59245         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
59246         "bp-asm.h".
59247         (PARMS): Do not use macros from bp-asm.h.
59248         (STR): Likewise.
59249         (DELIM): Likewise.
59250         [USE_AS_STRTOK_R] (SAVE): Likewise.
59251         (FUNCTION): Likewise.  Do not use BP_SYM.
59252         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
59253         aliases.
59254         (strtok_r): Likewise.
59255         (__GI___strtok_r): Likewise.
59256         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
59257         (PARMS): Do not use macros from bp-asm.h.
59258         (S): Likewise.
59259         (SIZE): Likewise.
59260         (__mpn_lshift): Do not use BP_SYM.
59261         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
59262         (PARMS): Do not use macros from bp-asm.h.
59263         (STR): Likewise.
59264         (CHR): Likewise.
59265         (__memchr): Do not use BP_SYM.
59266         (memchr): Do not use BP_SYM in weak_alias.
59267         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
59268         (PARMS): Do not use macros from bp-asm.h.
59269         (BLK2): Likewise.
59270         (LEN): Likewise.
59271         (memcmp): Do not use BP_SYM.
59272         (bcmp): Do not use BP_SYM in weak_alias.
59273         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
59274         (PARMS): Do not use macros from bp-asm.h.
59275         (S1): Likewise.
59276         (SIZE): Likewise.
59277         (__mpn_mul_1): Do not use BP_SYM.
59278         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
59279         "bp-asm.h".
59280         (PARMS): Do not use macros from bp-asm.h.
59281         (STR): Likewise.
59282         (CHR): Likewise.
59283         (__rawmemchr): Do not use BP_SYM.
59284         (rawmemchr): Do not use BP_SYM in weak_alias.
59285         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
59286         (PARMS): Do not use macros from bp-asm.h.
59287         (S): Likewise.
59288         (SIZE): Likewise.
59289         (__mpn_rshift): Do not use BP_SYM.
59290         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
59291         (PARMS): Do not use macros from bp-asm.h.
59292         (SIGMSK): Likewise.
59293         (__sigsetjmp): Likewise.  Do not use BP_SYM.
59294         * sysdeps/i386/start.S: Do not include "bp-sym.h".
59295         (_start): Do not use BP_SYM.
59296         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
59297         (PARMS): Do not use macros from bp-asm.h.
59298         (DEST): Likewise.
59299         (SRC): Likewise.
59300         (__stpcpy): Likewise.  Do not use BP_SYM.
59301         (stpcpy): Do not use BP_SYM in weak_alias.
59302         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
59303         "bp-asm.h".
59304         (PARMS): Do not use macros from bp-asm.h.
59305         (DEST): Likewise.
59306         (SRC): Likewise.
59307         (LEN): Likewise.
59308         (__stpncpy): Likewise.  Do not use BP_SYM.
59309         (stpncpy): Do not use BP_SYM in weak_alias.
59310         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
59311         (PARMS): Do not use macros from bp-asm.h.
59312         (STR): Likewise.
59313         (CHR): Likewise.
59314         (strchr): Likewise.  Do not use BP_SYM.
59315         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
59316         "bp-asm.h".
59317         (PARMS): Do not use macros from bp-asm.h.
59318         (STR): Likewise.
59319         (CHR): Likewise.
59320         (__strchrnul): Likewise.  Do not use BP_SYM.
59321         (strchrnul): Do not use BP_SYM in weak_alias.
59322         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
59323         "bp-asm.h".
59324         (PARMS): Do not use macros from bp-asm.h.
59325         (STOP): Likewise.
59326         (strcspn): Do not use BP_SYM.
59327         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
59328         "bp-asm.h".
59329         (PARMS): Do not use macros from bp-asm.h.
59330         (STR): Likewise.
59331         (STOP): Likewise.
59332         (strpbrk): Likewise.  Do not use BP_SYM.
59333         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
59334         "bp-asm.h".
59335         (PARMS): Do not use macros from bp-asm.h.
59336         (STR): Likewise.
59337         (CHR): Likewise.
59338         (strrchr): Likewise.  Do not use BP_SYM.
59339         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
59340         (PARMS): Do not use macros from bp-asm.h.
59341         (SKIP): Likewise.
59342         (strspn): Do not use BP_SYM.
59343         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
59344         (PARMS): Do not use macros from bp-asm.h.
59345         (STR): Likewise.
59346         (DELIM): Likewise.
59347         (SAVE): Likewise.
59348         (FUNCTION): Likewise.  Do not use BP_SYM.
59349         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
59350         aliases.
59351         (strtok_r): Likewise.
59352         (__GI___strtok_r): Likewise.
59353         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
59354         (PARMS): Do not use macros from bp-asm.h.
59355         (S1): Likewise.
59356         (S2): Likewise.
59357         (SIZE): Likewise.
59358         (__mpn_sub_n): Do not use BP_SYM.
59359         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
59360         "bp-asm.h".
59361         (PARMS): Do not use macros from bp-asm.h.
59362         (S1): Likewise.
59363         (SIZE): Likewise.
59364         (__mpn_submul_1): Do not use BP_SYM.
59365         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
59366         <bp-sym.h>.
59367         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
59368         and <bp-asm.h>.
59369         (PARMS): Do not use macros from bp-asm.h.
59370         (FLAGS): Likewise.
59371         (PTID): Likewise.
59372         (TLS): Likewise.
59373         (CTID): Likewise.
59374         (__clone): Do not use BP_SYM.
59375         (clone): Do not use BP_SYM in weak_alias.
59376         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
59377         and <bp-asm.h>.
59378         (PARMS): Do not use macros from bp-asm.h.
59379         (LEN): Likewise.
59380         (__mmap64): Do not use BP_SYM.
59381         (mmap64): Do not use BP_SYM in weak_alias.
59382         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
59383         <bp-sym.h> and <bp-asm.h>.
59384         (PARMS): Do not use macros from bp-asm.h.
59385         (__posix_fadvise64_l64): Do not use BP_SYM.
59386         * sysdeps/unix/sysv/linux/i386/semtimedop.S
59387         (PARMS): Do not use macros from bp-asm.h.
59388         (NSOPS): Likewise.
59389         (semtimedop): Do not use BP_SYM.
59390         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
59391         and <bp-asm.h>.
59393 2013-02-21  Allan McRae  <allan@archlinux.org>
59395         * manual/message.texi (Charset conversion in gettext):
59396         Move @end statement to beginning of line.
59398 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59400         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
59401         static.
59402         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
59403         Likewise.
59405         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
59406         (denorm): Likewise.
59407         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
59408         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
59410 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59412         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
59413         tail-call to the resolved function if pltexit isn't needed.
59415 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59417         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
59418         or Y being zero as being unlikely.
59419         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
59420         Likewise.
59422 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
59424         * manual/nss.texi (System Databases and Name Service Switch):
59425         Remove frobnicate @pxref.
59427 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
59429         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
59430         __attribute__ ((unused)) to __attribute__ ((__unused__)).
59432 2013-02-20  Petr Machata  <pmachata@redhat.com>
59434         * elf/elf.h (R_ARM_TARGET1): New macro.
59435         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
59436         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
59437         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
59438         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
59439         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
59440         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
59441         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
59442         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
59443         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
59444         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
59445         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
59446         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
59447         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
59448         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
59449         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
59450         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
59451         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
59452         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
59453         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
59454         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
59455         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
59456         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
59457         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
59458         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
59459         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
59460         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
59461         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
59462         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
59463         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
59464         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
59465         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
59466         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
59467         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
59468         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
59469         (R_ARM_THM_GOT_BREL12): Likewise.
59470         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
59471         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
59472         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
59473         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
59474         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
59475         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
59476         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
59477         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
59478         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
59480 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
59482         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
59483         __attribute_used__ to __attribute__ ((unused)).
59485 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
59487         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
59488         powerpc mpa.c.
59489         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
59490         comment formatting.
59491         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
59493 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
59495         [BZ #13550]
59496         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
59497         Remove macro.
59498         (ENTER): Remove both macro definitions.
59499         (LEAVE): Likewise.
59500         (CHECK_BOUNDS_LOW): Likewise.
59501         (CHECK_BOUNDS_HIGH): Likewise.
59502         (CHECK_BOUNDS_BOTH): Likewise.
59503         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
59504         (RETURN_BOUNDED_POINTER): Likewise.
59505         (RETURN_NULL_BOUNDED_POINTER): Likewise.
59506         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
59507         (POP_ERRNO_LOCATION_RETURN): Likewise.
59508         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
59509         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59510         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
59511         macros.
59512         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59513         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
59514         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
59515         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
59516         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
59517         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
59518         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
59519         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
59520         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
59521         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
59522         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
59523         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
59524         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59525         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
59526         removed macros.
59527         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59528         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
59529         macros.
59530         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59531         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
59532         * sysdeps/i386/i586/memset.S (memset): Likewise.
59533         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
59534         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59535         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
59536         macros.
59537         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59538         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
59539         Change uses of L(2) to L(out).
59540         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
59541         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
59542         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
59543         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59544         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
59545         removed macros.
59546         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59547         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
59548         macros.
59549         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59550         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
59551         (RETURN): Do not use macro LEAVE.
59552         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
59553         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
59554         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
59555         * sysdeps/i386/i686/memset.S (memset): Likewise.
59556         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
59557         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
59558         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59559         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
59560         Likewise.
59561         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59562         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
59563         L(1_2) and L(1_3) into L(1).
59564         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
59565         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
59566         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59567         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
59568         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59569         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
59570         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
59571         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59572         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
59573         macros.
59574         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
59575         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59576         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
59577         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
59578         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
59579         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59580         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
59581         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
59582         * sysdeps/i386/strcspn.S (strcspn): Likewise.
59583         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
59584         * sysdeps/i386/strrchr.S (strrchr): Likewise.
59585         * sysdeps/i386/strspn.S (strspn): Likewise.
59586         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
59587         conditional code.
59588         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59589         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
59590         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
59591         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
59592         L(1_3) into L(1_1).
59593         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
59594         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59595         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
59596         macros.
59597         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59599 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
59601         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
59602         macro.
59604 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
59606         * math/atest-exp.c (exp_mpn): Remove ROUND.
59607         * math/atest-exp2.c (exp_mpn): Likewise.
59608         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
59610         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
59611         * stdlib/tst-tls-atexit-lib.c: Likewise.
59612         * stdlib/tst-tls-atexit.c: Likewise.
59614 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
59616         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
59617         and __attribute_alloc_size__.
59619 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
59621         * include/programs/xmalloc.h: Change __attribute_alloc_size to
59622         __attribute_alloc_size__.
59623         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
59624         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
59626 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
59628         * include/programs/xmalloc.h: New file.
59629         * catgets/gencat.c: Include it.
59630         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
59631         * elf/pldd.c: Likewise.
59632         * iconv/iconv_charmap.c: Likewise.
59633         * iconv/iconvconfig.c: Likewise.
59634         * iconv/strtab.c: Likewise.
59635         * locale/programs/locale.c: Likewise.
59636         * locale/programs/localedef.h: Likewise.
59637         * locale/programs/simple-hash.c: Likewise.
59638         * nscd/nscd.h: Likewise.
59639         * nss/makedb.c: Likewise.
59640         * sysdeps/generic/ldconfig.h: Likewise.
59642 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59644         * Versions.def: Add GLIBC_2.18.
59645         * include/link.h (struct link_map): New member l_tls_dtor_count.
59646         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
59647         (__call_tls_dtors): Likewise.
59648         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
59649         __cxa_thread_atexit_impl.
59650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59651         Likewise.
59652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59653         Likewise.
59654         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
59655         Likewise.
59656         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
59657         Likewise.
59658         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59659         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
59660         Likewise.
59661         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
59662         Likewise.
59663         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59664         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
59665         Likewise.
59666         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
59667         (tests): Add test case tst-tls-atexit.
59668         (modules-names): Add shared library for tst-tls-atexit.
59669         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
59670         (GLIBC_PRIVATE): Add __call_tls_dtors.
59671         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
59672         for libstdc++.
59673         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
59674         * stdlib/tst-tls-atexit.c: New test case.
59675         * stdlib/tst-tls-atexit-lib.c: New test case.
59677         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
59679         * elf/Versions (ld): Add _dl_find_dso_for_object.
59680         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
59681         * elf/dl-open.c (_dl_find_dso_for_object): New function.
59682         (dl_open_worker): Use _dl_find_dso_for_object.
59683         * elf/dl-sym.c (do_sym): Likewise.
59684         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
59686 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59688         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
59689         Syntactic changes only.
59690         (_dl_runtime_profile): Do a tail-call to the resolved function.
59692 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
59694         [BZ #13550]
59695         * sysdeps/x86_64/bp-asm.h: Remove file.
59696         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
59697         <bp-sym.h> and <bp-asm.h>.
59698         (__clone): Do not use BP_SYM.
59699         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
59700         <bp-sym.h> and <bp-asm.h>.
59701         * sysdeps/unix/x86_64/sysdep.S: Likewise.
59702         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
59703         "bp-asm.h".
59704         (_setjmp): Do not use BP_SYM.
59705         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
59706         "bp-asm.h".
59707         (setjmp): Do not use BP_SYM.
59708         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
59709         libc_hidden_def.
59710         (mempcpy): Do not use BP_SYM in weak_alias.
59711         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
59712         "bp-asm.h".
59713         (strchr): Do not use BP_SYM.
59714         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
59715         "bp-asm.h".
59716         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
59717         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
59718         (_start): Do not use BP_SYM.
59719         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
59720         "bp-asm.h".
59721         (strcat): Do not use BP_SYM.
59722         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
59723         "bp-asm.h".
59724         (STRCMP): Do not use BP_SYM.
59725         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
59726         "bp-asm.h".
59727         (STRCPY): Do not use BP_SYM.
59728         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
59729         "bp-asm.h".
59730         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
59731         "bp-asm.h".
59732         (FUNCTION): Do not use BP_SYM.
59733         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
59734         weak_alias.
59735         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
59737 2013-02-17  Andreas Jaeger  <aj@suse.de>
59739         * time/Versions: Sort entries.
59740         * string/Versions: Likewise.
59741         * resolv/Versions: Likewise.
59742         * posix/Versions: Likewise.
59743         * iconv/Versions: Likewise.
59744         * elf/Versions: Likewise.
59745         * wcsmbs/Versions: Likewise.
59747 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
59749         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
59750         loop termination condition.
59752         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
59753         variable to calculate EZ.
59754         (__sqr): Likewise.
59756         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
59757         the lower precision input.
59759 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
59761         [BZ #13550]
59762         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
59763         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
59764         (run-via-rtld-prefix): Do not handle %-bp tests.
59765         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
59766         (all-object-suffixes): Remove .ob.
59767         (bppfx): Remove variable.
59768         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
59769         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
59770         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
59771         [$(build-bounded) = yes] (libtype.ob): Likewise.
59772         * Makerules (elide-routines.ob): Remove variable.
59773         (do-tests-clean): Do not handle *-bp.out.
59774         (common-mostlyclean): Do not handle *-bp and *-bp.out.
59775         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
59776         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
59777         (tests): Do not include $(tests-bp.out).
59778         (xtests): Do not include $(xtests-bp.out).
59779         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
59780         [$(build-bounded) = yes] ($(addprefix
59781         $(objpfx),$(binaries-bounded))): Remove rule.
59782         ($(objpfx)%-bp.out): Remove rule.
59783         * config.make.in (build-bounded): Remove variable.
59784         * crypt/Makefile [$(build-bounded) = yes]
59785         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
59786         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
59787         append to variable.
59788         [$(build-bounded) = yes] (install-lib): Likewise.
59789         [$(build-bounded) = yes] (generated): Likewise.
59790         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
59791         Remove rule.
59792         * intl/Makefile [$(build-bounded) = yes]
59793         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
59794         * math/Makefile [$(build-bounded) = yes]
59795         ($(tests:%=$(objpfx)%-bp): Likewise.
59796         * misc/Makefile [$(build-bounded) = yes]
59797         ($(objpfx)tst-tsearch-bp): Likewise.
59798         * nptl/Makeconfig (bounded-thread-library): Remove variable.
59799         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
59800         Remove dependency.
59801         * string/Makefile (o-objects.ob): Remove variable.
59802         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
59803         (CFLAGS-.ob): Remove variable.
59804         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
59805         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
59806         both definitions of variable.
59807         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
59808         (ASFLAGS-.ob): Remove variable.
59810 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
59812         [BZ #13550]
59813         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
59814         Remove __BOUNDED_POINTERS__ from condition.
59815         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
59816         * string/bits/string2.h [!__NO_STRING_INLINES &&
59817         !__BOUNDED_POINTERS__]: Likewise.
59818         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
59819         Likewise.
59820         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
59821         Remove conditional code.
59822         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
59823         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
59824         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
59825         condition.
59827         [BZ #13550]
59828         * csu/libc-start.c: Do not include <bp-sym.h>.
59829         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
59830         * elf/dl-open.c: Do not include <bp-sym.h>.
59831         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
59832         * math/fegetenv.c: Do not include <bp-sym.h>.
59833         (fegetenv): Do not use BP_SYM in versioned symbols.
59834         * nptl/sysdeps/pthread/bits/libc-lockP.h
59835         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
59836         <bp-sym.h>.
59837         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59838         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
59839         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59840         (__pthread_mutex_destroy): Likewise.
59841         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59842         (__pthread_mutex_lock): Likewise.
59843         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59844         (__pthread_mutex_trylock): Likewise.
59845         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59846         (__pthread_mutex_unlock): Likewise.
59847         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59848         (__pthread_mutexattr_init): Likewise.
59849         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59850         (__pthread_mutexattr_destroy): Likewise.
59851         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59852         (__pthread_mutexattr_settype): Likewise.
59853         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59854         (__pthread_rwlock_init): Likewise.
59855         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59856         (__pthread_rwlock_destroy): Likewise.
59857         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59858         (__pthread_rwlock_rdlock): Likewise.
59859         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59860         (__pthread_rwlock_tryrdlock): Likewise.
59861         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59862         (__pthread_rwlock_wrlock): Likewise.
59863         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59864         (__pthread_rwlock_trywrlock): Likewise.
59865         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59866         (__pthread_rwlock_unlock): Likewise.
59867         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59868         (__pthread_key_create): Likewise.
59869         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59870         (__pthread_setspecific): Likewise.
59871         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59872         (__pthread_getspecific): Likewise.
59873         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
59874         Likewise.
59875         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59876         (_pthread_cleanup_push_defer): Likewise.
59877         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59878         (_pthread_cleanup_pop_restore): Likewise.
59879         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59880         (pthread_setcancelstate): Likewise.
59881         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
59882         <bp-sym.h>.
59883         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
59884         (memchr): Do not use BP_SYM in weak_alias.
59885         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
59886         (fegetenv): Do not use BP_SYM in versioned symbols.
59887         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
59888         (fesetenv): Do not use BP_SYM in versioned symbols.
59889         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
59890         (feupdateenv): Do not use BP_SYM in versioned symbols.
59891         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
59892         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
59893         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
59894         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
59895         (open64): Do not use BP_SYM in weak_alias.
59896         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
59897         (fegetenv): Do not use BP_SYM in versioned symbols.
59898         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
59899         (fesetenv): Do not use BP_SYM in versioned symbols.
59900         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
59901         (feupdateenv): Do not use BP_SYM in versioned symbols.
59902         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
59903         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
59904         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
59905         (feraiseexcept): Do not use BP_SYM in versioned symbols.
59906         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
59907         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
59908         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
59909         <bp-sym.h>.
59910         (__libc_start_main): Do not use BP_SYM.
59912 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
59914         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
59915         redundant return line.
59916         (norm): Likewise.
59917         (denorm): Likewise.
59918         (dbl_mp): Likewise.
59919         (sub_magnitudes): Likewise.
59920         (__add): Likewise.
59921         (__sub): Likewise.
59922         (__mul): Likewise.
59923         (__inv): Likewise.
59924         (__dvd): Likewise.
59925         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
59926         (norm): Likewise.
59927         (denorm): Likewise.
59928         (dbl_mp): Likewise.
59929         (sub_magnitudes): Likewise.
59930         (__add): Likewise.
59931         (__sub): Likewise.
59932         (__mul): Likewise.
59933         (__inv): Likewise.
59934         (__dvd): Likewise.
59936         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
59937         instead of __mul.
59938         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
59939         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
59940         (cc32): Likewise.
59942         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
59943         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
59944         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
59945         of __mul for squares.
59946         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
59947         function
59948         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
59949         Likewise.
59950         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
59951         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59953 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
59955         [BZ #13550]
59956         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
59957         code.
59958         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
59959         prototype or function definition.  Rename ubp_* variables and
59960         parameters.  Remove argv definitions conditional on
59961         [__BOUNDED_POINTERS__].
59962         * debug/backtrace.c (__backtrace): Do not use __unbounded.
59963         * elf/dl-runtime.c (_dl_fixup): Likewise.
59964         * include/set-hooks.h (RUN_HOOK): Likewise.
59965         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
59966         definition.
59967         * string/strcpy.c (strcpy): Do not use __unbounded.
59968         * sysdeps/generic/frame.h (struct layout): Likewise.
59969         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
59970         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
59971         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
59972         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
59973         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
59974         (__backtrace): Likewise.
59975         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
59976         use __ptrvalue.
59977         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
59978         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
59979         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
59980         Likewise.
59981         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
59982         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
59983         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
59984         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
59985         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
59986         Do not use __unbounded.
59987         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
59988         Rename __unboundedrlimits parameter to rlimits in prototype.
59989         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
59990         Do not use __unbounded.
59991         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
59992         not use __ptrvalue.
59993         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
59994         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
59995         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
59996         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
59997         __ptrvalue or __unbounded.
59998         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
59999         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
60000         use __unbounded.
60001         (__new_msgctl): Do not use __ptrvalue.
60002         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
60003         __unbounded.
60004         (__libc_msgrcv): Do not use __ptrvalue.
60005         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
60006         startup_info): Do not use __unbounded.
60007         (__libc_start_main): Likewise.  Rename ubp_* variables and
60008         parameters.  Remove argv definitions conditional on
60009         [__BOUNDED_POINTERS__].
60010         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
60011         __ptrvalue.
60012         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
60013         use __unbounded.
60014         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
60015         or __ptrvalue.
60016         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
60017         use __unbounded.
60018         (__new_shmctl): Do not use __ptrvalue.
60019         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
60020         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
60021         Likewise.
60022         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
60023         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
60024         (__libc_sigaction): Likewise.
60025         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
60026         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
60027         Likewise.
60028         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
60030 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
60032         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
60034         * string/mempcpy.c: Implement by calling memcpy.
60036 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
60038         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
60040         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
60041         evaluation.
60043         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
60044         values in the mantissa.
60046         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
60047         minimize writes to Z.
60048         (sub_magnitudes): Simplify code a bit.
60050 2013-02-12  Roland McGrath  <roland@hack.frob.com>
60052         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
60053         from the message.  The linker prefixes all warnings with that already.
60055 2013-02-12  Andreas Schwab  <schwab@suse.de>
60057         [BZ #15078]
60058         * posix/regexec.c (extend_buffers): Add parameter min_len.
60059         (check_matching): Pass minimum needed length.
60060         (clean_state_log_if_needed): Likewise.
60061         (get_subexp): Likewise.
60062         * posix/Makefile (tests): Add bug-regex34.
60063         (bug-regex34-ENV): Define.
60064         * posix/bug-regex34.c: New file.
60066         [BZ #11561]
60067         * posix/regcomp.c (parse_bracket_exp): When looking up collating
60068         elements compare against the byte sequence of it, not its name.
60069         * posix/Makefile (tests): Add bug-regex35.
60070         (bug-regex35-ENV): Define.
60071         * posix/bug-regex35.c: New file.
60073 2013-02-11  Tom de Vries  <tom@codesourcery.com>
60075         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
60076         comment.
60077         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
60078         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
60079         (CHECK_EOL): Add undef.
60081 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
60083         * bits/stdlib-bsearch.h: New file.
60084         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
60085         * stdlib/stdlib.h: Likewise.
60087 2013-02-11  Roland McGrath  <roland@hack.frob.com>
60089         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
60090         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
60091         declaration.
60092         * manual/search.texi (Array Search Function): Add missing const in
60093         lfind prototype.
60094         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
60095         declaration to use rlim_t.
60096         (Basic Scheduling Functions): Remove erroneous const from
60097         sched_getparam prototype.  Remove erroneous * from
60098         sched_get_priority_max and sched_get_priority_min prototypes.
60099         (Resource Usage): Fix summary @comment on vtimes to refer to
60100         sys/vtimes.h rather than vtimes.h.
60101         Add missing *s in vtimes prototype.
60102         (Limits on Resources): Fix ulimit prototype to return long int.
60103         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
60104         prototypes to use long int rather than double.
60105         (BSD Random): Fix initstate and setstate to use char *, not void *.
60106         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
60107         prototype to make second argument 'struct aiocb64 *const[]'.
60108         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
60109         (Status of AIO Operations): Remove erroneous const in aio_return and
60110         aio_return64 prototypes.
60111         (Synchronizing I/O): Fix sync prototype to return void.
60112         * manual/startup.texi (Suboptions): Remove an erroneous const in
60113         getsubopt prototype.
60114         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
60115         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
60116         use size_t rather than int.
60117         (Scanning All Users): Likewise for getpwent_r.
60118         (Setting Groups): Add missing const to setgroups prototype.
60119         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
60120         * manual/socket.texi (Host Names): Fix gethostbyaddr and
60121         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
60122         'const void *' rather than 'const char *'.
60123         (Host Address Functions): Likewise for inet_ntop.
60124         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
60125         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
60126         ssize_t for return value.
60127         (Sending Data): Likewise for send, sendto, sendmsg.
60128         (Socket Option Functions): Add a missing const in setsockopt prototype.
60129         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
60130         use wchar_t for the argument.
60131         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
60132         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
60133         take no arguments.
60134         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
60135         double/float/long double for second argument.
60136         Fix return types of significand, significandf, significandl.
60137         * manual/filesys.texi (Setting Permissions): Use mode_t for second
60138         argument in fchmod prototype.
60139         (File Owner): Use uid_t and gid_t in fchown prototype.
60140         (File Times): Add const to utimes, futimes, and lutimes prototypes.
60141         (Making Special Files): Use mode_t and dev_t in mknod prototype.
60142         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
60143         use 'const struct dirent **' as argument types to CMP function pointer
60144         argument.
60145         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
60146         (File Times): Fix summary magic @comment for struct utimbuf and utime
60147         to refer to utime.h, not time.h.
60148         * manual/string.texi (Argz Functions): Add missing const in
60149         argz_extract and argz_next prototypes.
60150         (Finding Tokens in a String): Likewise for basename.
60151         (String/Array Comparison): Fix typo in wcscasecmp prototype.
60152         (Copying and Concatenation): Fix typo in wmemmove prototype.
60153         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
60154         (Signal Stack): Remove erroneous const in sigstack prototype.
60155         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
60156         prototype.
60157         (Simple Calendar Time): Likewise for stime.
60158         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
60159         prototype.
60160         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
60161         say sys/sysctl.h instead.
60162         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
60163         and vsyslog prototypes.
60165 2013-02-11  Tom de Vries  <tom@codesourcery.com>
60167         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
60168         Remove.
60170 2013-02-11  Roland McGrath  <roland@hack.frob.com>
60172         * misc/sys/mman.h: Fix typo in mremap comment.
60174 2013-02-08  Roland McGrath  <roland@hack.frob.com>
60176         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
60177         the '\0' terminator.
60179 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
60181         [BZ #13550]
60182         * debug/segfault.c: Don't include <bp-checks.h>.
60183         * sysdeps/generic/bp-checks.h: Remove file.
60184         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
60185         (__GETDENTS): Don't use CHECK_N.
60186         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
60187         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
60188         (__getgroups): Don't use CHECK_N.
60189         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
60190         (setgroups): Don't use CHECK_N.
60191         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
60192         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
60193         (__libc_msgrcv): Don't use CHECK_N.
60194         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
60195         (__libc_msgsnd): Don't use CHECK_N.
60196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
60197         <bp-checks.h>.
60198         (__libc_pread): Don't use CHECK_N.
60199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
60200         include <bp-checks.h>.
60201         (__libc_pread64): Don't use CHECK_N.
60202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
60203         include <bp-checks.h>.
60204         (__libc_pwrite): Don't use CHECK_N.
60205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
60206         include <bp-checks.h>.
60207         (__libc_pwrite64): Don't use CHECK_N.
60208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
60209         <bp-checks.h>.
60210         (__libc_pread): Don't use CHECK_N.
60211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
60212         include <bp-checks.h>.
60213         (__libc_pread64): Don't use CHECK_N.
60214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
60215         include <bp-checks.h>.
60216         (__libc_pwrite): Don't use CHECK_N.
60217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
60218         include <bp-checks.h>.
60219         (__libc_pwrite64): Don't use CHECK_N.
60220         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
60221         (do_pread): Don't use CHECK_N.
60222         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
60223         (do_pread64): Don't use CHECK_N.
60224         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
60225         (do_pwrite): Don't use CHECK_N.
60226         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
60227         (do_pwrite64): Don't use CHECK_N.
60228         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
60229         (__libc_readv): Don't use CHECK_N.
60230         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
60231         (semop): Don't use CHECK_N.
60232         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
60233         <bp-checks.h>.
60234         (semtimedop): Don't use CHECK_N.
60235         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
60236         (__libc_pread): Don't use CHECK_N.
60237         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
60238         <bp-checks.h>.
60239         (__libc_pread64): Don't use CHECK_N.
60240         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
60241         <bp-checks.h>.
60242         (__libc_pwrite): Don't use CHECK_N.
60243         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
60244         <bp-checks.h>.
60245         (__libc_pwrite64): Don't use CHECK_N.
60246         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
60247         <bp-checks.h>.
60248         (__libc_msgrcv): Don't use CHECK_N.
60249         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
60250         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
60251         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
60252         (__libc_writev): Don't use CHECK_N.
60254 2013-02-08  Roland McGrath  <roland@hack.frob.com>
60256         * string/strcpy.c: Removed unused variable.
60258         * Makeconfig (+sysdep-includes): Define with := rather than =.
60259         Use an existing include/ subdir of each sysdeps dir before it.
60261 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
60263         * nscd/connection.c (register_traced_file): Comment function.
60264         [HAVE_INOTIFY] (union __inev): Define.
60265         [HAVE_INOTIFY] (inotify_check_files): New function.
60266         [HAVE_INOTIFY] (clear_db_cache): Likewise.
60267         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
60268         clear_db_cache.
60269         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
60271 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
60273         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
60274         loaded if not already and that a failure is permanent.
60276 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
60278         [BZ #15006]
60279         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
60280         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
60282 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
60284         [BZ #13550]
60285         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
60286         (CHECK_1_NULL_OK): Likewise.
60287         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
60288         (__fxstat): Do not use CHECK_1.
60289         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
60290         <bp-checks.h>.
60291         (___fxstat64): Do not use CHECK_1.
60292         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
60293         <bp-checks.h>.
60294         (__fxstatat): Do not use CHECK_1.
60295         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
60296         <bp-checks.h>.
60297         (__fxstatat64): Do not use CHECK_1.
60298         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
60299         <bp-checks.h>.
60300         (__fxstat): Do not use CHECK_1.
60301         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
60302         <bp-checks.h>.
60303         (__fxstatat): Do not use CHECK_1.
60304         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
60305         <bp-checks.h>.
60306         (__getresgid): Do not use CHECK_1.
60307         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
60308         <bp-checks.h>.
60309         (__getresuid): Do not use CHECK_1.
60310         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
60311         <bp-checks.h>.
60312         (__lxstat): Do not use CHECK_1.
60313         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
60314         <bp-checks.h>.
60315         (__old_msgctl): Do not use CHECK_1.
60316         (__new_msgctl): Likewise.
60317         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
60318         <bp-checks.h>.
60319         (__new_setrlimit): Do not use CHECK_1.
60320         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
60321         <bp-checks.h>.
60322         (__old_shmctl): Do not use CHECK_1.
60323         (__new_shmctl): Likewise.
60324         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
60325         <bp-checks.h>.
60326         (__xstat): Do not use CHECK_1.
60327         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
60328         (__lxstat): Do not use CHECK_1.
60329         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
60330         <bp-checks.h>.
60331         (___lxstat64): Do not use CHECK_1.
60332         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
60333         (__old_msgctl): Do not use CHECK_1.
60334         (__new_msgctl): Likewise.
60335         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
60336         <bp-checks.h>.
60337         (__gettimeofday): Do not use CHECK_1.
60338         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
60339         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
60340         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
60341         <bp-checks.h>.
60342         (__gettimeofday): Do not use CHECK_1.
60343         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
60344         (__old_shmctl): Do not use CHECK_1_NULL_OK.
60345         (__new_shmctl): Do not use CHECK_1.
60346         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
60347         <bp-checks.h>.
60348         (do_sigtimedwait): Do not use CHECK_1.
60349         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
60350         <bp-checks.h>.
60351         (do_sigwaitinfo): Do not use CHECK_1.
60352         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
60353         <bp-checks.h>.
60354         (msgctl): Do not use CHECK_1.
60355         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
60356         <bp-checks.h>.
60357         (shmctl): Do not use CHECK_1.
60358         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
60359         (ustat): Do not use CHECK_1.
60360         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
60361         <bp-checks.h>.
60362         (__fxstat): Do not use CHECK_1.
60363         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
60364         <bp-checks.h>.
60365         (__fxstatat): Do not use CHECK_1.
60366         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
60367         <bp-checks.h>.
60368         (__lxstat): Do not use CHECK_1.
60369         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
60370         <bp-checks.h>.
60371         (__xstat): Do not use CHECK_1.
60372         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
60373         (__xstat): Do not use CHECK_1.
60374         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
60375         (___xstat64): Do not use CHECK_1.
60377         [BZ #13550]
60378         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
60379         definitions.
60380         (CHECK_BOUNDS_HIGH): Likewise.
60381         * string/strcpy.c: Do not include <bp-checks.h>.
60382         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
60384 2013-02-07  Roland McGrath  <roland@hack.frob.com>
60386         * nscd/nscd-client.h (__nscd_drop_map_ref):
60387         Add __attribute__ ((unused)).
60388         * nis/nss-nisplus.h (niserr2nss): Likewise.
60390         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
60391         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
60393         * csu/libc-tls.c (init_static_tls, init_slotinfo):
60394         Remove inline keyword.
60395         * include/rounding-mode.h (round_away): Likewise.
60396         * libio/wfileops.c (adjust_wide_data): Likewise.
60397         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
60398         (__m128i_strloadu_tolower): Likewise.
60399         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
60400         (__m128i_strloadu_tolower): Likewise.
60401         * time/mktime.c (ydhms_diff): Likewise.
60402         * locale/elem-hash.h (elem_hash): Likewise.
60403         * locale/setlocale.c (setdata): Likewise.
60404         * posix/regex_internal.h (re_string_char_size_at): Likewise.
60405         (re_string_wchar_at): Likewise.
60406         (bitset_not, bitset_merge, bitset_mask): Likewise.
60407         [!(__GNUC__ > 3)] (inline): Remove macro.
60408         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
60409         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
60410         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
60411         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
60412         * string/memcmp.c (memcmp_bytes): Likewise.
60413         * locale/programs/locarchive.c (compute_hashval): Likewise.
60414         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
60415         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
60416         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
60417         * nss/getent.c (print_rpc, print_protocols): Likewise.
60418         (print_passwd, print_group, print_aliases): Likewise.
60419         * nis/nss-nisplus.h (niserr2nss): Likewise.
60420         * nscd/connections.c (restart_p): Likewise.
60421         Change return type to bool.
60423 2013-02-05  Roland McGrath  <roland@hack.frob.com>
60425         * Makeconfig (all-Depend-files): Add existing
60426         $(sorted-subdirs:=/Depend) files.
60427         (all-subdirs): Remove nss.
60428         * sysdeps/unix/inet/Subdirs: Add it here instead.
60429         * hesiod/Depend: New file.
60431         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
60432         instead of calling alloca.
60434         * io/lseek.c (__lseek): Rename to __libc_lseek.
60435         Define __lseek as an alias.
60437         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
60439 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
60441         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
60442         else clause and remove check for non-standard endianness.
60444 2013-02-04  David S. Miller  <davem@davemloft.net>
60446         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60448 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
60450         [BZ #13550]
60451         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
60452         (__ubp_memchr): Remove prototype.
60453         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
60454         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
60455         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
60456         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
60457         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
60458         Remove alias.
60459         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
60460         (__ubp_memchr): Likewise.
60461         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
60462         (__ubp_memchr): Likewise.
60463         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
60464         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
60465         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
60466         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
60467         CHECK_STRING.
60468         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
60469         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
60470         (__getcwd): Do not use CHECK_STRING.
60471         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
60472         <bp-checks.h>.
60473         (__real_chown): Do not use CHECK_STRING.
60474         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
60475         <bp-checks.h>.
60476         (fchownat): Do not use CHECK_STRING.
60477         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
60478         CHECK_STRING.
60479         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
60480         <bp-checks.h>.
60481         (__lchown): Do not use CHECK_STRING.
60482         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
60483         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
60484         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
60485         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
60486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
60487         include <bp-checks.h>.
60488         (truncate64): Do not use CHECK_STRING.
60489         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
60490         <bp-checks.h>.
60491         (__real_chown): Do not use CHECK_STRING.
60492         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
60493         <bp-checks.h>.
60494         (__lchown): Do not use CHECK_STRING.
60495         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
60496         <bp-checks.h>.
60497         (__chown): Do not use CHECK_STRING.
60498         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
60499         <bp-checks.h>.
60500         (truncate64): Do not use CHECK_STRING.
60501         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
60502         Likewise.
60503         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
60504         (__xmknod): Do not use CHECK_STRING.
60505         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
60506         <bp-checks.h>.
60507         (__xmknodat): Do not use CHECK_STRING.
60508         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
60509         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
60511 2013-02-04  Andreas Schwab  <schwab@suse.de>
60513         [BZ #14142]
60514         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
60515         * include/netdb.h: Likewise for h_errno.
60516         * elf/tst-stackguard1.c: Include <tls.h>.
60518 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
60520         * elf/link.h (struct link_map): Extend the l_addr comment.
60521         * include/link.h (struct link_map): Likewise.
60523 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
60525         [BZ #13550]
60526         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
60527         (BOUNDED_1): Remove macro.
60528         * debug/backtrace.c: Don't include <bp-checks.h>.
60529         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
60530         (__backtrace): Likewise.
60531         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
60532         <bp-checks.h>.
60533         (__backtrace): Don't use BOUNDED_1.
60534         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
60535         <bp-checks.h>.
60536         (__backtrace): Don't use BOUNDED_1.
60537         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
60538         (__backtrace): Don't use BOUNDED_1.
60539         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
60540         (shmat): Don't use BOUNDED_N.
60542 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
60544         [BZ #13550]
60545         * sysdeps/generic/bp-start.h: Remove file.
60546         * csu/libc-start.c: Don't include <bp-start.h>.
60547         (LIBC_START_MAIN): Set up __environ directly instead of using
60548         INIT_ARGV_and_ENVIRON.
60549         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
60550         <bp-start.h>.
60552         [BZ #13550]
60553         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
60554         definitions.
60555         (CHECK_FCNTL): Likewise.
60556         (CHECK_N_PAGES): Likewise.
60558         [BZ #13550]
60559         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
60560         definitions.
60561         (CHECK_SIGSET_NULL_OK): Likewise.
60562         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
60563         <bp-checks.h>.
60564         (sigpending): Don't use CHECK_SIGSET.
60565         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
60566         <bp-checks.h>.
60567         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
60568         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
60569         <bp-checks.h>.
60570         (do_sigsuspend): Don't use CHECK_SIGSET.
60571         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
60572         use CHECK_SIGSET.
60573         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
60574         (do_sigwait): Don't use CHECK_SIGSET.
60575         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
60576         use CHECK_SIGSET.
60577         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
60578         include <bp-checks.h>.
60579         (sigpending): Don't use CHECK_SIGSET.
60580         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
60581         include <bp-checks.h>.
60582         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
60583         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
60584         <bp-checks.h>.
60585         (sigpending): Don't use CHECK_SIGSET.
60586         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
60587         <bp-checks.h>.
60588         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
60590         [BZ #13550]
60591         * sysdeps/generic/bp-semctl.h: Remove file.
60592         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
60593         <bp-checks.h> and <bp-semctl.h>.
60594         (__old_semctl): Don't use CHECK_SEMCTL.
60595         (__new_semctl): Likewise.
60596         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
60597         and <bp-semctl.h>.
60598         (__old_semctl): Don't use CHECK_SEMCTL.
60599         (__new_semctl): Likewise.
60600         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
60601         <bp-checks.h> and <bp-semctl.h>.
60602         (__old_semctl): Don't use CHECK_SEMCTL.
60603         (__new_semctl): Likewise.
60604         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
60605         <bp-checks.h> and <bp-semctl.h>.
60606         (semctl): Don't use CHECK_SEMCTL.
60608         [BZ #13550]
60609         * Makerules (elide-bp-thunks): Remove variable.
60610         (elide-routines.oS): Don't use $(elide-bp-thunks).
60611         (elide-routines.os): Likewise.
60612         (elide-routines.o): Likewise.
60613         (elide-routines.op): Likewise.
60614         (elide-routines.og): Likewise.
60615         (objects): Don't use $(bp-thunks).
60616         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
60617         include.
60618         (common-generated): Do not add s-proto-bp.d.
60619         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
60620         (int): Likewise.
60621         (typ): Likewise.
60622         Do not generate makefile rules for bounded-pointer thunks.
60623         * sysdeps/generic/bp-thunks.h: Remove file.
60624         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
60625         * sysdeps/unix/s-proto-bp.S: Likewise.
60627         [BZ #15062]
60628         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
60629         parts of result separately when argument is not close to line from
60630         -i to i and one part of argument is small.
60631         * math/k_casinhf.c (__kernel_casinhf): Likewise.
60632         * math/k_casinhl.c (__kernel_casinhl): Likewise.
60633         * math/libm-test.inc (cacos_test): Add more tests.
60634         (casin_test): Likewise.
60635         (casinh_test): Likewise.
60636         * sysdeps/i386/fpu/libm-test-ulps: Update.
60637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60639 2013-01-31  David S. Miller  <davem@davemloft.net>
60641         * po/de.po: Update from translation team.
60643 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
60645         * time/tzfile.c: Include stdint.h for SIZE_MAX.
60647 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
60649         * configure.in (_AC_PROG_CC_C89): New definition.
60650         * configure: Regenerate.
60652         * configure.in (AC_PROG_CPP): New definition.
60653         * configure: Regenerate.
60655 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
60657         * debug/tst-backtrace.h: New file.
60658         * debug/tst-backtrace2.c: Include tst-backtrace.h.
60659         (ret): Remove variable.
60660         (x): Likewise.
60661         (FAIL): Remove macro.
60662         (NO_INLINE): Likewise.
60663         (fn1): Use match function instead of strstr.
60664         * debug/tst-backtrace3.c: Include tst-backtrace.h.
60665         (ret): Remove variable.
60666         (x): Likewise.
60667         (FAIL): Remove macro.
60668         (NO_INLINE): Likewise.
60669         (fn): Use match function instead of strstr.
60670         * debug/tst-backtrace4.c: Include tst-backtrace.h.
60671         (ret): Remove variable.
60672         (x): Likewise.
60673         (FAIL): Remove macro.
60674         (NO_INLINE): Likewise.
60675         (handle_signal): Use match function instead of strstr.
60676         * debug/tst-backtrace5.c: Include tst-backtrace.h.
60677         (ret): Remove variable.
60678         (x): Likewise.
60679         (FAIL): Remove macro.
60680         (NO_INLINE): Likewise.
60681         (handle_signal): Use match function instead of strstr.
60683 2013-01-23  Roland McGrath  <roland@hack.frob.com>
60685         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
60687 2013-01-23  David S. Miller  <davem@davemloft.net>
60689         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
60690         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
60691         argument of CAS if possible.
60692         * sysdeps/sparc/sparc64/bits/atomic.h
60693         (__arch_compare_and_exchange_val_32_acq): Likewise.
60694         (__arch_compare_and_exchange_val_64_acq): Likewise.
60696 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
60698         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
60699         * sysdeps/posix/ulimit.c: ... this.
60700         Include <limits.h>.
60701         * sysdeps/unix/bsd/ulimit.c: Remove file.
60703 2013-01-23  Adam Conrad  <adconrad@0c3.net>
60705         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
60706         (LDFLAGS-tst-array5): Likewise.
60708 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
60710         [BZ #15036]
60711         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
60712         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
60713         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
60714         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
60716 2013-01-21  David S. Miller  <davem@davemloft.net>
60718         * sysdeps/sparc/backtrace.c: New file.
60719         * sysdeps/sparc/sparc32/backtrace.h: New file.
60720         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
60721         * sysdeps/sparc/sparc64/backtrace.h: New file.
60722         * sysdeps/sparc/sparc64/backtrace.c: Delete.
60723         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
60724         -funwind-tables.
60726 2013-01-21  Andreas Schwab  <schwab@suse.de>
60728         [BZ #15020]
60729         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
60730         closed its stdout.
60732 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
60734         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
60735         "mpa2.h".
60736         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60738 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
60739             Mark Mitchell  <mark@codesourcery.com>
60740             Tom de Vries  <tom@codesourcery.com>
60741             Paul Pluzhnikov  <ppluzhnikov@google.com>
60743         * debug/tst-backtrace2.c: New file.
60744         * debug/tst-backtrace3.c: Likewise.
60745         * debug/tst-backtrace4.c: Likewise.
60746         * debug/tst-backtrace5.c: Likewise.
60747         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
60748         (CFLAGS-tst-backtrace3.c): Likewise.
60749         (CFLAGS-tst-backtrace4.c): Likewise.
60750         (CFLAGS-tst-backtrace5.c): Likewise.
60751         (LDFLAGS-tst-backtrace2): Likewise.
60752         (LDFLAGS-tst-backtrace3): Likewise.
60753         (LDFLAGS-tst-backtrace4): Likewise.
60754         (LDFLAGS-tst-backtrace5): Likewise.
60755         (tests): Add new tests tst-backtrace2, tst-backtrace3,
60756         tst-backtrace4 and tst-backtrace5.
60758 2013-01-18  Anton Blanchard  <anton@samba.org>
60759             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60761         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
60762         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
60763         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
60764         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
60765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
60766         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
60767         "+r" and remove output regs list as redundant.  Add explicit inline
60768         asm to specify register of return val to work around compiler codegen
60769         bug.  Remove (int) cast on return value.  Add return type parameter to
60770         use in macro so that this macro does not truncate return value for
60771         64-bit values.
60772         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
60773         pass to INTERNAL_VSYSCALL_NCS.
60774         (INLINE_VSYSCALL): Add 'long int' as return type to
60775         INTERNAL_VSYSCALL_NCS macro invocation.
60776         (INTERNAL_VSYSCALL): Add 'long int' as return type to
60777         INTERNAL_VSYSCALL_NCS macro invocation.
60778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
60780 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60782         [BZ #14496]
60783         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
60784         Fix application of SIMD FP exception mask.
60786         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
60787         mp_no from a power of two.
60788         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
60789         __mpexp_twomm1.  Use __pow_mp.
60791         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
60792         multiplication.
60794 2013-01-17  David S. Miller  <davem@davemloft.net>
60796         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60798 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
60800         [BZ #15023]
60801         * include/complex.h: Condition contents on [!_COMPLEX_H].
60802         (__kernel_casinhf): New prototype.
60803         (__kernel_casinh): Likewise.
60804         (__kernel_casinhl): Likewise.
60805         * math/Makefile (libm_calls): Add k_casinh.
60806         * math/k_casinh.c: New file.
60807         * math/k_casinhf.c: Likewise.
60808         * math/k_casinhl.c: Likewise.
60809         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
60810         finite nonzero arguments.
60811         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
60812         finite nonzero arguments.
60813         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
60814         finite nonzero arguments.
60815         * math/s_casinh.c: Do not include <float.h>.
60816         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
60817         * math/s_casinhf.c: Do not include <float.h>.
60818         (__casinhf): Move code for finite nonzero arguments to
60819         k_casinhf.c.
60820         * math/s_casinhl.c: Do not include <float.h>.
60821         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
60822         redefine.
60823         (__casinhl): Move code for finite nonzero arguments to
60824         k_casinhl.c.
60825         * math/libm-test.inc (cacos_test): Add more tests.
60826         * sysdeps/i386/fpu/libm-test-ulps: Update.
60827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60829 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
60831         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
60832         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
60833         [!HAVE_MREMAP]: Remove [defined linux] case.
60834         * malloc/arena.c: Do not include <malloc-sysdep.h>.
60836 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
60838         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
60840 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
60842         * elf/elf.h (R_386_SIZE32): New relocation.
60843         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
60844         R_386_SIZE32.
60845         (elf_machine_rela): Likewise.
60846         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
60847         R_X86_64_SIZE64 and R_X86_64_SIZE32.
60849 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
60851         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
60852         (FP_FAST_FMA): Do not define.
60853         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
60854         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
60855         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
60856         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
60857         !_SOFT_FLOAT]: Likewise.
60858         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
60859         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
60860         value.
60861         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
60862         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
60863         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
60864         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
60865         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
60866         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
60867         file.
60869 2013-01-16  Andreas Schwab  <schwab@suse.de>
60871         [BZ #14327]
60872         * include/stdlib.h (__mktemp): Add declaration.
60873         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
60874         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
60876 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
60878         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
60879         definitions.
60880         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
60881         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
60882         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
60883         definitions here.
60884         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
60885         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
60886         definitions.
60887         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
60888         and ONE.
60889         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
60890         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
60891         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
60892         definitions.
60893         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
60894         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
60895         definitions.
60896         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
60898         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
60900 2013-01-15  David S. Miller  <davem@davemloft.net>
60902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
60903         trunc{,f} to libm-sysdep_routes.
60904         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
60905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
60906         file.
60907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
60908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
60909         file.
60910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
60911         file.
60912         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
60913         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
60914         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
60915         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
60916         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
60917         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
60918         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
60919         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
60921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
60922         nearbyint{,f} to libm-sysdep_routes.
60923         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
60924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
60925         New file.
60926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
60927         file.
60928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
60929         New file.
60930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
60931         file.
60932         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
60933         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
60934         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
60935         file.
60936         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
60937         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
60938         file.
60939         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
60940         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
60941         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
60943         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
60944         libc_feholdexcept and libc_fesetenv.
60946 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
60948         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
60950 2013-01-14  David S. Miller  <davem@davemloft.net>
60952         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
60953         (SPARC_ASM_VIS2_IFUNC): Likewise.
60954         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
60955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
60956         use of 'siam' instruction.
60957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
60958         Likewise.
60959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
60960         Likewise.
60961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
60962         Likewise.
60963         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
60964         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
60965         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
60966         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
60967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
60968         file.
60969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
60970         file.
60971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
60972         file.
60973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
60974         file.
60975         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
60976         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
60977         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
60978         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
60979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
60980         new VIS2 routines.
60981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
60982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
60983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
60984         Likewise.
60985         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
60986         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
60987         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
60988         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
60989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
60990         routines to libm-sysdep_routines.
60991         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
60993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
60994         fdim/fdimf to libm-sysdep_routines.
60995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
60996         file.
60997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
60998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
60999         file.
61000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
61001         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
61002         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
61003         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
61004         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
61005         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
61006         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
61008 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
61010         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
61011         to optimize copies.
61013         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
61014         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61015         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61017         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
61018         local variable MPTWO.
61019         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
61020         Likewise.
61022 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
61024         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
61025         GLOB_NOESCAPE.
61027 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
61029         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
61031 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
61033         * manual/pattern.texi (glob_t): Document gl_flags.
61034         (glob64_t): Likewise.
61036 2013-01-11  David S. Miller  <davem@davemloft.net>
61038         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
61039         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
61040         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
61041         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
61042         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
61043         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
61044         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
61045         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
61046         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
61047         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
61048         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
61049         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
61050         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
61052         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
61053         sparc V9 rather than using V8 code.
61054         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61055         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61057         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
61058         Move to...
61059         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
61060         Here.
61062 2013-01-11  Roland McGrath  <roland@hack.frob.com>
61064         [BZ #14941]
61065         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
61066         not in the main loop.
61067         * configure: Regenerated.
61069 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
61071         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
61072         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
61073         to just #else.
61074         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
61075         [!__GLIBC_HAVE_LONG_LONG] case.
61076         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
61077         condition to just #else.
61078         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
61079         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
61080         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
61081         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
61082         unconditional.
61083         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
61084         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61085         #elif condition to just #else.
61086         * sysdeps/unix/sysv/linux/sys/sysmacros.h
61087         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
61088         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61089         #elif condition to just #else.
61091 2013-01-11  Steve Ellcey  <sellcey@mips.com>
61093         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
61094         (EF_MIPS_ARCH_64): Fix value.
61095         (EF_MIPS_ARCH_32R2): New.
61096         (EF_MIPS_ARCH_64R2): New.
61098 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
61100         * Makeconfig (+link-pie-before-libc): New.
61101         (+link-pie-after-libc): Likewise.
61102         (+link-pie-tests): Likewise.
61103         (+link-pie): Rewritten.
61104         (link-before-libc): Remove $(config-LDFLAGS).
61105         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
61106         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
61107         (config-LDFLAGS): Renamed to ...
61108         (rtld-LDFLAGS): This.
61109         (rtld-tests-LDFLAGS): New macro.
61110         (link-libc-rpath-link): Likewise.
61111         (link-libc-tests-rpath-link): Likewise.
61112         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
61113         (link-libc): Prepand $(link-libc-rpath-link).
61114         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
61115         (test-program-prefix): New macro.
61116         (test-via-rtld-prefix): Likewise.
61117         (test-program-cmd): Likewise.
61118         (host-test-program-cmd): Likewise.
61119         * Makefile ($(common-objpfx)testrun.sh): Replace
61120         $(run-program-prefix) with $(test-program-prefix).
61121         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
61122         $(rtld-LDFLAGS).
61123         ($(common-objpfx)shlib.lds): Likewise.
61124         (build-module-helper): Likewise.
61125         ($(common-objpfx)format.lds): Likewise.
61126         * Rules (binaries-pie-tests): New.
61127         (binaries-pie-notests): Likewise.
61128         (binaries-pie): Rewritten.
61129         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
61130         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
61131         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
61132         (make-test-out): Replace $(host-built-program-cmd) with
61133         $(host-test-program-cmd).
61134         * config.make.in (build-hardcoded-path-in-tests): New variable.
61135         * configure.in (--enable-hardcoded-path-in-tests): New configure
61136         option.
61137         (hardcoded_path_in_tests): New AC_SUBST.
61138         * configure: Regenerated.
61139         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
61140         $(built-program-cmd) with $(test-program-cmd).
61141         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
61142         (test_program_cmd): This.
61143         * elf/Makefile ($(objpfx)order.out): Run test with
61144         $(test-program-prefix).
61145         ($(objpfx)order2.out): Likewise.
61146         ($(objpfx)tst-initorder.out): Likewise.
61147         ($(objpfx)tst-initorder2.out): Likewise.
61148         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
61149         $(test-program-cmd).
61150         ($(objpfx)tst-array1-static.out): Likewise.
61151         ($(objpfx)tst-array2.out): Likewise.
61152         ($(objpfx)tst-array3.out): Likewise.
61153         ($(objpfx)tst-array4.out): Likewise.
61154         ($(objpfx)tst-array5.out): Likewise.
61155         ($(objpfx)tst-array5-static.out): Likewise.
61156         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
61157         $(test-program-cmd).
61158         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
61159         $(run-program-prefix) with $(test-program-prefix).
61160         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
61161         (test_program_prefix): This.
61162         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
61163         $(run-program-prefix) with $(test-program-prefix).
61164         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
61165         (test_program_prefix): This.
61166         * iconvdata/tst-tables.sh: Likewise.
61167         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
61168         $(run-program-prefix) with $(test-program-prefix).
61169         ($(objpfx)tst-translit.out): Likewise.
61170         ($(objpfx)tst-gettext2.out): Likewise.
61171         ($(objpfx)tst-gettext4.out): Likewise.
61172         ($(objpfx)tst-gettext6.out): Likewise.
61173         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
61174         (test_program_prefix): This.
61175         * intl/tst-gettext2.sh: Likewise.
61176         * intl/tst-gettext4.sh  Likewise.
61177         * intl/tst-gettext6.sh: Likewise.
61178         * intl/tst-translit.sh: Likewise.
61179         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
61180         with $(test-program-cmd).
61181         * libio/Makefile ($(objpfx)test-freopen.out): Replace
61182         $(run-program-prefix) with $(test-program-prefix).
61183         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
61184         (test_program_prefix): This.
61185         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
61186         $(run-program-prefix) with $(test-program-prefix).
61187         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
61188         (test_program_prefix): This.
61189         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
61190         * posix/Makefile ($(objpfx)globtest.out): Replace
61191         $(run-via-rtld-prefix) and $(test-wrapper) with
61192         $(test-program-prefix) and $(test-via-rtld-prefix).
61193         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
61194         $(test-program-prefix).
61195         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
61196         $(host-test-program-cmd).
61197         (tst-spawn-ARGS): Likewise.
61198         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
61199         $(test-program-prefix).
61200         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
61201         (test_via_rtld_prefix): This.
61202         (test_wrapper): Renamed to ...
61203         (test_program_prefix): This.
61204         (run_program_prefix): Replaced by test_program_prefix.
61205         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
61206         (test_program_prefix): This.
61207         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
61208         with $(host-test-program-cmd).
61209         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
61210         $(run-program-prefix) with $(test-program-prefix).
61211         ($(objpfx)tst-printf.out): Likewise.
61212         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
61213         $(test-program-cmd).
61214         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
61215         (test_program_prefix): This.
61216         * stdio-common/tst-unbputc.sh: Likewise.
61217         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
61218         $(run-program-prefix) with $(test-program-prefix).
61219         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
61220         (test_program_prefix): This.
61221         * string/Makefile ($(objpfx)tst-svc.out):  Replace
61222         $(built-program-cmd) with $(test-program-cmd).
61224 2013-01-11  Andreas Jaeger  <aj@suse.de>
61226         [BZ #15003]
61227         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
61228         value. Sync with Linux 3.7.
61230 2013-01-10  David S. Miller  <davem@davemloft.net>
61232         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
61233         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61234         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61236 2013-01-10  Roland McGrath  <roland@hack.frob.com>
61238         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
61239         never set.
61240         * configure: Regenerated.
61242 2013-01-10  David S. Miller  <davem@davemloft.net>
61244         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
61245         sparc V9 rather than using V8 code.
61246         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61247         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61249 2013-01-10  Roland McGrath  <roland@hack.frob.com>
61251         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
61252         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
61253         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
61254         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
61255         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
61256         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
61257         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
61258         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
61259         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
61260         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
61261         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
61262         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
61263         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
61264         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
61265         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
61266         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
61267         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
61268         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
61269         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
61270         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
61271         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
61272         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
61273         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
61274         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
61275         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
61276         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
61277         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
61279 2013-01-10  David S. Miller  <davem@davemloft.net>
61281         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61283 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
61285         * posix/Makefile (tests-static): New variable.
61286         (tests): Add $(tests-static).
61287         (tst-exec-static-ARGS): New variable.
61288         (tst-spawn-static-ARGS): Likewise.
61289         * posix/tst-exec-static.c: New file.
61290         * posix/tst-spawn-static.c: Likewise.
61291         * posix/tst-exec.c: Support run directly.
61292         * posix/tst-spawn.c: Likewise.
61294 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
61296         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
61297         long.
61298         * math/bits/mathcalls.h (llrint): Likewise.
61299         (llround): Likewise.
61300         * stdlib/stdlib.h (struct drand48_data): Likewise.
61301         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
61302         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
61303         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
61304         Likewise.
61305         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
61306         Likewise.
61307         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
61308         (elf_greg_t): Likewise.
61309         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
61310         (__jmp_buf): Likewise.
61311         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
61312         definitions.
61313         (llrint): Likewise, for all definitions.
61314         (llrintl): Likewise.
61316         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
61317         Remove [__GNUC__] condition.
61318         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
61319         condition to just [__USE_ISOC99].
61320         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
61322 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
61324         [BZ #14200]
61325         * sysdeps/unix/sysv/linux/x86/bits/environments.h
61326         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
61327         defined.
61328         (_POSIX_V6_ILP32_OFF32): Likewise.
61329         (_XBS5_ILP32_OFF32): Likewise.
61330         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
61331         (__ILP32_OFFBIG_LDFLAGS): Likewise.
61333 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61335         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
61337         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
61338         doubles __mpexp_twomm1.  Adjust usage.
61339         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
61340         Remove.
61342 2013-01-10  Andreas Schwab  <schwab@suse.de>
61344         [BZ #14964]
61345         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
61346         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
61348 2013-01-09  David S. Miller  <davem@davemloft.net>
61350         [BZ #15003]
61351         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
61352         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
61353         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
61354         (TCP_FASTOPEN): Define.
61355         (tcp_repair_opt): New structure.
61356         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
61357         enum values.
61358         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
61359         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
61360         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
61361         (tcp_cookie_transactions): New structure.
61363 2013-01-09  Anton Blanchard  <anton@samba.org>
61365         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
61366         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
61367         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
61368         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
61370 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
61372         * include/features.h (__USE_ANSI): Remove.
61374 2013-01-09  Roland McGrath  <roland@hack.frob.com>
61376         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
61378         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
61380 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
61382         * sysdeps/s390/fpu/libm-test-ulps: Update.
61384         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61386         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
61387         (__acr): Likewise.
61388         (__cpy): Likewise.
61389         (norm): Likewise.
61390         (denorm): Likewise.
61391         (__mp_dbl): Likewise.
61392         (__dbl_mp): Likewise.
61393         (add_magnitudes): Likewise.
61394         (sub_magnitudes): Likewise.
61395         (__add): Likewise.
61396         (__sub): Likewise.
61397         (__mul): Likewise.
61398         (__inv): Likewise.
61399         (__dvd): Likewise.
61400         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
61401         (__acr): Likewise.
61402         (__cpy): Likewise.
61403         (norm): Likewise.
61404         (denorm): Likewise.
61405         (__mp_dbl): Likewise.
61406         (__dbl_mp): Likewise.
61407         (add_magnitudes): Likewise.
61408         (sub_magnitudes): Likewise.
61409         (__add): Likewise.
61410         (__sub): Likewise.
61411         (__mul): Likewise.
61412         (__inv): Likewise.
61413         (__dvd): Likewise.
61414         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
61415         (__acr): Likewise.
61416         (__cpy): Likewise.
61417         (norm): Likewise.
61418         (denorm): Likewise.
61419         (__mp_dbl): Likewise.
61420         (__dbl_mp): Likewise.
61421         (add_magnitudes): Likewise.
61422         (sub_magnitudes): Likewise.
61423         (__add): Likewise.
61424         (__sub): Likewise.
61425         (__mul): Likewise.
61426         (__inv): Likewise.
61427         (__dvd): Likewise.
61429 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
61431         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
61432         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
61433         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
61434         2 && __USE_EXTERN_INLINES]: Likewise.
61436 2013-01-08  Andreas Jaeger  <aj@suse.de>
61438         [BZ# 14985]
61439         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
61440         Remove.
61441         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
61442         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
61444 2013-01-07  Anton Blanchard  <anton@samba.org>
61446         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
61447         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
61448         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
61449         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
61450         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
61451         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
61452         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
61453         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
61454         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61455         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
61456         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
61457         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
61458         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
61459         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
61460         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
61461         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
61462         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
61463         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
61464         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
61465         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
61466         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
61467         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
61468         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61469         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
61470         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
61471         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
61472         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
61473         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
61474         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
61475         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
61476         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
61477         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61478         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
61479         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
61480         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
61481         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61482         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
61483         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
61484         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
61485         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
61486         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
61487         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61488         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
61490 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
61492         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
61493         (__MALLOC_PMT): Likewise.
61494         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
61495         [__GNUC__], only on [_LIBC].
61496         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
61497         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
61498         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
61499         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
61500         forward declaration.
61501         (realloc_hook_ini): Likewise.
61502         (memalign_hook_ini): Likewise.
61503         (__libc_memalign): Do not use __MALLOC_PMT in variable
61504         declaration.
61505         (__libc_valloc): Likewise.
61506         (__libc_pvalloc): Likewise.
61507         (__libc_calloc): Likewise.
61508         (__posix_memalign): Likewise.
61510         [BZ #14996]
61511         * math/s_casinh.c: Include <float.h>.
61512         (__casinh): Do not do computation with squaring and square root
61513         for large arguments.
61514         * math/s_casinhf.c: Include <float.h>.
61515         (__casinhf): Do not do computation with squaring and square root
61516         for large arguments.
61517         * math/s_casinhl.c: Include <float.h>.
61518         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
61519         (__casinhl): Do not do computation with squaring and square root
61520         for large arguments.
61521         * math/libm-test.inc (casin_test): Add more tests.
61522         (casinh_test): Likewise.
61523         * sysdeps/i386/fpu/libm-test-ulps: Update.
61524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61526 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
61528         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
61529         (__x86_64_raw_data_cache_size): Likewise.
61530         (__x86_64_data_cache_size_half): Likewise.
61531         (__x86_64_raw_data_cache_size_half): Likewise.
61532         (__x86_64_shared_cache_size): Likewise.
61533         (__x86_64_raw_shared_cache_size): Likewise.
61534         (__x86_64_shared_cache_size_half): Likewise.
61535         (__x86_64_raw_shared_cache_size_half): Likewise.
61536         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
61537         to ...
61538         (__x86_data_cache_size): This.
61539         (__x86_64_raw_data_cache_size): Renamed to ...
61540         (__x86_raw_data_cache_size): This.
61541         (__x86_64_data_cache_size_half): Renamed to ...
61542         (__x86_data_cache_size_half): This.
61543         (__x86_64_raw_data_cache_size_half): Renamed to ...
61544         (__x86_raw_data_cache_size_half): This.
61545         (__x86_64_shared_cache_size): Renamed to ...
61546         (__x86_shared_cache_size): This.
61547         (__x86_64_raw_shared_cache_size): Renamed to ...
61548         (__x86_raw_shared_cache_size): This.
61549         (__x86_64_shared_cache_size_half): Renamed to ...
61550         (__x86_shared_cache_size_half): This.
61551         (__x86_64_raw_shared_cache_size_half): Renamed to ...
61552         (__x86_raw_shared_cache_size_half): This.
61553         * sysdeps/x86_64/memcpy.S: Updated.
61554         * sysdeps/x86_64/memset.S: Likewise.
61555         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
61556         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61557         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61559 2013-01-04  David S. Miller  <davem@davemloft.net>
61561         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61563 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
61565         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
61566         1 to avoid redefinition warning.
61567         (__USE_GNU): Don't define.
61568         (init_signaling_nan): Protoize.
61570         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61572 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61574         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
61575         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
61576         (__cpymn): Likewise.
61577         (norm): Remove commented code.
61578         (denorm): Likewise.
61579         (__mp_dbl): Likewise.
61580         (__inv): Likewise.
61581         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
61582         (__cpymn): Likewise.
61583         (norm): Remove commented code.
61584         (denorm): Likewise.
61585         (__mp_dbl): Likewise.
61586         (__inv): Likewise.
61588         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
61589         mp_no value for 1.0 and 2.0.
61590         (norm): Use RADIXI instead of radixi.d.
61591         (denorm): Likewise.
61592         (__mul): Use 0.0 instead of zero.d.
61593         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
61594         mp_no value for 1.0 and 2.0.
61595         (norm): Use RADIXI instead of radixi.d.
61596         (denorm): Likewise.
61597         (__mul): Use 0.0 instead of zero.d.
61599 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
61601         [BZ #14994]
61602         * math/s_casinh.c (__casinh): Reduce finite argument to first
61603         quadrant then set signs of results at the end.
61604         * math/s_casinhf.c (__casinhf): Likewise.
61605         * math/s_casinhl.c (__casinhl): Likewise.
61606         * math/libm-test.inc (casin_test): Add more tests.
61607         (casinh_test): Likewise.
61608         * sysdeps/i386/fpu/libm-test-ulps: Update.
61609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61611 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61613         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
61615         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
61617         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
61618         declarations.
61619         (denorm): Likewise.
61620         (__mp_dbl): Likewise.
61621         (__inv): Likewise.
61623         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
61624         and adjust the header comment.
61626         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
61627         variable name from declaration.
61629 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
61631         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61632         Initialize COMMON_CPUID_INDEX_7 element.
61633         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
61634         (CPUID_RTM): Likewise.
61635         (HAS_RTM): Likewise.
61636         (COMMON_CPUID_INDEX_7): New enum.
61638 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
61640         [BZ #14981]
61641         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
61642         size is zero, record memory as freed.
61644 2013-01-03  Andreas Jaeger  <aj@suse.de>
61646         * po/ia.po: Add new Interlingua translation.
61648 2012-01-03  Allan McRae  <allan@archlinux.org>
61650         * locale/programs/localedef.c: Fix description of '--posix' flag.
61652 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
61654         * NEWS: Update dates in second copyright notice.
61655         * README: Update copyright dates in example.
61656         * manual/libc.texinfo: Update copyright dates.
61657         * scripts/test-installation.pl: Update copyright date in --version
61658         output.
61660         * hurd/ctty-input.c: Fix copyright notice formatting.
61661         * hurd/ctty-output.c: Likewise.
61662         * hurd/dtable.c: Likewise.
61663         * hurd/hurd-raise.c: Likewise.
61664         * hurd/hurdprio.c: Likewise.
61665         * hurd/msgportdemux.c: Likewise.
61666         * misc/sys/file.h: Likewise.
61667         * misc/sys/ioctl.h: Likewise.
61668         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
61669         * sysdeps/mach/hurd/chdir.c: Likewise.
61670         * sysdeps/mach/hurd/fchdir.c: Likewise.
61671         * sysdeps/mach/hurd/rename.c: Likewise.
61672         * sysdeps/mach/hurd/rmdir.c: Likewise.
61673         * sysdeps/mach/hurd/seekdir.c: Likewise.
61674         * sysdeps/mach/hurd/setsid.c: Likewise.
61675         * sysdeps/posix/wait3.c: Likewise.
61677         * All files with FSF copyright notices: Update copyright dates
61678         using scripts/update-copyrights.
61679         * intl/plural.c: Regenerated.
61680         * locale/programs/charmap-kw.h: Likewise.
61681         * locale/programs/locfile-kw.h: Likewise.
61683 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
61685         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
61686         four values.
61688         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
61689         calculation loop and add branch prediction.
61691         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
61692         check access beyond bounds of m1np.
61694         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
61695         MPTWO.
61696         (__inv): Remove local variable MPTWO to use the global
61697         constant.
61698         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
61699         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
61700         variable MPTWO.
61701         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
61702         MP3HALFS static const.
61704 2013-01-01  David S. Miller  <davem@davemloft.net>
61706         * po/ca.po: Update from translation team.
61708 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
61710         * scripts/update-copyrights: New file.
61711         * Makeconfig: Reformat copyright notice.
61712         * ctype/ctype.h: Likewise.
61713         * debug/swprintf_chk.c: Likewise.
61714         * elf/dl-cache.c: Likewise.
61715         * elf/dl-debug.c: Likewise.
61716         * elf/dl-object.c: Likewise.
61717         * grp/initgroups.c: Likewise.
61718         * hurd/Makefile: Likewise.
61719         * hurd/hurd/signal.h: Likewise.
61720         * hurd/hurdfault.c: Likewise.
61721         * hurd/hurdioctl.c: Likewise.
61722         * hurd/hurdlookup.c: Likewise.
61723         * hurd/intr-msg.c: Likewise.
61724         * iconv/gconv_open.c: Likewise.
61725         * libio/swprintf.c: Likewise.
61726         * locale/lc-ctype.c: Likewise.
61727         * locale/nl_langinfo.c: Likewise.
61728         * mach/Machrules: Likewise.
61729         * mach/Makefile: Likewise.
61730         * malloc/obstack.h: Likewise.
61731         * manual/Makefile: Likewise.
61732         * manual/tsort.awk: Likewise.
61733         * misc/bits/stab.def: Likewise.
61734         * nis/nis_print_group_entry.c: Likewise.
61735         * nis/nis_table.c: Likewise.
61736         * nis/nss_compat/compat-pwd.c: Likewise.
61737         * nis/nss_compat/compat-spwd.c: Likewise.
61738         * po/Makefile: Likewise.
61739         * posix/fnmatch.c: Likewise.
61740         * posix/regex.h: Likewise.
61741         * resolv/Makefile: Likewise.
61742         * resolv/nss_dns/dns-network.c: Likewise.
61743         * resolv/res_hconf.c: Likewise.
61744         * scripts/gen-sorted.awk: Likewise.
61745         * soft-fp/soft-fp.h: Likewise.
61746         * stdio-common/printf.h: Likewise.
61747         * stdlib/monetary.h: Likewise.
61748         * stdlib/random.c: Likewise.
61749         * stdlib/random_r.c: Likewise.
61750         * sysdeps/generic/Makefile: Likewise.
61751         * sysdeps/gnu/Makefile: Likewise.
61752         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
61753         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61754         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61755         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61756         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61757         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61758         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61759         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61760         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61761         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61762         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
61763         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
61764         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
61765         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
61766         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
61767         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
61768         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
61769         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61770         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61771         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61772         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
61773         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
61774         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
61775         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
61776         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
61777         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
61778         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
61779         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
61780         * sysdeps/mach/hurd/errnos.awk: Likewise.
61781         * sysdeps/mach/hurd/fork.c: Likewise.
61782         * sysdeps/mach/hurd/getcwd.c: Likewise.
61783         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
61784         * sysdeps/mach/hurd/mmap.c: Likewise.
61785         * sysdeps/mach/hurd/utimes.c: Likewise.
61786         * sysdeps/mach/hurd/xmknod.c: Likewise.
61787         * sysdeps/posix/profil.c: Likewise.
61788         * sysdeps/posix/readdir_r.c: Likewise.
61789         * sysdeps/powerpc/bits/mathdef.h: Likewise.
61790         * sysdeps/powerpc/bits/setjmp.h: Likewise.
61791         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
61792         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
61793         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61794         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
61795         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
61796         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
61797         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61798         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
61799         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
61800         * sysdeps/pthread/lio_listio.c: Likewise.
61801         * sysdeps/sparc/dl-procinfo.h: Likewise.
61802         * sysdeps/unix/i386/sysdep.S: Likewise.
61803         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
61804         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
61805         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
61806         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
61807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
61808         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
61809         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
61810         * sysdeps/unix/sysv/linux/speed.c: Likewise.
61811         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
61812         * sysdeps/wordsize-32/divdi3.c: Likewise.
61813         * time/sys/time.h: Likewise.
61814         * wcsmbs/Makefile: Likewise.
61816 2013-01-01  David S. Miller  <davem@davemloft.net>
61818         * po/fr.po: Update from translation team.
61820         * catgets/gencat.c: Update copyright year.
61821         * csu/version.c: Likewise.
61822         * debug/catchsegv.sh: Likewise.
61823         * debug/pcprofiledump.c: Likewise.
61824         * debug/xtrace.sh: Likewise.
61825         * elf/ldconfig.c: Likewise.
61826         * elf/ldd.bash.in: Likewise.
61827         * elf/pldd.c: Likewise.
61828         * elf/sotruss.ksh: Likewise.
61829         * elf/sprof.c: Likewise.
61830         * iconv/iconv_prog.c: Likewise.
61831         * iconv/iconvconfig.c: Likewise.
61832         * locale/programs/locale.c: Likewise.
61833         * locale/programs/localedef.c: Likewise.
61834         * login/programs/pt_chown.c: Likewise.
61835         * malloc/memusage.sh: Likewise.
61836         * malloc/memusagestat.c: Likewise.
61837         * malloc/mtrace.pl: Likewise.
61838         * nscd/nscd.c: Likewise.
61839         * nss/getent.c: Likewise.
61840         * nss/makedb.c: Likewise.
61841         * posix/getconf.c: Likewise.
61843 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
61845         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
61846         numbers.
61848 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
61850         * math/bits/mathcalls.h (modf): Use __nonnull.
61852 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61854         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
61855         (split): Use macro CN instead of the bare value.
61856         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
61857         could be used.
61858         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
61859         instead of the bare value.
61860         (power1): Likewise.
61862 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61864         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
61865         __ATAN_TWOM.
61866         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
61868         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
61869         their values.
61870         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
61871         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
61872         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
61873         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
61875 2012-12-28  Andreas Jaeger  <aj@suse.de>
61877         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
61878         values are from Linux 3.7.
61880         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
61881         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
61883 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61885         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
61886         TRUE case.
61888         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
61889         (norm): Likewise.
61890         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
61891         variables with preprocessor constants.
61892         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
61893         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
61894         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
61896 2012-12-27  Bruno Haible  <bruno@clisp.org>
61898         [BZ #14317]
61899         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
61900         only if needed.
61902 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
61904         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
61905         and use variable directly.
61906         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
61908         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
61909         MPONE.
61910         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
61911         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
61912         variable MPONE.
61913         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
61914         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
61915         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
61916         include directive.  Remove local variable MPONE.
61917         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
61918         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
61919         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
61921 2012-12-25  David S. Miller  <davem@davemloft.net>
61923         * version.h (RELEASE): Set to "development".
61924         (VERSION): Set to "2.17.90".
61925         * NEWS: Add 2.18 section.
61927 2012-12-21  David S. Miller  <davem@davemloft.net>
61929         * po/hr.po: Update from translation team.
61931 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61933         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
61935 2012-12-19  Steve Ellcey  <sellcey@mips.com>
61937         * NEWS:  Mention new memcpy for MIPS.
61939 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61941         * manual/contrib.texi (Contributors): Spelling correction.
61943 2012-12-15  David S. Miller  <davem@davemloft.net>
61945         * po/ru.po: Update from translation team.
61947 2012-12-13  David S. Miller  <davem@davemloft.net>
61949         * NEWS: Mention IFUNC testsuite enhancements.
61951         * po/pl.po: Update from translation team.
61952         * po/bg.po: Likewise.
61954         * manual/contrib.texi (Contributors): Update entries for Hongjiu
61955         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
61957 2012-12-11  David S. Miller  <davem@davemloft.net>
61959         * po/sv.po: Update from translation team.
61961         * po/vi.po: Update from translation team.
61963         * po/cs.po: Update from translation team.
61965         * po/de.po: Update from translation team.
61966         * po/eo.po: Likewise.
61967         * po/nl.po: Likewise.
61969 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61971         [BZ #14246]
61972         * manual/argp.texi (Argp Helper Functions): Move node to follow
61973         Argp Parsing State.
61975         [BZ #14872]
61976         * manual/conf.texi (Limits on File System Capacity): Mention if
61977         terminating null is included in the max size.
61979 2012-12-10  Andreas Jaeger  <aj@suse.de>
61981         * po/cs.po: Update from translation team.
61983 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
61985         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
61986         void pointer and cast to uintptr_t.
61987         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
61988         path.
61989         * sysdeps/s390/s390-64/memcpy.S: Likewise.
61990         * sysdeps/s390/s390-64/memset.S: Likewise.
61992 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
61994         [BZ #14833]
61995         * menual/message.texi (Message Translation): Fix typos.
61996         (Helper programs for gettext): Likewise.
61998 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
62000         [BZ #14898]
62001         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
62002         Change to -1.
62004 2012-12-07  David S. Miller  <davem@davemloft.net>
62006         * po/libc.pot: Update.
62008 2012-12-07  Richard Henderson  <rth@redhat.com>
62010         [BZ #10114]
62011         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
62012         normal/normal case to before the switch.
62013         (_FP_DIV): Likewise.
62015 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
62016             Mike Frysinger  <vapier@gentoo.org>
62018         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
62019         check for __NR_fadvise64_64.
62021 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
62023         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
62024         0, not just to plain "0" as a statement.
62025         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
62026         with cw.
62028 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
62030         * NEWS: Use sourceware.org in Bugzilla URL.
62032 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
62034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
62035         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
62037         * stdio-common/tst-put-error.c (do_test): Add newline to the
62038         padded test to ensure flush.
62040 2012-12-05  Jeff Law  <law@redhat.com>
62042         * sunrpc/etc.rpc (fedfs_admin): Add entry.
62044 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
62046         * README: Don't refer to ports add-on as distributed separately.
62047         Mention AArch64 in list of systems supported in the ports add-on.
62049         * LICENSES: Add more non-FSF copyright and license notices.
62051         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
62052         ((unused)).
62054         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
62056         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
62057         10000 as width of padded output.
62059 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
62061         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
62063         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
62064         variable LX with __attribute__ ((unused)).
62065         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
62066         Likewise.
62067         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
62068         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62069         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
62070         with __attribute__ ((unused)).
62072 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
62074         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
62076 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
62078         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
62079         (CFLAGS-nldbl-acos.c): New variable.
62080         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
62081         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
62082         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
62083         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
62084         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
62085         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
62086         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
62087         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
62088         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
62089         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
62090         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
62091         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
62092         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
62093         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
62094         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
62095         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
62096         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
62097         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
62098         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
62099         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
62100         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
62101         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
62102         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
62103         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
62104         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
62105         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
62106         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
62107         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
62108         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
62109         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
62110         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
62111         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
62112         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
62113         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
62114         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
62115         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
62116         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
62117         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
62118         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
62119         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
62120         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
62121         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
62122         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
62123         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
62124         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
62125         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
62126         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
62127         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
62128         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
62129         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
62130         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
62131         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
62132         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
62133         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
62134         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
62135         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
62136         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
62137         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
62138         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
62139         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
62140         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
62141         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
62142         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
62143         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
62144         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
62145         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
62146         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
62147         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
62148         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
62149         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
62150         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
62151         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
62152         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
62153         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
62154         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
62155         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
62156         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
62157         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
62158         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
62159         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
62160         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
62161         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
62162         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
62163         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
62164         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
62165         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
62166         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
62167         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
62168         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
62169         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
62170         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
62171         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
62172         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
62173         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
62174         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
62175         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
62176         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
62178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
62179         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
62181         [BZ #14914]
62182         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
62183         whole low double instead of just low 47 bits when splitting values
62184         into two parts.
62186 2012-12-03  Allan McRae  <allan@archlinux.org>
62188         * manual/stdio.texi (Predefined Printf Handlers): Remove
62189         @hsep and @vsep usage.
62191 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
62193         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
62194         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
62196 2012-12-03  Jeff Law  <law@redhat.com>
62198         * time/sys/time.h (settimeofday): Do not mark TV argument
62199         as __nonnull.
62201 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
62203         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
62204         when currently writing and seek to current position when not.
62205         * libio/Makefile (tests): Remove bug-fclose1.
62206         * libio/bug-fclose1.c: Delete.
62208 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
62210         * manual/arith.texi (feenableexcept): Fix typo.
62211         (fedisableexcept): Likewise.
62213 2012-11-30  Roland McGrath  <roland@hack.frob.com>
62215         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
62216         second, differently-typed declaration, rather than a cast.
62218 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
62220         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
62221         * include/rpc/svc.h: ... here.
62223 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
62225         [BZ #13013]
62226         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
62227         depending n and resplen2 to catch cases where answer
62228         equals answerp2.
62230 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
62232         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
62233         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
62235 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
62237         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
62239 2012-11-29  Roland McGrath  <roland@hack.frob.com>
62241         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
62243 2012-11-28  Jeff Law  <law@redhat.com>
62245         [BZ #13761]
62246         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
62247         dataset_temporary.  Track alloca usage into alloca_used.
62248         If dataset is large allocate and release it via malloc/free.
62250 2012-06-04  Florian Weimer  <fweimer@redhat.com>
62252         [BZ #14197]
62253         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
62255 2012-11-28  David S. Miller  <davem@davemloft.net>
62257         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62259 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
62261         [BZ #14803]
62262         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
62263         of pi/2 rounded to nearest to 64 bits.
62264         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
62265         nearest to 64 bits.
62266         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
62267         bits.
62269 2012-11-28  Jeff Law <law@redhat.com>
62270             Martin Osvald <mosvald@redhat.com>
62272         [BZ #14889]
62273         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
62274         * sunrpc/svc.c: Include time.h.
62275         (__svc_accept_failed): New function.
62276         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
62277         any reason other than EINTR, call __svc_accept_failed.
62278         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
62279         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
62281 2012-11-28  Andreas Schwab  <schwab@suse.de>
62283         * scripts/abilist.awk: Also handle indirect functions in .opd
62284         section.
62286 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
62288         [BZ #13881]
62289         * sysdeps/x86/fpu/powl_helper.c: New file.
62290         * sysdeps/x86/fpu/Makefile: Likewise.
62291         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
62292         (p3): New object.
62293         (__ieee754_powl): Use __powl_helper for finite arguments except
62294         integer exponents below 8.
62295         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
62296         (p3): New object.
62297         (__ieee754_powl): Use __powl_helper for finite arguments except
62298         integer exponents below 8.
62299         * math/libm-test.inc (pow_test): Add more tests and enable some
62300         previously disabled tests.
62301         * sysdeps/i386/fpu/libm-test-ulps: Update.
62302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62304 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62305             Carlos O'Donell  <carlos_odonell@mentor.com>
62307         * nss/makedb.c (is_prime): Assert that input is odd and greater
62308         than 4.  Note that fact in a comment too.
62309         (next_prime): Add 4 to input.
62311 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
62313         [BZ #11741]
62314         * libio/Makefile (tests): Add test case tst-fwrite-error.
62315         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
62316         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
62317         * libio/tst-fwrite-error.c: New test case.
62319 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
62321         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
62322         before casting to void *.
62323         * include/libc-internal.h (__pointer_type): New macro.
62324         (__integer_if_pointer_type_sub): Likewise.
62325         (__integer_if_pointer_type): Likewise.
62326         (cast_to_integer): Likewise.
62327         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
62328         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
62329         before casting to atomic64_t.
62330         (atomic_exchange_acq): Likewise.
62331         (__arch_exchange_and_add_body): Likewise.
62332         (__arch_add_body): Likewise.
62333         (atomic_add_negative): Likewise.
62334         (atomic_add_zero): Likewise.
62336 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
62338         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
62339         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
62340         (add_fdes): Likewise.
62341         (linear_search_fdes): Likewise.
62342         (binary_search_unencoded_fdes): Likewise.
62344 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
62346         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
62348 2012-11-24  Adam Conrad  <adconrad@0c3.net>
62350         * configure.in: Autodetect C++ header directories.
62351         * configure: Regenerated.
62353 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
62355         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
62357 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
62359         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62361 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
62363         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
62364         LDBL_MANT_DIG == 106]: Disable some tests.
62365         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
62366         Likewise.
62367         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
62368         Likewise.
62370         [BZ #14871]
62371         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
62372         input for small inputs.  Return +/- pi/2 for large inputs.
62373         * math/libm-test.inc (atan_test): Add more tests.
62375         * sysdeps/generic/unwind-dw2-fde-glibc.c
62376         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
62377         __attribute__ ((unused)).
62379         [BZ #14645]
62380         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
62381         x * y if x and y are nonzero and z is zero.
62383         [BZ #14811]
62384         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
62385         nonzero exponents with absolute value below 0x1p-117 to +/-
62386         0x1p-117.
62388         [BZ #14869]
62389         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
62390         up arguments below 2**-450, not just those below 2**-500.
62391         * math/libm-test.inc (hypot_test): Add another test.
62393         [BZ #14868]
62394         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
62395         Return a+b for ratio over 2**120, not 2**60.
62396         * math/libm-test.inc (hypot_test): Add another test.
62398         * math/libm-test.inc (clog_test): Use
62399         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
62400         (clog10_test): Likewise.
62402         [BZ #6778]
62403         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
62405 2012-11-22  Andreas Schwab  <schwab@suse.de>
62407         * sysdeps/i386/fpu/libm-test-ulps: Update.
62409 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
62411         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
62412         printf output with newline.
62414 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
62416         [BZ #14865]
62417         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
62418         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
62419         -z nodlopen, -z initfirst and -z execstack support.
62420         * configure: Regenerated.
62422         * elf/elf.h (DF_1_NODIRECT): New macro.
62423         (DF_1_IGNMULDEF): Likewise.
62424         (DF_1_NOKSYMS): Likewise.
62425         (DF_1_NOHDR): Likewise.
62426         (DF_1_EDITED): Likewise.
62427         (DF_1_NORELOC): Likewise.
62428         (DF_1_SYMINTPOSE): Likewise.
62429         (DF_1_GLOBAUDIT): Likewise.
62430         (DF_1_SINGLETON): Likewise.
62431         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
62432         DT_1_SUPPORTED_MASK bits.
62433         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
62435 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
62437         * sysdeps/unix/make-syscalls.sh: Document prefixes.
62439 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
62441         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
62442         macro.
62444         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
62445         (sendmmsg): Move declarations...
62446         * socket/sys/socket.h: ... here.
62447         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
62448         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
62449         include it from...
62450         * socket/recvmmsg.c: ... this new file.
62451         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
62452         (sendmmsg): Rename to __sendmmsg, create weak alias and make
62453         definition of __sendmmsg hidden.
62454         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
62455         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
62456         Move ENOSYS stub into and include it from...
62457         * socket/sendmmsg.c: ... this new file.
62458         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
62459         (sysdep_routines): Move recvmmsg and sendmmsg...
62460         * socket/Makefile (routines): ... here.
62461         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
62462         (GLIBC_PRIVATE): Add __sendmmsg.
62463         * include/sys/socket.h (__sendmmsg): Add declarations.
62464         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
62465         sendmmsg.
62467 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
62469         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
62470         variable I1 with __attribute__ ((unused)).
62471         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
62473 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
62475         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
62476         DUMMY variables with __attribute__ ((unused)).
62478         * bits/byteswap.h: Include <bits/types.h>.
62479         (__bswap_64): Use __uint64_t instead of unsigned long long int.
62481 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
62483         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
62484         string_t.  Do not manually set errno.
62485         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
62486         length with __strnlen.  Make sure to both set errno and return it on
62487         failure.
62489 2012-11-19  David S. Miller  <davem@davemloft.net>
62491         With help from Joseph Myers.
62492         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
62493         very large arguments properly.
62494         * math/libm-test.inc (atan_test): New tests.
62495         (atan2_test): New tests.
62496         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62497         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62499 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
62501         [BZ #14856]
62502         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
62503         Define to 3.
62505         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
62506         [POSIX] (EADDRNOTAVAIL): Likewise.
62507         [POSIX] (EAFNOSUPPORT): Likewise.
62508         [POSIX] (EALREADY): Likewise.
62509         [POSIX] (ECONNABORTED): Likewise.
62510         [POSIX] (ECONNREFUSED): Likewise.
62511         [POSIX] (ECONNRESET): Likewise.
62512         [POSIX] (EDESTADDRREQ): Likewise.
62513         [POSIX] (EDQUOT): Likewise.
62514         [POSIX] (EHOSTUNREACH): Likewise.
62515         [POSIX] (EIDRM): Likewise.
62516         [POSIX] (EISCONN): Likewise.
62517         [POSIX] (ELOOP): Likewise.
62518         [POSIX] (EMULTIHOP): Likewise.
62519         [POSIX] (ENETDOWN): Likewise.
62520         [POSIX] (ENETUNREACH): Likewise.
62521         [POSIX] (ENOBUFS): Likewise.
62522         [POSIX] (ENODATA): Likewise.
62523         [POSIX] (ENOLINK): Likewise.
62524         [POSIX] (ENOMSG): Likewise.
62525         [POSIX] (ENOPROTOOPT): Likewise.
62526         [POSIX] (ENOSR): Likewise.
62527         [POSIX] (ENOSTR): Likewise.
62528         [POSIX] (ENOTCONN): Likewise.
62529         [POSIX] (ENOTSOCK): Likewise.
62530         [POSIX] (EOPNOTSUPP): Likewise.
62531         [POSIX] (EOVERFLOW): Likewise.
62532         [POSIX] (EPROTO): Likewise.
62533         [POSIX] (EPROTONOSUPPORT): Likewise.
62534         [POSIX] (EPROTOTYPE): Likewise.
62535         [POSIX] (ESTALE): Likewise.
62536         [POSIX] (ETIME): Likewise.
62537         [POSIX] (ETXTBSY): Likewise.
62538         [POSIX] (EWOULDBLOCK): Likewise.
62539         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
62540         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
62541         [POSIX] (SEEK_CUR): Likewise.
62542         [POSIX] (SEEK_END): Likewise.
62543         [POSIX || UNIX98] (mode_t): Do not require.
62544         [POSIX] (off_t): Likewise.
62545         [POSIX] (pid_t): Likewise.
62546         [POSIX] (sys/stat.h): Do not allow header.
62547         [POSIX] (unistd.h): Likewise.
62548         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
62549         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
62550         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
62551         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
62552         require.
62553         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
62554         sigevent): Specify elements.
62555         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
62556         entry.
62557         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
62558         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
62560         * conform/data/cpio.h-data [POSIX]: Disable whole file.
62561         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
62562         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
62563         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
62564         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
62565         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
62566         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
62567         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
62568         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
62569         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
62570         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
62571         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
62572         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
62573         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
62574         Likewise.
62575         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
62576         Likewise.
62577         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
62578         Likewise.
62579         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
62580         Likewise.
62581         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
62582         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
62583         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
62584         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
62585         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
62586         Specify lower bound on value.
62587         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
62588         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
62589         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
62590         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
62591         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
62592         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
62593         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
62594         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
62595         value.
62596         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
62597         as optional.
62598         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
62599         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
62600         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
62601         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
62602         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
62603         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
62604         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
62605         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
62606         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
62607         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
62608         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
62609         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
62610         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
62611         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
62612         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
62613         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
62614         entry.
62615         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
62616         optional.
62617         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
62618         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
62619         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
62620         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
62621         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
62622         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
62623         Likewise.
62624         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
62625         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
62626         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
62627         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
62628         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
62629         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
62630         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
62631         as optional.
62632         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
62633         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
62634         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
62635         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
62636         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
62637         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
62638         specify as optional.
62639         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
62640         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
62641         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
62642         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
62643         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
62644         [XPG3] (NL_LANGMAX): Likewise.
62645         [POSIX || XPG3] (NL_MSGMAX): Likewise.
62646         [POSIX || XPG3] (NL_NMAX): Likewise.
62647         [POSIX || XPG3] (NL_SETMAX): Likewise.
62648         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
62649         [XPG3] (NZERO): Likewise.
62650         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
62651         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
62652         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
62653         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
62654         (REG_ERANGE): Expect.
62655         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
62656         optional-constant.
62657         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
62658         Use (void) in prototype.
62659         [POSIX] (*_t): Allow.
62660         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
62661         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
62662         (WRDE_BADVAL): Expect.
62664         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
62665         expect.
62666         [XPG3 || XPG4] (O_RSYNC): Likewise.
62667         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
62668         Likewise.
62669         [XPG3 || XPG4] (pthread_sigmask): Likewise.
62670         [XPG3 || XPG4] (sigqueue): Likewise.
62671         [XPG3 || XPG4] (sigtimedwait): Likewise.
62672         [XPG3 || XPG4] (sigwaitinfo): Likewise.
62673         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
62674         [XPG3 || XPG4] (vsnprintf): Likewise.
62675         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
62676         Likewise.
62677         [XPG3 || XPG4] (blksize_t): Likewise.
62678         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
62679         Likewise.
62680         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
62681         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
62682         [XPG3 || XPG4] (struct itimerspec): Likewise.
62683         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
62684         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
62685         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
62686         [XPG3 || XPG4] (clockid_t): Likewise.
62687         [XPG3 || XPG4] (timer_t): Likewise.
62688         [XPG3 || XPG4] (clock_getres): Likewise.
62689         [XPG3 || XPG4] (clock_gettime): Likewise.
62690         [XPG3 || XPG4] (clock_settime): Likewise.
62691         [XPG3 || XPG4] (nanosleep): Likewise.
62692         [XPG3 || XPG4] (timer_create): Likewise.
62693         [XPG3 || XPG4] (timer_delete): Likewise.
62694         [XPG3 || XPG4] (timer_gettime): Likewise.
62695         [XPG3 || XPG4] (timer_getoverrun): Likewise.
62696         [XPG3 || XPG4] (timer_settime): Likewise.
62697         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
62698         [XPG3 || XPG4] (getlogin_r): Likewise.
62699         [XPG3 || XPG4] (pread): Likewise.
62700         [XPG3 || XPG4] (pthread_atfork): Likewise.
62701         [XPG3 || XPG4] (pwrite): Likewise.
62703         [BZ #14835]
62704         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
62705         <bits/siginfo.h>.
62707 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
62709         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
62710         finalizing MALLSTREAM.
62712         * sysdeps/mach/hurd/syncfs.c: New file.
62714 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
62716         [BZ #14719]
62717         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
62718         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
62719         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
62720         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
62721         (_nss_dns_gethostbyname4_r): Likewise.
62722         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
62723         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
62725 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
62727         [BZ #13763]
62728         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
62730 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
62732         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
62733         * elf/cache.c (print_entry): Print ",AArch64" for
62734         FLAG_AARCH64_LIB64
62736         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
62737         * elf/cache.c (print_entry): Print ",hard-float" for
62738         FLAG_ARM_LIBHF.
62740 2012-11-18  David S. Miller  <davem@davemloft.net>
62742         With help from Joseph Myers.
62743         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
62744         cutoff to 2**-13.
62745         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
62746         cutoff to 2**-25.
62747         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
62748         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
62749         small.
62750         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
62751         * math/libm-test.inc (y0_test): New tests.
62752         (y1_test): New tests.
62753         * sysdeps/i386/fpu/libm-test-ulps: Update.
62754         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62755         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62757 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
62759         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
62760         64-bit targets.
62761         * configure: Regenerated.
62763 2012-11-17  David S. Miller  <davem@davemloft.net>
62765         [BZ #14811]
62766         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
62767         nonzero exponents with absolute value below 0x1p-128 to +/-
62768         0x1p-128.
62770 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
62772         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
62774         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
62776         * posix/getconf-speclist.c: New file.
62777         * posix/posix-envs.def: Likewise.
62778         * posix/confstr.c (START_ENV_GROUP): New macro.
62779         (END_ENV_GROUP): Likewise.
62780         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
62781         (KNOWN_PRESENT_ENV_STRING): Likewise.
62782         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
62783         (UNKNOWN_ENVIRONMENT): Likewise.
62784         (confstr): Include posix-envs.def instead of handling
62785         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
62786         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
62787         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
62788         (END_ENV_GROUP): Likewise.
62789         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
62790         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
62791         (UNKNOWN_ENVIRONMENT): Likewise.
62792         (__sysconf): Include posix-envs.def instead of handling associated
62793         cases directly here.
62794         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
62795         preprocessing getconf-speclist.c rather than running getconf or
62796         generating empty file.
62798 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
62800         * scripts/check-local-headers.sh: Ignore 'mach' headers.
62802 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
62804         [BZ #14672]
62805         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
62807 2012-11-16  David S. Miller  <davem@davemloft.net>
62809         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
62810         smaller than LDBL_EPSILON/2.0L, just return xm1.
62812 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
62814         * elf/tst-array1.c (init): Set constructor priority to 1000.
62815         (fini): Set destructor priority to 1000.
62816         * elf/tst-array2dep.c: Likewise.
62818 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
62820         [BZ #11741]
62821         * libio/fileops.c (_IO_new_file_write): Correctly return error.
62822         (_IO_new_file_xsputn): Also return EOF if none of the input
62823         data was written when overflow failed.
62824         * libio/iopadn.c (_IO_padn): Likewise.
62825         * libio/iowpadn.c (_IO_wpadn): Likewise.
62826         * stdio-common/tst-put-error.c: Add copyright notice.
62827         (do_test): Add case for printing padded string.
62828         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
62829         _IO_padn returned error.
62830         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
62831         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
62832         return EOF.
62834 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
62836         * libio/libioP.h: Add comment note that the references to C++
62837         bits are now obsolete.
62839 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62841         * math/libm-test.inc (check_complex): Use asprintf.
62843 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
62845         * debug/pcprofiledump.c (print_version): Update copyright year.
62846         * malloc/memusagestat.c (print_version): Likewise.
62848 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
62850         [BZ #14831]
62851         * elf/Makefile (tests): Add tst-audit8.
62852         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
62853         ($(objpfx)tst-audit8.out): New target.
62854         (tst-audit8-ENV): New variable.
62855         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
62856         audit if l_reloc_result is NULL.
62857         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
62858         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
62859         * elf/tst-audit8.c: New file.
62861 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62863         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
62864         * misc/Makefile (CFLAGS-select.c): Define.
62865         * posix/Makefile (CFLAGS-pause.c): Define.
62867 2012-11-13  David S. Miller  <davem@davemloft.net>
62869         * crypt/Makefile: Move test targets after toplevel Rules
62870         inclusion.  Grab any necessary sysdep routines when linking.
62871         * crypt/md5.c (md5_process_block): Remove define, we will always
62872         name it __md5_process_block.
62873         (md5_finish_ctx): Update md5_process_block call.
62874         (md5_stream): Likewise.
62875         (md5_process_bytes): Likewise.
62876         (md5_process_block): Rename to __md5_process_block and move to ...
62877         * crypt/md5-block.c: ... here.
62878         * crypt/sha256.c (sha256_process_block): Move to ...
62879         * crypt/sha256-block.c: ... here.
62880         * crypt/sha512.c (sha512_process_block): Move to ...
62881         * crypt/sha512-block.c: ... here.
62882         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
62883         path.
62884         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
62885         * sysdeps/sparc/sparc64/multiarch/Makefile
62886         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
62887         crypt subdir.
62888         (localedef-aux): Add md5 crypto assembler when in locale subdir.
62889         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
62890         multiarch changes.
62891         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
62892         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
62893         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
62894         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
62895         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
62896         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
62897         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
62898         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
62899         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
62900         file.
62901         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
62902         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
62903         file.
62904         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
62906 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
62908         * timezone/tzselect.ksh: Update from tzcode git revision
62909         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
62910         * timezone/zdump.c: Likewise.
62911         * timezone/zic.c: Likewise.
62912         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
62913         in TZVERSION setting, not $(PKGVERSION).
62914         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
62915         REPORT_BUGS_TO settings.
62917         [BZ #14838]
62918         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
62919         macro.
62921 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62923         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
62924         detection to immediately after _FP_ROUND().
62925         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
62926         bits are 0.
62928 2012-11-11  David S. Miller  <davem@davemloft.net>
62930         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
62931         inttypes.h
62932         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
62933         __close rather than their public counterparts.
62935 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
62937         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
62938         file.
62939         [UNIX98] (sem_timedwait): Do not expect.
62940         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
62941         [XPG4 || UNIX98] (sockatmark): Do not expect.
62942         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
62943         (clock_getcpuclockid): Do not expect.
62944         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
62945         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
62946         Do not expect.
62947         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
62948         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
62949         [UNIX98] (vwscanf): Likewise.
62950         [UNIX98] (vswscanf): Likewise.
62952 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
62954         * timezone/version.h: Remove file.
62955         * timezone/README: Do not refer to version.h.
62956         * timezone/Makefile ($(objpfx)zic.o): New dependency on
62957         $(objpfx)version.h.
62958         ($(objpfx)zdump.o): Likewise.
62959         ($(objpfx)version.h): New target.
62961         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
62962         2012i.
62963         * timezone/README: Don't mention modification to tzselect.ksh.
62964         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
62965         work on unmodified tzselect.ksh.  Substitute version numbers in
62966         tzselect.ksh.
62968         * Makefile (format-me): Remove.
62969         (INSTALL): Adjust indentation.  Use commands directly instead of
62970         using $(format-me).
62972         * aclocal.m4 (ACX_PKGVERSION): New macro.
62973         (ACX_BUGURL): Likewise.
62974         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
62975         (PKGVERSION): New AC_DEFINE_UNQUOTED.
62976         (REPORT_BUGS_TO): Likewise.
62977         * configure: Regenerated.
62978         * config.h.in (PKGVERSION): New macro.
62979         (REPORT_BUGS_TO): Likewise.
62980         * config.make.in (PKGVERSION): New variable.
62981         (PKGVERSION_TEXI): Likewise.
62982         (REPORT_BUGS_TO): Likewise.
62983         (REPORT_BUGS_TEXI): Likewise.
62984         * Makefile (format-me): Use -I$(common-objpfx)manual.
62985         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
62986         ($(common-objpfx)manual/%): New target.
62987         (manual/%): Remove target.
62988         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
62989         (print_version): Use PKGVERSION.
62990         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
62991         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
62992         and REPORT_BUGS_TO.
62993         ($(objpfx)xtrace): Likewise.
62994         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
62995         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
62996         (print_version): Use PKGVERSION.
62997         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
62998         (do_version): Use PKGVERSION.
62999         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
63000         REPORT_BUGS_TO.
63001         (common-ldd-rewrite): Likewise.
63002         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
63003         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
63004         (print_version): Use PKGVERSION.
63005         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
63006         * elf/pldd.c (argp_program_bug_address): Remove variable.
63007         (more_help): New function.
63008         (argp): Use more_help.
63009         (print_version): Use PKGVERSION.
63010         * elf/sln.c (main): Use PKGVERSION.
63011         (usage): Use REPORT_BUGS_TO.
63012         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
63013         (top level): Use PKGVERSION.
63014         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
63015         (print_version): Use PKGVERSION.
63016         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
63017         (print_version): Use PKGVERSION.
63018         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
63019         (print_version): Use PKGVERSION.
63020         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
63021         (print_version): Use PKGVERSION.
63022         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
63023         (print_version): Use PKGVERSION.
63024         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
63025         (print_version): Use PKGVERSION.
63026         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
63027         and BUGURL.
63028         ($(objpfx)memusage): Likewise.
63029         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
63030         (do_version): Use PKGVERSION.
63031         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
63032         (print_version): Use PKGVERSION.
63033         * malloc/mtrace.pl ($PACKAGE): Remove variable.
63034         ($PKGVERSION): New variable.
63035         ($REPORT_BUGS_TO): Likewise.
63036         (usage): Use $REPORT_BUGS_TO.
63037         (top level): Use $PKGVERSION.
63038         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
63039         ($(objpfx)pkgvers.texi): New rule.
63040         ($(objpfx)stamp-pkgvers): Likewise.
63041         * manual/install.texi: Include pkgvers.texi.
63042         (--with-pkgversion): Document new configure option.
63043         (--with-bugurl): Likewise.
63044         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
63045         than necessarily for this particular distribution.  Use
63046         REPORT_BUGS_TO for where to report bugs.
63047         * INSTALL: Regenerated.
63048         * manual/libc.texinfo: Include pkgvers.texi.
63049         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
63050         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
63051         (print_version): Use PKGVERSION.
63052         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
63053         (print_version): Use PKGVERSION.
63054         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
63055         (print_version): Use PKGVERSION.
63056         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
63057         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
63058         macro.
63059         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
63060         (print_version): Use PKGVERSION.
63061         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
63062         (print_version): Use PKGVERSION.
63063         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
63064         and PKGVERSION.
63066         * timezone/checktab.awk: Update from tzcode 2012i.
63067         * timezone/ialloc.c: Likewise.
63068         * timezone/private.h: Likewise.
63069         * timezone/scheck.c: Likewise.
63070         * timezone/tzfile.h: Likewise.
63071         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
63072         (TZVERSION): Hardcode tzcode version number.
63073         * timezone/zdump.c: Update from tzcode 2012i.
63074         * timezone/zic.c: Likewise.
63075         * timezone/version.h: New file.
63076         * timezone/README: Describe version.h.  Update upstream location.
63078         [BZ #14824]
63079         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
63080         (mktemp): Enable declaration.
63081         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
63082         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
63083         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
63084         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
63085         Likewise.
63086         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
63087         Likewise.
63088         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
63089         Likewise.
63090         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
63091         Likewise.
63092         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
63093         Likewise.
63094         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
63095         Likewise.
63097         [BZ #14821]
63098         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
63099         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
63100         for copies of such integer values.
63101         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63102         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63104 2012-11-09  Andreas Jaeger  <aj@suse.de>
63106         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
63107         definitions and declarations that are provided by
63108         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
63110 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63112         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
63113         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
63114         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
63115         definition.
63117 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63119         * elf/elf.h: Update comment before AArch64 relocations.
63121 2012-11-07  David S. Miller  <davem@davemloft.net>
63123         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
63124         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
63125         (__start_context): Declare.
63126         (__makecontext_ret): Delete.
63127         (__makecontext): Hook up __start_context instead of
63128         __makecontext_ret.
63129         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
63130         (sysdep_routines): Add __start_context when in stdlib.
63132 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
63134         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
63135         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
63136         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
63137         hardcoded "nm".
63138         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
63139         (READELF): New variable.  Use it instead of hardcoded "readelf".
63141 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
63143         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
63144         * sysdeps/x86/Makefile: Here.
63145         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
63146         * sysdeps/x86/tst-xmmymm.sh: This.
63148 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
63150         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
63151         expectations.
63152         [UNIX98] (pthread_barrier_t): Do not expect.
63153         [UNIX98] (pthread_barrierattr_t): Likewise.
63154         [UNIX98] (pthread_spinlock_t): Likewise.
63155         [UNIX98] (pthread_barrier_destroy): Likewise.
63156         [UNIX98] (pthread_barrier_init): Likewise.
63157         [UNIX98] (pthread_barrier_wait): Likewise.
63158         [UNIX98] (pthread_barrierattr_destroy): Likewise.
63159         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
63160         [UNIX98] (pthread_barrierattr_init): Likewise.
63161         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
63162         [UNIX98] (pthread_getcpuclockid): Likewise.
63163         [UNIX98] (pthread_mutex_timedlock): Likewise.
63164         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
63165         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
63166         [UNIX98] (pthread_sigmask): Likewise.
63167         [UNIX98] (pthread_spin_destroy): Likewise.
63168         [UNIX98] (pthread_spin_init): Likewise.
63169         [UNIX98] (pthread_spin_lock): Likewise.
63170         [UNIX98] (pthread_spin_trylock): Likewise.
63171         [UNIX98] (pthread_spin_unlock): Likewise.
63172         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
63173         Do not expect.
63174         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
63175         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
63176         [XPG3 || XPG4] (pthread_cond_t): Likewise.
63177         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
63178         [XPG3 || XPG4] (pthread_key_t): Likewise.
63179         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
63180         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
63181         [XPG3 || XPG4] (pthread_once_t): Likewise.
63182         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
63183         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
63184         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
63185         [XPG3 || XPG4] (pthread_t): Likewise.
63187         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
63188         not expect.
63189         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
63191         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
63192         Change function return type to int.
63194         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
63195         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
63196         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
63197         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
63198         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
63199         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
63200         [!POSIX] (posix_madvise): Likewise.
63201         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
63202         && !UNIX98].
63203         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
63204         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
63205         (mode_t): Likewise.
63206         (posix_mem_offset): Likewise.
63207         (posix_typed_mem_get_info): Likewise.
63208         (posix_typed_mem_open): Likewise.
63210         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
63211         Change condition to [XOPEN2K8].
63213         * conform/conformtest.pl: Preprocess allow-header data with -x c
63214         instead of from stdin.
63215         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
63216         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
63217         [C99-based standards] (cerfc): Likewise.
63218         [C99-based standards] (cexp2): Likewise.
63219         [C99-based standards] (cexpm1): Likewise.
63220         [C99-based standards] (clog10): Likewise.
63221         [C99-based standards] (clog1p): Likewise.
63222         [C99-based standards] (clog2): Likewise.
63223         [C99-based standards] (clgamma): Likewise.
63224         [C99-based standards] (ctgamma): Likewise.
63225         [C99-based standards] (cerff): Likewise.
63226         [C99-based standards] (cerfcf): Likewise.
63227         [C99-based standards] (cexp2f): Likewise.
63228         [C99-based standards] (cexpm1f): Likewise.
63229         [C99-based standards] (clog10f): Likewise.
63230         [C99-based standards] (clog1pf): Likewise.
63231         [C99-based standards] (clog2f): Likewise.
63232         [C99-based standards] (clgammaf): Likewise.
63233         [C99-based standards] (ctgammaf): Likewise.
63234         [C99-based standards] (cerfl): Likewise.
63235         [C99-based standards] (cerfcl): Likewise.
63236         [C99-based standards] (cexp2l): Likewise.
63237         [C99-based standards] (cexpm1l): Likewise.
63238         [C99-based standards] (clog10l): Likewise.
63239         [C99-based standards] (clog1pl): Likewise.
63240         [C99-based standards] (clog2l): Likewise.
63241         [C99-based standards] (clgammal): Likewise.
63242         [C99-based standards] (ctgammal): Likewise.
63243         * conform/data/inttypes.h-data [C99-based standards]: Include
63244         stdint.h-data.  Remove all expectations for stdint.h contents.
63245         [C99-based standards] (PRI*): Do not allow.
63246         [C99-based standards] (SCN*): Likewise.
63247         [C99-based standards] (*_t): Likewise.
63248         [C99-based-standards] (PRId8): Expect macro.
63249         [C99-based-standards] (PRIi8): Likewise.
63250         [C99-based-standards] (PRIo8): Likewise.
63251         [C99-based-standards] (PRIu8): Likewise.
63252         [C99-based-standards] (PRIx8): Likewise.
63253         [C99-based-standards] (PRIX8): Likewise.
63254         [C99-based-standards] (SCNd8): Likewise.
63255         [C99-based-standards] (SCNi8): Likewise.
63256         [C99-based-standards] (SCNo8): Likewise.
63257         [C99-based-standards] (SCNu8): Likewise.
63258         [C99-based-standards] (SCNx8): Likewise.
63259         [C99-based-standards] (PRIdLEAST8): Likewise.
63260         [C99-based-standards] (PRIiLEAST8): Likewise.
63261         [C99-based-standards] (PRIoLEAST8): Likewise.
63262         [C99-based-standards] (PRIuLEAST8): Likewise.
63263         [C99-based-standards] (PRIxLEAST8): Likewise.
63264         [C99-based-standards] (PRIXLEAST8): Likewise.
63265         [C99-based-standards] (SCNdLEAST8): Likewise.
63266         [C99-based-standards] (SCNiLEAST8): Likewise.
63267         [C99-based-standards] (SCNoLEAST8): Likewise.
63268         [C99-based-standards] (SCNuLEAST8): Likewise.
63269         [C99-based-standards] (SCNxLEAST8): Likewise.
63270         [C99-based-standards] (PRIdFAST8): Likewise.
63271         [C99-based-standards] (PRIiFAST8): Likewise.
63272         [C99-based-standards] (PRIoFAST8): Likewise.
63273         [C99-based-standards] (PRIuFAST8): Likewise.
63274         [C99-based-standards] (PRIxFAST8): Likewise.
63275         [C99-based-standards] (PRIXFAST8): Likewise.
63276         [C99-based-standards] (SCNdFAST8): Likewise.
63277         [C99-based-standards] (SCNiFAST8): Likewise.
63278         [C99-based-standards] (SCNoFAST8): Likewise.
63279         [C99-based-standards] (SCNuFAST8): Likewise.
63280         [C99-based-standards] (SCNxFAST8): Likewise.
63281         [C99-based-standards] (PRId16): Likewise.
63282         [C99-based-standards] (PRIi16): Likewise.
63283         [C99-based-standards] (PRIo16): Likewise.
63284         [C99-based-standards] (PRIu16): Likewise.
63285         [C99-based-standards] (PRIx16): Likewise.
63286         [C99-based-standards] (PRIX16): Likewise.
63287         [C99-based-standards] (SCNd16): Likewise.
63288         [C99-based-standards] (SCNi16): Likewise.
63289         [C99-based-standards] (SCNo16): Likewise.
63290         [C99-based-standards] (SCNu16): Likewise.
63291         [C99-based-standards] (SCNx16): Likewise.
63292         [C99-based-standards] (PRIdLEAST16): Likewise.
63293         [C99-based-standards] (PRIiLEAST16): Likewise.
63294         [C99-based-standards] (PRIoLEAST16): Likewise.
63295         [C99-based-standards] (PRIuLEAST16): Likewise.
63296         [C99-based-standards] (PRIxLEAST16): Likewise.
63297         [C99-based-standards] (PRIXLEAST16): Likewise.
63298         [C99-based-standards] (SCNdLEAST16): Likewise.
63299         [C99-based-standards] (SCNiLEAST16): Likewise.
63300         [C99-based-standards] (SCNoLEAST16): Likewise.
63301         [C99-based-standards] (SCNuLEAST16): Likewise.
63302         [C99-based-standards] (SCNxLEAST16): Likewise.
63303         [C99-based-standards] (PRIdFAST16): Likewise.
63304         [C99-based-standards] (PRIiFAST16): Likewise.
63305         [C99-based-standards] (PRIoFAST16): Likewise.
63306         [C99-based-standards] (PRIuFAST16): Likewise.
63307         [C99-based-standards] (PRIxFAST16): Likewise.
63308         [C99-based-standards] (PRIXFAST16): Likewise.
63309         [C99-based-standards] (SCNdFAST16): Likewise.
63310         [C99-based-standards] (SCNiFAST16): Likewise.
63311         [C99-based-standards] (SCNoFAST16): Likewise.
63312         [C99-based-standards] (SCNuFAST16): Likewise.
63313         [C99-based-standards] (SCNxFAST16): Likewise.
63314         [C99-based-standards] (PRId32): Likewise.
63315         [C99-based-standards] (PRIi32): Likewise.
63316         [C99-based-standards] (PRIo32): Likewise.
63317         [C99-based-standards] (PRIu32): Likewise.
63318         [C99-based-standards] (PRIx32): Likewise.
63319         [C99-based-standards] (PRIX32): Likewise.
63320         [C99-based-standards] (SCNd32): Likewise.
63321         [C99-based-standards] (SCNi32): Likewise.
63322         [C99-based-standards] (SCNo32): Likewise.
63323         [C99-based-standards] (SCNu32): Likewise.
63324         [C99-based-standards] (SCNx32): Likewise.
63325         [C99-based-standards] (PRIdLEAST32): Likewise.
63326         [C99-based-standards] (PRIiLEAST32): Likewise.
63327         [C99-based-standards] (PRIoLEAST32): Likewise.
63328         [C99-based-standards] (PRIuLEAST32): Likewise.
63329         [C99-based-standards] (PRIxLEAST32): Likewise.
63330         [C99-based-standards] (PRIXLEAST32): Likewise.
63331         [C99-based-standards] (SCNdLEAST32): Likewise.
63332         [C99-based-standards] (SCNiLEAST32): Likewise.
63333         [C99-based-standards] (SCNoLEAST32): Likewise.
63334         [C99-based-standards] (SCNuLEAST32): Likewise.
63335         [C99-based-standards] (SCNxLEAST32): Likewise.
63336         [C99-based-standards] (PRIdFAST32): Likewise.
63337         [C99-based-standards] (PRIiFAST32): Likewise.
63338         [C99-based-standards] (PRIoFAST32): Likewise.
63339         [C99-based-standards] (PRIuFAST32): Likewise.
63340         [C99-based-standards] (PRIxFAST32): Likewise.
63341         [C99-based-standards] (PRIXFAST32): Likewise.
63342         [C99-based-standards] (SCNdFAST32): Likewise.
63343         [C99-based-standards] (SCNiFAST32): Likewise.
63344         [C99-based-standards] (SCNoFAST32): Likewise.
63345         [C99-based-standards] (SCNuFAST32): Likewise.
63346         [C99-based-standards] (SCNxFAST32): Likewise.
63347         [C99-based-standards] (PRId64): Likewise.
63348         [C99-based-standards] (PRIi64): Likewise.
63349         [C99-based-standards] (PRIo64): Likewise.
63350         [C99-based-standards] (PRIu64): Likewise.
63351         [C99-based-standards] (PRIx64): Likewise.
63352         [C99-based-standards] (PRIX64): Likewise.
63353         [C99-based-standards] (SCNd64): Likewise.
63354         [C99-based-standards] (SCNi64): Likewise.
63355         [C99-based-standards] (SCNo64): Likewise.
63356         [C99-based-standards] (SCNu64): Likewise.
63357         [C99-based-standards] (SCNx64): Likewise.
63358         [C99-based-standards] (PRIdLEAST64): Likewise.
63359         [C99-based-standards] (PRIiLEAST64): Likewise.
63360         [C99-based-standards] (PRIoLEAST64): Likewise.
63361         [C99-based-standards] (PRIuLEAST64): Likewise.
63362         [C99-based-standards] (PRIxLEAST64): Likewise.
63363         [C99-based-standards] (PRIXLEAST64): Likewise.
63364         [C99-based-standards] (SCNdLEAST64): Likewise.
63365         [C99-based-standards] (SCNiLEAST64): Likewise.
63366         [C99-based-standards] (SCNoLEAST64): Likewise.
63367         [C99-based-standards] (SCNuLEAST64): Likewise.
63368         [C99-based-standards] (SCNxLEAST64): Likewise.
63369         [C99-based-standards] (PRIdFAST64): Likewise.
63370         [C99-based-standards] (PRIiFAST64): Likewise.
63371         [C99-based-standards] (PRIoFAST64): Likewise.
63372         [C99-based-standards] (PRIuFAST64): Likewise.
63373         [C99-based-standards] (PRIxFAST64): Likewise.
63374         [C99-based-standards] (PRIXFAST64): Likewise.
63375         [C99-based-standards] (SCNdFAST64): Likewise.
63376         [C99-based-standards] (SCNiFAST64): Likewise.
63377         [C99-based-standards] (SCNoFAST64): Likewise.
63378         [C99-based-standards] (SCNuFAST64): Likewise.
63379         [C99-based-standards] (SCNxFAST64): Likewise.
63380         [C99-based-standards] (PRIdMAX): Likewise.
63381         [C99-based-standards] (PRIiMAX): Likewise.
63382         [C99-based-standards] (PRIoMAX): Likewise.
63383         [C99-based-standards] (PRIuMAX): Likewise.
63384         [C99-based-standards] (PRIxMAX): Likewise.
63385         [C99-based-standards] (PRIXMAX): Likewise.
63386         [C99-based-standards] (SCNdMAX): Likewise.
63387         [C99-based-standards] (SCNiMAX): Likewise.
63388         [C99-based-standards] (SCNoMAX): Likewise.
63389         [C99-based-standards] (SCNuMAX): Likewise.
63390         [C99-based-standards] (SCNxMAX): Likewise.
63391         [C99-based-standards] (PRIdPTR): Likewise.
63392         [C99-based-standards] (PRIiPTR): Likewise.
63393         [C99-based-standards] (PRIoPTR): Likewise.
63394         [C99-based-standards] (PRIuPTR): Likewise.
63395         [C99-based-standards] (PRIxPTR): Likewise.
63396         [C99-based-standards] (PRIXPTR): Likewise.
63397         [C99-based-standards] (SCNdPTR): Likewise.
63398         [C99-based-standards] (SCNiPTR): Likewise.
63399         [C99-based-standards] (SCNoPTR): Likewise.
63400         [C99-based-standards] (SCNuPTR): Likewise.
63401         [C99-based-standards] (SCNxPTR): Likewise.
63402         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
63403         allow.
63404         * conform/data/stdint.h-data: Update comments to clarify
63405         requirements.
63406         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
63407         type.
63408         [C99-based standards] (INT8_MAX): Likewise.
63409         [C99-based standards] (INT16_MIN): Likewise.
63410         [C99-based standards] (INT16_MAX): Likewise.
63411         [C99-based standards] (INT32_MIN): Likewise.
63412         [C99-based standards] (INT32_MAX): Likewise.
63413         [C99-based standards] (INT64_MIN): Likewise.
63414         [C99-based standards] (INT64_MAX): Likewise.
63415         [C99-based standards] (UINT8_MAX): Likewise.
63416         [C99-based standards] (UINT16_MAX): Likewise.
63417         [C99-based standards] (UINT32_MAX): Likewise.
63418         [C99-based standards] (UINT64_MAX): Likewise.
63419         [C99-based standards] (INT_LEAST8_MIN): Likewise.
63420         [C99-based standards] (INT_LEAST8_MAX): Likewise.
63421         [C99-based standards] (INT_LEAST16_MIN): Likewise.
63422         [C99-based standards] (INT_LEAST16_MAX): Likewise.
63423         [C99-based standards] (INT_LEAST32_MIN): Likewise.
63424         [C99-based standards] (INT_LEAST32_MAX): Likewise.
63425         [C99-based standards] (INT_LEAST64_MIN): Likewise.
63426         [C99-based standards] (INT_LEAST64_MAX): Likewise.
63427         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
63428         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
63429         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
63430         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
63431         [C99-based standards] (INT_FAST8_MIN): Likewise.
63432         [C99-based standards] (INT_FAST8_MAX): Likewise.
63433         [C99-based standards] (INT_FAST16_MIN): Likewise.
63434         [C99-based standards] (INT_FAST16_MAX): Likewise.
63435         [C99-based standards] (INT_FAST32_MIN): Likewise.
63436         [C99-based standards] (INT_FAST32_MAX): Likewise.
63437         [C99-based standards] (INT_FAST64_MIN): Likewise.
63438         [C99-based standards] (INT_FAST64_MAX): Likewise.
63439         [C99-based standards] (UINT_FAST8_MAX): Likewise.
63440         [C99-based standards] (UINT_FAST16_MAX): Likewise.
63441         [C99-based standards] (UINT_FAST32_MAX): Likewise.
63442         [C99-based standards] (UINT_FAST64_MAX): Likewise.
63443         [C99-based standards] (INTPTR_MIN): Likewise.
63444         [C99-based standards] (INTPTR_MAX): Likewise.
63445         [C99-based standards] (UINTPTR_MAX): Likewise.
63446         [C99-based standards] (INTMAX_MIN): Likewise.
63447         [C99-based standards] (INTMAX_MAX): Likewise.
63448         [C99-based standards] (UINTMAX_MAX): Likewise.
63449         [C99-based standards] (PTRDIFF_MIN): Likewise.
63450         [C99-based standards] (PTRDIFF_MAX): Likewise.
63451         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
63452         [C99-based standards] (SIZE_MAX): Likewise.
63453         [C99-based standards] (WCHAR_MAX): Likewise.
63454         [C99-based standards] (WINT_MAX): Likewise.
63455         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
63456         constraint on value.
63457         [C99-based standards] (WCHAR_MIN): Likewise.
63458         [C99-based standards] (WINT_MIN): Likewise.
63459         [C99-based standards] (*_t): Allow.
63460         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
63461         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
63462         Include math.h-data and complex.h-data.  Remove all expectations
63463         of math.h and complex.h contents.
63464         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
63465         at end of line.
63466         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
63467         (struct tm): Expect tag.
63468         [C99-based-standards] (wcstof): Expect function.
63469         [C99-based-standards] (wcstold): Likewise.
63470         [C99-based-standards] (wcstoll): Likewise.
63471         [C99-based-standards] (wcstoull): Likewise.
63472         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
63473         macro-int-constant.  Specify type.
63474         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
63475         constraint on value.
63476         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
63477         Specify type.
63478         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
63479         Specify value.
63480         [ISO C standards]: Do not allow headers.
63481         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
63482         wcs[abcdefghijklmnopqrstuvwxyz]*.
63483         [ISO C standards] (*_t): Do not allow.
63484         * conform/data/wctype.h-data [C99-based standards] (iswblank):
63485         Expect function.
63486         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
63487         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
63488         Specify type.
63489         [ISO C standards]: Do not allow headers.
63490         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
63491         is[abcdefghijklmnopqrstuvwxyz]*.
63492         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
63493         to[abcdefghijklmnopqrstuvwxyz]*.
63494         [ISO C standards] (*_t): Do not allow.
63495         * conform/data/stdalign.h-data: New file.
63496         * conform/data/stdbool.h-data: Likewise.
63497         * conform/data/stdnoreturn.h-data: Likewise.
63499 2012-11-07  Roland McGrath  <roland@hack.frob.com>
63501         [BZ #14815]
63502         * manual/filesys.texi (Directory Entries): Typo fix.
63503         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
63505 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63507         * elf/elf.h (EM_AARCH64): New macro.
63508         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
63509         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
63510         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
63511         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
63512         (R_AARCH64_TLSDESC): Likewise.
63513         (NT_ARM_TLS): Likewise.
63514         (NT_ARM_HW_BREAK): Likewise.
63515         (NT_ARM_HW_WATCH): Likewise.
63517 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
63519         [BZ #14811]
63520         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
63521         (__ieee754_powl): Saturate nonzero exponents with absolute value
63522         below 0x1p-79 to +/- 0x1p-79.
63523         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
63524         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
63525         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
63526         nonzero exponents with absolute value below 0x1p-32 to +/-
63527         0x1p-32.
63528         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
63529         (__ieee754_powl): Saturate nonzero exponents with absolute value
63530         below 0x1p-79 to +/- 0x1p-79.
63531         * math/libm-test.inc (pow_test): Add more tests.
63533 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63535         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
63536         _dl_s390_cap_flags with kernel. Increase string length.
63537         (_dl_s390_platforms): Add z196 and zEC12.
63539 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
63541         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
63542         Change XOPEN21K to XOPEN2K.
63544 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
63546         * string/memmove.c: Use memcpy when possible.
63548 2012-11-06  Andreas Jaeger  <aj@suse.de>
63550         * po/eo.po: Update from translation team.
63552 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
63554         [BZ #14793]
63555         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
63556         exponent and small x and y exponents, scale x or y up.  Increase
63557         by 2 the exponent used in scaling up.
63558         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63559         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63560         * math/libm-test.inc (fma_test): Add more tests.
63561         (fma_test_towardzero): Likewise.
63562         (fma_test_downward): Likewise.
63563         (fma_test_upward): Likewise.
63565 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
63567         [BZ #14805]
63568         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
63569         fenv_t *.
63571         [BZ #14801]
63572         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
63573         namespace for names of struct fields.
63574         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
63575         fenv_t fields.
63576         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
63577         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
63579 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63581         [BZ #3665]
63582         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
63584 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
63586         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
63587         PTR_DEMANGLE.
63589         [BZ #5246]
63590         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
63591         PTR_DEMANGLE.
63593 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
63595         [BZ #14797]
63596         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
63597         definitely overflow as x * y not x * y + z.
63598         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63599         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63600         * math/libm-test.inc (fma_test): Add more tests.
63601         (fma_test_towardzero): Likewise.
63602         (fma_test_downward): Likewise.
63603         (fma_test_upward): Likewise.
63605 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
63607         [BZ #157]
63609         * include/stub-tag.h: Remove file.
63610         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
63611         '#include' of it.
63612         * manual/maint.texi (Porting): Don't reference it.
63613         * Makerules ($(objpfx)stubs): Likewise.
63614         * dirent/closedir.c: Don't include <stub-tag.h>.
63615         * dirent/dirfd.c: Likewise.
63616         * dirent/fdopendir.c: Likewise.
63617         * dirent/getdents.c: Likewise.
63618         * dirent/getdents64.c: Likewise.
63619         * dirent/opendir.c: Likewise.
63620         * dirent/readdir.c: Likewise.
63621         * dirent/readdir64.c: Likewise.
63622         * dirent/readdir64_r.c: Likewise.
63623         * dirent/readdir_r.c: Likewise.
63624         * dirent/rewinddir.c: Likewise.
63625         * dirent/seekdir.c: Likewise.
63626         * dirent/telldir.c: Likewise.
63627         * gmon/profil.c: Likewise.
63628         * grp/setgroups.c: Likewise.
63629         * inet/if_index.c: Likewise.
63630         * io/access.c: Likewise.
63631         * io/chdir.c: Likewise.
63632         * io/chmod.c: Likewise.
63633         * io/chown.c: Likewise.
63634         * io/close.c: Likewise.
63635         * io/dup.c: Likewise.
63636         * io/dup2.c: Likewise.
63637         * io/dup3.c: Likewise.
63638         * io/euidaccess.c: Likewise.
63639         * io/faccessat.c: Likewise.
63640         * io/fchdir.c: Likewise.
63641         * io/fchmod.c: Likewise.
63642         * io/fchmodat.c: Likewise.
63643         * io/fchown.c: Likewise.
63644         * io/fchownat.c: Likewise.
63645         * io/fcntl.c: Likewise.
63646         * io/flock.c: Likewise.
63647         * io/fstatfs.c: Likewise.
63648         * io/fstatfs64.c: Likewise.
63649         * io/fstatvfs.c: Likewise.
63650         * io/fstatvfs64.c: Likewise.
63651         * io/futimens.c: Likewise.
63652         * io/fxstat.c: Likewise.
63653         * io/fxstat64.c: Likewise.
63654         * io/fxstatat.c: Likewise.
63655         * io/fxstatat64.c: Likewise.
63656         * io/getcwd.c: Likewise.
63657         * io/isatty.c: Likewise.
63658         * io/lchmod.c: Likewise.
63659         * io/lchown.c: Likewise.
63660         * io/link.c: Likewise.
63661         * io/linkat.c: Likewise.
63662         * io/lseek.c: Likewise.
63663         * io/lseek64.c: Likewise.
63664         * io/lxstat64.c: Likewise.
63665         * io/mkdir.c: Likewise.
63666         * io/mkdirat.c: Likewise.
63667         * io/mkfifo.c: Likewise.
63668         * io/mkfifoat.c: Likewise.
63669         * io/open.c: Likewise.
63670         * io/open64.c: Likewise.
63671         * io/openat.c: Likewise.
63672         * io/openat64.c: Likewise.
63673         * io/pipe.c: Likewise.
63674         * io/pipe2.c: Likewise.
63675         * io/poll.c: Likewise.
63676         * io/posix_fadvise.c: Likewise.
63677         * io/posix_fadvise64.c: Likewise.
63678         * io/posix_fallocate.c: Likewise.
63679         * io/posix_fallocate64.c: Likewise.
63680         * io/read.c: Likewise.
63681         * io/readlink.c: Likewise.
63682         * io/readlinkat.c: Likewise.
63683         * io/rmdir.c: Likewise.
63684         * io/sendfile.c: Likewise.
63685         * io/sendfile64.c: Likewise.
63686         * io/statfs.c: Likewise.
63687         * io/statfs64.c: Likewise.
63688         * io/statvfs.c: Likewise.
63689         * io/statvfs64.c: Likewise.
63690         * io/symlink.c: Likewise.
63691         * io/symlinkat.c: Likewise.
63692         * io/ttyname.c: Likewise.
63693         * io/ttyname_r.c: Likewise.
63694         * io/umask.c: Likewise.
63695         * io/unlink.c: Likewise.
63696         * io/unlinkat.c: Likewise.
63697         * io/utime.c: Likewise.
63698         * io/utimensat.c: Likewise.
63699         * io/write.c: Likewise.
63700         * io/xmknod.c: Likewise.
63701         * io/xmknodat.c: Likewise.
63702         * io/xstat.c: Likewise.
63703         * io/xstat64.c: Likewise.
63704         * login/getpt.c: Likewise.
63705         * login/grantpt.c: Likewise.
63706         * login/unlockpt.c: Likewise.
63707         * math/e_acoshl.c: Likewise.
63708         * math/e_acosl.c: Likewise.
63709         * math/e_asinl.c: Likewise.
63710         * math/e_atan2l.c: Likewise.
63711         * math/e_atanhl.c: Likewise.
63712         * math/e_coshl.c: Likewise.
63713         * math/e_expl.c: Likewise.
63714         * math/e_fmodl.c: Likewise.
63715         * math/e_gammal_r.c: Likewise.
63716         * math/e_hypotl.c: Likewise.
63717         * math/e_j0l.c: Likewise.
63718         * math/e_j1l.c: Likewise.
63719         * math/e_jnl.c: Likewise.
63720         * math/e_lgammal_r.c: Likewise.
63721         * math/e_log10l.c: Likewise.
63722         * math/e_log2l.c: Likewise.
63723         * math/e_logl.c: Likewise.
63724         * math/e_powl.c: Likewise.
63725         * math/e_rem_pio2l.c: Likewise.
63726         * math/e_sinhl.c: Likewise.
63727         * math/e_sqrtl.c: Likewise.
63728         * math/fclrexcpt.c: Likewise.
63729         * math/fedisblxcpt.c: Likewise.
63730         * math/feenablxcpt.c: Likewise.
63731         * math/fegetenv.c: Likewise.
63732         * math/fegetexcept.c: Likewise.
63733         * math/fegetround.c: Likewise.
63734         * math/feholdexcpt.c: Likewise.
63735         * math/fesetenv.c: Likewise.
63736         * math/fesetround.c: Likewise.
63737         * math/feupdateenv.c: Likewise.
63738         * math/fgetexcptflg.c: Likewise.
63739         * math/fraiseexcpt.c: Likewise.
63740         * math/fsetexcptflg.c: Likewise.
63741         * math/ftestexcept.c: Likewise.
63742         * math/k_cosl.c: Likewise.
63743         * math/k_rem_pio2l.c: Likewise.
63744         * math/k_sinl.c: Likewise.
63745         * math/k_tanl.c: Likewise.
63746         * math/s_asinhl.c: Likewise.
63747         * math/s_atanl.c: Likewise.
63748         * math/s_cbrtl.c: Likewise.
63749         * math/s_erfl.c: Likewise.
63750         * math/s_expm1l.c: Likewise.
63751         * math/s_log1pl.c: Likewise.
63752         * math/s_tanhl.c: Likewise.
63753         * misc/acct.c: Likewise.
63754         * misc/brk.c: Likewise.
63755         * misc/chflags.c: Likewise.
63756         * misc/chroot.c: Likewise.
63757         * misc/fchflags.c: Likewise.
63758         * misc/fgetxattr.c: Likewise.
63759         * misc/flistxattr.c: Likewise.
63760         * misc/fremovexattr.c: Likewise.
63761         * misc/fsetxattr.c: Likewise.
63762         * misc/fsync.c: Likewise.
63763         * misc/ftruncate.c: Likewise.
63764         * misc/futimes.c: Likewise.
63765         * misc/futimesat.c: Likewise.
63766         * misc/getdomain.c: Likewise.
63767         * misc/getdtsz.c: Likewise.
63768         * misc/gethostid.c: Likewise.
63769         * misc/gethostname.c: Likewise.
63770         * misc/getloadavg.c: Likewise.
63771         * misc/getpagesize.c: Likewise.
63772         * misc/getsysstats.c: Likewise.
63773         * misc/getxattr.c: Likewise.
63774         * misc/gtty.c: Likewise.
63775         * misc/ioctl.c: Likewise.
63776         * misc/lgetxattr.c: Likewise.
63777         * misc/listxattr.c: Likewise.
63778         * misc/llistxattr.c: Likewise.
63779         * misc/lremovexattr.c: Likewise.
63780         * misc/lsetxattr.c: Likewise.
63781         * misc/lutimes.c: Likewise.
63782         * misc/madvise.c: Likewise.
63783         * misc/mincore.c: Likewise.
63784         * misc/mlock.c: Likewise.
63785         * misc/mlockall.c: Likewise.
63786         * misc/mmap.c: Likewise.
63787         * misc/mprotect.c: Likewise.
63788         * misc/msync.c: Likewise.
63789         * misc/munlock.c: Likewise.
63790         * misc/munlockall.c: Likewise.
63791         * misc/munmap.c: Likewise.
63792         * misc/preadv.c: Likewise.
63793         * misc/preadv64.c: Likewise.
63794         * misc/ptrace.c: Likewise.
63795         * misc/pwritev.c: Likewise.
63796         * misc/pwritev64.c: Likewise.
63797         * misc/readv.c: Likewise.
63798         * misc/reboot.c: Likewise.
63799         * misc/remap_file_pages.c: Likewise.
63800         * misc/removexattr.c: Likewise.
63801         * misc/revoke.c: Likewise.
63802         * misc/select.c: Likewise.
63803         * misc/setdomain.c: Likewise.
63804         * misc/setegid.c: Likewise.
63805         * misc/seteuid.c: Likewise.
63806         * misc/sethostid.c: Likewise.
63807         * misc/sethostname.c: Likewise.
63808         * misc/setregid.c: Likewise.
63809         * misc/setreuid.c: Likewise.
63810         * misc/setxattr.c: Likewise.
63811         * misc/sstk.c: Likewise.
63812         * misc/stty.c: Likewise.
63813         * misc/swapoff.c: Likewise.
63814         * misc/swapon.c: Likewise.
63815         * misc/sync.c: Likewise.
63816         * misc/syncfs.c: Likewise.
63817         * misc/syscall.c: Likewise.
63818         * misc/truncate.c: Likewise.
63819         * misc/ualarm.c: Likewise.
63820         * misc/usleep.c: Likewise.
63821         * misc/ustat.c: Likewise.
63822         * misc/utimes.c: Likewise.
63823         * misc/vhangup.c: Likewise.
63824         * misc/writev.c: Likewise.
63825         * posix/_exit.c: Likewise.
63826         * posix/alarm.c: Likewise.
63827         * posix/execve.c: Likewise.
63828         * posix/fexecve.c: Likewise.
63829         * posix/fork.c: Likewise.
63830         * posix/fpathconf.c: Likewise.
63831         * posix/getaddrinfo.c: Likewise.
63832         * posix/getegid.c: Likewise.
63833         * posix/geteuid.c: Likewise.
63834         * posix/getgid.c: Likewise.
63835         * posix/getgroups.c: Likewise.
63836         * posix/getlogin.c: Likewise.
63837         * posix/getlogin_r.c: Likewise.
63838         * posix/getpgid.c: Likewise.
63839         * posix/getpid.c: Likewise.
63840         * posix/getppid.c: Likewise.
63841         * posix/getresgid.c: Likewise.
63842         * posix/getresuid.c: Likewise.
63843         * posix/getsid.c: Likewise.
63844         * posix/getuid.c: Likewise.
63845         * posix/glob64.c: Likewise.
63846         * posix/nanosleep.c: Likewise.
63847         * posix/pathconf.c: Likewise.
63848         * posix/pause.c: Likewise.
63849         * posix/posix_madvise.c: Likewise.
63850         * posix/pread.c: Likewise.
63851         * posix/pread64.c: Likewise.
63852         * posix/pwrite.c: Likewise.
63853         * posix/pwrite64.c: Likewise.
63854         * posix/sched_getaffinity.c: Likewise.
63855         * posix/sched_getp.c: Likewise.
63856         * posix/sched_gets.c: Likewise.
63857         * posix/sched_primax.c: Likewise.
63858         * posix/sched_primin.c: Likewise.
63859         * posix/sched_rr_gi.c: Likewise.
63860         * posix/sched_setaffinity.c: Likewise.
63861         * posix/sched_setp.c: Likewise.
63862         * posix/sched_sets.c: Likewise.
63863         * posix/sched_yield.c: Likewise.
63864         * posix/setgid.c: Likewise.
63865         * posix/setlogin.c: Likewise.
63866         * posix/setpgid.c: Likewise.
63867         * posix/setresgid.c: Likewise.
63868         * posix/setresuid.c: Likewise.
63869         * posix/setsid.c: Likewise.
63870         * posix/setuid.c: Likewise.
63871         * posix/sleep.c: Likewise.
63872         * posix/spawni.c: Likewise.
63873         * posix/sysconf.c: Likewise.
63874         * posix/times.c: Likewise.
63875         * posix/wait.c: Likewise.
63876         * posix/wait3.c: Likewise.
63877         * posix/wait4.c: Likewise.
63878         * posix/waitpid.c: Likewise.
63879         * resolv/gai_sigqueue.c: Likewise.
63880         * resource/getpriority.c: Likewise.
63881         * resource/getrlimit.c: Likewise.
63882         * resource/getrusage.c: Likewise.
63883         * resource/nice.c: Likewise.
63884         * resource/setpriority.c: Likewise.
63885         * resource/setrlimit.c: Likewise.
63886         * resource/ulimit.c: Likewise.
63887         * rt/aio_cancel.c: Likewise.
63888         * rt/aio_fsync.c: Likewise.
63889         * rt/aio_read.c: Likewise.
63890         * rt/aio_sigqueue.c: Likewise.
63891         * rt/aio_suspend.c: Likewise.
63892         * rt/aio_write.c: Likewise.
63893         * rt/clock_getres.c: Likewise.
63894         * rt/clock_gettime.c: Likewise.
63895         * rt/clock_nanosleep.c: Likewise.
63896         * rt/clock_settime.c: Likewise.
63897         * rt/lio_listio.c: Likewise.
63898         * rt/mq_close.c: Likewise.
63899         * rt/mq_getattr.c: Likewise.
63900         * rt/mq_notify.c: Likewise.
63901         * rt/mq_open.c: Likewise.
63902         * rt/mq_receive.c: Likewise.
63903         * rt/mq_send.c: Likewise.
63904         * rt/mq_setattr.c: Likewise.
63905         * rt/mq_timedreceive.c: Likewise.
63906         * rt/mq_timedsend.c: Likewise.
63907         * rt/mq_unlink.c: Likewise.
63908         * rt/shm_open.c: Likewise.
63909         * rt/shm_unlink.c: Likewise.
63910         * rt/timer_create.c: Likewise.
63911         * rt/timer_delete.c: Likewise.
63912         * rt/timer_getoverr.c: Likewise.
63913         * rt/timer_gettime.c: Likewise.
63914         * rt/timer_settime.c: Likewise.
63915         * setjmp/__longjmp.c: Likewise.
63916         * setjmp/setjmp.c: Likewise.
63917         * signal/kill.c: Likewise.
63918         * signal/killpg.c: Likewise.
63919         * signal/raise.c: Likewise.
63920         * signal/sigaction.c: Likewise.
63921         * signal/sigaltstack.c: Likewise.
63922         * signal/sigblock.c: Likewise.
63923         * signal/sigignore.c: Likewise.
63924         * signal/sigintr.c: Likewise.
63925         * signal/signal.c: Likewise.
63926         * signal/sigpause.c: Likewise.
63927         * signal/sigpending.c: Likewise.
63928         * signal/sigqueue.c: Likewise.
63929         * signal/sigreturn.c: Likewise.
63930         * signal/sigset.c: Likewise.
63931         * signal/sigsetmask.c: Likewise.
63932         * signal/sigstack.c: Likewise.
63933         * signal/sigsuspend.c: Likewise.
63934         * signal/sigtimedwait.c: Likewise.
63935         * signal/sigvec.c: Likewise.
63936         * signal/sigwait.c: Likewise.
63937         * signal/sigwaitinfo.c: Likewise.
63938         * signal/sysv_signal.c: Likewise.
63939         * socket/accept.c: Likewise.
63940         * socket/accept4.c: Likewise.
63941         * socket/bind.c: Likewise.
63942         * socket/connect.c: Likewise.
63943         * socket/getpeername.c: Likewise.
63944         * socket/getsockname.c: Likewise.
63945         * socket/getsockopt.c: Likewise.
63946         * socket/isfdtype.c: Likewise.
63947         * socket/listen.c: Likewise.
63948         * socket/recv.c: Likewise.
63949         * socket/recvfrom.c: Likewise.
63950         * socket/recvmsg.c: Likewise.
63951         * socket/send.c: Likewise.
63952         * socket/sendmsg.c: Likewise.
63953         * socket/sendto.c: Likewise.
63954         * socket/setsockopt.c: Likewise.
63955         * socket/shutdown.c: Likewise.
63956         * socket/sockatmark.c: Likewise.
63957         * socket/socket.c: Likewise.
63958         * socket/socketpair.c: Likewise.
63959         * stdio-common/ctermid.c: Likewise.
63960         * stdio-common/cuserid.c: Likewise.
63961         * stdio-common/remove.c: Likewise.
63962         * stdio-common/rename.c: Likewise.
63963         * stdio-common/renameat.c: Likewise.
63964         * stdio-common/tempname.c: Likewise.
63965         * stdlib/getcontext.c: Likewise.
63966         * stdlib/makecontext.c: Likewise.
63967         * stdlib/setcontext.c: Likewise.
63968         * stdlib/swapcontext.c: Likewise.
63969         * stdlib/system.c: Likewise.
63970         * streams/fattach.c: Likewise.
63971         * streams/fdetach.c: Likewise.
63972         * streams/getmsg.c: Likewise.
63973         * streams/getpmsg.c: Likewise.
63974         * streams/putmsg.c: Likewise.
63975         * streams/putpmsg.c: Likewise.
63976         * sysdeps/unix/bsd/getpt.c: Likewise.
63977         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
63978         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
63979         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
63980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
63981         Likewise.
63982         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
63983         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
63984         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
63985         * sysvipc/msgctl.c: Likewise.
63986         * sysvipc/msgget.c: Likewise.
63987         * sysvipc/msgrcv.c: Likewise.
63988         * sysvipc/msgsnd.c: Likewise.
63989         * sysvipc/semctl.c: Likewise.
63990         * sysvipc/semget.c: Likewise.
63991         * sysvipc/semop.c: Likewise.
63992         * sysvipc/semtimedop.c: Likewise.
63993         * sysvipc/shmat.c: Likewise.
63994         * sysvipc/shmctl.c: Likewise.
63995         * sysvipc/shmdt.c: Likewise.
63996         * sysvipc/shmget.c: Likewise.
63997         * termios/tcdrain.c: Likewise.
63998         * termios/tcflow.c: Likewise.
63999         * termios/tcflush.c: Likewise.
64000         * termios/tcgetattr.c: Likewise.
64001         * termios/tcgetpgrp.c: Likewise.
64002         * termios/tcsendbrk.c: Likewise.
64003         * termios/tcsetattr.c: Likewise.
64004         * termios/tcsetpgrp.c: Likewise.
64005         * time/adjtime.c: Likewise.
64006         * time/clock.c: Likewise.
64007         * time/getitimer.c: Likewise.
64008         * time/gettimeofday.c: Likewise.
64009         * time/setitimer.c: Likewise.
64010         * time/settimeofday.c: Likewise.
64011         * time/stime.c: Likewise.
64012         * time/time.c: Likewise.
64014 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
64016         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
64017         /usr/old/bin.
64019         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
64020         instead of spaces.
64021         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
64023 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
64025         [BZ #14796]
64026         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
64027         FE_TONEAREST before applying Dekker multiplication and Knuth
64028         addition.  Clear inexact exceptions and check for exact zero
64029         results afterwards.
64030         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64031         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
64032         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64033         * math/libm-test.inc (fma_test): Add more tests.
64034         (fma_test_towardzero): Likewise.
64035         (fma_test_downward): Likewise.
64036         (fma_test_upward): Likewise.
64037         * sysdeps/generic/math_private.h (default_libc_fesetround): New
64038         function.
64039         (libc_fesetround): New macro.
64040         (libc_fesetroundf): Likewise.
64041         (libc_fesetroundl): Likewise.
64042         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
64043         function.
64044         (libc_fesetround_387): Likewise.
64045         (libc_fesetroundf): New macro.
64046         (libc_fesetround): Likewise.
64047         (libc_fesetroundl): Likewise.
64048         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
64049         function.
64050         (libc_fesetroundf): New macro.
64051         (libc_fesetround): Likewise.
64052         (libc_fesetroundl): Likewise.
64053         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
64054         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
64055         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
64056         libm_hidden_ver.
64057         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
64058         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
64059         libm_hidden_def.
64060         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
64061         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
64062         libm_hidden_ver.
64063         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
64064         libm_hidden_def.
64066         [BZ #3439]
64067         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
64068         integer constant usable in #if and use that to give value to enum
64069         constant.
64070         (FE_DIVBYZERO): Likewise.
64071         (FE_UNDERFLOW): Likewise.
64072         (FE_OVERFLOW): Likewise.
64073         (FE_INVALID): Likewise.
64074         (FE_INVALID_SNAN): Likewise.
64075         (FE_INVALID_ISI): Likewise.
64076         (FE_INVALID_IDI): Likewise.
64077         (FE_INVALID_ZDZ): Likewise.
64078         (FE_INVALID_IMZ): Likewise.
64079         (FE_INVALID_COMPARE): Likewise.
64080         (FE_INVALID_SOFTWARE): Likewise.
64081         (FE_INVALID_SQRT): Likewise.
64082         (FE_INVALID_INTEGER_CONVERSION): Likewise.
64083         (FE_TONEAREST): Likewise.
64084         (FE_TOWARDZERO): Likewise.
64085         (FE_UPWARD): Likewise.
64086         (FE_DOWNWARD): Likewise.
64087         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
64088         (FE_DIVBYZERO): Likewise.
64089         (FE_OVERFLOW): Likewise.
64090         (FE_UNDERFLOW): Likewise.
64091         (FE_INEXACT): Likewise.
64092         (FE_TONEAREST): Likewise.
64093         (FE_DOWNWARD): Likewise.
64094         (FE_UPWARD): Likewise.
64095         (FE_TOWARDZERO): Likewise.
64096         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
64097         (FE_UNDERFLOW): Likewise.
64098         (FE_OVERFLOW): Likewise.
64099         (FE_DIVBYZERO): Likewise.
64100         (FE_INVALID): Likewise.
64101         (FE_TONEAREST): Likewise.
64102         (FE_TOWARDZERO): Likewise.
64103         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
64104         (FE_OVERFLOW): Likewise.
64105         (FE_UNDERFLOW): Likewise.
64106         (FE_DIVBYZERO): Likewise.
64107         (FE_INEXACT): Likewise.
64108         (FE_TONEAREST): Likewise.
64109         (FE_TOWARDZERO): Likewise.
64110         (FE_UPWARD): Likewise.
64111         (FE_DOWNWARD): Likewise.
64112         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
64113         (FE_DIVBYZERO): Likewise.
64114         (FE_OVERFLOW): Likewise.
64115         (FE_UNDERFLOW): Likewise.
64116         (FE_INEXACT): Likewise.
64117         (FE_TONEAREST): Likewise.
64118         (FE_DOWNWARD): Likewise.
64119         (FE_UPWARD): Likewise.
64120         (FE_TOWARDZERO): Likewise.
64122 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
64124         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
64126 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
64128         * scripts/cross-test-ssh.sh (command): Use newlines to separate
64129         commands.  Quote $PWD.
64130         (blacklist_exports): Don't use remove_newlines.  Replace "declare
64131         -x" by "export".
64132         (remove_newlines): Remove.
64134 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
64136         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
64137         * stdlib/stdlib.h (atof): Moved to ...
64138         * include/bits/stdlib-float.h: Here.  New file.
64139         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
64140         * stdlib/bits/stdlib-float.h: New file.
64141         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
64142         -mno-sse -mno-mmx.
64143         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
64144         <xmmintrin.h>.
64146 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
64148         * conform/conformtest.pl (@headers): Add fenv.h.
64149         * conform/data/fenv.h-data: New file.
64150         * include/fenv.h [_ISOMAC]: Disable all contents of file except
64151         include of <math/fenv.h>.
64153         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
64154         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
64155         && !UNIX98].  Enables tests for XOPEN2K8.
64156         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
64157         POSIX2008]: Likewise.
64159         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
64160         (struct rusage): Do not expect type or its members.
64162         [BZ #3439]
64163         * math/math.h (FP_NAN): Define macro to integer constant usable in
64164         #if and use that to give value to enum constant.
64165         (FP_INFINITE): Likewise.
64166         (FP_ZERO): Likewise.
64167         (FP_SUBNORMAL): Likewise.
64168         (FP_NORMAL): Likewise.
64170 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
64172         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
64173         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
64174         arguments.
64176 2012-11-02  Roland McGrath  <roland@hack.frob.com>
64178         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
64179         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
64180         autoconf-time if not.
64181         * configure.in: Remove AC_PREREQ.
64183 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64185         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
64186         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
64187         of the internal implementation.
64189 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
64191         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
64192         except include of <misc/sys/syslog.h>.
64194 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
64196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
64197         function returns with a NULL context exit with zero.
64199 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64201         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
64203 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
64205         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
64206         (run_program_cmd): This.
64207         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
64208         (tst_langinfo): New variable.  Use it.
64210 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
64212         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
64213         floating point opcodes.
64215 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
64217         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
64218         variable.
64220         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
64222         * sysdeps/mach/hurd/powerpc: Remove directory.
64223         * sysdeps/mach/powerpc: Likewise.
64225 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
64227         * scripts/check-local-headers.sh: Ignore c++ headers.
64229 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
64231         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
64232         __libc_cleanup_region_start argument.
64234 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
64236         [BZ #14784]
64237         [BZ #14785]
64238         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
64239         x * y using scaling, not as x * y + z.
64240         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64241         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64242         * math/libm-test.inc (fma_test): Add more tests.
64243         (fma_test_towardzero): Likewise.
64244         (fma_test_downward): Likewise.
64245         (fma_test_upward): Likewise.
64247 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
64249         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
64251 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
64253         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
64254         New variable.
64256 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
64258         * rt/tst-shm.c (worker): Correct checking for mmap failure.
64260 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
64262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64263         Fix sort order.
64264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64265         Likewise.
64267 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64270         Fix the order of the list for glibc 2.17.
64271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64272         Likewise.
64274 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
64276         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64278 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
64280         [BZ #14610]
64281         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
64282         for low part of x being zero before using __atanl (y).
64283         * math/libm-test.inc (atan2_test): Add another test.
64285         * manual/install.texi (Configuring and compiling): Document
64286         general use of test-wrapper and test-wrapper-env.
64287         * INSTALL: Regenerated.
64289         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
64290         (__fma): Do not extract and scale down low bits on after-rounding
64291         systems when result rounded to normal precision would have normal
64292         exponent.
64293         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
64294         (__fmal): Do not extract and scale down low bits on after-rounding
64295         systems when result rounded to normal precision would have normal
64296         exponent.
64297         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
64298         (__fmal): Do not extract and scale down low bits on after-rounding
64299         systems when result rounded to normal precision would have normal
64300         exponent.
64301         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
64302         macro.
64303         (fma_test): Add more tests.
64304         (fma_test_towardzero): Likewise.
64305         (fma_test_downward): Likewise.
64306         (fma_test_upward): Likewise.
64308 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
64310         * sysdeps/i386/tininess.h: Renamed to ...
64311         * sysdeps/x86/tininess.h: This.
64312         * sysdeps/x86_64/tininess.h: Removed.
64314 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
64316         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
64317         input.  Use $(build-program-cmd).
64318         ($(objpfx)tst-array1-static.out): Likewise.
64319         ($(objpfx)tst-array2.out): Likewise.
64320         ($(objpfx)tst-array3.out): Likewise.
64321         ($(objpfx)tst-array4.out): Likewise.
64322         ($(objpfx)tst-array5.out): Likewise.
64323         ($(objpfx)tst-array5-static.out): Likewise.
64325 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
64327         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
64328         if defined.
64330         * nss/nsswitch.h (nss_interface_function): Provide new
64331         macro for use with NSS functions.
64332         * grp/initgroups.c: Use new macro.
64333         * nss/getXXbyYY.c: Likewise.
64334         * nss/getXXbyYY_r.c: Likewise.
64335         * nss/getXXent.c: Likewise.
64336         * nss/getXXent_r.c: Likewise.
64337         * sysdeps/posix/getaddrinfo.c: Likewise.
64339 2012-10-30  Andreas Jaeger  <aj@suse.de>
64341         * po/ru.po: Update Russion translation from translation project.
64343 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
64345         [BZ #14152]
64346         [BZ #14783]
64347         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
64348         result and shift together with sticky bit instead of replicating
64349         round-to-nearest rounding.
64350         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64351         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64352         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
64353         missing underflow exceptions.
64354         (fma_test_towardzero): Add more tests.
64355         (fma_test_downward): Likewise.
64356         (fma_test_upward): Likewise.
64358         [BZ #14047]
64359         * sysdeps/generic/tininess.h: New file.
64360         * sysdeps/i386/tininess.h: Likewise.
64361         * sysdeps/sh/tininess.h: Likewise.
64362         * sysdeps/x86_64/tininess.h: Likewise.
64363         * stdlib/tst-strtod-underflow.c: Likewise.
64364         * stdlib/tst-tininess.c: Likewise.
64365         * stdlib/strtod_l.c: Include <tininess.h>.
64366         (round_and_return): Do not set errno for exact underflow cases.
64367         Force an underflow exception when setting errno for underflow.
64368         Determine underflow based on rounding to normal precision if
64369         TININESS_AFTER_ROUNDING.
64370         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
64371         ERANGE for exact underflow cases.
64372         * stdlib/Makefile (tests): Add tst-tininess and
64373         tst-strtod-underflow.
64374         ($(objpfx)tst-tininess): Use $(link-libm).
64375         ($(objpfx)tst-strtod-underflow): Likewise.
64377 2012-10-30  Andreas Jaeger  <aj@suse.de>
64379         [BZ#14767]
64380         * elf/Makefile (tests): Remove conditional for have-initfini-array
64381         since this is now always required and the variable does not exist
64382         anymore.
64383         (tests-static): Likewise.
64384         (modules-names): Likewise.
64386         * po/eo.po: Add Esperanto translation from translation project.
64388         * elf/tst-array1.c (fini_array): Make writeable so that it can be
64389         merged with constructor/destructor.
64390         (init_array): Likewise.
64391         * elf/tst-array2dep.c (fini_array): Likewise.
64392         (init_array): Likewise.
64394 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
64396         * manual/message.texi: Delete @cartouche tags.
64398 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
64400         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
64401         EOPNOTSUPP.
64402         * sysdeps/mach/hurd/fsync.c: Likewise.
64404         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
64405         [_POSIX_REALTIME_SIGNALS]: Change condition to
64406         [_POSIX_REALTIME_SIGNALS > 0].
64408 2012-10-27  Andreas Jaeger  <aj@suse.de>
64410         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
64411         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
64412         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
64413         [__WORDSIZE != 64]: Likewise.
64415 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
64417         *  iconvdata/tst-table.sh: Remove ${SHELL}.
64418         *  iconvdata/tst-tables.sh: Likewise.
64420 2012-10-25  David S. Miller  <davem@davemloft.net>
64422         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64423         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
64424         of strtoull.
64426         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
64427         ifunc-impl-list.c
64428         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
64429         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
64430         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
64431         file.
64433 2012-10-25  Roland McGrath  <roland@hack.frob.com>
64435         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64436         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
64437         __getdirentries.
64439 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
64440             Jim Blandy  <jimb@codesourcery.com>
64442         * scripts/cross-test-ssh.sh: New file.
64443         * manual/install.texi (Configuring and compiling): Document use of
64444         cross-test-ssh.sh.
64445         * INSTALL: Regenerated.
64447 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
64449         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
64450         EOPNOTSUPP.
64452 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
64454         * Makeconfig (run-program-prefix): Fix comment.
64456 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
64457             Jim Blandy  <jimb@codesourcery.com>
64459         * Makeconfig (test-wrapper): New variable,
64460         (test-wrapper-env): Likewise.
64461         [$(cross-compiling) = yes && $(test-wrapper) != ""]
64462         (run-built-tests): Define to yes.
64463         (run-program-prefix): Use $(test-wrapper).
64464         (built-program-cmd): Likewise.
64465         * Rules (make-test-out): Use $(test-wrapper-env) and
64466         $(host-built-program-cmd).
64467         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
64468         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
64469         tst-pathopt.sh.
64470         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
64471         $(test-wrapper-env) to tst-rtld-load-self.sh.
64472         ($(objpfx)order2.out): Use $(test-wrapper).
64473         ($(objpfx)tst-initorder.out): Likewise.
64474         ($(objpfx)tst-initorder2.out): Likewise.
64475         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
64476         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
64477         (test_wrapper_env): New variable.  Use it to run ld.so.
64478         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
64479         Use it to run ld.so.
64480         (test_wrapper_env): Likewise.
64481         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
64482         $(test-wrapper) to run-iconv-test.sh.
64483         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
64484         (ICONV): Use $test_wrapper.
64485         * posix/Makefile ($(objpfx)globtest.out): Pass
64486         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
64487         globtest.sh, not $(run-program-prefix).
64488         * posix/globtest.sh (run_via_rtld_prefix): New variable.
64489         (test_wrapper): Likewise.
64490         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
64491         set together with run_via_rtld_prefix.
64492         (run_program_prefix): Define in terms of test_wrapper and
64493         run_via_rtld_prefix.
64495 2012-10-24  Roland McGrath  <roland@hack.frob.com>
64497         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
64498         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
64499         Targets removed.
64501         [BZ #14743]
64502         * include/time.h: Remove librt_hidden_proto (clock_gettime).
64503         Declare __clock_getres, __clock_gettime, __clock_settime,
64504         __clock_nanosleep, and __clock_getcpuclockid.
64505         * rt/clock_gettime.c: Define __clock_gettime as an alias.
64506         Remove librt_hidden_def (clock_gettime).
64507         * sysdeps/unix/clock_gettime.c: Likewise.
64508         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
64509         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
64510         * rt/clock_getres.c: Define __clock_getres as an alias.
64511         * sysdeps/posix/clock_getres.c: Likewise.
64512         * rt/clock_settime.c: Define __clock_settime as an alias.
64513         * sysdeps/unix/clock_settime.c: Likewise.
64514         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
64515         * sysdeps/unix/clock_nanosleep.c: Likewise.
64516         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
64517         * rt/clock-compat.c: New file.
64518         * rt/Makefile (librt-routines): Add clock-compat and move
64519         $(clock-routines) to ...
64520         (routines): ... here, new variable.
64521         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
64522         Don't add get_clockfreq here.
64523         * rt/Versions (libc: GLIBC_2.17): New version set.
64524         Add clock_* symbols here.
64525         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
64526         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
64527         (GLIBC_2.17): Add clock_* symbols.
64528         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
64529         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
64530         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
64531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64532         Likewise.
64533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64534         Likewise.
64535         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
64536         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
64537         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
64538         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
64539         * NEWS: Mention the move.
64541         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
64542         Use __open, __read, __close rather than their public counterparts.
64543         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64544         (__get_clockfreq_via_cpuinfo): Likewise.
64545         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
64546         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
64548         * config.h.in (HAVE_IFUNC): New #undef.
64549         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
64550         was successful.
64551         * configure: Regenerated.
64553 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
64555         * configure.in: Move READELF check to start of file.
64556         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
64557         libc_cv_asm_gnu_indirect_function in the process.
64558         * configure: Regenerated.
64560 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
64562         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
64563         send the output to /dev/null.
64564         (libc_cv_cc_with_libunwind): Likewise.
64565         (libc_cv_as_noexecstack): Likewise.
64566         * configure: Regenerate.
64568 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
64570         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
64572         * posix/globtest.sh (TMPDIR): Do not set.
64573         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
64574         (testout): Likewise.
64576 2012-10-24  Andreas Jaeger  <aj@suse.de>
64578         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
64579         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
64580         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
64581         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
64582         posix_fadvise64, posix_fallocate64.
64584         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
64585         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
64586         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
64587         Likewise.
64588         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
64589         Likewise.
64590         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
64592         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
64593         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
64594         <bits/fcntl-linux.h>.
64595         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
64597         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
64598         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
64599         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
64600         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
64601         [__WORDSIZE != 64]: Likewise.
64603 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
64605         * Makeconfig (run-built-tests): New variable.
64606         * Rules [$(cross-compiling) = yes]: Change condition to
64607         [$(run-built-tests) = no].
64608         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
64609         to [$(run-built-tests) = yes].
64610         * elf/Makefile [$(cross-compiling) = no]: Likewise.
64611         * grp/Makefile [$(cross-compiling) = no]: Likewise.
64612         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
64613         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
64614         * intl/Makefile [$(cross-compiling) = no]: Likewise.
64615         * io/Makefile [$(cross-compiling) = no]: Likewise.
64616         * libio/Makefile [$(cross-compiling) = no]: Likewise.
64617         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
64618         * misc/Makefile [$(cross-compiling) = no]: Likewise.
64619         * posix/Makefile [$(cross-compiling) = no]: Likewise.
64620         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
64621         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
64622         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
64623         * string/Makefile [$(cross-compiling) = no]: Likewise.
64625         * posix/Makefile ($(objpfx)globtest.out): Pass
64626         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
64627         $(rtld-installed-name).
64628         * posix/globtest.sh (elf_objpfx): Remove variable.
64629         (rtld_installed_name): Likewise.
64630         (library_path): Likewise.
64631         (run_program_prefix): New variable.  Use for running globtest
64632         binary.
64634 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
64635             Joseph Myers  <joseph@codesourcery.com>
64637         * Makeconfig (host-built-program-cmd): New variable.
64638         * elf/Makefile (tst-stackguard1-ARGS): Use
64639         $(host-built-program-cmd).
64640         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
64641         (tst-spawn-ARGS): Likewise.
64642         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
64644 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
64645             Jim Blandy  <jimb@codesourcery.com>
64647         * Makeconfig (run-via-rtld-prefix): New variable.
64648         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
64649         (built-program-cmd): Likewise.
64651 2012-10-22  Andreas Jaeger  <aj@suse.de>
64653         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
64654         __O_RSYNC if it exists, otherwise to O_SYNC.
64656 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
64657             Joseph Myers  <joseph@codesourcery.com>
64659         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
64660         /dev/null.
64661         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
64662         from /dev/null
64663         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
64664         /dev/null.
64666 2012-10-22  Andreas Jaeger  <aj@suse.de>
64668         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
64669         Define always.
64670         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
64672         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64673         bits/fcntl-linux.h.
64675         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
64676         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
64678         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
64679         to __O_LARGEFILE.
64680         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
64681         to __O_LARGEFILE.
64683 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
64684             Joseph Myers  <joseph@codesourcery.com>
64686         * config.make.in (NM): New variable.
64688 2012-10-21  Andreas Jaeger  <aj@suse.de>
64690         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
64691         definitions and declarations that are provided by
64692         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
64694 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
64696         [BZ #14683]
64697         * elf/Makefile (tests-static): Add tst-leaks1-static.
64698         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
64699         ($(objpfx)tst-leaks1-static): New rule.
64700         ($(objpfx)tst-leaks1-static-mem): Likewise.
64701         (tst-leaks1-static-ENV): New macro.
64702         * elf/dl-open.c (dl_open_worker): Check the main application
64703         only if SHARED is defined.
64704         * elf/tst-leaks1-static.c: New file.
64706 2012-10-20  Andreas Jaeger  <aj@suse.de>
64708         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
64709         generic values for Linux.
64710         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
64711         and declarations that are provided by <bits/fcntl-linux.h> and
64712         include <bits/fcntl-linux.h>.
64713         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64714         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64716 2012-10-20  Roland McGrath  <roland@hack.frob.com>
64718         * io/fcntl.h: Move include of <bits/types.h> to the top and
64719         include it unconditionally.
64721 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
64723         * wcsmbs/Makefile (tests-ifunc): New variable.
64724         (tests): Add $(tests-ifunc).
64725         * wcsmbs/test-wcschr-ifunc.c: New file.
64726         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
64727         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
64728         * wcsmbs/test-wcslen-ifunc.c: Likewise.
64729         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
64730         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
64732         * string/Makefile (tests-ifunc): New variable.
64733         (tests): Add $(tests-ifunc).
64734         * string/test-memccpy.c (TEST_NAME): New macro.
64735         * string/test-memchr.c (TEST_NAME): Likewise.
64736         * string/test-memcmp.c (TEST_NAME): Likewise.
64737         * string/test-memcpy.c (TEST_NAME): Likewise.
64738         * string/test-memmem.c (TEST_NAME): Likewise.
64739         * string/test-memmove.c (TEST_NAME): Likewise.
64740         * string/test-memset.c (TEST_NAME): Likewise.
64741         * string/test-rawmemchr.c (TEST_NAME): Likewise.
64742         * string/test-stpcpy.c (TEST_NAME): Likewise.
64743         * string/test-stpncpy.c (TEST_NAME): Likewise.
64744         * string/test-strcasecmp.c (TEST_NAME): Likewise.
64745         * string/test-strcasestr.c (TEST_NAME): Likewise.
64746         * string/test-strcat.c (TEST_NAME): Likewise.
64747         * string/test-strchr.c (TEST_NAME): Likewise.
64748         * string/test-strcmp.c(TEST_NAME): Likewise.
64749         * string/test-strcpy.c (TEST_NAME): Likewise.
64750         * string/test-strcspn.c (TEST_NAME): Likewise.
64751         * string/test-strlen.c (TEST_NAME): Likewise.
64752         * string/test-strncasecmp.c (TEST_NAME): Likewise.
64753         * string/test-strncmp.c (TEST_NAME): Likewise.
64754         * string/test-strncpy.c (TEST_NAME): Likewise.
64755         * string/test-strnlen.c (TEST_NAME): Likewise.
64756         * string/test-strpbrk.c (TEST_NAME): Likewise.
64757         * string/test-strrchr.c (TEST_NAME): Likewise.
64758         * string/test-strspn.c (TEST_NAME): Likewise.
64759         * string/test-strstr.c (TEST_NAME): Likewise.
64760         * string/test-bcopy-ifunc.c: New file.
64761         * string/test-bzero-ifunc.c: Likewise.
64762         * string/test-memccpy-ifunc.c: Likewise.
64763         * string/test-memchr-ifunc.c: Likewise.
64764         * string/test-memcmp-ifunc.c: Likewise.
64765         * string/test-memcpy-ifunc.c: Likewise.
64766         * string/test-memmem-ifunc.c: Likewise.
64767         * string/test-memmove-ifunc.c: Likewise.
64768         * string/test-mempcpy-ifunc.c: Likewise.
64769         * string/test-memset-ifunc.c: Likewise.
64770         * string/test-rawmemchr-ifunc.c: Likewise.
64771         * string/test-stpcpy-ifunc.c: Likewise.
64772         * string/test-stpncpy-ifunc.c: Likewise.
64773         * string/test-strcasecmp-ifunc.c: Likewise.
64774         * string/test-strcasestr-ifunc.c: Likewise.
64775         * string/test-strcat-ifunc.c: Likewise.
64776         * string/test-strchr-ifunc.c: Likewise.
64777         * string/test-strchrnul-ifunc.c: Likewise.
64778         * string/test-strcmp-ifunc.c: Likewise.
64779         * string/test-strcpy-ifunc.c: Likewise.
64780         * string/test-strcspn-ifunc.c: Likewise.
64781         * string/test-strlen-ifunc.c: Likewise.
64782         * string/test-strncasecmp-ifunc.c: Likewise.
64783         * string/test-strncat-ifunc.c: Likewise.
64784         * string/test-strncmp-ifunc.c: Likewise.
64785         * string/test-strncpy-ifunc.c: Likewise.
64786         * string/test-strnlen-ifunc.c: Likewise.
64787         * string/test-strpbrk-ifunc.c: Likewise.
64788         * string/test-strrchr-ifunc.c: Likewise.
64789         * string/test-strspn-ifunc.c: Likewise.
64790         * string/test-strstr-ifunc.c: Likewise.
64792         * debug/Makefile (tests-ifunc): New variable.
64793         (tests): Add $(tests-ifunc).
64794         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
64795         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
64796         * debug/test-stpcpy_chk-ifunc.c: New file.
64797         * debug/test-strcpy_chk-ifunc.c: Likewise.
64799 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
64801         [BZ #13601]
64802         * elf/dl-load.c (open_verify): Retry read if the entire ELF
64803         header is not read in.
64805 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
64807         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
64808         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
64809         directly.  Pass built executable to script as
64810         $(built-program-cmd).
64811         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
64812         $testprogram without using LD_LIBRARY_PATH and $ldso.
64814         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
64815         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
64816         $(rtld-installed-name).
64817         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
64818         (rtld_installed_name): Likewise.
64819         (library_path): Likewise.
64820         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
64821         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
64822         $(run-program-prefix) to tst-tables.sh.
64823         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
64824         it to run tst-table-from and tst-table-to.
64825         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
64826         Pass it to tst-table.sh.
64827         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
64828         $(run-program-prefix) to tst-gettext.sh.
64829         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
64830         tst-translit.sh.
64831         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
64832         tst-gettext2.sh.
64833         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
64834         to run tst-gettext.
64835         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
64836         to run tst-gettext2.
64837         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
64838         to run tst-translit.
64839         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
64840         $(run-program-prefix) to tst-mtrace.sh.
64841         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
64842         to run tst-mtrace.
64843         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
64844         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
64845         $(rtld-installed-name).
64846         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
64847         (rtld_installed_name): Likewise.
64848         (run_program_prefix): New variable.  Use it to run wordexp-test.
64850         * Makeconfig (ARCH): Remove all definitions.
64851         (machine): Likewise.
64852         [ARCH]: Remove conditional code.
64853         [!objdir]: Give error.
64854         [!objdir] (objpfx): Remove.
64855         [!objdir] (common-objpfx): Likewise.
64856         [!objdir] (common-objdir): Likewise.
64857         * configure.in (config_makefile): Remove.  Hardcode Makefile in
64858         AC_CONFIG_FILES call.
64859         * configure: Regenerated.
64861         [BZ #13888]
64862         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
64863         or TMPDIR.
64864         (testout): Likewise.
64866         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
64867         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
64868         $(rtld-installed-name).
64869         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
64870         (rtld_installed_name): Likewise.
64871         (runit): Remove function.
64872         (run_getconf): New variable,  Use it for running getconf binary.
64874 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
64876         [BZ #14716]
64877         * string/test-memmem.c (check_result): New function.
64878         (do_one_test): Use it.
64879         (check1): New function.
64880         (test_main): Use it.
64882 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
64884         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
64886 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
64888         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
64889         (_G_LSEEK64): Likewise.
64890         (_G_MMAP64): Likewise.
64891         (_G_FSTAT64): Likewise.
64892         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
64893         (_G_LSEEK64): Likewise.
64894         (_G_MMAP64): Likewise.
64895         (_G_FSTAT64): Likewise.
64896         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
64897         unconditional.  Call __mmap64 directly.
64898         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
64899         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
64900         __lseek64 directly.
64901         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
64902         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
64903         __mmap64 directly.
64904         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
64905         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
64906         __lseek64 directly.
64907         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
64908         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
64909         __lseek64 directly.
64910         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
64911         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
64912         __lseek64 directly.
64913         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
64914         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
64915         __fxstat64 directly.
64916         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
64917         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
64918         unconditional.
64919         (freopen64) [!_G_OPEN64]: Remove conditional code.
64920         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
64921         unconditional.
64922         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
64923         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
64924         unconditional.
64925         (ftello64) [!_G_LSEEK64]: Remove conditional code.
64926         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
64927         unconditional.
64928         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
64929         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
64930         unconditional.
64931         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
64932         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
64933         unconditional.
64934         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
64935         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
64936         unconditional.
64937         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
64938         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
64939         unconditional.
64940         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
64942 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
64944         [BZ #12140]
64945         * manual/memory.texi (Malloc Tunable Parameters): Add note
64946         about free list pointers overwriting some perturb bytes.
64947         Wording suggested by Roland McGrath.
64949 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
64951         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
64952         (lgamma_test): Likewise.
64953         (tgamma_test): Likewise.
64955 2012-10-16  Florian Weimer  <fweimer@redhat.com>
64957         [BZ #14700]
64958         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
64959         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
64961 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
64963         * NEWS: Mention BZ #14716.
64964         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
64965         when removing AVAILABLE1_USES_J macro.
64967 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
64969         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
64970         (__bswap_64): __uint64_t for unsigned 64-bit int.
64972 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
64974         * include/string.h (memmem): Declare libc hidden alias.
64975         * string/memmem.c (memmem): Define libc hidden alias.
64976         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
64977         __read, __close instead of open, read, close.
64979 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
64981         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
64982         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
64983         global and hidden.
64984         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
64985         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
64986         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
64987         Likewise.
64988         (__rawmemchr_sse2): Likewise.
64989         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
64990         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
64991         (__strchr_sse2): Likewise.
64992         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
64993         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
64994         (__strcasecmp_sse2): Likewise.
64995         (__strncasecmp_sse2): Likewise.
64996         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
64997         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
64998         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
64999         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
65000         (__strrchr_sse2): Likewise.
65001         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
65002         ifunc-impl-list.c.
65003         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
65004         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
65005         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
65006         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
65007         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
65008         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
65009         * sysdeps/x86_64/multiarch/memset.S: Likewise.
65010         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
65011         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
65012         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
65013         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
65014         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
65015         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
65016         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
65017         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
65018         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
65019         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
65020         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
65021         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
65022         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
65023         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
65024         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
65025         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
65026         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
65027         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
65028         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
65029         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
65030         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
65031         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
65032         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
65034         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
65035         global and hidden.
65036         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
65037         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
65038         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
65039         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
65040         Likewise.
65041         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
65042         Likewise.
65043         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
65044         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
65045         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
65046         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
65047         ifunc-impl-list.c.
65048         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
65049         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
65050         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
65051         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
65052         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
65053         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
65054         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
65055         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
65056         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
65057         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
65058         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
65059         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
65060         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
65061         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
65062         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
65063         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
65064         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
65065         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
65066         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
65067         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
65068         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65069         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
65070         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
65071         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
65072         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65073         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
65074         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
65075         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
65076         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
65077         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
65078         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
65079         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
65080         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
65081         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
65082         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
65083         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
65084         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
65085         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
65086         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
65087         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
65088         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
65090         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
65091         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
65092         * include/ifunc-impl-list.h: New file.
65093         * misc/ifunc-impl-list.c: Likewise.
65094         * misc/Makefile (routines): Add ifunc-impl-list.
65095         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
65096         * string/test-string.h: Include <ifunc-impl-list.h>.
65097         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
65098         TEST_NAME]: New variables.
65099         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
65100         are defined.
65101         (test_init): Call __libc_ifunc_impl_list to initialize
65102         func_list if TEST_IFUNC and TEST_NAME are defined.
65104         * string/Makefile (strop-tests): Add bcopy and bzero.
65105         * string/test-bcopy.c: New file.
65106         * string/test-bzero.c: Likewise.
65107         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
65108         defined.
65109         * string/test-memset.c: Support bzero test if TEST_BZERO is
65110         defined.
65111         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
65112         __libc_memmove.
65113         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
65114         __libc_memset.
65115         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
65116         of memset.
65118 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
65120         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
65121         * configure: Regenerated.
65123         * Makeconfig (+link-static-before-libc): Don't include
65124         $(link-static-libc).
65126         * libio/libio.h (_IO_pos_t): Remove.
65128 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
65130         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
65131         McGrath.
65133 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
65135         * crypt/crypt-entry.c: Include fips-private.h.
65136         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
65137         * crypt/md5c-test.c (main): Tolerate disabled MD5.
65138         * sysdeps/unix/sysv/linux/fips-private.h: New file.
65139         * sysdeps/generic/fips-private.h: New file, dummy fallback.
65141 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
65143         * crypt/crypt-private.h: Include stdbool.h.
65144         (_ufc_setup_salt_r): Return bool.
65145         * crypt/crypt-entry.c: Include errno.h.
65146         (__crypt_r): Return NULL with EINVAL for bad salt.
65147         * crypt/crypt_util.c (bad_for_salt): New.
65148         (_ufc_setup_salt_r): Check that salt is long enough and within
65149         the specified alphabet.
65150         * crypt/badsalttest.c: New file.
65151         * crypt/Makefile (tests): Add it.
65152         ($(objpfx)badsalttest): New.
65154 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
65156         * NEWS: Add entry for BZ #14602.
65158 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
65160         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
65161         type-generic.
65162         * math/libm-test.inc: Update comment listing what functions and
65163         macros are tested.
65164         (isgreater_test): New function.
65165         (isgreaterequal_test): Likewise.
65166         (isless_test): Likewise.
65167         (islessequal_test): Likewise.
65168         (islessgreater_test): Likewise.
65169         (isunordered_test): Likewise.
65170         (main): Call the new functions.
65172 2012-10-09  Roland McGrath  <roland@hack.frob.com>
65174         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
65175         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
65176         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
65177         * sysdeps/i386/configure: Regenerated.
65178         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
65179         * sysdeps/mach/configure: Regenerated.
65180         * sysdeps/mach/hurd/configure: Regenerated.
65181         * sysdeps/powerpc/configure: Regenerated.
65182         * sysdeps/powerpc/powerpc32/configure: Regenerated.
65183         * sysdeps/powerpc/powerpc64/configure: Regenerated.
65184         * sysdeps/s390/s390-32/configure: Regenerated.
65185         * sysdeps/s390/s390-64/configure: Regenerated.
65186         * sysdeps/sh/configure: Regenerated.
65187         * sysdeps/sparc/configure: Regenerated.
65188         * sysdeps/unix/sysv/linux/configure: Regenerated.
65189         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
65190         * sysdeps/x86_64/configure: Regenerated.
65192         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
65193         defined.  Don't check if MAP is NULL.
65195 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
65197         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
65198         (_G_stat64): Likewise.
65199         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
65200         (_G_stat64): Likewise.
65201         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
65202         instead of struct _G_stat64.
65203         * libio/fileops.c (mmap_remap_check): Likewise.
65204         (decide_maybe_mmap): Likewise.
65205         (_IO_new_file_seekoff): Likewise.
65206         (_IO_file_stat): Likewise.
65207         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
65208         _G_off64_t.
65209         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
65210         instead of struct _G_stat64.
65211         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
65213 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
65215         [BZ #14602]
65216         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65217         Replace with ...
65218         (CHECK_EOL): New macro.
65219         (two_way_short_needle): Check beginning of haystack for EOL.  Use
65220         CHECK_EOL.
65221         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65222         Replace with CHECK_EOL.
65223         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65224         Replace with CHECK_EOL.
65226 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
65228         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
65229         type-generic.
65230         * math/libm-test.inc: Update comment listing what functions and
65231         macros are tested.
65232         (finite_test): New function.
65233         (isinf_test): Likewise.
65234         (isnan_test): Likewise.
65235         (fpclassify_test): Test subnormal input.
65236         (isfinite_test): Likewise.
65237         (isnormal_test): Likewise.
65238         (main): Call the new functions.
65240 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
65242         [BZ #14660]
65243         * Makerules (%.dynsym): Force C locale when running
65244         $(OBJDUMP) --dynamic-syms.
65246 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
65248         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
65249         <stdint.h>.
65251 2012-10-06  David S. Miller  <davem@davemloft.net>
65253         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
65254         upper 32-bits of the length value in %o2 since we use branch-on-register
65255         tests which consider the entire 64-bit register.
65257 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
65259         * string/test-strstr.c (check2): Add a test for page boundary.
65261 2012-10-05  David S. Miller  <davem@davemloft.net>
65263         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
65264         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
65265         file.
65266         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
65267         sysdep_routines.
65268         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
65269         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
65270         and bzero when HWCAP_SPARC_CRYPTO is present.
65272 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
65274         [BZ #14602]
65275         * string/test-strstr.c (check2): New function.
65276         (test_main): Call check2.
65278         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
65279         and bug-strchr1.
65280         * string/bug-strcasestr1.c (do_test): Moved to ...
65281         * string/test-strcasestr.c (check1): Here.  New function.
65282         (do_one_test): Break out result checking code into ...
65283         (check_result): This.  New function.
65284         (do_one_test): Call check_result.
65285         (test_main): Call check1.
65286         * string/bug-strchr1.c (do_test): Moved to ...
65287         * string/test-strchr.c (check1): Here.  New function.
65288         (do_one_test): Break out result checking code into ...
65289         (check_result): This.  New function.
65290         (do_one_test): Call check_result.
65291         (test_main): Call check1.
65292         * string/bug-strstr1.c (main): Moved to ...
65293         * string/test-strstr.c (check1): Here.  New function.
65294         (do_one_test): Break out result checking code into ...
65295         (check_result): This.  New function.
65296         (do_one_test): Call check_result.
65297         (test_main): Call check1.
65298         * string/bug-strcasestr1.c: Removed.
65299         * string/bug-strchr1.c: Likewise.
65300         * string/bug-strstr1.c: Likewise.
65302         * elf/Makefile (dl-routines): Add hwcaps.
65303         * elf/dl-support.c (_dl_important_hwcaps): Removed.
65304         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
65305         (_dl_important_hwcaps): Moved to ...
65306         * elf/dl-hwcaps.c: Here.  New file.
65307         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
65309         [BZ #14557]
65310         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
65311         if IS_IN_rtld isn't defined.
65313         * elf/dl-support.c (_dl_sysinfo_map): New.
65314         Include "get-dynamic-info.h" and "setup-vdso.h".
65315         (_dl_non_dynamic_init): Call setup_vdso.
65316         * elf/dynamic-link.h: Don't include <assert.h>.
65317         (elf_get_dynamic_info): Moved to ...
65318         * elf/get-dynamic-info.h: Here.  New file.
65319         * elf/dynamic-link.h: Include "get-dynamic-info.h".
65320         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
65321         * elf/setup-vdso.h: Here.  New file.
65322         * elf/rtld.c: Include "setup-vdso.h".
65323         (dl_main): Call setup_vdso.
65325 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
65327         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
65328         creal in comment listing functions tested.  List finite, isinf,
65329         isnan, isless, islessequal, isgreater, isgreaterequal,
65330         islessgreater, isunordered, lgamma_r and pow10 as functions and
65331         macros not tested.  Mention which functions not tested are aliases
65332         for other functions.  Fix typo.  Note that signs of NaNs are not
65333         tested.
65335         * scripts/config.guess: Update from config.git.
65336         * scripts/config.sub: Likewise.
65338 2012-10-04  Roland McGrath  <roland@hack.frob.com>
65340         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
65341         * misc/madvise.c (madvise): Renamed to __madvise.
65342         Make madvise a weak alias.
65343         * include/sys/mman.h: Declare __madvise.
65344         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
65345         * sysdeps/unix/syscalls.list
65346         (madvise): Make __madvise the strong name, and madvise a weak alias.
65347         * sysdeps/unix/sysv/linux/syscalls.list
65348         (madvise, mmap): Remove redundant entries.
65349         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
65350         * malloc/malloc.c (mtrim): Likewise.
65351         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
65353 2012-10-03  Roland McGrath  <roland@hack.frob.com>
65355         * sysdeps/mach/hurd/dl-cache.c: File removed.
65356         * config.h.in (USE_LDCONFIG): New #undef.
65357         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
65358         * configure: Regenerated.
65359         * elf/Makefile (dl-routines): Add dl-cache only under
65360         [$(use-ldconfig) = yes].
65361         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
65362         cache on [USE_LDCONFIG].
65363         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
65364         [USE_LDCONFIG].
65365         * elf/rtld.c (dl_main): Likewise.
65367 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
65369         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
65370         _SC_LEVEL4_CACHE_LINESIZE.
65372 2012-10-03  Roland McGrath  <roland@hack.frob.com>
65374         * sysdeps/unix/bsd/confstr.h: File removed.
65376 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
65378         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
65379         sys/sdt-config.h.
65381 2012-10-02  Roland McGrath  <roland@hack.frob.com>
65383         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
65384         Make 'mapoff' field ElfW(Off) rather than off_t.
65386 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
65388         * nscd/Makefile: Remove nscd-cflags and all its users.
65389         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
65390         (CFLAGS-nonlib): Add compiler flags for nscd modules.
65392         [BZ #10631]
65393         * malloc.c (malloc_printerr): Clarify error message.
65395 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
65397         [BZ #14648]
65398         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65399         Set bit_FMA_Usable if FMA is supported.
65400         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
65401         macro.
65402         (bit_FMA4_Usable): Updated.
65403         (index_FMA_Usable): New macro.
65404         (CPUID_FMA): Likewise.
65405         (HAS_FMA): Defined with bit_FMA_Usable.
65407 2012-10-01  Roland McGrath  <roland@hack.frob.com>
65409         * bits/types.h (__swblk_t): Type removed.
65410         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
65411         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
65412         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65413         (__SWBLK_T_TYPE): Likewise.
65414         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65415         (__SWBLK_T_TYPE): Likewise.
65416         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65417         (__SWBLK_T_TYPE): Likewise.
65418         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65419         (__SWBLK_T_TYPE): Likewise.
65421 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
65422             Honza Horak <hhorak@redhat.com>
65424         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
65425         (xdr_mapname): Use YPMAXMAP as maxsize.
65426         (xdr_peername): Use YPMAXPEER as maxsize.
65427         (xdr_keydat): Use YPAXRECORD as maxsize.
65428         (xdr_valdat): Use YPMAXRECORD as maxsize.
65430 2012-10-01  Roland McGrath  <roland@hack.frob.com>
65432         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
65434         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
65435         * csu/init-first.c: ... here.
65436         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
65437         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
65438         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
65439         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
65440         * sysdeps/i386/init-first.c: File removed.
65441         * sysdeps/sh/init-first.c: File removed.
65443 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
65445         [BZ #14645]
65446         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
65447         if x * y might underflow to zero and z is zero.
65448         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65449         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65450         * math/libm-test.inc (min_subnorm_value): New variable.
65451         (fma_test): Add more tests.
65452         (fma_test_towardzero): Likewise.
65453         (fma_test_downward): Likewise.
65454         (fma_test_upward): Likewise.
65455         (initialize): Set min_subnorm_value.
65457 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
65459         [BZ #14638]
65460         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
65461         0 + 0.
65462         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
65463         mode for addition resulting in exact zero.
65464         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
65465         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
65466         exact 0 + 0.
65467         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
65468         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65469         * math/libm-test.inc (fma_test): Add more tests.
65470         (fma_test_towardzero): New function.
65471         (fma_test_downward): Likewise.
65472         (fma_test_upward): Likewise.
65473         (main): Call the new functions.
65475 2012-09-28  David S. Miller  <davem@davemloft.net>
65477         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
65479 2012-09-28  Roland McGrath  <roland@hack.frob.com>
65481         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
65482         instead of SIGALRM.
65484         * sysdeps/gnu/_G_config.h: Moved to ...
65485         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
65486         * sysdeps/mach/hurd/_G_config.h: Moved to ...
65487         * sysdeps/generic/_G_config.h: ... here.
65489         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
65491         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
65493         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
65494         Conditionalize target on [libnss_test1.so-version].
65496         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
65498         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
65499         (elfobjdir): Move out of conditionals.
65501         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
65502         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
65503         (__nss_lookup_function): Conditionalize label remove_from_tree on
65504         [!DO_STATIC_NSS || SHARED], matching its only use.
65506 2012-09-28  David S. Miller  <davem@davemloft.net>
65508         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
65509         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
65510         file.
65511         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
65512         sysdep_routines.
65513         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
65514         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
65515         when HWCAP_SPARC_CRYPTO is present.
65517 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
65519         * io/tst-mknodat.c: Create a FIFO instead of a socket.
65521 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
65523         [BZ #6530]
65524         * stdio-common/vfprintf.c (process_string_arg): Revert
65525         2000-07-22 change.
65527 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
65529         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
65530         for testcase.
65531         * stdio-common/tst-sprintf.c: Include <locale.h>
65532         (main): Test sprintf's handling of incomplete multibyte
65533         characters.
65535 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
65537         * elf/dl-runtime.c (VERSYMIDX): Removed.
65538         * elf/dl-version.c (VERSYMIDX): Likewise.
65539         * elf/do-rel.h (VERSYMIDX): Likewise.
65540         (VALIDX): Likewise.
65541         * elf/dynamic-link.h (VERSYMIDX): Likewise.
65542         * elf/rtld.c (VALIDX): Likewise.
65543         (ADDRIDX): Likewise.
65544         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
65545         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
65546         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
65547         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
65548         (VALIDX): Likewise.
65549         (ADDRIDX): Likewise.
65551 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
65553         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
65555 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
65557         [BZ #11438]
65558         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
65559         to global scope.
65560         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
65561         addresses are in the same scope as 192.0.2/24.
65562         * posix/gai.conf: Document new scope table defaults.
65564 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65566         [BZ #5298]
65567         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
65568         for ftell.  Compute offsets from write pointers instead.
65569         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
65571 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65573         [BZ #14543]
65574         * libio/Makefile (tests): New test case tst-fseek.
65575         * libio/tst-fseek.c: New test case to verify that fseek/ftell
65576         combination works in wide mode.
65577         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
65578         state when the external buffer state changes.
65580 2012-09-27  David S. Miller  <davem@davemloft.net>
65582         [BZ #14376]
65583         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
65584         pass reloc->r_addend in as the 'high' argument to
65585         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
65587         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65589 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
65591         * rt/tst-aio2.c: Include <pthread.h>.
65592         * rt/tst-aio3.c: Likewise.
65594 2012-09-27  Steve Ellcey  <sellcey@mips.com>
65596         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
65598 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
65600         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
65601         contents on [SHARED].
65603 2012-09-26  Marek Polacek  <polacek@redhat.com>
65605         [BZ #14530]
65606         [BZ #13741]
65607         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
65608         for C++ and GCC <4.3 as well as for non GCC compilers.
65610 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
65612         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65614 2012-09-25  Roland McGrath  <roland@hack.frob.com>
65616         * Makefile.in (all, install): Declare with .PHONY.
65617         Reported by Michael Hope <michael.hope@linaro.org>.
65619 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65621         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
65622         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
65623         system header.
65624         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
65625         Likewise.
65626         (sydep_routines): Add the new and the internal functions.
65627         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
65628         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
65629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
65630         (GLIBC_2.17): Add the new function.
65631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
65632         (GLIBC_2.17): Likewise.
65633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
65634         (GLIBC_2.17): Likewise.
65635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
65636         (GLIBC_2.17): Likewise.
65637         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
65639 2012-09-25  Alan Modra  <amodra@gmail.com>
65641         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
65642         Add release barrier before setting once_control to say
65643         initialisation is done.  Add hints on lwarx.  Use macro in
65644         place of isync.
65645         (clear_once_control): Add release barrier.
65647 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
65649         [BZ #13629]
65650         * math/s_clog.c (__clog): Handle more values close to |z| = 1
65651         specially.
65652         * math/s_clog10.c (__clog10): Likewise.
65653         * math/s_clog10f.c (__clog10f): Likewise.
65654         * math/s_clog10l.c (__clog10l): Likewise.
65655         * math/s_clogf.c (__clogf): Likewise.
65656         * math/s_clogl.c (__clogl): Likewise.
65657         * math/Makefile (libm-calls): Add x2y2m1.
65658         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
65659         (__x2y2m1): Likewise.
65660         (__x2y2m1l): Likewise.
65661         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
65662         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
65663         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
65664         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
65665         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
65666         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
65667         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
65668         * sysdeps/i386/fpu/libm-test-ulps: Update.
65669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65671         [BZ #14621]
65672         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
65673         int as type of variable DEPTH.
65674         (glob): Use size_t instead of int as type of variables NEWCOUNT
65675         and OLD_PATHC.
65677 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65679         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
65680         Add s_sincosf-sse2.
65681         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
65682         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
65683         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
65684         macros for using routine as __sincosf_ia32.
65685         Use macro for function declaration and weak_alias.
65686         * sysdeps/i386/fpu/libm-test-ulps: Update.
65688         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
65689         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65691         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
65692         subnormal argument.
65693         * math/s_cexpf.c (__cexpf): Likewise.
65694         * math/s_csinf.c (__csinf): Likewise.
65695         * math/s_csinhf.c (__csinhf): Likewise.
65696         * math/s_ctanf.c (__ctanf): Likewise.
65697         * math/s_ctanhf.c (__ctanhf): Likewise.
65698         * math/s_ccosh.c (__ccoshf): Likewise.
65699         * math/s_cexp.c (__cexpl): Likewise.
65700         * math/s_csin.c (__csin): Likewise.
65701         * math/s_csinh.c (__csinh): Likewise.
65702         * math/s_ctan.c (__ctan): Likewise.
65703         * math/s_ctanh.c (ctanh): Likewise.
65704         * math/s_ccoshl.c (__ccoshl): Likewise.
65705         * math/s_cexpl.c (__cexpl): Likewise.
65706         * math/s_csinl.c (__csinl): Likewise.
65707         * math/s_csinhl.c (__csinhl): Likewise.
65708         * math/s_ctanl.c (__ctanl): Likewise.
65709         * math/s_ctanhl.c (__ctanhl): Likewise.
65711 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
65713         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
65714         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
65715         (_IO_off_t): Define to __off_t, not _G_off_t.
65716         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
65717         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
65718         (_IO_wint_t): Define to wint_t, not _G_wint_t.
65719         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
65720         type of __dummy and __dummy2 fields.
65721         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
65722         (_G_ssize_t): Likewise.
65723         (_G_off_t): Likewise.
65724         (_G_pid_t): Likewise.
65725         (_G_uid_t): Likewise.
65726         (_G_wchar_t): Likewise.
65727         (_G_wint_t): Likewise.
65728         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
65729         (_G_ssize_t): Likewise.
65730         (_G_off_t): Likewise.
65731         (_G_pid_t): Likewise.
65732         (_G_uid_t): Likewise.
65733         (_G_wchar_t): Likewise.
65734         (_G_wint_t): Likewise.
65735         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
65736         (_G_ssize_t): Likewise.
65737         (_G_off_t): Likewise.
65738         (_G_pid_t): Likewise.
65739         (_G_uid_t): Likewise.
65740         (_G_wchar_t): Likewise.
65741         (_G_wint_t): Likewise.
65743 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
65745         * malloc/arena.c: Include malloc-sysdep.h.
65746         (shrink_heap): Use check_may_shrink_heap to decide if madvise
65747         is sufficient to shrink the heap or an unmap is needed.
65748         * sysdeps/generic/malloc-sysdep.h: New file.  Define
65749         new function check_may_shrink_heap.
65750         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
65751         new function check_may_shrink_heap.
65753 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
65755         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
65756         comments.
65758 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
65760         * catgets/test-gencat.sh: Add "set -e".
65761         * elf/tst-pathopt.sh: Likewise.
65762         * grp/tst_fgetgrent.sh: Likewise.
65763         * iconvdata/run-iconv-test.sh: Likewise.
65764         * intl/tst-gettext.sh: Likewise.
65765         * intl/tst-gettext2.sh: Likewise.
65766         * intl/tst-gettext4.sh: Likewise.
65767         * intl/tst-gettext6.sh: Likewise.
65768         * intl/tst-translit.sh: Likewise.
65769         * io/ftwtest-sh: Likewise.
65770         * libio/test-freopen.sh: Likewise.
65771         * malloc/tst-mtrace.sh: Likewise.
65772         * posix/globtest.sh: Likewise.
65773         * posix/tst-getconf.sh: Likewise.
65774         * posix/wordexp-tst.sh: Likewise.
65775         * stdio-common/tst-printf.sh: Likewise.
65776         * stdio-common/tst-unbputc.sh: Likewise.
65777         * stdlib/tst-fmtmsg.sh: Likewise.
65778         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
65779         * catgets/Makefile: Do not specify -e option when running
65780         testsuite shell scripts.
65781         * elf/Makefile: Likewise.
65782         * grp/Makefile: Likewise.
65783         * iconvdata/Makefile: Likewise.
65784         * intl/Makefile: Likewise.
65785         * io/Makefile: Likewise.
65786         * libio/Makefile: Likewise.
65787         * malloc/Makefile: Likewise.
65788         * posix/Makefile: Likewise.
65789         * stdio-common/Makefile: Likewise.
65790         * stdlib/Makefile: Likewise.
65791         * sysdeps/x86_64/Makefile: Likewise.
65793         * io/ftwtest-sh: Add copyright header.
65794         * posix/globtest.sh: Likewise.
65795         * posix/tst-getconf.sh: Likewise.
65796         * posix/wordexp-tst.sh: Likewise.
65797         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
65799 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
65801         [BZ #13679]
65802         * Makeconfig (+link): Defined as $(+link-static) if
65803         $(build-shared) isn't yes.
65804         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
65805         isn't yes.
65806         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
65808         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
65810         [BZ #14562]
65811         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
65812         new chunk size with MALLOC_ALIGN_MASK.
65814 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
65816         [BZ #5044]
65817         * stdio-common/printf_fphex.c: Include <stdbool.h> and
65818         <rounding-mode.h>.
65819         (__printf_fphex): Determine rounding using get_rounding_mode and
65820         round_away.
65821         * stdio-common/tst-printf-round.c (struct hex_test): New
65822         structure.
65823         (hex_tests): New variable.
65824         (test_hex_in_one_mode): New function.
65825         (do_test): Also run tests for hex float output.
65827 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
65829         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
65830         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
65831         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
65832         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
65833         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
65834         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
65835         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
65836         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
65838 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
65840         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
65841         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
65842         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
65843         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
65845 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
65847         [BZ #14579]
65848         * elf/rtld.c (dl_main): Limit the check for self loading to normal
65849         mode only.
65850         * elf/tst-rtld-load-self.sh: New test.
65851         * elf/Makefile: Run it.
65853 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
65855         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
65856         (tst-writev-ENV): Remove.
65857         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
65859 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
65861         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
65863 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
65865         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
65866         unconditional.
65867         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
65868         Likewise.
65869         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
65870         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
65871         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
65872         Likewise.
65874 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
65876         [BZ #14587]
65877         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
65878         * config.make.in (have-cpp-asm-debuginfo): Removed.
65879         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
65880         * configure: Regenerated.
65882 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
65884         [BZ #5044]
65885         * stdio-common/printf_fp.c: Include <stdbool.h> and
65886         <rounding-mode.h>.
65887         (___printf_fp): Determine rounding using get_rounding_mode and
65888         round_away.
65889         * stdio-common/tst-printf-round.c: New file.
65890         * stdio-common/Makefile (tests): Add tst-printf-round.
65891         (link-libm): New variable.
65892         ($(objpfx)tst-printf-round): Depend in $(link-libm).
65894 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
65896         [BZ #14576]
65897         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
65898         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
65899         Likewise.
65900         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
65901         Likewise.
65903 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
65905         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
65906         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65907         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65908         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65910 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
65912         [BZ #14518]
65913         * include/rounding-mode.h: New file.
65914         * sysdeps/generic/get-rounding-mode.h: Likewise.
65915         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
65916         * stdlib/strtod_l.c: Include <rounding-mode.h>.
65917         (MAX_VALUE): New macro.
65918         (MIN_VALUE): Likewise.
65919         (overflow_value): New function.
65920         (underflow_value): Likewise.
65921         (round_and_return): Use overflow_value and underflow_value to
65922         determine return values in overflow and underflow cases.  Use
65923         round_away to determine rounding depending on rounding mode.
65924         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
65925         determine return values in overflow and underflow cases.
65926         * stdlib/tst-strtod-round.c: Include <fenv.h>.
65927         (struct test_results): New structure.
65928         (struct test): Use struct test_results to store expected results
65929         for all rounding modes.
65930         (TEST): Include expected results for all rounding modes.
65931         (test_in_one_mode): New function.
65932         (do_test): Use test_in_one_mode to compute and check results.
65933         Check results for all rounding modes.
65934         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
65935         $(link-libm).
65937 2012-12-09  Allan McRae  <allan@archlinux.org>
65939         * sysdeps/i386/fpu/libm-test-ulps: Update
65941 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
65943         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
65944         (_G_int32_t): Likewise.
65945         (_G_uint16_t): Likewise.
65946         (_G_uint32_t): Likewise.
65947         (_G_HAVE_BOOL): Likewise.
65948         (_G_HAVE_ATEXIT): Likewise.
65949         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65950         (_G_HAVE_IO_FILE_OPEN): Likewise.
65951         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
65952         (_G_int32_t): Likewise.
65953         (_G_uint16_t): Likewise.
65954         (_G_uint32_t): Likewise.
65955         (_G_HAVE_BOOL): Likewise.
65956         (_G_HAVE_ATEXIT): Likewise.
65957         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65958         (_G_HAVE_IO_FILE_OPEN): Likewise.
65959         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
65960         (_G_int32_t): Likewise.
65961         (_G_uint16_t): Likewise.
65962         (_G_uint32_t): Likewise.
65963         (_G_HAVE_BOOL): Likewise.
65964         (_G_HAVE_ATEXIT): Likewise.
65965         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65966         (_G_HAVE_IO_FILE_OPEN): Likewise.
65968 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
65970         * csu/libc-tls.c: Update copyright years.
65972 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
65974         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
65975         [!_G_USING_THUNKS]: Remove conditional code.
65976         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
65977         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
65979         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
65980         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
65981         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
65982         (_G_VTABLE_LABEL_PREFIX): Likewise.
65983         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
65984         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
65985         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
65986         (_G_VTABLE_LABEL_PREFIX): Likewise.
65987         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
65988         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
65989         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
65990         (_G_VTABLE_LABEL_PREFIX): Likewise.
65991         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
65993 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
65995         * libio/Makefile: Include ../Makeconfig before tests.
65996         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
65997         only if $(build-shared) is yes.
65999         * iconv/gconv_db.c: Update copyright years.
66001 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66003         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
66004         unwind info if defined PIC. Fix special cases description.
66005         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
66007         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
66008         DP_HI_MASK entry.
66009         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
66011 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
66013         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
66015         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
66016         is NULL.
66018         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
66019         (LDLIBS-tst-chk4): This.
66020         (LDFLAGS-tst-chk5): Renamed to ...
66021         (LDLIBS-tst-chk5): This.
66022         (LDFLAGS-tst-chk6): Renamed to ...
66023         (LDLIBS-tst-chk6): This.
66024         (LDFLAGS-tst-lfschk4): Renamed to ...
66025         (LDLIBS-tst-lfschk4): This.
66026         (LDFLAGS-tst-lfschk5): Renamed to ...
66027         (LDLIBS-tst-lfschk5): This.
66028         (LDFLAGS-tst-lfschk6): Renamed to ...
66029         (LDLIBS-tst-lfschk6): This.
66031         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
66032         on $(common-objpfx)soversions.mk.
66034 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
66036         [BZ #10014]
66037         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
66038         example host name.
66040 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
66042         * malloc/arena.c (arena_get_retry): New function that gets
66043         another arena for the caller to try its request on.
66044         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
66045         current arena cannot fulfill the request.
66046         (__libc_memalign): Likewise.
66047         (__libc_memalign): Likewise.
66048         (__libc_pvalloc): Likewise.
66049         (__libc_calloc): Likewise.
66051 2012-09-05  John Tobey  <john.tobey@gmail.com>
66053         [BZ #13542]
66054         * manual/arith.texi (Operations on Complex): Fix description
66055         of carg branch cut.
66057 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
66059         [BZ #10014]
66060         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
66061         host name.
66063         [BZ #10038]
66064         * manual/memory.texi (Memory): Make order of menu items match
66065         order of sections.
66067 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66069         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
66070         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
66071         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
66073 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66075         * csu/libc-tls.c (static_dtv): Renamed to ...
66076         (_dl_static_dtv): This.  Make it global.
66077         (_dl_initial_dtv): Removed.
66078         (__libc_setup_tls): Updated.
66079         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
66080         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
66081         DL_INITIAL_DTV.
66083 2012-09-06  Petr Machata  <pmachata@redhat.com>
66085         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
66086         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
66087         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
66088         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
66090 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66092         [BZ #14545]
66093         * csu/libc-tls.c (_dl_initial_dtv): New variable.
66094         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
66095         freeing dtv[-1].
66097 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66099         [BZ #14544]
66100         * Makeconfig (link-static-before-libc): Replace $(+prector)
66101         with $(+prectorT).
66102         (link-static-after-libc): Replace $(+postctor) with
66103         $(+postctorT).
66104         (link-bounded): Replace $(+prector)/$(+postctor) with
66105         $(+prectorT)/$(+postctorT).
66106         (+prectorT): New macro.
66107         (+postctorT): Likewise.
66109 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
66111         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
66112         (round_str): Handle values above the maximum for IBM long double
66113         as inexact.
66114         * stdlib/tst-strtod-round.c (tests): Regenerated.
66116 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66118         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
66119         assembler flag.
66120         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
66121         zarch_nohighgprs around the zarch optimized routines.
66122         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
66123         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
66124         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
66125         for zarch.
66127 2012-09-05  David S. Miller  <davem@davemloft.net>
66129         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66131         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
66132         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
66133         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
66134         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
66135         entries.
66137 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66139         * malloc/arena.c: Fold copyright years.
66140         * malloc/mcheck.c, malloc/memusage.c: Likewise.
66142 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66144         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
66146 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66148         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
66150 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66152         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
66153         change internal state upon failure.
66155 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66157         * malloc/mcheck.c (mcheck_check_all): Fix typo.
66158         * malloc/memusage.c (mmap): Likewise.
66159         (mmap64, mremap): Likewise.  Adjust name in comment.
66161 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
66163         * libio/fileops.c: Fix typos in comments.
66164         * libio/oldfileops.c: Likewise.
66165         * libio/wfileops.c: Likewise.
66167 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
66169         [BZ #1349]
66170         * malloc/Makefile (tests): Add tst-malloc-usable test case.
66171         (tst-malloc-usable-ENV): Set environment for test case.
66172         * malloc/hooks.c (malloc_check_get_size): New function to get
66173         requested size.
66174         * malloc/malloc.c (musable): Use malloc_check_get_size.
66175         * malloc/tst-malloc-usable.c: New test case.
66177 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
66179         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
66181 2012-09-05  Allan McRae  <allan@archlinux.org>
66183         [BZ #13966]
66184         * configure.in (CXX_SYSINCLUDES): Use compiler output to
66185         determine header location.
66186         * configure: Regenerated.
66188 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
66190         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
66191         float format.
66192         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
66193         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
66194         format.
66195         (test): Regenerate.
66197 2012-09-04  David S. Miller  <davem@davemloft.net>
66199         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
66200         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
66201         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
66203 2012-09-04  Florian Weimer  <fweimer@redhat.com>
66205         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
66206         failures.
66208         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
66210 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
66212         [BZ #9914]
66213         * libio/iogetdelim.c: Include <limits.h>.
66214         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
66215         + len + 1 would overflow.
66217 2012-09-03  Andreas Jaeger  <aj@suse.de>
66219         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66220         * sysdeps/i386/fpu/libm-test-ulps: Update.
66222 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66224         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
66225         Add s_sinf-sse2, s_conf-sse2.
66227         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
66228         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
66229         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
66230         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
66232         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
66233         for using routine as __sinf_ia32.
66234         Use macro for function declaration and weak_alias.
66235         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
66236         for using routine as __cosf_ia32.
66237         Use macro for function declaration and weak_alias.
66239         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
66240         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
66242         * sysdeps/x86_64/fpu/s_sinf.S: New file.
66243         * sysdeps/x86_64/fpu/s_cosf.S: New file.
66244         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66246         * math/libm-test.inc (cos_test): Add more test cases.
66247         (sin_test): Likewise.
66248         (sincos_test): Likewise.
66250 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66252         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
66253         (IFUNC_RESOLVE): Make pointers to the specialized implementations
66254         hidden.
66255         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
66257 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
66259         [BZ #14538]
66260         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
66261         first element of the GOT.
66262         (elf_machine_load_address): Return the difference between
66263         the runtime address of _DYNAMIC and elf_machine_dynamic ().
66265 2012-09-01  Allan McRae  <allan@archlinux.org>
66267         [BZ #13412]
66268         * configure.in (AWK): Require gawk version 3.0 or later.
66269         * configure: Regenerated.
66271 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
66273         * sysdeps/unix/sysv/linux/kernel-features.h
66274         (__ASSUME_POSIX_CPU_TIMERS): Remove.
66275         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
66276         [__NR_clock_getres]: Make code unconditional.
66277         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
66278         (clock_getcpuclockid): Remove code left unreachable by removal of
66279         conditionals.
66280         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
66281         code unconditional.
66282         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
66283         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66284         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
66285         Make code unconditional.
66286         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
66287         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66288         * sysdeps/unix/sysv/linux/clock_settime.c
66289         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
66290         conditional code.
66291         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
66292         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66294 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
66296         [BZ #14476]
66297         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
66298         scripts/test-installation.pl.
66300         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
66301         and $ld_so_version if it is set.
66303 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
66305         [BZ #14516]
66306         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
66307         failure if reading from procfs failed.
66308         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
66310 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
66312         * sysdeps/unix/sysv/linux/kernel-features.h
66313         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
66314         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
66315         Remove conditional code.
66316         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66317         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
66318         Remove conditional code.
66319         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66320         * sysdeps/unix/sysv/linux/i386/fxstat.c
66321         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66322         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66323         * sysdeps/unix/sysv/linux/i386/fxstatat.c
66324         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66325         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66326         * sysdeps/unix/sysv/linux/i386/lxstat.c
66327         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66328         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66329         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
66330         Remove conditional code.
66331         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66332         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
66333         Remove conditional code.
66334         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66335         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
66336         <kernel-features.h>.
66337         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
66338         Remove.
66339         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
66340         Remove conditional code.
66341         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66342         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
66343         Remove conditional.
66345 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
66347         [BZ #5400]
66348         * NEWS: Add fixed bug number.
66350 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
66352         [BZ #14519]
66353         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
66354         underflowing exponent in case of negative sign.
66355         * stdlib/tst-strtod-round-data: Add more tests.
66356         * stdlib/tst-strtod-round.c (tests): Regenerated.
66358         [BZ #3479]
66359         * stdlib/strtod_l.c (NDIG): Remove.
66360         (HEXNDIG): Likewise.
66361         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
66362         smallest representable value.
66363         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
66364         lie within an exact representation of 1/2 ulp of the result.
66365         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
66366         unconditionally.
66367         (TENS_P9_IDX): Define unconditionally.
66368         (TENS_P9_SIZE): Likewise.
66369         (TENS_P10_IDX): Likewise.
66370         (TENS_P10_SIZE): Likewise.
66371         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
66372         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
66373         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
66374         entries for 10^2^13 and 10^2^14.
66375         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
66376         (TENS_P13_IDX): Define.
66377         (TENS_P13_SIZE): Likewise.
66378         (TENS_P14_IDX): Likewise.
66379         (TENS_P14_SIZE): Likewise.
66380         (_fpioconst_pow10): Change array size to
66381         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
66382         unconditional.
66383         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
66384         1024]: Add entries for 10^2^13 and 10^2^14.
66385         [LAST_POW10 > _LAST_POW10]: Remove #error.
66386         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
66387         (_fpioconst_pow10): Change array size to
66388         FPIOCONST_POW10_ARRAY_SIZE.
66389         * stdlib/gen-fpioconst.c: New file.
66390         * stdlib/gen-tst-strtod-round.c: Likewise.
66391         * stdlib/tst-strtod-round-data: Likewise.
66392         * stdlib/tst-strtod-round.c: Likewise.
66393         * stdlib/Makefile (tests): Add tst-strtod-round.
66395         [BZ #14459]
66396         * stdlib/strtod_l.c: Include <stdint.h>.
66397         (NDEBUG): Do not define.
66398         (round_and_return): Change EXPONENT parameter to type intmax_t.
66399         Rearrange calculations to avoid internal overflow possibilities.
66400         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
66401         Rearrange calculations to avoid internal overflow possibilities.
66402         Assert that number fits inside MPNSIZE limbs.
66403         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
66404         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
66405         calculations and add assertions to avoid internal overflow
66406         possibilities.  Add casts to avoid signed/unsigned operations.
66407         * stdlib/tst-strtod-overflow.c: New file.
66408         * stdlib/Makefile (tests): Add tst-strtod-overflow.
66410 2012-08-25  Marek Polacek  <polacek@redhat.com>
66412         * time/time.h: Fix some typos in comments.
66414 2012-08-23  Roland McGrath  <roland@hack.frob.com>
66416         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
66417         * posix/tst-rfc3484-2.c: Likewise.
66418         * posix/tst-rfc3484-3.c: Likewise.
66420 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
66422         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
66423         (EF_ARM_ABI_FLOAT_HARD): Likewise.
66425 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
66427         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
66428         #include of fxstatat64.c.
66430 2012-08-22  Roland McGrath  <roland@hack.frob.com>
66432         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
66433         * shadow/getspent_r.c: Likewise.
66434         * shadow/getspnam.c: Likewise.
66435         * shadow/getspnam_r.c: Likewise.
66436         * gshadow/getsgent.c: Likewise.
66437         * gshadow/getsgent_r.c: Likewise.
66438         * gshadow/getsgnam.c: Likewise.
66439         * gshadow/getsgnam_r.c: Likewise.
66440         * inet/getnetbyad.c: Likewise.
66441         * inet/getnetbyad_r.c: Likewise.
66442         * inet/getnetbynm.c: Likewise.
66443         * inet/getnetbynm_r.c: Likewise.
66444         * inet/getnetent.c: Likewise.
66445         * inet/getnetent_r.c: Likewise.
66446         * inet/getproto.c: Likewise.
66447         * inet/getproto_r.c: Likewise.
66448         * inet/getprtent.c: Likewise.
66449         * inet/getprtent_r.c: Likewise.
66450         * inet/getprtname.c: Likewise.
66451         * inet/getprtname_r.c: Likewise.
66452         * inet/getrpcbyname.c: Likewise.
66453         * inet/getrpcbyname_r.c: Likewise.
66454         * inet/getrpcbynumber.c: Likewise.
66455         * inet/getrpcbynumber_r.c: Likewise.
66456         * inet/getrpcent.c: Likewise.
66457         * inet/getrpcent_r.c: Likewise.
66458         * inet/getaliasent.c: Likewise.
66459         * inet/getaliasent_r.c: Likewise.
66460         * inet/getaliasname.c: Likewise.
66461         * inet/getaliasname_r.c: Likewise.
66462         * nscd/getgrgid_r.c: Likewise.
66463         * nscd/getgrnam_r.c: Likewise.
66464         * nscd/gethstbyad_r.c: Likewise.
66465         * nscd/gethstbynm3_r.c: Likewise.
66466         * nscd/getpwnam_r.c: Likewise.
66467         * nscd/getpwuid_r.c: Likewise.
66468         * nscd/getsrvbynm_r.c: Likewise.
66469         * nscd/getsrvbypt_r.c: Likewise.
66470         * nscd/gai.c: Likewise.
66472         * configure.in (build_nscd): New substituted variable, set
66473         by --disable-build-nscd and defaults to $use_nscd.
66474         * configure: Regenerated.
66475         * config.make.in (build-nscd): New substituted variable.
66476         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
66477         Change conditional to require [$(build-nscd) = yes] as well.
66478         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
66480         [BZ# 13696]
66481         * configure.in (use_nscd): New substituted variable, set by
66482         --disable-nscd.  If enabled, define USE_NSCD.
66483         * configure: Regenerated.
66484         * config.h.in: Add USE_NSCD.
66485         * config.make.in (use-nscd): New substituted variable.
66486         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
66487         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
66488         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
66489         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
66490         (CFLAGS-getgrnam_r.c): Likewise.
66491         (CFLAGS-initgroups.c): Likewise.
66492         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
66493         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
66494         Variables removed.
66495         * inet/getnetgrent_r.c
66496         (nscd_setnetgrent): New function, broken out of ...
66497         (setnetgrent): ... here.  Call it.
66498         (innetgr): Conditionalize nscd bits on [USE_NSCD].
66499         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
66500         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
66501         * nscd/Makefile (routines, aux): Move definitions after include of
66502         Makeconfig.  Conditionalize on [$(use-nscd) != no].
66503         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
66504         Conditionalize on [USE_NSCD].
66505         (is_nscd, nscd_init_cb): Likewise.
66506         (nss_load_library): Conditionalize init callback on [USE_NSCD].
66507         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
66508         * nss/nss_db/db-init.c: Likewise.
66509         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
66510         [USE_NSCD].
66511         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
66512         (make_request): Use it.
66513         (cache_valid_p): New function.
66514         (__check_pf): Use it.
66515         * NEWS: Add item for --disable-nscd.
66517 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
66519         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
66520         to support sed >= 4.2.1-20-ga9bf076.
66521         * configure: Regenerated.
66523 2012-08-22  Roland McGrath  <roland@hack.frob.com>
66525         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
66526         Conditionalize whole body on [IREL].
66528 2012-08-22  Jeff Law <law@redhat.com>
66530         [BZ #14505]
66531         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
66532         if the family is PF_UNSPEC.
66534 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
66536         * Makerules (lib-version): Rename from V.
66537         (install-lib-nosubdir): Change V to lib-version.
66539 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
66541         [BZ #14252]
66542         * powerpc32/power6/wcschr.c: New file.
66543         * powerpc32/power6/wcscpy.c: New file.
66544         * powerpc32/power6/wcsrchr.c: New file.
66545         * powerpc64/power6/wcschr.c: New file.
66546         * powerpc64/power6/wcscpy.c: New file.
66547         * powerpc64/power6/wcsrchr.c: New file.
66549 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
66551         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
66552         (two_way_short_needle): Use it.
66553         * string/strstr.c (AVAILABLE1_USES_J): Define.
66554         * string/strcasestr.c: Likewise.
66556         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
66557         array references.
66558         * string/strcasestr.c (TOLOWER): Make side-effect safe.
66560         [BZ #11607]
66561         * NEWS: Add an entry.
66562         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
66563         define their defaults.
66564         (two_way_short_needle): Detect end-of-string on-the-fly.
66565         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
66566         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
66567         * string/bug-strcasestr1.c: New test.
66568         * string/Makefile: Run it.
66570 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
66572         [BZ #11607]
66573         * string/str-two-way.h (two_way_short_needle): Optimize matching of
66574         the first character.
66576 2012-08-21  Roland McGrath  <roland@hack.frob.com>
66578         * csu/elf-init.c (__libc_csu_irel): Function removed.
66579         * csu/libc-start.c (apply_irel): New function.
66580         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
66582 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
66584         * sysdeps/unix/sysv/linux/kernel-features.h
66585         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
66586         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
66587         <kernel-features.h>.
66588         [__NR_fadvise64_64]: Make code unconditional.
66589         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
66590         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
66591         !__NR_fadvise64_64)]: Likewise.
66592         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
66593         !__NR_fadvise64_64))]: Likewise.
66594         [__NR_fadvise64]: Make code unconditional.
66595         [!__NR_fadvise64]: Remove conditional code.
66596         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
66597         <kernel-features.h>.
66598         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
66599         unconditional.
66600         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
66601         conditional code.
66602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
66603         not include <kernel-features.h>.
66604         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
66605         unconditional.
66606         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
66607         conditional code.
66608         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
66609         include <kernel-features.h>.
66610         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
66611         unconditional.
66612         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
66613         conditional code.
66615 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
66617         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
66618         slight instruction rearrangements per scrollpipe analysis.
66619         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
66621 2012-08-20  Roland McGrath  <roland@hack.frob.com>
66623         * manual/syslog.texi (syslog; vsyslog, closelog):
66624         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
66625         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
66627         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
66628         DSOCAPS to match condition on defining it.
66630 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
66632         * sysdeps/unix/sysv/linux/kernel-features.h
66633         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
66634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
66635         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
66636         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
66637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
66638         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
66639         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
66640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
66641         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
66642         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
66644         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
66645         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
66647         * sysdeps/unix/sysv/linux/kernel-features.h
66648         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
66649         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
66650         unconditional.
66651         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66652         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
66653         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
66654         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66655         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
66656         Make code unconditional.
66657         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66658         (__mmap64) [!__NR_mmap2]: Likewise.
66659         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
66660         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
66661         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66662         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
66663         [__NR_mmap2]: Make code unconditional.
66664         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66665         (__mmap64) [!__NR_mmap2]: Likewise.
66667 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66669         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
66671 2012-08-18  Andreas Jaeger  <aj@suse.de>
66673         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
66675 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
66677         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
66678         * include/unistd.h (__have_sock_cloexec): Likewise.
66679         (__have_pipe2): Likewise.
66680         (__have_dup3): Likewise.
66682 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
66684         [BZ #9685]
66685         * include/unistd.h (__have_pipe2): Change define into an extern int.
66686         (__have_dup3): Likewise.
66687         * socket/have_sock_cloexec.c: Include fcntl.h.
66688         (__have_pipe2): New variable.
66689         (__have_dup3): Likewise.
66691 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
66693         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
66695 2012-08-17  Marek Polacek  <polacek@redhat.com>
66697         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
66698         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
66700 2012-08-17  Roland McGrath  <roland@hack.frob.com>
66702         * configure.in: Add AC_SUBST for sysheaders.
66703         * configure: Regenerated.
66704         * config.make.in (sysheaders): New substituted variable.
66706         * sysdeps/unix/mkfifo.c: Moved ...
66707         * sysdeps/posix/mkfifo.c: ... here.
66708         * sysdeps/unix/mkfifoat.c: Moved ...
66709         * sysdeps/posix/mkfifoat.c: ... here.
66711         * sysdeps/unix/utime.c: Moved ...
66712         * sysdeps/posix/utime.c: ... here.
66714         * sysdeps/unix/time.c: Moved ...
66715         * sysdeps/posix/time.c: ... here.
66716         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
66717         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
66719         * sysdeps/unix/nice.c: Moved ...
66720         * sysdeps/posix/nice.c: ... here.
66722         * sysdeps/unix/alarm.c: Moved ...
66723         * sysdeps/posix/alarm.c: ... here.
66725         * intl/Makefile ($(codeset_mo)): Depend on the input file.
66727 2012-08-17  Jeff Law <law@redhat.com>
66729         * intl/Makefile (codeset_mo): New variable.
66730         ($(codeset_mo)): New target.
66731         (tst-codeset.out): Depend on that.  Remove explicit rule.
66732         (tst-gettext3.out, tst-gettext5.out): Likewise.
66733         (LOCPATH-ENV, tst-codeset-ENV): New variables.
66734         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
66735         * intl/tst-codeset.sh: Remove.
66736         * intl/tst-gettext3.sh: Likewise.
66737         * intl/tst-gettext5.sh: Likewise.
66739 2012-08-17  Roland McGrath  <roland@hack.frob.com>
66741         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
66742         * sysdeps/unix/syscalls.list: ... here.
66744         * sysdeps/posix/getaddrinfo.c
66745         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
66746         (gaiconf_init, gaiconf_reload): Use them.
66747         [!_STATBUF_ST_NSEC]
66748         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
66749         Define using time_t rather than struct timespec.
66751         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
66752         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
66753         Macros removed.
66754         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
66755         [!NO_THREADS].
66756         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
66757         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
66758         Likewise.
66760         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
66761         __libc_cleanup_push argument.
66763         * bits/param.h: New file.
66764         * misc/sys/param.h: New file.
66765         * include/sys/param.h: New file.
66766         * misc/Makefile (headers): Add bits/param.h.
66767         * sysdeps/generic/sys/param.h: File removed.
66768         * sysdeps/unix/sysv/linux/bits/param.h: New file.
66769         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
66770         * sysdeps/mach/hurd/bits/param.h: New file.
66771         * sysdeps/mach/hurd/sys/param.h: File removed.
66773         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
66774         last change.
66776         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
66777         [_IO_MTSAFE_IO].
66778         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
66779         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
66780         New macros.
66782         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
66783         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
66784         rather than -D_IO_MTSAFE_IO conditionally.
66785         * stdio-common/Makefile (CPPFLAGS): Likewise.
66786         * wcsmbs/Makefile (CPPFLAGS): Likewise.
66787         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
66788         Use $(libio-mtsafe).
66789         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
66790         of -D_IO_MTSAFE_IO.
66791         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
66792         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
66793         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
66794         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
66795         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
66796         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
66797         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
66798         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
66799         (CFLAGS-fread_u_chk.c): Likewise.
66800         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
66801         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
66802         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
66803         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
66804         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
66805         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
66806         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
66807         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
66808         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
66810         * libio/Makefile: Test [$(libc-reentrant) = yes]
66811         instead of [$(filter %REENTRANT, $(defines)) nonempty].
66813         * Makeconfig
66814         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
66815         * sysdeps/pthread/configure: File removed.
66816         * sysdeps/pthread/Makeconfig: New file.
66817         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
66818         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
66820 2012-08-16  Gary Benson  <gbenson@redhat.com>
66822         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
66823         unmapping the first object in a namespace.
66825 2012-08-16  Roland McGrath  <roland@hack.frob.com>
66827         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
66828         (__internal_setnetgrent): ... this.  Add internal_function to
66829         definition.  Add libc_hidden_def.
66830         (setnetgrent): Update caller.
66831         (internal_endnetgrent): Renamed to ...
66832         (__internal_endnetgrent): ... this.  Add internal_function to
66833         definition.  Add libc_hidden_def.
66834         (endnetgrent): Update caller.
66835         (internal_getnetgrent_r): Renamed to ...
66836         (__internal_getnetgrent_r): ... this.  Add internal_function to
66837         definition.  Add libc_hidden_def.
66838         (__getnetgrent_r): Update caller.
66839         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
66841 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
66843         * stdlib/longlong.h: Update from GCC.
66845 2012-08-16  Roland McGrath  <roland@hack.frob.com>
66847         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
66848         on _QL, which is set by umul_ppmm but never used.
66849         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
66850         variables, which are set by GMP macros but never used.
66851         * stdio-common/_itowa.c (_itowa): Likewise.
66852         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
66853         * stdlib/mod_1.c (mpn_mod_1): Likewise.
66855 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
66857         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
66858         struct La_sh_regs is not constant.
66859         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
66860         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
66861         and struct La_sparc64_regs are not constant.
66863 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
66865         * sysdeps/unix/sysv/linux/kernel-features.h
66866         (__ASSUME_POSIX_TIMERS): Remove.
66867         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
66868         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66869         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
66870         Make code unconditional.
66871         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66872         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
66873         Make code unconditional.
66874         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66875         * sysdeps/unix/sysv/linux/clock_nanosleep.c
66876         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
66877         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66878         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
66879         Make code unconditional.
66880         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66881         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
66882         (__libc_missing_posix_timers): Remove.
66884 2012-08-15  Roland McGrath  <roland@hack.frob.com>
66886         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
66887         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
66889         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
66891         * elf/dl-sym.c: Include <stdlib.h>.
66893         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
66894         constants, which avoids warnings in 32-bit builds.
66896         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
66897         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
66899         * misc/lseek.c: File moved to ...
66900         * io/lseek.c: ... here.
66902         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
66904         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
66905         shifting LEN more than 31 bits at once.
66907 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66909         [BZ #14195]
66910         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
66911         segmentation fault for a case of two empty input strings.
66912         * string/test-strncasecmp.c (check1): Renamed to...
66913         (bz12205): ...this.
66914         (bz14195): Add new testcase for two empty input strings and N > 0.
66915         (test_main): Call new testcase, adapt for renamed function.
66917 2012-08-15  Andreas Jaeger  <aj@suse.de>
66919         [BZ #14090]
66920         * crypt/md5test2.c: New test, based on test supplied by Serge
66921         Belyshev <belyshev@depni.sinp.msu.ru>.
66922         * crypt/Makefile (xtests): Add md5test-giant..
66923         * crypt/Makefile ($(objpfx)md5test-giant): Add.
66925 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
66927         [BZ #14090]
66928         * crypt/md5.c (md5_process_block): Don't assume the buffer
66929         length is less than 2**32.
66930         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
66931         length is less than 2**64.
66933 2012-08-15  Roland McGrath  <roland@hack.frob.com>
66935         * string/str-two-way.h: Include <sys/param.h>.
66936         (MAX): Macro removed.
66938         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
66939         Move #define and #undef of memmove to just before and after
66940         including <string.h>.
66942         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
66943         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
66944         and after including <string.h>.  Move declarations of
66945         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
66946         to before #include "string/memmove.c".
66948         * include/dirent.h: Declare __getdirentries.
66950         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
66951         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
66953 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
66955         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
66956         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
66957         * sysdeps/i386/configure: Regenerated.
66958         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
66959         STABS_CURRENT_FILE, and STABS_FUN.
66960         (END): Remove call to STABS_FUN_END.
66961         (STABS_CURRENT_FILE1): Delete.
66962         (STABS_CURRENT_FILE): Likewise.
66963         (STABS_FUN): Likewise.
66964         (STABS_FUN_END): Likewise.
66965         (STABS_FUN2): Likewise.
66966         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
66967         * sysdeps/x86_64/configure: Regenerated.
66969 2012-08-14  Roland McGrath  <roland@hack.frob.com>
66971         * elf/dl-open.c: Include <atomic.h>.
66972         * elf/dl-lookup.c: Likewise.
66974 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
66976         * sysdeps/unix/sysv/linux/kernel-features.h
66977         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
66978         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
66979         unconditionally.
66980         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
66981         unconditionally.
66982         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
66983         condition on __ASSUME_CLONE_THREAD_FLAGS.
66985 2012-08-14  Andreas Jaeger  <aj@suse.de>
66987         * sysdeps/i386/fpu/libm-test-ulps: Update.
66989 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
66991         * include/atomic.h (atomic_exchange_and_add): Split into ...
66992         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
66993         New atomic macros.
66995 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
66997         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66999 2012-08-13  Jeff Law <law@redhat.com>
67001         * manual/stdio.texi (snprintf): Clarify handling of the trailing
67002         null byte in the output string.
67004 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
67006         * sysdeps/unix/sysv/linux/kernel-features.h
67007         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
67008         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
67009         (__ASSUME_ARG_MAX_STACK_BASED): Define.
67010         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
67011         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
67012         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
67013         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
67015 2012-08-09  Jeff Law <law@redhat.com>
67017         [BZ #13939]
67018         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
67019         When avoid_arena is set, don't retry in the that arena.  Pick the
67020         next one, whatever it might be.
67021         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
67022         (arena_lock): Pass in new parameter to arena_get2.
67023         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
67024         arena_get2.
67025         (__libc_malloc): Unify retrying after main arena failure with
67026         __libc_memalign version.
67027         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
67029 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
67031         [BZ #14166]
67032         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
67033         to __redirect_strstr.
67034         (__strstr_sse42): Use typeof __redirect_strstr.
67035         (__strstr_ia32): Likewise.
67036         (__libc_strstr): New prototype.
67037         (strstr): Renamed to ...
67038         (__libc_strstr): This.
67039         (strstr): New strong alias of __libc_strstr.
67040         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
67041         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
67042         __redirect_time.
67043         Include <time.h>.
67044         (__libc_time): New prototype.
67045         (time_ifunc): Replace time with __libc_time.
67046         (time): New strong alias and hidden definition of __libc_time.
67047         (__GI_time): Remove strong alias.
67048         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
67049         Include <stddef.h>.
67050         (memmove): Redefined to __redirect_memmove.
67051         (__memmove_sse2): Use typeof __redirect_memmove.
67052         (__memmove_ssse3): Likewise.
67053         (__memmove_ssse3_back): Likewise.
67054         (__libc_memmove): New prototype.
67055         (memmove): Renamed to ...
67056         (__libc_memmove): This.
67057         (memmove): New strong alias of __libc_memmove.
67059 2012-08-08  Mark Salter  <msalter@redhat.com>
67061         * elf/elf.h
67062         (R_MN10300_TLS_GD): Define.
67063         (R_MN10300_TLS_LD): Likewise.
67064         (R_MN10300_TLS_LDO): Likewise.
67065         (R_MN10300_TLS_GOTIE): Likewise.
67066         (R_MN10300_TLS_IE): Likewise.
67067         (R_MN10300_TLS_LE): Likewise.
67068         (R_MN10300_TLS_DTPMOD): Likewise.
67069         (R_MN10300_TLS_DTPOFF): Likewise.
67070         (R_MN10300_TLS_TPOFF): Likewise.
67071         (R_MN10300_SYM_DIFF): Likewise.
67072         (R_MN10300_ALIGN): Likewise.
67073         (R_MN10300_NUM): Update.
67075 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
67077         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
67078         Remove.
67080 2012-08-08  Roland McGrath  <roland@hack.frob.com>
67082         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
67084         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
67085         sysdeps/unix -> sysdeps/posix move.
67086         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
67088 2012-08-07      Allan McRae     <allan@archlinux.org>
67090         [BZ #14303]
67091         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
67092         (SUNOS_CPP): Likewise.
67093         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
67094         not found.
67095         (open_input): Call CPP using execvp.
67097 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
67099         * sysdeps/unix/sysv/linux/kernel-features.h
67100         (__ASSUME_PROT_GROWSUPDOWN): Remove.
67101         (__ASSUME_NO_CLONE_DETACHED): Likewise.
67102         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67103         (__ASSUME_WAITID_SYSCALL): Likewise.
67104         * sysdeps/unix/sysv/linux/dl-execstack.c
67105         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
67106         code unconditional.
67107         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
67108         conditional code.
67109         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
67110         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
67111         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
67112         code.
67113         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
67114         unconditional.
67115         [__ASSUME_WAITID_SYSCALL]: Likewise.
67116         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
67118 2012-08-07  Roland McGrath  <roland@hack.frob.com>
67120         * sysdeps/unix/closedir.c: Renamed to ...
67121         * sysdeps/posix/closedir.c: ... here.
67122         * sysdeps/unix/dirfd.c: Renamed to ...
67123         * sysdeps/posix/dirfd.c: ... here.
67124         * sysdeps/unix/dirstream.h: Renamed to ...
67125         * sysdeps/posix/dirstream.h: ... here.
67126         * sysdeps/unix/fdopendir.c: Renamed to ...
67127         * sysdeps/posix/fdopendir.c: ... here.
67128         * sysdeps/unix/opendir.c: Renamed to ...
67129         * sysdeps/posix/opendir.c: ... here.
67130         * sysdeps/unix/readdir.c: Renamed to ...
67131         * sysdeps/posix/readdir.c: ... here.
67132         * sysdeps/unix/readdir_r.c: Renamed to ...
67133         * sysdeps/posix/readdir_r.c: ... here.
67134         * sysdeps/unix/rewinddir.c: Renamed to ...
67135         * sysdeps/posix/rewinddir.c: ... here.
67136         * sysdeps/unix/seekdir.c: Renamed to ...
67137         * sysdeps/posix/seekdir.c: ... here.
67138         * sysdeps/unix/telldir.c: Renamed to ...
67139         * sysdeps/posix/telldir.c: ... here.
67140         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
67141         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
67142         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
67143         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
67145         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
67146         * bits/fcntl.h: ... here.
67148         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
67149         not 0.
67150         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
67151         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
67152         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
67153         (struct flock): Move l_start, l_len to the beginning.
67154         Use __pid_t for l_pid.
67155         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
67156         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
67157         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
67158         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
67159         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
67160         [__USE_LARGEFILE64] (struct flock64): New type.
67161         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
67163         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
67164         * bits/dirent.h: ... here.
67166         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
67167         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
67169 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
67171         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67172         Change from 2.6.0 to 2.6.16.
67173         * sysdeps/unix/sysv/linux/configure: Regenerated.
67174         * sysdeps/unix/sysv/linux/kernel-features.h
67175         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
67176         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
67177         version.
67178         (__ASSUME_UTIMES): Likewise.
67179         (__ASSUME_CLONE_STOPPED): Remove.
67180         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
67181         architectures, not kernel version.
67182         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
67183         (__ASSUME_NO_CLONE_DETACHED): Likewise.
67184         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67185         (__ASSUME_WAITID_SYSCALL): Likewise.
67186         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
67187         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
67188         * README: State 2.6.16 as minimum Linux kernel version.  Do not
67189         refer to older versions.
67191 2012-08-06  Roland McGrath  <roland@hack.frob.com>
67193         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
67194         Define alphasort64 as an alias.
67195         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
67196         Define versionsort64 as an alias.
67197         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
67198         Define scandir64 as an alias.
67199         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
67200         Define scandirat64 as an alias.
67201         * dirent/alphasort64.c (alphasort64):
67202         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
67203         * dirent/versionsort64.c: Likewise.
67204         * dirent/scandir64.c: Likewise.
67205         * dirent/scandirat64.c: Likewise.
67206         * sysdeps/wordsize-64/alphasort.c: File removed.
67207         * sysdeps/wordsize-64/alphasort64.c: File removed.
67208         * sysdeps/wordsize-64/scandir.c: File removed.
67209         * sysdeps/wordsize-64/scandir64.c: File removed.
67210         * sysdeps/wordsize-64/scandirat.c: File removed.
67211         * sysdeps/wordsize-64/scandirat64.c: File removed.
67212         * sysdeps/wordsize-64/versionsort.c: File removed.
67213         * sysdeps/wordsize-64/versionsort64.c: File removed.
67214         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
67215         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
67216         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
67217         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
67218         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
67219         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
67220         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
67221         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
67223         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
67224         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
67225         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
67226         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67227         [defined __arch64__ || defined __sparcv9]
67228         (__INO_T_MATCHES_INO64_T): New macro.
67229         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67230         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
67231         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
67232         * sysdeps/unix/sysv/linux/bits/dirent.h
67233         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
67234         (_DIRENT_MATCHES_DIRENT64): New macro.
67236         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
67237         Define lockf64 as an alias.
67238         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
67239         Define fseeko64 as an alias.
67240         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
67241         Define ftello64 as an alias.
67242         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
67243         Define _IO_fgetpos64 and fgetpos64 as aliases.
67244         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
67245         Define _IO_fsetpos64 and fsetpos64 as aliases.
67246         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
67247         Conditionalize body on this.
67248         * libio/fseeko64.c: Likewise.
67249         * libio/ftello64.c: Likewise.
67250         * libio/iofgetpos64.c: Likewise.
67251         * libio/iofsetpos64.c: Likewise.
67252         * sysdeps/wordsize-64/lockf.c: File removed.
67253         * sysdeps/wordsize-64/lockf64.c: File removed.
67254         * sysdeps/wordsize-64/fseeko.c: File removed.
67255         * sysdeps/wordsize-64/fseeko64.c: File removed.
67256         * sysdeps/wordsize-64/ftello.c: File removed.
67257         * sysdeps/wordsize-64/ftello64.c: File removed.
67258         * sysdeps/wordsize-64/iofgetpos.c: File removed.
67259         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
67260         * sysdeps/wordsize-64/iofsetpos.c: File removed.
67261         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
67262         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
67263         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
67264         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
67265         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
67266         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
67267         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
67268         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
67269         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
67270         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
67271         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
67273         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
67274         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
67275         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
67276         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67277         [defined __arch64__ || defined __sparcv9]
67278         (__OFF_T_MATCHES_OFF64_T): New macro.
67279         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67280         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
67281         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67282         (__OFF_T_MATCHES_OFF64_T): New macro.
67284 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
67286         * stdlib/secure-getenv.c (__secure_getenv): Replace
67287         GLIBC_2_16 with GLIBC_2_17.
67289 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
67291         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
67292         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
67294 2012-08-03  David S. Miller  <davem@davemloft.net>
67296         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67298 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
67300         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
67301         Remove.
67302         (__ASSUME_CORRECT_SI_PID): Likewise.
67303         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
67304         (__ASSUME_TMPFS_NAME): Likewise.
67305         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
67306         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
67307         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
67308         (HAVE_AUX_SECURE): Make definition unconditional.
67309         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
67310         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
67312 2012-08-03  Roland McGrath  <roland@hack.frob.com>
67314         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
67315         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
67316         * sysdeps/mach/hurd/eloop-threshold.h: New file.
67317         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
67318         __eloop_threshold instead of SYMLOOP_MAX.
67320         * sysdeps/generic/eloop-threshold.h: New file.
67321         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
67322         of MAXSYMLINKS.
67323         * elf/chroot_canon.c (chroot_canon): Likewise.
67325 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
67327         [BZ #13717]
67328         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67329         Change to 2.6.0 everywhere.
67330         * sysdeps/unix/sysv/linux/configure: Regenerated.
67331         * sysdeps/unix/sysv/linux/kernel-features.h
67332         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
67333         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
67334         kernel versions.
67335         (__ASSUME_POSIX_TIMERS): Define unconditionally.
67336         (__ASSUME_FUTEX_REQUEUE): Remove.
67337         (__ASSUME_STATFS64): Define unconditionally.
67338         (__ASSUME_AT_SECURE): Likewise.
67339         (__ASSUME_CORRECT_SI_PID): Likewise.
67340         (__ASSUME_TGKILL): Define without depending on kernel version for
67341         i386.
67342         (__ASSUME_UTIMES): Likewise.
67343         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
67344         kernel version.
67345         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
67346         (__ASSUME_TMPFS_NAME): Likewise.
67347         * README: Update reference to Linux kernel versions.
67349 2012-08-02  Marek Polacek  <polacek@redhat.com>
67351         [BZ# 14150]
67352         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
67353         libc_cv_asm_type_prefix with %.
67354         * configure: Regenerated.
67355         * include/libc-symbols.h: Remove comment about
67356         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
67357         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
67358         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
67359         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
67360         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
67361         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
67362         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
67363         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
67364         * elf/tst-unique2mod1.c: Likewise.
67365         * elf/tst-unique1mod2.c: Likewise.
67366         * elf/tst-unique1mod1.c: Likewise.
67367         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
67368         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
67369         Replace ASM_TYPE_DIRECTIVE with .type.
67370         * sysdeps/s390/s390-64/sysdep.h: Likewise.
67371         * sysdeps/i386/sysdep.h: Likewise.
67372         * sysdeps/x86_64/sysdep.h: Likewise.
67373         * sysdeps/sh/sysdep.h: Likewise.
67374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
67375         Do not define ASM_TYPE_DIRECTIVE.
67376         * sysdeps/powerpc/sysdep.h: Likewise.
67377         * sysdeps/powerpc/powerpc32/sysdep.h:
67378         Replace ASM_TYPE_DIRECTIVE with .type.
67379         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
67380         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
67381         * sysdeps/i386/fpu/e_powf.S: Likewise.
67382         * sysdeps/i386/fpu/e_expl.S: Likewise.
67383         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67384         * sysdeps/i386/fpu/e_acosh.S: Likewise.
67385         * sysdeps/i386/fpu/e_pow.S: Likewise.
67386         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
67387         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67388         * sysdeps/i386/fpu/s_expm1.S: Likewise.
67389         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
67390         * sysdeps/i386/fpu/e_log2.S: Likewise.
67391         * sysdeps/i386/fpu/e_log2l.S: Likewise.
67392         * sysdeps/i386/fpu/e_scalb.S: Likewise.
67393         * sysdeps/i386/fpu/e_powl.S: Likewise.
67394         * sysdeps/i386/fpu/e_log10f.S: Likewise.
67395         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
67396         * sysdeps/i386/fpu/e_logl.S: Likewise.
67397         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
67398         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
67399         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
67400         * sysdeps/i386/fpu/e_log2f.S: Likewise.
67401         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67402         * sysdeps/i386/fpu/e_log.S: Likewise.
67403         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67404         * sysdeps/i386/fpu/e_logf.S: Likewise.
67405         * sysdeps/i386/fpu/e_log10l.S: Likewise.
67406         * sysdeps/i386/fpu/e_atanh.S: Likewise.
67407         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
67408         * sysdeps/i386/fpu/e_log10.S: Likewise.
67409         * sysdeps/i386/fpu/s_frexp.S: Likewise.
67410         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67411         * sysdeps/i386/fpu/s_asinh.S: Likewise.
67412         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
67413         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67414         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
67415         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
67416         * sysdeps/i386/i686/strtok.S: Likewise.
67417         * sysdeps/i386/i386-mcount.S: Likewise.
67418         * sysdeps/i386/strtok.S: Likewise.
67419         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
67420         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67421         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67422         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67423         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
67424         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67425         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
67426         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
67427         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67428         * sysdeps/x86_64/_mcount.S: Likewise.
67429         * sysdeps/x86_64/strtok.S: Likewise.
67430         * sysdeps/sh/_mcount.S: Likewise.
67432 2012-08-01  Roland McGrath  <roland@hack.frob.com>
67434         * libio/iofopen.c: Include <fcntl.h>.
67435         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
67436         (_IO_fopen64, fopen64): Define as aliases.
67437         * libio/iofopen64.c: Include <fcntl.h>.
67438         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
67439         Conditionalize body on this.
67440         * sysdeps/wordsize-64/iofopen.c: File removed.
67441         * sysdeps/wordsize-64/iofopen64.c: File removed.
67443 2012-08-01  Marek Polacek  <polacek@redhat.com>
67445         * libc/Makeconfig: Use elf in place of binfmt-subdir.
67446         Use dlfcn directly instead of a variable.
67447         (binfmt-subdir): Do not define.
67448         (dlfcn): Likewise.
67450 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
67452         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
67453         Remove all definitions.
67454         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
67455         <kernel-features.h>.
67456         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
67457         (miss_F_GETOWN_EX): Remove all definitions.
67458         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
67459         macro definition.
67460         [!__ASSUME_FCNTL64]: Remove conditional code.
67461         [__ASSUME_FCNTL64]: Make code unconditional.
67462         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
67463         <kernel-features.h>.
67464         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
67465         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
67466         (lockf64) [__NR_fcntl64]: Make code unconditional.
67467         (lockf64) [__ASSUME_FCNTL64]: Likewise.
67469         * sysdeps/unix/sysv/linux/kernel-features.h
67470         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
67471         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
67472         Make code unconditional.
67473         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67474         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
67476         [__NR_vfork]: Make code unconditional.
67477         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67478         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
67480         [__NR_vfork]: Make code unconditional.
67481         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67482         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67484 2012-08-01  Roland McGrath  <roland@hack.frob.com>
67486         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
67487         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
67489         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67490         Define mkstemp64 as an alias.
67491         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67492         Define mkstemps64 as an alias.
67493         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67494         Define mkostemp64 as an alias.
67495         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67496         Define mkostemps64 as an alias.
67497         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
67498         Conditionalize body on this.
67499         * misc/mkostemp64.c: Likewise.
67500         * misc/mkostemps64.c: Likewise.
67501         * misc/mkstemps64.c: Likewise.
67502         * sysdeps/wordsize-64/mkstemp64.c: File removed.
67503         * sysdeps/wordsize-64/mkostemp64.c: File removed.
67504         * sysdeps/wordsize-64/mkostemp.c: File removed.
67505         * sysdeps/wordsize-64/mkstemp.c: File removed.
67506         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
67507         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
67508         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
67509         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
67511         [BZ #14138]
67512         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
67513         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
67514         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
67515         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
67517         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
67518         compat_symbol macros from <shlib-compat.h> rather than the underlying
67519         default_symbol_version and symbol_version macros, so that DEFAULT
67520         lines in shlib-versions are respected.
67521         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
67523 2012-08-01  Florian Weimer  <fweimer@redhat.com>
67525         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
67526         Declare with warn_unused_result.
67527         (setgid, setregid, setegid, setresgid): Likewise.
67528         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
67529         Likewise.
67530         * WUR-REPORT: Remove set*id functions.
67532 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
67534         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
67536 2012-07-31  Roland McGrath  <roland@hack.frob.com>
67538         [BZ #10191]
67539         * include/sys/socket.h (__libc_accept, __libc_accept4):
67540         Add attribute_hidden.
67541         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
67543         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
67544         use of PTR_MANGLE.
67545         * inet/getnetgrent_r.c (setup): Likewise.
67547         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
67549 2012-07-31  David S. Miller  <davem@davemloft.net>
67551         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67553 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
67555         [BZ #13629]
67556         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
67557         value between 1.0 and 2.0 and smaller part has absolute value less
67558         than 1.0.
67559         * math/s_clog10.c (__clog10): Likewise.
67560         * math/s_clog10f.c (__clog10f): Likewise.
67561         * math/s_clog10l.c (__clog10l): Likewise.
67562         * math/s_clogf.c (__clogf): Likewise.
67563         * math/s_clogl.c (__clogl): Likewise.
67564         * math/libm-test.inc (clog_test): Add more tests.
67565         (clog10_test): Likewise.
67566         * sysdeps/i386/fpu/libm-test-ulps: Update.
67567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67569 2012-07-31  Florian Weimer  <fweimer@redhat.com>
67571         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
67572         Exit with zero in case no suitable GID is found, and write a
67573         message to standard error.
67575 2012-07-30  Roland McGrath  <roland@hack.frob.com>
67577         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
67578         rather than to 1.
67579         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
67580         (MAXPATHLEN): Removed.
67581         (NOGROUP, NODEV): New macros.
67582         (setbit, clrbit, isset, isclr): New macros.
67583         (howmany, roundup, powerof2): New macros.
67584         (DEV_BSIZE): New macro.
67586         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
67587         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
67589         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
67590         definition on [!__NO_LONG_DOUBLE_MATH].
67592         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
67593         PTR_MANGLE and PTR_DEMANGLE.
67595         * socket/accept4.c (accept4): Rename to __libc_accept4.
67596         Define accept4 as a weak alias.
67598         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
67599         on [_DIRENT_HAVE_D_TYPE].
67600         * io/ftw.c (ftw_dir): Likewise.
67602         * io/xmknod.c (__xmknod): Don't check PATH for being null.
67604         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
67606         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
67607         Use the BSD numbers rather than the arbitrary ones we had.
67608         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
67609         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
67610         (SIGXCPU, SIGXFSZ): New macros.
67611         (_NSIG): Now 32.
67613         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
67614         initializer on [_LIBC_REENTRANT].
67616         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
67617         definitions inside [_POSIX_MAPPED_FILES].
67619         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
67621         * dirent/opendir.c: Include <fcntl.h>.
67623         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
67624         (__libc_getspecific): Likewise.
67625         (__libc_key_create): Likewise.
67627         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
67628         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
67629         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
67630         (tmpfile64): Define as alias.
67631         * sysdeps/wordsize-64/tmpfile.c: File removed.
67632         * sysdeps/wordsize-64/tmpfile64.c: File removed.
67633         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
67634         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
67636         * stdio-common/vfscanf.c: Include <stdbool.h>.
67637         * nss/makedb.c: Likewise.
67638         * stdio-common/_i18n_number.h: Likewise.
67639         * argp/argp-help.c: Likewise.
67640         * posix/wordexp.c: Likewise.
67641         * sysdeps/posix/spawni.c: Likewise.
67642         * nss/nss_files/files-initgroups.c: Likewise.
67643         * stdio-common/reg-modifier.c: Include <stdlib.h>.
67644         * nss/nss_files/files-initgroups.c: Likewise.
67645         * nss/nss_db/db-netgrp.c: Likewise.
67646         * nss/nss_db/db-initgroups.c: Likewise.
67647         * io/fchmodat.c: Include <sys/stat.h>.
67649         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
67650         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
67652         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
67653         [HAVE_MMAP].
67655         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
67656         Add multiple inclusion protection.
67658 2012-07-27  David S. Miller  <davem@davemloft.net>
67660         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67662 2012-07-27  Gary Benson  <gbenson@redhat.com>
67664         [BZ #14298]
67665         * elf/rtld.c: Include <stap-probe.h>.
67666         (dl_main): Added static probes "init_start" and "init_complete".
67667         * elf/dl-load.c: Include <stap-probe.h>.
67668         (lose): Take new parameter "nsid".
67669         Added static probe "map_failed".
67670         (_dl_map_object_from_fd): Pass namespace id to lose.
67671         Added static probe "map_start".
67672         (open_verify): Pass namespace id to lose.
67673         * elf/dl-open.c: Include <stap-probe.h>.
67674         (dl_open_worker) Added static probes "map_complete", "reloc_start"
67675         and "reloc_complete".
67676         * elf/dl-close.c: Include <stap-probe.h>.
67677         (_dl_close_worker): Added static probes "unmap_start" and
67678         "unmap_complete".
67679         * elf/rtld-debugger-interface.txt: New file documenting the above.
67681 2012-07-26  Roland McGrath  <roland@hack.frob.com>
67683         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
67684         rather than a string variable.
67685         * sunrpc/rpc_main.c (h_output): Likewise.
67686         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
67688 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
67690         * inet/check_native.c: New file.
67692 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
67694         [BZ #13629]
67695         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
67696         if larger part has absolute value 1.0.
67697         * math/s_clog10.c (__clog10): Likewise.
67698         * math/s_clog10f.c (__clog10f): Likewise.
67699         * math/s_clog10l.c (__clog10l): Likewise.
67700         * math/s_clogf.c (__clogf): Likewise.
67701         * math/s_clogl.c (__clogl): Likewise.
67702         * math/libm-test.inc (clog_test): Add more tests.
67703         (clog10_test): Likewise.
67704         * sysdeps/i386/fpu/libm-test-ulps: Update.
67705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67707         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
67708         (pltexit): Likewise.
67709         (La_regs): Likewise.
67710         (La_retval): Likewise.
67711         (int_retval): Likewise.
67712         Update #error for removed macros to refer only to definitions in
67713         tst-audit.h.
67714         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
67715         macro.
67716         (pltexit): Likewise.
67717         (La_regs): Likewise.
67718         (La_retval): Likewise.
67719         (int_retval): Likewise.
67720         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
67721         macro.
67722         (pltexit): Likewise.
67723         (La_regs): Likewise.
67724         (La_retval): Likewise.
67725         (int_retval): Likewise.
67726         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
67727         macro.
67728         (pltexit): Likewise.
67729         (La_regs): Likewise.
67730         (La_retval): Likewise.
67731         (int_retval): Likewise.
67732         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
67733         macro.
67734         (pltexit): Likewise.
67735         (La_regs): Likewise.
67736         (La_retval): Likewise.
67737         (int_retval): Likewise.
67738         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
67739         macro.
67740         (pltexit): Likewise.
67741         (La_regs): Likewise.
67742         (La_retval): Likewise.
67743         (int_retval): Likewise.
67744         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
67745         macro.
67746         (pltexit): Likewise.
67747         (La_regs): Likewise.
67748         (La_retval): Likewise.
67749         (int_retval): Likewise.
67750         * sysdeps/generic/tst-audit.h: Update comment to refer only to
67751         macro definitions in tst-audit.h.
67752         * sysdeps/i386/tst-audit.h: New file.
67753         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
67754         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
67755         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
67756         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
67757         * sysdeps/sh/tst-audit.h: Likewise.
67758         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
67759         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
67760         * sysdeps/x86_64/tst-audit.h: Likewise.
67762 2012-07-26  Andreas Jaeger  <aj@suse.de>
67764         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
67765         ptrace.
67767         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
67768         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
67769         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
67770         PTRACE_O_MASK.
67771         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
67772         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
67773         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
67775         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
67776         value.
67778         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
67779         _sigsys.
67780         (si_call_addr, si_syscall, si_arch): Define new macro.
67781         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
67782         _sigsys.
67783         (si_call_addr, si_syscall, si_arch): Define new marcro.
67784         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
67785         _sigsys.
67786         (si_call_addr, si_syscall, si_arch): Define new macro.
67787         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
67788         _sigsys.
67789         (si_call_addr, si_syscall, si_arch): Define new macro.
67791 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
67793         [BZ #13717]
67794         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67795         Change to 2.4.21 where previously 2.4.1.
67796         * sysdeps/unix/sysv/linux/configure: Regenerated.
67797         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
67798         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
67799         Linux kernel version.
67800         (__ASSUME_STD_AUXV): Remove.
67801         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
67802         kernel version.
67803         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
67804         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
67805         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
67806         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
67807         (__ASSUME_NETLINK_SUPPORT): Likewise.
67808         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
67809         (__no_netlink_support): Remove conditional definition.
67810         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
67811         Remove.
67812         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
67813         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
67814         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
67815         (if_nameindex_ioctl): Remove.
67816         (if_nameindex_netlink): Do not handle __no_netlink_support.
67817         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
67818         code.
67819         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
67820         Remove conditional code.
67821         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
67822         code.
67823         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
67824         unconditional.
67825         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
67826         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
67827         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
67828         Remove.
67829         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
67830         [!__ASSUME_STD_AUXV]: Remove conditional code.
67831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
67832         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
67833         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
67834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
67835         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
67836         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
67837         code.
67838         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
67839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
67840         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
67841         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
67842         conditional code.
67843         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
67844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
67845         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
67846         code.
67847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
67848         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
67849         conditional code.
67850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
67851         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67852         code unconditional.
67853         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67854         conditional code.
67855         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67856         unconditional.
67857         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67858         conditional code.
67859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
67860         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67861         unconditional.
67862         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67863         conditional code.
67864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
67865         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67866         code unconditional.
67867         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67868         conditional code.
67869         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67870         unconditional.
67871         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67872         conditional code.
67873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
67874         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67875         code unconditional.
67876         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67877         conditional code.
67878         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67879         unconditional.
67880         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67881         conditional code.
67883 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
67885         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
67886         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
67887         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
67888         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
67889         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
67890         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
67891         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
67892         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
67893         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
67894         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
67895         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
67896         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
67897         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
67898         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
67899         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
67900         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
67901         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
67902         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
67903         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
67904         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
67905         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
67906         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
67907         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
67909 2012-07-25  Florian Weimer  <fweimer@redhat.com>
67911         * Versions.def: Add GLIBC_2.17.
67912         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
67913         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
67914         Introduce __libc_secure_getenv.
67915         * stdlib/Versions (2.17): Add secure_getenv
67916         (GLIBC_PRIVATE): Add __libc_secure_getenv.
67917         * stdlib/secure-getenv.c: Rename __secure_getenv to
67918         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
67919         symbol __secure_getenv for GLIBC_2.0.
67920         * stdlib/tst-secure-getenv.c: New.
67921         * stdlib/Makefile (tests): Add testcase.
67922         * manual/startup.texi (Environment Access): Document
67923         secure_getenv.
67924         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
67925         __libc_secure_getenv.
67926         * inet/ruserpass.c (ruserpass): Likewise.
67927         * malloc/mtrace.c (mtrace): Likewise.
67928         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
67929         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
67930         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
67931         * sysdeps/posix/tempname.c: Likewise.  Evaluate
67932         HAVE_SECURE_GETENV.
67933         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
67934         __secure_getenv to __libc_secure_getenv.
67935         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
67936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67937         Likewise.
67938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67939         Likewise.
67940         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
67941         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
67942         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
67943         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
67944         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
67945         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
67946         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
67948 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
67950         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
67951         (struct La_i86_retval): Likewise.
67952         (struct La_x86_64_regs): Likewise.
67953         (struct La_x86_64_retval): Likewise.
67954         (struct La_x32_regs): Likewise.
67955         (struct La_x32_retval): Likewise.
67956         (struct La_ppc32_regs): Likewise.
67957         (struct La_ppc32_retval): Likewise.
67958         (struct La_ppc64_regs): Likewise.
67959         (struct La_ppc64_retval): Likewise.
67960         (struct La_sh_regs): Likewise.
67961         (struct La_sh_retval): Likewise.
67962         (struct La_s390_32_regs): Likewise.
67963         (struct La_s390_32_retval): Likewise.
67964         (struct La_s390_64_regs): Likewise.
67965         (struct La_s390_64_retval): Likewise.
67966         (struct La_sparc32_regs): Likewise.
67967         (struct La_sparc32_retval): Likewise.
67968         (struct La_sparc64_regs): Likewise.
67969         (struct La_sparc64_retval): Likewise.
67970         (struct audit_ifaces): Remove architecture-specific pltenter and
67971         pltexit members.
67972         * sysdeps/i386/ldsodefs.h: New file.
67973         * sysdeps/powerpc/ldsodefs.h: Likewise.
67974         * sysdeps/s390/ldsodefs.h: Likewise.
67975         * sysdeps/sh/ldsodefs.h: Likewise.
67976         * sysdeps/sparc/ldsodefs.h: Likewise.
67977         * sysdeps/x86_64/ldsodefs.h: Likewise.
67979 2012-07-25  Marek Polacek  <polacek@redhat.com>
67981         [BZ #6808]
67982         * math/libm-test.inc (yn_test): Add another test.
67983         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
67984         to ERANGE when the result is +-Inf.
67985         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
67986         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
67987         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
67988         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
67990 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
67992         * conform/data/time.h-data (NULL): Use macro-constant.  Require
67993         equal to 0.
67994         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
67995         clock_t.
67996         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
67998 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
68000         * configure.in <sysdeps resolving>: Correct printing
68001         Implies_before.
68002         * configure: Regenerate.
68004 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
68006         * math/w_ilogb.c: Include <limits.h>.
68007         * math/w_ilogbl.c: Likewise.
68009 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
68011         * manual/lang.texi (__va_copy): Document primarily as ISO C99
68012         va_copy.  Document allowing for unavailable va_copy only as
68013         pre-C99 compatibility.
68014         * manual/string.texi (Copying and Concatenation): Use va_copy
68015         instead of __va_copy in concat example.
68017 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
68019         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
68020         (__sendto): Use create_address_port.  Initialize APORT and deallocate
68021         it if not null.
68023         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
68024         with O_NOLINK passed to __file_name_lookup.
68026         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
68027         with O_NOLINK passed to __file_name_lookup.
68029         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
68030         negative N or less than NGIDS.
68032         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
68033         type to string_t.  Set ERANGE as errno and return it if NAME is not big
68034         enough.  Use memcpy instead of strncpy.
68036 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
68038         * elf/Makefile (check-data): Remove.
68039         (localplt.data): New vpath directive.
68040         ($(objpfx)check-localplt.out): Use localplt.data from vpath
68041         instead of $(check-data).
68042         * scripts/data/localplt-generic.data: Move to ...
68043         * sysdeps/generic/localplt.data: ... here.
68044         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
68045         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
68046         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
68047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
68048         ... here.
68049         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
68050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
68051         ... here.
68052         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
68053         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
68054         ... here.
68055         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
68056         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
68057         ... here.
68058         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
68059         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
68060         ... here.
68061         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
68062         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
68063         ... here.
68065 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68067         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
68068         PPC32 and PPC64 files.
68069         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
68070         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
68072 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68074         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
68075         __makecontext_ret to ...
68076         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
68077         ... here and call exit if uc_link is NULL.  New file.
68078         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
68079         __makecontext_ret.S.
68080         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
68081         __makecontext_ret to ...
68082         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
68083         ... here and call exit if uc_link is NULL.  New file.
68084         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
68085         __makecontext_ret.S.
68087 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68089         * elf/elf.h (R_390_IRELATIVE): New definition.
68090         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
68091         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
68092         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
68093         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
68094         (elf_machine_lazy_rel): Likewise.
68095         * sysdeps/s390/dl-irel.h: New file.
68096         * sysdeps/s390/s390-64/memcpy.S: New asm code.
68097         * sysdeps/s390/s390-64/memset.S: New asm code.
68098         * sysdeps/s390/s390-64/memcmp.S: New asm code.
68099         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
68100         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
68101         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
68102         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
68103         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
68104         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
68105         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
68106         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
68107         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
68108         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
68109         * sysdeps/s390/s390-32/memcpy.S: New asm code.
68110         * sysdeps/s390/s390-32/memset.S: New asm code.
68111         * sysdeps/s390/s390-32/memcmp.S: New asm code.
68113 2012-07-17  Marek Polacek  <polacek@redhat.com>
68115         [BZ #14349]
68116         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
68117         * sysdeps/s390/s390-64/configure.in: Likewise.
68118         * sysdeps/sparc/configure.in: Likewise.
68119         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
68120         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
68121         * sysdeps/i386/configure.in: Likewise.
68122         * sysdeps/x86_64/configure.in: Likewise.
68123         * sysdeps/sh/configure.in: Likewise.
68124         * sysdeps/s390/s390-32/configure: Regenerated.
68125         * sysdeps/s390/s390-64/configure: Likewise.
68126         * sysdeps/x86_64/configure: Likewise.
68127         * sysdeps/sh/configure: Likewise.
68128         * sysdeps/powerpc/powerpc64/configure: Likewise.
68129         * sysdeps/powerpc/powerpc32/configure: Likewise.
68130         * sysdeps/sparc/configure: Likewise.
68131         * sysdeps/i386/configure: Likewise.
68133         * elf/dl-open.c: Comment fixes.
68135 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
68137         * Makefile [CXX] (check-data): Remove.
68138         [CXX] (c++-types.data): New vpath directive.
68139         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
68140         vpath.  Do not allow for C++ type data being missing.
68141         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
68142         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
68143         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
68144         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
68145         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
68146         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
68147         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
68148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
68149         ... here.
68150         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
68151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
68152         ... here.
68153         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
68154         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
68155         ... here.
68156         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
68157         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
68158         ... here.
68159         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
68160         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
68161         ... here.
68162         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
68163         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
68164         ... here.
68165         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
68166         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
68167         ... here.
68168         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
68169         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
68171         * elf/tls-macros.h (TLS_LE): Move architecture-specific
68172         definitions to architecture-specific files.
68173         (TLS_IE): Likewise.
68174         (TLS_LD): Likewise.
68175         (TLS_GD): Likewise.
68176         * sysdeps/i386/tls-macros.h: New file.
68177         * sysdeps/powerpc/tls-macros.h: Likewise.
68178         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
68179         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
68180         * sysdeps/sh/tls-macros.h: Likewise.
68181         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
68182         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
68183         * sysdeps/x86_64/tls-macros.h: Likewise.
68185 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
68187         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
68188         zero value for regular exit case.
68190         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
68191         (__start_context): Preserve zero value for regular exit case.
68193 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
68194             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68196         * manual/setjmp.texi (setcontext): Clarify normal process
68197         termination when uc_link is the null pointer.
68198         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
68199         exit call.
68201 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
68203         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
68204         preprocessor.  Test for each exception mask separately.
68206 2012-07-16  Andreas Jaeger  <aj@suse.de>
68208         * po/ru.po: Update from translation team.
68210 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
68212         * conform/data/string.h-data (NULL): Use macro-constant.  Require
68213         equal to 0.
68214         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
68215         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
68216         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
68217         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
68218         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68220 2012-07-13  Andreas Jaeger  <aj@suse.de>
68222         * po/fr.po: Update from translation team.
68224 2012-07-12  Marek Polacek  <polacek@redhat.com>
68226         [BZ #14173]
68227         * math/libm-test.inc (yn_test): Add test for BZ #14173.
68228         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
68229         loop condition.
68231 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
68233         [BZ #13717]
68234         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68235         Change to 2.4.1 where previously 2.4.0.
68236         * sysdeps/unix/sysv/linux/configure: Regenerated.
68237         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
68238         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
68239         version.
68240         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
68241         (__ASSUME_AT_CLKTCK): Remove.
68242         (__ASSUME_AT_PAGESIZE): Likewise.
68243         (__ASSUME_AT_XID): Likewise.
68244         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
68245         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
68246         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
68247         unconditionally.
68248         (HAVE_AUX_PAGESIZE): Likewise.
68249         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
68250         [__ASSUME_AT_CLKTCK]: Make code unconditional.
68251         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
68253 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
68255         [BZ #14307]
68256         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
68257         the temporary buffer used to invoke __gethostbyname2_r,
68258         __gethostbyaddr_r and gethostbyname4_r to make room for struct
68259         host_data / struct gaih_addrtuple.
68260         * resolv/nss_dns/dns-host.c (global scope): Move definition of
68261         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
68262         header file nss/nsswitch.h.
68263         * nss/nsswitch.h (global scope): Add definition of implementation
68264         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
68265         resolv/nss_dns/dns-host.c).
68267 2012-07-11  Andreas Jaeger  <aj@suse.de>
68269         * po/fr.po: Update from translation team.
68271         * po/sv.po: Update from translation team
68272         * po/fr.po: Another update from translation team.
68274 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68276         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
68277         for subnormals or multiply small sinh result by itself.
68278         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
68279         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68281 2012-07-11  David S. Miller  <davem@davemloft.net>
68283         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68285 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
68287         [BZ #14347]
68288         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
68289         (INTERNAL_MARK): Shift it here.
68291 2012-07-10  Marek Polacek  <polacek@redhat.com>
68293         [BZ #14151]
68294         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
68295         libc_cv_asm_global_directive with .globl.
68296         * configure: Regenerated.
68297         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
68298         with .globl.
68299         * sysdeps/i386/configure: Regenerated.
68300         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
68301         with .globl.
68302         * sysdeps/x86_64/configure: Regenerated.
68303         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
68304         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
68305         * elf/tst-unique2mod2.c: Likewise.
68306         * elf/tst-unique2mod1.c: Likewise.
68307         * elf/tst-unique1mod2.c: Likewise.
68308         * elf/tst-unique1mod1.c: Likewise.
68309         * sysdeps/s390/s390-32/sysdep.h: Likewise.
68310         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
68311         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68312         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
68313         * sysdeps/mach/sysdep.h: Likewise.
68314         * sysdeps/i386/sysdep.h: Likewise.
68315         * sysdeps/i386/i386-mcount.S: Likewise.
68316         * sysdeps/x86_64/_mcount.S: Likewise.
68317         * sysdeps/x86_64/sysdep.h: Likewise.
68318         * sysdeps/sh/_mcount.S: Likewise.
68319         * sysdeps/sh/sysdep.h: Likewise.
68320         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
68321         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
68322         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
68323         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
68324         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
68325         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
68326         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
68327         * locale/localeinfo.h: Likewise.
68328         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
68329         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
68331 2012-07-09  Roland McGrath  <roland@hack.frob.com>
68333         [BZ #14336]
68334         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
68335         system".
68336         * manual/message.texi (The Uniforum approach): Likewise.
68337         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
68338         (glibc iconv Implementation): Likewise.
68340 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
68342         [BZ #14337]
68343         * math/s_clog.c (__clog): Avoid scaling a value down where that
68344         could result in underflow.
68345         * math/s_clog10.c (__clog10): Likewise.
68346         * math/s_clog10f.c (__clog10f): Likewise.
68347         * math/s_clog10l.c (__clog10l): Likewise.
68348         * math/s_clogf.c (__clogf): Likewise.
68349         * math/s_clogl.c (__clogl): Likewise.
68350         * math/libm-test.inc (clog_test): Add more tests.
68351         (clog10_test): Likewise.
68352         * sysdeps/i386/fpu/libm-test-ulps: Update.
68353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68355 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
68357         [BZ #14283]
68358         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
68359         by 7 not 8 to examine high bit of fractional part.
68361         [BZ #14042]
68362         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
68363         for call to __mcount_internal.
68364         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
68365         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
68366         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
68368 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
68370         [BZ #14154]
68371         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
68372         approximation for values within 0x1p-13f of an odd multiple of
68373         pi/4.
68374         * math/libm-test.inc (tan_test): Do not allow spurious underflow
68375         exception.  Add more tests.
68376         * sysdeps/i386/fpu/libm-test-ulps: Update.
68378         [BZ #6778]
68379         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
68380         inputs and return -1 for them.  Do not check for +Inf in case not
68381         reachable for +Inf.
68382         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
68383         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
68384         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
68385         and return -1 for them.  Do not check for +Inf in case not
68386         reachable for +Inf.
68387         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
68388         define.
68389         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
68390         and return -1 for them.  Do not check for +Inf in case not
68391         reachable for +Inf.
68392         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
68393         spurious underflow.
68394         * sysdeps/i386/fpu/libm-test-ulps: Update.
68395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68397 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
68399         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
68401 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
68403         [BZ #14157]
68404         [BZ #14331]
68405         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
68406         could result in spurious underflow.  Scale down values above
68407         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
68408         * math/s_csqrtf.c (__csqrtf): Likewise.
68409         * math/s_csqrtl.c (__csqrtl): Likewise.
68410         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
68411         spurious underflow.
68412         * sysdeps/i386/fpu/libm-test-ulps: Update.
68413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68415 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
68417         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
68418         xopen-msg.sed.
68419         * catgets/xopen-msg.awk: New file.
68420         * catgets/xopen-msg.sed: Removed.
68422         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
68423         po2text.sed.
68424         * intl/po2test.awk: New file.
68425         * intl/po2test.sed: Removed.
68427 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
68429         [BZ #14328]
68430         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
68431         or multiply small sinh result by itself.
68432         * math/s_ctanf.c (__ctanf): Likewise.
68433         * math/s_ctanh.c (__ctanh): Likewise.
68434         * math/s_ctanhf.c (__ctanhf): Likewise.
68435         * math/s_ctanhl.c (__ctanhl): Likewise.
68436         * math/s_ctanl.c (__ctanl): Likewise.
68437         * math/libm-test.inc (ctan_test_tonearest): New function.
68438         (ctan_test_towardzero): Likewise.
68439         (ctan_test_downward): Likewise.
68440         (ctan_test_upward): Likewise.
68441         (ctanh_test_tonearest): Likewise.
68442         (ctanh_test_towardzero): Likewise.
68443         (ctanh_test_downward): Likewise.
68444         (ctanh_test_upward): Likewise.
68445         (main): Call these new functions.
68446         * sysdeps/i386/fpu/libm-test-ulps: Update.
68447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68449 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
68451         * .gitignore: Delete /ports entry.
68453 2012-07-03  Andreas Jaeger  <aj@suse.de>
68455         * po/bg.po: Update from translation team.
68456         * po/cs.po: Likewise.
68457         * po/de.po: Likewise.
68458         * po/hr.po: Likewise.
68459         * po/nl.pl: Likewise.
68460         * po/pl.po: Likewise.
68461         * po/vi.po: Likewise.
68463 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
68465         * Makeconfig [!+link] (+link-before-libc): New variable.
68466         [!+link] (+link-after-libc): Likewise.
68467         [!+link] (+link-tests): Likewise.
68468         [!+link] (+link): Define in terms of $(+link-before-libc) and
68469         $(+link-after-libc).
68470         [!+link-static] (+link-static-before-libc): New variable.
68471         [!+link-static] (+link-static-after-libc): Likewise.
68472         [!+link-static] (+link-static-tests): Likewise.
68473         [!+link-static] (+link-static): Define in terms of
68474         $(+link-static-before-libc) and $(+link-static-after-libc).
68475         [build-shared] (link-libc-before-gnulib): New variable.
68476         [build-shared] (link-libc-tests): Likewise.
68477         [build-shared] (link-libc): Define in terms of
68478         $(link-libc-before-gnulib).
68479         [!build-shared] (link-libc-tests): New variable.
68480         (link-libc-static-tests): New variable.
68481         [!gnulib] (gnulib-arch): New variable.
68482         [!gnulib] (gnulib-tests): Likewise.
68483         [!gnulib] (static-gnulib-arch): Likewise.
68484         [!gnulib] (static-gnulib-tests): Likewise.
68485         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
68486         Define with "=" instead of ":=".
68487         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
68488         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
68489         * Rules (binaries-all-notests): New variable.
68490         (binaries-all-tests): Likewise.
68491         (binaries-static-notests): Likewise.
68492         (binaries-static-tests): Likewise.
68493         (binaries-all): Define using $(binaries-all-notests) and
68494         $(binaries-all-tests).
68495         (binaries-static): Define using $(binaries-static-notests) and
68496         $(binaries-static-tests).
68497         (binaries-shared-tests): New variable.
68498         (binaries-shared-notests): Likewise.
68499         (binaries-shared): Remove variable.
68500         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
68501         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
68502         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
68503         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
68504         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
68505         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
68506         * elf/Makefile (sln-modules): New variable.
68507         (extra-objs): Add $(sln-modules:=.o).
68508         (ldconfig-modules): Add static-stubs.
68509         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
68510         * elf/static-stubs.c: New file.
68512         [BZ #14283]
68513         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
68514         by 7 not 8 to examine high bit of fractional part.  Use volatile
68515         variables when splitting into final array of floats if
68516         __FLT_EVAL_METHOD__ != 0.
68517         * math/libm-test.inc (cos_test): Add another test.
68518         (sin_test): Likewise.
68519         * sysdeps/i386/fpu/libm-test-ulps: Update.
68521         [BZ #14273]
68522         * math/libm-test.inc (cosh_test): Add more tests.
68524         * version.h (RELEASE): Set to "development".
68525         (VERSION): Set to "2.16.90".
68527 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
68529         * NEWS: Update copyright. Remove last-updated date.
68530         Mention math library bug fixes and timezone data changes.
68531         * README: Mention GNU/Hurd, x32, and HPPA support status.
68533 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
68535         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
68537 2012-06-27  Andreas Jaeger  <aj@suse.de>
68539         * manual/contrib.texi (Contributors): Add Samuel Thibault.
68541 2012-06-25  Andreas Jaeger  <aj@suse.de>
68543         * sysdeps/s390/fpu/libm-test-ulps: Update.
68545 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
68546             Thomas Schwinge  <thomas@codesourcery.com>
68548         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
68549         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
68550         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
68551         fanotify_mark.
68553 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
68555         * sysdeps/mach/start.c: Remove file.
68556         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
68557         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
68558         * sysdeps/sh/init-first.c: Likewise.
68560         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
68561         registers for frame unwinding purposes, add CFI directives.
68562         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
68563         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
68564         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
68565         Likewise.
68567         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
68568         __fortify_fail returning.
68569         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
68571         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
68572         sysdeps/sh/____longjmp_chk.S.
68573         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
68574         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
68575         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
68576         (gen-as-const-headers): Append sigaltstack-offsets.sym.
68578         * sysdeps/sh/abort-instr.h: New file.
68579         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
68580         process in case exit returns.
68582         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
68583         initialize the GOT register before use.
68585         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
68586         calculation of ARGC > 4.
68588         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
68589         meaningful names to some local labels.
68591 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68592             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
68594         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
68595         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
68596         (__arch_compare_and_exchange_val_16_acq): Likewise.
68597         (__arch_compare_and_exchange_val_32_acq): Likewise.
68598         (atomic_exchange_and_add): Fix gUSA sequence.
68599         (atomic_add): Likewise.
68600         (atomic_add_negative): Likewise.
68601         (atomic_add_zero): Likewise.
68602         (atomic_bit_test_set): Likewise.
68604 2012-06-22  Andreas Schwab  <schwab@redhat.com>
68606         [BZ #13579]
68607         * include/link.h (struct link_map): Add l_free_initfini.
68608         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
68609         l_initfini.
68610         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
68611         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
68612         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
68613         set.
68615 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
68617         * configure.in: Use AC_LANG_SOURCE.
68618         * configure: Regenerate.
68620 2012-06-22  Roland McGrath  <roland@hack.frob.com>
68622         * configure.in (libc_cv_localstatedir): New substituted variable.
68623         * configure: Regenerated.
68624         * config.make.in (localstatedir): New variable, substituted from
68625         libc_cv_localstatedir.
68626         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
68627         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
68628         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
68629         * sysdeps/gnu/configure: Regenerated.
68631 2012-06-21  Jeff Law  <law@redhat.com>
68633         [BZ #14277]
68634         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
68635         free.  Simplify list management for _LIBC case.
68637 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
68639         [BZ #14273]
68640         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
68641         Clear sign bit of 64-bit integer value before comparing against
68642         overflow value.
68644         * sysdeps/mach/configure: Regenerated.
68646 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
68648         [BZ #14278]
68649         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
68651 2012-06-21  Jeff Law  <law@redhat.com>
68653         [BZ #13882]
68654         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
68655         uint16_t for elements in the "seen" array to avoid char overflows.
68656         * elf/dl-fini.c (_dl_sort_fini): Likewise.
68657         * elf/dl-open.c (dl_open_worker): Likewise.
68659 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
68661         * scripts/list-sources.sh: Scan PORTS for translations.
68662         * po/libc.pot: Regenerated.
68664 2012-06-21  Andreas Jaeger  <aj@suse.de>
68666         [BZ #12194]
68667         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
68668         warning.
68669         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
68670         * bits/byteswap-16.h (__bswap_16): Likewise.
68671         * bits/byteswap.h (__bswap_constant_16): Likewise.
68673 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
68675         [BZ #14117]
68676         * sysdeps/i386/fpu_control.h: Removed.
68677         * sysdeps/x86_64/fpu_control.h: Moved to ...
68678         * sysdeps/x86/fpu_control.h: Here.
68680         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
68681         (_FPU_SETCW): Likewise.
68683 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
68685         [BZ #14117]
68686         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
68687         * sysdeps/x86/fpu/bits/mathinline.h: This.
68688         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
68690         [BZ #14050]
68691         [BZ #14117]
68692         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
68693         functions if __x86_64__ is defined.
68695 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
68697         * string/endian.h: Add !__ASSEMBLER__ condition for including
68698         conversion interfaces.
68700 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
68702         [BZ #14241]
68703         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
68704         of ABS(x) in calculating zero to negative powers other than odd
68705         integers.
68706         * math/libm-test.inc (pow_test): Add more tests.
68708 2012-06-15  Andreas Jaeger  <aj@suse.de>
68710         * manual/contrib.texi (Contributors): Update entry of Liubov
68711         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
68712         Machado Filho.
68714 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
68716         * string/string.h: Add __wur to GNU version of strerror_r.
68718 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
68720         [BZ #14229]
68721         * string/Makefile (tests): Add tst-strtok_r.
68722         * string/tst-strtok_r.c: New file.
68723         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
68724         RAX_LP/RDX_LP on SAVE_PTR.
68726 2012-06-14  Roland McGrath  <roland@hack.frob.com>
68728         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
68730 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
68732         * libm_test.inc (csqrt_test): Allow more spurious underflow
68733         exceptions.
68734         (j0_test): Likewise.
68735         (j1_test): Likewise.
68736         (y0_test): Likewise.
68737         (y1_test): Likewise.
68739 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
68741         * po/Makefile (libc.pot): Use UTF-8 charset.
68743 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
68745         [BZ #14210]
68746         Suppress sign-conversion warning from FD_SET.
68747         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
68748         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
68749         not unsigned long int.
68750         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
68752 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
68754         [BZ #14050]
68755         [BZ #14117]
68756         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
68757         __extern_always_inline instead of __extern_inline.
68758         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
68759         (__signbit): Likewise.
68760         (__signbitl): Support C++ namespace.
68761         (lrintf): New inline function.
68762         (lrint): Likewise.
68763         (llrintf): Likewise.
68764         (llrint): Likewise.
68765         (fmaxf): Likewise.
68766         (fmax): Likewise.
68767         (fminf): Likewise.
68768         (fmin): Likewise.
68769         (rint): Likewise.
68770         (rintf): Likewise.
68771         (ceil): Likewise.
68772         (ceilf): Likewise.
68773         (floor): Likewise.
68774         (floorf): Likewise.
68775         (nearbyint): Likewise.
68776         (nearbyintf): Likewise.
68778 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
68780         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
68781         non-default versions.
68783 2012-06-11  Roland McGrath  <roland@hack.frob.com>
68785         [BZ #14218]
68786         * manual/argp.texi (Argp): Reword argp_parse description slightly.
68788 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
68790         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
68791         (FE_UPWARD, FE_DOWNWARD): Don't define.
68792         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
68793         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
68795         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
68796         reading it.
68797         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
68798         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
68800 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
68802         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
68803         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
68804         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
68805         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
68807 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
68809         [BZ #14117]
68810         * sysdeps/i386/fpu/bits/fenv.h: Removed.
68811         * sysdeps/i386/fpu/Implies: New file.
68812         * sysdeps/x86_64/fpu/Implies: Likewise.
68813         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
68814         * sysdeps/x86/fpu/bits/fenv.h: This.
68816         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
68817         __SSE_MATH__.
68819 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
68821         [BZ #14134]
68822         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
68823         character 0xffff that matches the last element of the
68824         conversion table.
68826 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68828         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
68829         fmodl commit.
68831 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68833         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
68834         values higher than 25.6283.
68836 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68838         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
68839         subnormal exponent extraction and add some __builtin_expect.
68840         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
68841         Fix for subnormal mantissa calculation.
68843 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
68845         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
68846         cpu2 is -1 and errno is not ENOSYS.
68848 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
68850         [BZ #14117]
68851         * sysdeps/i386/i486/bits/string.h: Renamed to ...
68852         * sysdeps/x86/bits/string.h: This.
68853         * sysdeps/x86_64/bits/string.h: Removed.
68855         * sysdeps/i386/i486/bits/string.h: Define inline functions only
68856         if not compiling for x86-64, but compiling for >= i486.
68858         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
68859         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
68861         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
68862         New macro from Linux kernel 3.4.0.
68863         (FP_XSTATE_MAGIC2): Likewise.
68864         (FP_XSTATE_MAGIC2_SIZE): Likewise.
68865         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
68866         (struct _fpx_sw_bytes): New struct.
68867         (struct _xsave_hdr): Likewise.
68868         (struct _ymmh_state): Likewise.
68869         (struct _xstate): Likewise.
68871         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
68872         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
68873         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
68874         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
68875         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
68876         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
68878         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
68879         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
68880         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
68881         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
68882         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
68883         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
68885 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68887         [BZ #13743]
68888         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
68889         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
68890         (sysdep_headers): Include sys/platform/ppc.h.
68891         * sysdeps/powerpc/test-gettimebase.c: Test for
68892         __ppc_get_timebase() to catch future ISA opcode/insn changes.
68893         * manual/Makefile (appendices): Include platform.texi.
68894         * manual/contrib.texi (Contributors): Update @node pointers.
68895         * manual/maint.texi (Maintenance): Likewise.
68896         (Platform): New node.
68897         * manual/platform.texi: New file.  Document the new features.
68899 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
68900             Jakub Jelinek  <jakub@redhat.com>
68902         [BZ #14188]
68903         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
68904         where __builtin_expect is unavailable.
68906 2012-06-03  David S. Miller  <davem@davemloft.net>
68908         * stdlib/longlong.h: Updated from GCC.
68910 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
68912         [BZ #14042]
68913         * sysdeps/powerpc/powerpc32/mcount.c: New file.
68914         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
68915         __mcount_internal.
68916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
68917         (GLIBC_2.16): Likewise.
68919 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
68921         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
68923 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
68925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
68926         (default-abi): New variable.
68927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
68928         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
68929         variable.
68930         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
68931         Likewise.
68932         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
68933         Likewise.
68934         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
68935         Likewise.
68937         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
68938         definition.  Document in comment.
68940 2012-06-01  David S. Miller  <davem@davemloft.net>
68942         * stdlib/longlong.h: Updated from GCC.
68944 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
68946         [BZ #14117]
68947         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
68948         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
68949         sys/debugreg.h sys/io.h here.
68950         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
68951         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
68952         sys/io.h.
68953         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
68954         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
68955         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
68956         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
68957         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
68958         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
68960         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
68961         Define only if __x86_64__ is defined.
68963 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
68965         [BZ #14048]
68966         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
68967         Use int64_t for variable i.
68968         * math/libm-test.inc (fmod_test): Add more tests.
68970         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
68971         z computation is not scheduled after fetestexcept.
68972         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
68973         Use math_force_eval instead of asm to ensure calculation scheduled
68974         before exception test.
68975         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
68976         Ensure a1 + u.d computation is not scheduled after fetestexcept.
68978 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
68980         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
68981         computation is not scheduled after fetestexcept.
68983 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
68985         [BZ #14117]
68986         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
68987         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
68989 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68991         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
68992         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
68994 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
68996         [BZ #14117]
68997         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
68998         <bits/wordsize.h>.
68999         (__WCHAR_MIN): Support __WORDSIZE == 64.
69000         (__WCHAR_MAX): Likewise.
69002         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
69003         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
69005         [BZ #14183]
69006         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
69007         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
69009         [BZ #14117]
69010         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
69011         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
69013         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
69014         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
69016         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
69017         Defined to 1 if __x86_64__ isn't defined.
69018         (_STAT_VER_LINUX_OLD): New.
69019         (st_atime): Remove duplicate.
69020         (st_mtime): Likewise.
69021         (st_ctime): Likewise.
69023 2012-05-31  David S. Miller  <davem@davemloft.net>
69025         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
69026         entries.
69028 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
69030         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
69031         gen-libm-test.pl.
69033         [BZ #14132]
69034         * elf/dl-reloc.c: Include <_itoa.h>.
69035         (_dl_reloc_bad_type): Remove use of INTUSE.
69036         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
69037         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
69038         * stdio-common/psiginfo.c (psiginfo): Likewise.
69039         * stdio-common/psignal.c (psignal): Likewise.
69040         * string/strsignal.c (strsignal): Likewise.
69041         * include/signal.h (_sys_siglist): Declare hidden proto.
69042         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
69043         INTVARDEF with libc_hidden_data_def.
69044         * stdio-common/itoa-udigits.c: Likewise.
69045         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
69046         (_itoa_lower_digits_internal): Remove declaration.
69047         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
69048         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
69049         (_sys_sigabbrev_internal): Remove aliases.
69050         (_sys_siglist): Define hidden alias.
69052 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
69054         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69055         bits/sysctl.h.
69057 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
69059         [BZ #14117]
69060         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
69061         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
69063         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
69064         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
69065         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
69066         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
69067         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
69068         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
69070         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
69071         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
69072         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
69074         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
69075         with __addr.
69076         (insw): Likewise.
69077         (insl): Likewise.
69078         (outsb): Likewise.
69079         (outsw): Likewise.
69080         (outsl): Likewise.
69082         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
69083         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
69084         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
69086         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
69087         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
69088         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
69089         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
69090         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
69091         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
69093         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
69094         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
69096         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
69097         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
69099         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
69100         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
69101         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
69103         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
69104         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
69105         to ...
69106         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
69108         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
69109         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
69110         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
69112         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
69113         for x86-64.
69114         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
69116 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
69118         * math/math.h (M_El): Use two more decimal places.
69119         (M_LOG2El): Likewise.
69120         (M_LOG10El): Likewise.
69121         (M_LN2l): Likewise.
69122         (M_LN10l): Likewise.
69123         (M_PIl): Likewise.
69124         (M_PI_2l): Likewise.
69125         (M_PI_4l): Likewise.
69126         (M_1_PIl): Likewise.
69127         (M_2_PIl): Likewise.
69128         (M_2_SQRTPIl): Likewise.
69129         (M_SQRT2l): Likewise.
69130         (M_SQRT1_2l): Likewise.
69132 2012-05-31  David S. Miller  <davem@davemloft.net>
69134         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
69135         values between float registers.
69136         * sysdeps/sparc/sparc64/memset.S: Likewise.
69137         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69139 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
69141         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
69142         -D_FORTIFY_SOURCE=1.
69143         (CPPFLAGS-tst-longjmp_chk.c): Define.
69144         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
69145         (CPPFLAGS-tst-longjmp_chk2.c): Define.
69146         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
69147         CFLAGS-tst-wchar-h.c.
69149 2012-05-31  Marek Polacek  <polacek@redhat.com>
69151         [BZ #14132]
69152         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
69153         __endmntent_internal): Remove declaration.
69154         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
69155         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
69156         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
69158 2012-05-30  David S. Miller  <davem@davemloft.net>
69160         * sysdeps/sparc/sparc32/soft-fp/q_util.c
69161         (___Q_simulate_exceptions): Use real FP ops rather than writing
69162         into the %fsr.
69163         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
69164         Likewise.
69166 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
69168         [BZ #14117]
69169         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
69170         * sysdeps/x86/bits/xtitypes.h: This.
69172         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
69173         * sysdeps/x86/bits/wordsize.h: This.
69175         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
69176         * sysdeps/x86/bits/huge_vall.h: This.
69178         * sysdeps/i386/bits/select.h: Removed.
69179         * sysdeps/x86_64/bits/select.h: Renamed to ...
69180         * sysdeps/x86/bits/select.h: This.
69182         * sysdeps/i386/bits/setjmp.h: Removed.
69183         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
69184         * sysdeps/x86/bits/setjmp.h: This.
69186         * sysdeps/i386/bits/mathdef.h: Removed.
69187         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
69188         * sysdeps/x86/bits/mathdef.h: This.
69190 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
69192         [BZ #14132]
69193         * include/sys/socket.h (__connect_internal)
69194         (__libc_sa_len_internal): Remove declaration.
69195         (__connect, __libc_sa_len): Declare hidden_proto.
69196         (SA_LEN): Remove use of INTUSE.
69197         * socket/connect.c: Add libc_hidden_def.
69198         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
69199         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
69200         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
69201         alias.
69202         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
69203         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
69204         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
69205         of adding _internal alias.
69207 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
69209         [BZ #14117]
69210         * sysdeps/i386/bits/link.h: Removed.
69211         * sysdeps/i386/bits/linkmap.h: Likewise.
69212         * sysdeps/x86_64/bits/link.h: Renamed to ...
69213         * sysdeps/x86/bits/link.h: This.
69214         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
69215         * sysdeps/x86/bits/linkmap.h: This.
69217         * sysdeps/i386/bits/endian.h: Removed.
69218         * sysdeps/x86_64/bits/endian.h: Renamed to ...
69219         * sysdeps/x86/bits/endian.h: This.
69221         * sysdeps/i386/bits/byteswap.h: Removed.
69222         * sysdeps/i386/bits/byteswap-16.h: Likewise.
69223         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
69224         * sysdeps/x86/bits/byteswap.h: This.
69225         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
69226         * sysdeps/x86/bits/byteswap-16.h: This.
69227         * sysdeps/i386/Implies: Add x86.
69228         * sysdeps/x86_64/Implies: Likewise.
69230 2012-05-30  David S. Miller  <davem@davemloft.net>
69232         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
69233         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
69234         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
69235         (FP_TRAPPING_EXCEPTIONS): Define.
69236         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
69237         (FP_TRAPPING_EXCEPTIONS): Define.
69238         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
69239         subnormals only when inexact has been signalled or underflow
69240         exceptions are enabled.
69241         (_FP_PACK_CANONICAL): Likewise.
69243 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
69245         [BZ #14183]
69246         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
69247         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
69249 2012-05-30  Richard Henderson  <rth@twiddle.net>
69251         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
69252         with #ifndef NOT_IN_libc.
69254         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
69255         marked to avoid plt entry.
69257 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
69259         [BZ #14112]
69260         * Makeconfig (default-abi): New macro.
69261         (abi-includes): Likewise.
69262         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
69263         $(abi-$(default-abi)-lib-soname) for soname if defined.
69264         ($(common-objpfx)gnu/lib-names.stmp): Generate from
69265         abi-variants.
69266         * Makefile (installed-stubs): Likewise.
69267         * include/stubs-biarch.h: Removed.
69268         * scripts/lib-names.awk: Only handle one library at a time.
69269         * scripts/soversions.awk: Remove WORDSIZE support.
69270         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
69271         entries.
69272         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
69273         Removed.
69274         (syscall-list-default-condition): Likewise.
69275         (syscall-list-default-condition): Likewise.
69276         (syscall-list-includes): Likewise.
69277         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
69278         syscall-list-* with abi-*.  Handle undefined abi-variants.
69279         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
69280         * sysdeps/unix/sysv/linux/i386/Implies: New file.
69281         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
69282         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
69283         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
69284         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
69285         Removed.
69286         (syscall-list-32-options): Likewise.
69287         (syscall-list-32-condition): Likewise.
69288         (syscall-list-64-options): Likewise.
69289         (syscall-list-64-condition): Likewise.
69290         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
69291         macro.
69292         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
69293         Renamed to ...
69294         (abi-*): This.
69295         (abi-64-ld-soname): New macro.
69296         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
69297         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
69298         Renamed to ...
69299         (abi-*): This.
69300         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
69301         * sysdeps/x86_64/x32/shlib-versions: Likewise.
69303 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
69305         * sysdeps/unix/sysv/linux/kernel-features.h
69306         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
69307         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
69308         include <kernel-features.h>.
69309         [!__NR_ftruncate64]: Remove conditional code.
69310         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69311         [__NR_ftruncate64]: Make code unconditional.
69312         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69313         * sysdeps/unix/sysv/linux/truncate64.c: Do not
69314         include <kernel-features.h>.
69315         [!__NR_ftruncate64]: Remove conditional code.
69316         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69317         [__NR_ftruncate64]: Make code unconditional.
69318         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
69320         include <kernel-features.h>.
69321         [!__NR_ftruncate64]: Remove conditional code.
69322         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69323         [__NR_ftruncate64]: Make code unconditional.
69324         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
69326         include <kernel-features.h>.
69327         [!__NR_ftruncate64]: Remove conditional code.
69328         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69329         [__NR_ftruncate64]: Make code unconditional.
69330         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69332         * configure.in (libc_cv_fpie): Weaken to a compile test using
69333         LIBC_TRY_CC_OPTION.
69334         * configure: Regenerated.
69336 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69338         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
69339         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
69340         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
69341         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
69342         Refreshed.
69343         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
69344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
69345         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
69346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
69347         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
69348         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
69349         Refreshed.
69351 2012-05-27  David S. Miller  <davem@davemloft.net>
69353         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
69354         (___Q_zero): New.
69355         (__Q_simulate_exceptions): Return void.  Change to simulate
69356         exceptions by writing into the %fsr.
69357         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
69358         (__Qp_handle_exceptions): Likewise.
69359         (numbers): Delete.
69360         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
69361         __Qp_handle_exceptions.
69362         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
69363         __Qp_handle_exceptions.
69364         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
69365         as unused and give dummy FP_RND_NEAREST initializer.
69366         (FP_INHIBIT_RESULTS): Define.
69367         (___Q_simulate_exceptions): Update declaration.
69368         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
69369         formatting.
69370         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
69371         as unused and give dummy FP_RND_NEAREST initializer.
69372         (__Qp_handle_exceptions): Update declaration.
69373         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
69374         formatting.
69376 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
69378         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
69379         the temporary FPU control word.
69380         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
69381         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
69382         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
69383         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
69384         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
69385         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
69386         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
69387         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
69388         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
69389         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
69390         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69392 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
69394         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
69395         fields.
69397 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
69399         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
69400         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
69401         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
69402         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
69403         Likewise.
69404         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
69405         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
69406         Likewise.
69408 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
69410         * po/h.po: Update from translation team.
69412 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
69414         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
69416         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
69417         handling of denormals.
69418         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
69419         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
69420         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
69421         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
69422         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
69423         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
69424         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
69425         Likewise.
69427 2012-05-26  Marek Polacek  <polacek@redhat.com>
69429         [BZ #14152]
69430         * math/libm-test.inc (fma_test): Don't always expect underflow
69431         exception.
69433 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
69435         [BZ #12416]
69436         * elf/tst-execstack.c: Include stackinfo.h.
69437         (do_test): Adjust test case to ensure that pthread_getattr_np
69438         behaviour remains the same after marking stack executable.
69440 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
69442         * sysdeps/unix/sysv/linux/kernel-features.h
69443         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
69444         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
69445         kernel-features.h.
69446         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
69447         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
69448         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
69449         kernel-features.h.
69450         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
69451         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
69453 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
69455         * configure.in: Define the default includes to being none.
69456         * configure: Regenerated.
69458 2012-05-25  Roland McGrath  <roland@hack.frob.com>
69460         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
69461         * sysdeps/x86_64/setjmp.S: Likewise.
69462         * sysdeps/i386/bsd-setjmp.S: Likewise.
69463         * sysdeps/i386/bsd-_setjmp.S: Likewise.
69464         * sysdeps/i386/setjmp.S: Likewise.
69465         * sysdeps/i386/__longjmp.S: Likewise.
69466         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
69467         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
69469         * include/stap-probe.h: New file.
69470         * configure.in: Handle --enable-systemtap.
69471         * configure: Regenerated.
69472         * config.h.in (USE_STAP_PROBE): New #undef.
69473         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
69474         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
69475         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
69477 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
69479         [BZ #13717]
69480         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
69481         to 2.4.0 where earlier.
69482         * sysdeps/unix/sysv/linux/configure: Regenerated.
69483         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
69484         <kernel-features.h>.
69485         [__ASSUME_32BITUIDS]: Make code unconditional.
69486         [!__ASSUME_32BITUIDS]: Remove conditional code.
69487         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
69488         <kernel-features.h>.
69489         [__ASSUME_32BITUIDS]: Make code unconditional.
69490         [!__ASSUME_32BITUIDS]: Remove conditional code.
69491         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
69492         [__ASSUME_32BITUIDS]: Make code unconditional.
69493         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
69494         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
69495         <kernel-features.h>.
69496         [__ASSUME_32BITUIDS]: Make code unconditional.
69497         [!__ASSUME_32BITUIDS]: Remove conditional code.
69498         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
69499         <kernel-features.h>.
69500         [__ASSUME_32BITUIDS]: Make code unconditional.
69501         [!__ASSUME_32BITUIDS]: Remove conditional code.
69502         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
69503         <kernel-features.h>.
69504         [__ASSUME_32BITUIDS]: Make code unconditional.
69505         [!__ASSUME_32BITUIDS]: Remove conditional code.
69506         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
69507         <kernel-features.h>.
69508         [__ASSUME_32BITUIDS]: Make code unconditional.
69509         [!__ASSUME_32BITUIDS]: Remove conditional code.
69510         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
69511         <kernel-features.h>.
69512         [__ASSUME_32BITUIDS]: Make code unconditional.
69513         [!__ASSUME_32BITUIDS]: Remove conditional code.
69514         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
69515         <kernel-features.h>.
69516         [__ASSUME_32BITUIDS]: Make code unconditional.
69517         [!__ASSUME_32BITUIDS]: Remove conditional code.
69518         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
69519         <kernel-features.h>.
69520         [__ASSUME_32BITUIDS]: Make code unconditional.
69521         [!__ASSUME_32BITUIDS]: Remove conditional code.
69522         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
69523         <kernel-features.h>.
69524         [__ASSUME_32BITUIDS]: Make code unconditional.
69525         [!__ASSUME_32BITUIDS]: Remove conditional code.
69526         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
69527         <kernel-features.h>.
69528         [__ASSUME_32BITUIDS]: Make code unconditional.
69529         [!__ASSUME_32BITUIDS]: Remove conditional code.
69530         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
69531         <kernel-features.h>.
69532         [__ASSUME_32BITUIDS]: Make code unconditional.
69533         [!__ASSUME_32BITUIDS]: Remove conditional code.
69534         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
69535         <kernel-features.h>.
69536         [__NR_setresgid] (__setresgid): Do not declare.
69537         [__ASSUME_32BITUIDS]: Make code unconditional.
69538         [!__ASSUME_32BITUIDS]: Remove conditional code.
69539         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
69540         <kernel-features.h>.
69541         [__NR_setresuid] (__setresuid): Do not declare.
69542         [__ASSUME_32BITUIDS]: Make code unconditional.
69543         [!__ASSUME_32BITUIDS]: Remove conditional code.
69544         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
69545         <kernel-features.h>.
69546         [__ASSUME_32BITUIDS]: Make code unconditional.
69547         [!__ASSUME_32BITUIDS]: Remove conditional code.
69548         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
69549         <kernel-features.h>.
69550         [__ASSUME_32BITUIDS]: Make code unconditional.
69551         [!__ASSUME_32BITUIDS]: Remove conditional code.
69552         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
69553         <kernel-features.h>.
69554         [__ASSUME_32BITUIDS]: Make code unconditional.
69555         [!__ASSUME_32BITUIDS]: Remove conditional code.
69556         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
69557         <kernel-features.h>.
69558         [__ASSUME_32BITUIDS]: Make code unconditional.
69559         [!__ASSUME_32BITUIDS]: Remove conditional code.
69560         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
69561         <kernel-features.h>.
69562         [__ASSUME_32BITUIDS]: Make code unconditional.
69563         [!__ASSUME_32BITUIDS]: Remove conditional code.
69564         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
69565         <kernel-features.h>.
69566         [__ASSUME_32BITUIDS]: Make code unconditional.
69567         [!__ASSUME_32BITUIDS]: Remove conditional code.
69568         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
69569         <kernel-features.h>.
69570         [__ASSUME_32BITUIDS]: Make code unconditional.
69571         [!__ASSUME_32BITUIDS]: Remove conditional code.
69572         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
69573         <kernel-features.h>.
69574         [__ASSUME_32BITUIDS]: Make code unconditional.
69575         [!__ASSUME_32BITUIDS]: Remove conditional code.
69576         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
69577         <kernel-features.h>.
69578         [__ASSUME_32BITUIDS]: Make code unconditional.
69579         [!__ASSUME_32BITUIDS]: Remove conditional code.
69580         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
69581         <kernel-features.h>.
69582         [__ASSUME_32BITUIDS]: Make code unconditional.
69583         [!__ASSUME_32BITUIDS]: Remove conditional code.
69584         * sysdeps/unix/sysv/linux/kernel-features.h
69585         (__ASSUME_SETRESUID_SYSCALL): Remove.
69586         (__ASSUME_SETRESGID_SYSCALL): Likewise.
69587         (__ASSUME_32BITUIDS): Likewise.
69588         (__ASSUME_LDT_WORKS): Likewise.
69589         (__ASSUME_O_DIRECTORY): Likewise.
69590         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
69591         architecture but not kernel version.
69592         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
69593         (__ASSUME_MMAP2_SYSCALL): Likewise.
69594         (__ASSUME_STAT64_SYSCALL): Likewise.
69595         (__ASSUME_IPC64): Likewise.
69596         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
69597         <kernel-features.h>.
69598         [__ASSUME_32BITUIDS]: Make code unconditional.
69599         [!__ASSUME_32BITUIDS]: Remove conditional code.
69600         * sysdeps/unix/sysv/linux/opendir.c: Do not include
69601         <kernel-features.h>.
69602         [__ASSUME_O_DIRECTORY]: Make code unconditional.
69603         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
69604         132096]: Remove conditional code.
69605         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
69606         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
69607         <kernel-features.h>.
69608         [__ASSUME_32BITUIDS]: Make code unconditional.
69609         [!__ASSUME_32BITUIDS]: Remove conditional code.
69610         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
69611         <kernel-features.h>.
69612         [__ASSUME_32BITUIDS]: Make code unconditional.
69613         [!__ASSUME_32BITUIDS]: Remove conditional code.
69614         * sysdeps/unix/sysv/linux/setegid.c: Do not include
69615         <kernel-features.h>.
69616         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
69617         unconditional.
69618         (__setresgid): Do not declare.
69619         [__ASSUME_32BITUIDS]: Make code unconditional.
69620         [!__ASSUME_32BITUIDS]: Remove conditional code.
69621         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
69622         <kernel-features.h>.
69623         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
69624         unconditional.
69625         (__setresuid): Do not declare.
69626         [__ASSUME_32BITUIDS]: Make code unconditional.
69627         [!__ASSUME_32BITUIDS]: Remove conditional code.
69628         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
69629         <kernel-features.h>.
69630         [__ASSUME_32BITUIDS]: Make code unconditional.
69631         [!__ASSUME_32BITUIDS]: Remove conditional code.
69632         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
69633         <kernel-features.h>.
69634         [__ASSUME_32BITUIDS]: Make code unconditional.
69635         [!__ASSUME_32BITUIDS]: Remove conditional code.
69637 2012-05-25  Richard Henderson  <rth@twiddle.net>
69639         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
69640         dl_hwcap to ifunc resolver.
69641         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
69642         elf_ifunc_invoke.
69643         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
69644         dl_hwcap to ifunc resolver.
69645         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
69647 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
69649         [BZ #14153]
69650         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
69651         for |x| <= 2**-26, not 2**-57.
69652         * math/libm-test.inc (acos_test): Do not allow spurious underflow
69653         exception.
69655 2012-05-24  Jeff Law  <law@redhat.com>
69657         * stdio-common/Makefile (tests): Add bug25.
69658         * stdio-common/bug25.c: New test.
69660 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
69662         [BZ #13576]
69663         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
69664         multiple of MALLOC_ALIGNMENT in size.
69665         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
69667 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
69669         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
69670         Require >= 256.
69671         (FILENAME_MAX): Use macro-int-constant.
69672         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
69673         (_IOFBF): Use macro-int-constant.
69674         (_IOLBF): Likewise.
69675         (_IONBF): Likewise.
69676         (SEEK_CUR): Likewise.
69677         (SEEK_END): Likewise.
69678         (SEEK_SET): Likewise.
69679         (TMP_MAX): Likewise.
69680         (EOF): Use macro-int-constant.  Require < 0.
69681         (NULL): Use macro-constant.  Require == 0.
69682         (stdin): Require type to be FILE *.
69683         (stdout): Likewise.
69684         (stderr): Likewise.
69685         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
69686         macro-int-constant.
69687         (EXIT_SUCCESS): Likewise.
69688         (NULL): Use macro-constant.  Require == 0.
69689         (RAND_MAX): Use macro-int-constant.
69690         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
69691         [C99-based standards] (strtof): Require function.
69692         [C99-based standards] (strtold): Likewise.
69693         [C99-based standards] (strtoll): Likewise.
69694         [C99-based standards] (strtoull): Likewise.
69695         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
69696         [ISO || ISO99 || ISO11] (limits.h): Likewise.
69697         [ISO || ISO99 || ISO11] (math.h): Likewise.
69698         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
69699         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
69700         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69702 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
69704         [BZ #14132]
69705         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
69706         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
69707         * intl/dgettext.c (DCGETTEXT): Likewise.
69708         * intl/gettext.c (DCGETTEXT): Likewise.
69709         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
69710         * posix/regex_internal.h (gettext): Likewise.
69711         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
69712         Remove declaration.
69713         * include/argz.h (__argz_count_internal)
69714         (__argz_stringify_internal): Remove declaration.
69715         (__argz_count, __argz_stringify): Declare hidden proto.
69716         * intl/dcgettext.c: Remove use of INTDEF.
69717         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
69718         * string/argz-stringify.c: Likewise.
69719         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
69720         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
69721         Declare hidden proto.
69722         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
69723         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
69724         Declare hidden proto.
69725         * include/stdio.h (__asprintf_internal): Don't declare.
69726         (__asprintf): Don't define as macro.  Declare hidden proto.
69727         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
69728         (__fsetlocking): Declare hidden proto.
69729         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
69730         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
69731         hidden proto.
69732         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
69733         (_IO_setlinebuf): Remove use of INTUSE.
69734         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
69735         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
69736         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
69737         Remove declaration.
69738         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
69739         (_IO_do_flush): Remove use of INTUSE.
69740         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
69741         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
69742         (_IO_adjust_column, _IO_least_wmarker)
69743         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
69744         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
69745         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
69746         (_IO_default_doallocate, _IO_wdefault_doallocate)
69747         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
69748         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
69749         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
69750         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
69751         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
69752         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
69753         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
69754         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
69755         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
69756         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
69757         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
69758         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
69759         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
69760         proto.
69761         (_IO_flush_all_internal, _IO_adjust_column_internal)
69762         (_IO_default_uflow_internal, _IO_default_finish_internal)
69763         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
69764         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
69765         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
69766         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
69767         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
69768         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
69769         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
69770         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
69771         (_IO_file_close_internal, _IO_file_close_it_internal)
69772         (_IO_file_underflow_internal, _IO_file_overflow_internal)
69773         (_IO_file_init_internal, _IO_file_attach_internal)
69774         (_IO_file_fopen_internal, _IO_file_read_internal)
69775         (_IO_file_sync_internal, _IO_file_seek_internal)
69776         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
69777         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
69778         (_IO_str_underflow_internal, _IO_str_overflow_internal)
69779         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
69780         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
69781         (_IO_list_all_internal, _IO_link_in_internal)
69782         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
69783         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
69784         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
69785         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
69786         (_IO_do_write_internal, _IO_padn_internal)
69787         (_IO_getline_info_internal, _IO_getline_internal)
69788         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
69789         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
69790         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
69791         (_IO_vfscanf_internal, _IO_vfprintf_internal)
69792         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
69793         (_IO_init_internal, _IO_un_link_internal): Don't declare.
69794         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
69795         with libc_hidden_ver, remove use of INTUSE.
69796         * libio/genops.c: Likewise.
69797         * libio/freopen.c: Likewise.
69798         * libio/freopen64.c: Likewise.
69799         * libio/iofclose.c: Likewise.
69800         * libio/iofdopen.c: Likewise.
69801         * libio/iofflush.c: Likewise.
69802         * libio/iofflush_u.c: Likewise.
69803         * libio/iofgets.c: Likewise.
69804         * libio/iofgets_u.c: Likewise.
69805         * libio/iofopen.c: Likewise.
69806         * libio/iofopncook.c: Likewise.
69807         * libio/iofread.c: Likewise.
69808         * libio/iofread_u.c: Likewise.
69809         * libio/ioftell.c: Likewise.
69810         * libio/iofwrite.c: Likewise.
69811         * libio/iogetline.c: Likewise.
69812         * libio/iogets.c: Likewise.
69813         * libio/iogetwline.c: Likewise.
69814         * libio/iopadn.c: Likewise.
69815         * libio/iopopen.c: Likewise.
69816         * libio/ioseekoff.c: Likewise.
69817         * libio/ioseekpos.c: Likewise.
69818         * libio/iosetbuffer.c: Likewise.
69819         * libio/iosetvbuf.c: Likewise.
69820         * libio/ioungetc.c: Likewise.
69821         * libio/ioungetwc.c: Likewise.
69822         * libio/iovdprintf.c: Likewise.
69823         * libio/iovsprintf.c: Likewise.
69824         * libio/iovsscanf.c: Likewise.
69825         * libio/memstream.c: Likewise.
69826         * libio/obprintf.c: Likewise.
69827         * libio/oldfileops.c: Likewise.
69828         * libio/oldiofclose.c: Likewise.
69829         * libio/oldiofdopen.c: Likewise.
69830         * libio/oldiofopen.c: Likewise.
69831         * libio/oldiopopen.c: Likewise.
69832         * libio/oldstdfiles.c: Likewise.
69833         * libio/putc.c: Likewise.
69834         * libio/setbuf.c: Likewise.
69835         * libio/setlinebuf.c: Likewise.
69836         * libio/stdfiles.c: Likewise.
69837         * libio/strops.c: Likewise.
69838         * libio/vasprintf.c: Likewise.
69839         * libio/vscanf.c: Likewise.
69840         * libio/vsnprintf.c: Likewise.
69841         * libio/vswprintf.c: Likewise.
69842         * libio/wfiledoalloc.c: Likewise.
69843         * libio/wfileops.c: Likewise.
69844         * libio/wgenops.c: Likewise.
69845         * libio/wmemstream.c: Likewise.
69846         * libio/wstrops.c: Likewise.
69847         * libio/__fpurge.c: Likewise.
69848         * libio/__fsetlocking.c: Likewise.
69849         * assert/assert.c: Likewise.
69850         * debug/fgets_chk.c: Likewise.
69851         * debug/fgets_u_chk.c: Likewise.
69852         * debug/fread_chk.c: Likewise.
69853         * debug/fread_u_chk.c: Likewise.
69854         * debug/gets_chk.c: Likewise.
69855         * debug/obprintf_chk.c: Likewise.
69856         * debug/vasprintf_chk.c: Likewise.
69857         * debug/vdprintf_chk.c: Likewise.
69858         * debug/vsnprintf_chk.c: Likewise.
69859         * debug/vsprintf_chk.c: Likewise.
69860         * malloc/mtrace.c: Likewise.
69861         * misc/error.c: Likewise.
69862         * misc/syslog.c: Likewise.
69863         * stdio-common/asprintf.c: Likewise.
69864         * stdio-common/fxprintf.c: Likewise.
69865         * stdio-common/getw.c: Likewise.
69866         * stdio-common/isoc99_fscanf.c: Likewise.
69867         * stdio-common/isoc99_scanf.c: Likewise.
69868         * stdio-common/isoc99_vfscanf.c: Likewise.
69869         * stdio-common/isoc99_vscanf.c: Likewise.
69870         * stdio-common/isoc99_vsscanf.c: Likewise.
69871         * stdio-common/printf-prs.c: Likewise.
69872         * stdio-common/printf_fp.c: Likewise.
69873         * stdio-common/printf_fphex.c: Likewise.
69874         * stdio-common/printf_size.c: Likewise.
69875         * stdio-common/putw.c: Likewise.
69876         * stdio-common/scanf.c: Likewise.
69877         * stdio-common/sprintf.c: Likewise.
69878         * stdio-common/tmpfile.c: Likewise.
69879         * stdio-common/vfprintf.c: Likewise.
69880         * stdio-common/vfscanf.c: Likewise.
69881         * stdlib/strfmon_l.c: Likewise.
69882         * sunrpc/openchild.c: Likewise.
69883         * sunrpc/xdr_stdio.c: Likewise.
69884         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
69885         * sysdeps/mach/hurd/tmpfile.c: Likewise.
69887 2012-05-24  Roland McGrath  <roland@hack.frob.com>
69889         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
69891         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
69892         in the third column, to generate for the shared library an IFUNC
69893         that uses _dl_vdso_vsym.
69894         * Makerules (COMPILE.c, compile-stdin.c): New variables.
69895         * Makeconfig (object-suffixes-noshared): New variable.
69897         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
69898         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
69899         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
69900         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
69902         [BZ #14132]
69903         * include/sys/time.h (__gettimeofday): Remove macro.
69904         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
69905         * time/gettimeofday.c (__gettimeofday): Remove #undef.
69906         Remove INTDEF.
69907         (__gettimeofday): Add libc_hidden_def.
69908         (gettimeofday): Add libc_hidden_weak.
69909         * sysdeps/mach/gettimeofday.c: Likewise.
69910         * sysdeps/posix/gettimeofday.c: Likewise.
69911         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
69912         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
69913         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
69914         (__gettimeofday_internal): Remove strong_alias.
69915         (__gettimeofday): Add libc_hidden_def.
69916         (gettimeofday): Add libc_hidden_weak.
69917         * sysdeps/unix/syscalls.list (gettimeofday):
69918         Remove __gettimeofday_internal alias.
69920 2012-05-24  Daniel Jacobowitz  <drow@false.org>
69921             H.J. Lu  <hongjiu.lu@intel.com>
69923         [BZ #12495]
69924         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
69925         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
69926         (largebin_index_32_big): New.
69927         (largebin_index): Use it for 16-byte alignment.
69928         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
69929         correction with front_misalign.
69931 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
69933         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
69934         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
69935         Likewise.
69936         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
69937         Likewise.
69938         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
69939         Likewise.
69940         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
69941         Likewise.
69942         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
69943         Likewise.
69944         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
69945         Likewise.
69946         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
69947         Likewise.
69948         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
69949         Likewise.
69950         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
69951         Likewise.
69952         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
69953         Likewise.
69954         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
69955         Likewise.
69956         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
69957         Likewise.
69959         * scripts/data/c++-types-x32-linux-gnu.data: New file.
69960         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
69962 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
69964         [BZ #10846]
69965         [BZ #14036]
69966         * math/libm-test.inc (exp_test): Add test from bug 14036.
69967         (pow_test): Add test from bug 10846.
69969         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
69970         and other flags.
69971         (special_function): Do not include flags in test name.
69972         (parse_args): Likewise.
69973         * sysdeps/i386/fpu/libm-test-ulps: Update.
69974         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69975         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
69976         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
69977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69979         * math/gen-libm-test.pl (%beautify): Add entries for underflow
69980         exceptions.
69981         * math/libm-test.inc ("Philosophy"): Update comment about
69982         exception testing.
69983         (UNDERFLOW_EXCEPTION): New macro.
69984         (UNDERFLOW_EXCEPTION_OK): Likewise.
69985         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
69986         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
69987         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
69988         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
69989         (INVALID_EXCEPTION_OK): Update value.
69990         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
69991         (OVERFLOW_EXCEPTION_OK): Likewise.
69992         (IGNORE_ZERO_INF_SIGN): Likewise.
69993         (test_exceptions): Handle underflow exceptions.
69994         (acos_test): Update for underflow exception expectations.
69995         (cexp_test): Likewise.
69996         (clog_test): Likewise.
69997         (clog10_test): Likewise.
69998         (csqrt_test): Likewise.
69999         (ctan_test): Likewise.
70000         (ctanh_test): Likewise.
70001         (exp_test): Likewise.
70002         (exp10_test): Likewise.
70003         (exp2_test): Likewise.
70004         (expm1_test): Likewise.
70005         (fma_test): Likewise.
70006         (j0_test): Likewise.
70007         (jn_test): Likewise.
70008         (nexttoward_test): Likewise.
70009         (pow_test): Likewise.
70010         (scalbn_test): Likewise.
70011         (scalbln_test): Likewise.
70012         (tan_test): Likewise.
70013         (y1_test): Likewise.
70014         * sysdeps/i386/fpu/libm-test-ulps: Update.
70015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70017 2012-05-23  David S. Miller  <davem@davemloft.net>
70019         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
70020         (__libc_sigaction): Remove unused local variables.
70022 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
70024         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
70026 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
70028         mktime: avoid signed integer overflow
70029         * time/mktime.c (__mktime_internal): Do not mishandle the case
70030         where diff == INT_MIN.
70032         mktime: simplify computation of average
70033         * time/mktime.c (ranged_convert): Use new time_t_avg function
70034         instead of rolling our own (probably-slower) code.
70036         mktime: do not assume signed right shift propagates sign bit
70037         * time/mktime.c (isdst_differ): New static function.
70038         (__mktime_internal): No need to normalize tm_isdst now.
70039         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
70040         tm_isdst values.
70042         mktime: merge another wrapv change from gnulib
70043         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
70044         from some compilers.
70046         mktime: remove incorrect attempt at unusual arithmetics
70047         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
70048         The code didn't really work on such machines anyway.
70049         (TYPE_MINIMUM): Assume two's complement.
70050         (twos_complement_arithmetic): Verify that long_int and time_t
70051         are two's complement (or unsigned, in the latter case).
70053         mktime: check signed shifts on long_int and time_t, too
70054         * time/mktime.c (SHR): Check that shifts work as desired
70055         on the types long_int and time_t too, as SHR is used on
70056         such types.
70058         mktime: do not assume 'long' is wide enough
70059         * time/mktime.c (verify): Move decl up.
70060         (long_int): New type.
70061         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
70062         to remove assumption in the code that 'long' is wide enough to
70063         store year values.  This assumption is not true on x32 and on
70064         some non-glibc platforms.
70066         mktime: merge wrapv change from gnulib
70067         * time/mktime.c (WRAPV): New macro.
70068         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
70069         (guess_time_tm, __mktime_internal): Do not assume that signed
70070         integer overflow wraps around; modern compilers generate code
70071         where this assumption is no longer valid.
70073 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
70075         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70076         Replace "jmp L(pseudo_end)" with "ret".
70077         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
70078         Likewise.
70080 2012-05-23  Andreas Jaeger  <aj@suse.de>
70082         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
70083         * sysdeps/unix/sysv/linux/poll.c: Remove file.
70085 2012-05-23  Andreas Jaeger  <aj@suse.de>
70086             Maximilian Attems  <max@stro.at>
70088         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
70089         New macros.
70091 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
70093         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
70094         code so that pseudo_end is just ret and the stack pointer is
70095         correct also for static library in error case.
70097 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
70099         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
70100         move to syscalls.list.
70101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
70102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
70103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
70104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
70106         * manual/install.texi (Running make install): Do not mention Linux
70107         kernel version for which pt_chown is not needed.
70108         (Linux): Do not mention problems with nscd with 2.0 kernels.
70109         * INSTALL: Regenerated.
70111 2012-05-23  Andreas Jaeger  <aj@suse.de>
70113         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
70114         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
70115         macro.
70116         * sysdeps/unix/sysv/linux/s390/bits/mman.h
70117         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70118         * sysdeps/unix/sysv/linux/sh/bits/mman.h
70119         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70120         * sysdeps/unix/sysv/linux/i386/bits/mman.h
70121         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70122         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
70123         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70124         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
70125         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70126         * sysdeps/unix/sysv/linux/bits/in.h
70127         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
70129 2012-05-22  Roland McGrath  <roland@hack.frob.com>
70131         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
70132         (PREPARE_VERSION): Just use assert instead, it will be elided
70133         under [NDEBUG] anyway.
70135 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
70137         * sysdeps/unix/sysv/linux/Makefile: Include
70138         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
70139         (sysdep_routines): Remove sysctl.
70140         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
70141         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
70142         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
70143         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
70144         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
70146 2012-05-22  Andreas Jaeger  <aj@suse.de>
70148         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
70149         that pseudo_end is just ret and the stack pointer is correct also
70150         for static library in error case.
70152 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
70154         [BZ #14122]
70155         * nss/nsswitch.c (defconfig_entries): New variable.
70156         (__nss_database_lookup): Don't leak defconfig entries.
70157         (nss_parse_service_list): Don't leak on error paths.
70158         (free_database_entries): New function.
70159         (free_defconfig): New function.
70160         (free_mem): Move common code to free_database_entries.
70162 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
70164         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
70165         Add arch_prctl.
70166         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
70168         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
70169         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
70170         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
70171         New macro.
70172         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
70173         (INTERNAL_SYSCALL_TYPES): Likewise.
70174         (LOAD_ARGS_TYPES_[1-6]): Likewise.
70175         (LOAD_REGS_TYPES_[1-6]): Likewise.
70176         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
70177         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
70179 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70181         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
70182         copysignl for GLIBC_2_0.
70183         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
70184         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
70185         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
70186         logbl for GLIBC_2_0.
70187         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
70188         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
70190 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
70192         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
70193         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
70195         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70196         Use "neg %eax".
70198         * time/mktime.c: Update copyright years.
70200 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
70202         mktime: merge comment-quoting-style change from gnulib
70203         * time/mktime.c: Quote 'like this' in comments.
70204         The GNU coding standards suggest that we no longer quote `like this',
70205         as "`" and "'" are typically rendered asymmetrically nowadays.
70206         The typical gnulib style is to quote 'like this' when quoting
70207         code, and "like this" when quoting English.
70209         * time/mktime.c (compile-command): Add "-I.".
70211         mktime: merge mktime-internal.h change from gnulib
70212         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
70214         mktime: merge time_r change from gnulib
70215         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
70217         mktime: merge DEBUG change from gnulib
70218         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
70219         case system <time.h> has a #define.
70221         mktime: merge <sys/types.h> change from gnulib
70222         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
70223         since <time.t> is now guaranteed to define time_t.
70225         mktime: merge HAVE_CONFIG_H change from gnulib
70226         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
70228 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
70230         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
70231         Use "neg %eax".
70233         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
70234         __rlim_t cast.
70235         (struct rusage): Use anonymous union to pad each field to
70236         __syscall_slong_t.
70238 2012-05-21  David S. Miller  <davem@davemloft.net>
70240         * Makefules (o-iterator): Remove .s cases.
70241         (compile-command.s): Delete.
70242         (COMPILE.s): Delete.
70243         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
70245 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
70247         * configure.in (libc_cv_predef_stack_protector): Only consider
70248         "foobar" and "__stack_chk_fail" lines in libc_undefs.
70249         * configure: Regenerated.
70251 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
70253         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
70254         New macro.  Use R*LP on int and pointer.
70255         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
70256         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
70257         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
70258         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
70260         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
70261         [__WORDSIZE_TIME64_COMPAT32] instead of
70262         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
70263         (struct utmp): Likewise.
70264         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
70265         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
70266         Renamed to ...
70267         (__WORDSIZE_TIME64_COMPAT32): This.
70268         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
70269         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
70270         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
70271         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
70272         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
70273         (__WORDSIZE_TIME64_COMPAT32): New macro.
70275 2012-05-21  Andreas Jaeger  <aj@suse.de>
70277         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
70278         only if [SHARED]. Add prototype for __wcschr_ia32.
70280 2012-05-21  Roland McGrath  <roland@hack.frob.com>
70282         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
70283         of %rbp unmolested in the jmp_buf while mangling the low bits.
70284         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
70285         unmolested high bits of %rbp while demangling the low bits.
70286         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
70288 2012-05-21  Andreas Jaeger  <aj@suse.de>
70290         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
70291         * sunrpc/svc_simple.c: Use it for registerrpc.
70292         * sunrpc/xcrypt.c: Use it for passwd2des.
70294         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
70296 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
70298         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
70299         Don't define if [__SYSCALL_WORDSIZE != 32].
70300         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
70301         New macro.
70303 2012-05-21  Bruno Haible  <bruno@clisp.org>
70304             Andreas Jaeger  <aj@suse.de>
70306         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
70307         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
70308         inptr and inend for must_buffer_ch.
70309         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
70310         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
70311         * stdio-common/Makefile (tests): Remove bug15.
70312         (bug15-ENV): Remove macro.
70313         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
70314         anymore.
70316 2012-05-19  Andreas Jaeger  <aj@suse.de>
70317             Roland McGrath  <roland@hack.frob.com>
70319         * manual/contrib.texi: Completely rewritten. It contains now an
70320         alphabetical list of contributors and their contributions.
70322 2012-05-21  Richard Henderson  <rth@twiddle.net>
70324         * misc/getauxval.c (__getauxval): Use unsigned long int.
70325         * misc/sys/auxv.h: Include <sys/cdefs.h>.
70326         (getauxval): Use unsigned long int.
70328 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
70330         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
70332 2012-05-21  Roland McGrath  <roland@hack.frob.com>
70334         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
70335         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
70336         __alignof__ (long double).
70338 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70340         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70342 2012-05-20  Richard Henderson  <rth@twiddle.net>
70344         * misc/getauxval.c: New file.
70345         * misc/sys/auxv.h: New file.
70346         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
70347         (routines): Add getauxval.
70348         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
70349         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
70350         * elf/dl-sysdep.c (_dl_auxv): Remove.
70351         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
70352         * elf/dl-support.c (_dl_auxv): New variable.
70353         (_dl_aux_init): Initialize it.
70354         * manual/startup.texi (Auxiliary Vector): New node.
70355         * sysdeps/generic/bits/hwcap.h: New file.
70356         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
70357         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
70358         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
70359         * sysdeps/sparc/sysdep.h: ... here.  Include it.
70360         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
70361         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
70362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70363         Update.
70364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
70365         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
70366         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
70367         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
70368         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
70369         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
70370         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
70371         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
70373 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70375         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70377 2012-05-19  David S. Miller  <davem@davemloft.net>
70379         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70381 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
70383         [BZ #14123]
70384         * math/s_ccosh.c: Include <float.h>
70385         (__ccosh): Avoid internal overflow calculating sinh and cosh
70386         values before multiplying by sin and cos values.
70387         * math/s_ccoshf.c: Likewise.
70388         * math/s_ccoshl.c: Likewise.
70389         * math/s_csin.c: Likewise.
70390         * math/s_csinf.c: Likewise.
70391         * math/s_csinl.c: Likewise.
70392         * math/s_csinh.c: Likewise.
70393         * math/s_csinhf.c: Likewise.
70394         * math/s_csinhl.c: Likewise.
70395         * math/libm-test.inc (ccos_test): Add more tests.
70396         (ccosh_test): Likewise.
70397         (csin_test): Likewise.
70398         (csinh_test): Likewise.
70399         * sysdeps/i386/fpu/libm-test-ulps: Update.
70400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70402 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
70404         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
70405         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
70407         * sysdeps/x86_64/x32/_itoa.h: Add comment.
70409 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
70411         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
70412         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
70413         * sysdeps/powerpc/soft-fp/Versions: Likewise.
70414         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
70415         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
70416         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
70417         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
70418         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
70419         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
70420         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
70421         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
70422         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
70423         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
70424         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
70425         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
70426         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
70427         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
70428         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
70429         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
70430         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
70431         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
70432         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
70433         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
70434         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
70435         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
70436         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
70437         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
70438         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
70439         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
70440         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
70441         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
70443 2012-05-18  Andreas Jaeger  <aj@suse.de>
70445         * csu/.gitignore: Delete.
70447 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
70449         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
70450         (timex): Use __syscall_slong_t.
70452 2012-05-18  Andreas Jaeger  <aj@suse.de>
70453             Carlos O'Donell  <carlos_odonell@mentor.com>
70455         * manual/install.texi (Configuring and compiling): Update
70456         description about files modified in the source directory.
70457         * INSTALL: Regenerated.
70459 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
70461         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
70462         value.  Use "or" to set return value to -1.
70463         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
70464         negate return value.
70466 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70468         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
70469         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
70470         failure if the compiler has Graphite support disabled.
70471         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
70472         Likewise.
70473         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
70474         (CFLAGS-memmove.c): Likewise.
70475         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
70476         Likewise.
70478 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
70480         * sysdeps/x86_64/x32/_itoa.h: New file.
70482         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
70483         getdents system call only if kernel and user dirents have the
70484         same d_ino and d_off.
70486         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
70487         LLONG_MAX != LONG_MAX.
70488         (_itoa_word): Use _ITOA_WORD_TYPE on value.
70489         (_fitoa_word): Likewise.
70491         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
70492         years.
70493         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
70494         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
70495         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
70497         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
70498         include <bits/wordsize.h>.  Check __x86_64__ instead of
70499         __WORDSIZE.
70500         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
70501         if __x86_64__ is defined.  Use anonymous union on fpstate.
70503         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
70504         anonymous union.
70506 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
70508         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
70509         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
70510         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
70511         Refer to _rtld_local_ro instead of _rtld_global_ro.
70512         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
70513         Likewise.
70514         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
70515         Likewise.
70516         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
70517         Likewise.
70518         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
70519         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
70520         of _rtld_global, and rtld_progname instead of _dl_argv[0].
70522         [BZ #10882]
70523         * sysdeps/powerpc/powerpc32/dl-machine.c
70524         (__elf_machine_runtime_setup) [PROF]: Don't reference
70525         _dl_prof_resolve.
70527 2012-05-18  Andreas Jaeger  <aj@suse.de>
70529         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
70530         function only available for GCCs before 3.4 since GCC 3.4
70531         introduced a builtin.
70532         (lrint): Likewise.
70533         (llrintf): Likewise.
70534         (llrint): Likewise.
70535         (fmaxf): Likewise.
70536         (fmax): Likewise.
70537         (fminf): Likewise.
70538         (fmin): Likewise.
70539         (rint): Likewise.
70540         (rintf): Likewise.
70541         (nearbyint): Likewise.
70542         (nearbyintf): Likewise.
70543         (ceil): Likewise.
70544         (ceilf): Likewise.
70545         (floor): Likewise.
70546         (floorf): Likewise.
70548 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
70550         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
70551         on both fields and cast pointer to __syscall_ulong_t.
70553         * bits/types.h (__fsword_t): New type.
70554         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
70555         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
70556         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70557         (__FSWORD_T_TYPE): Likewise.
70558         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70559         (__FSWORD_T_TYPE): Likewise.
70560         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70561         (__FSWORD_T_TYPE): Likewise.
70562         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
70563         (__FSWORD_T_TYPE): Likewise.
70564         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
70565         __SWORD_TYPE with __fsword_t.
70566         (statfs64): Likewise.
70568 2012-05-17  David S. Miller  <davem@davemloft.net>
70570         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
70572 2012-05-17  Andreas Jaeger  <aj@suse.de>
70574         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
70575         warning.
70577 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
70579         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
70581 2012-05-17  Andreas Jaeger  <aj@suse.de>
70583         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
70584         when it is used.
70586 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
70588         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
70590 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
70592         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
70593         * sysdeps/x86_64/tst-mallocalign1.c: New file.
70595 2012-05-17  Andreas Jaeger  <aj@suse.de>
70596             Carlos O'Donell  <carlos_odonell@mentor.com>
70598         [BZ #14059]
70599         * sysdeps/x86_64/multiarch/init-arch.h
70600         (bit_YMM_Usable): Rename to...
70601         (bit_AVX_Usable): ... this.
70602         (bit_FMA4_Usable): New macro.
70603         (bit_XMM_state): New macro.
70604         (bit_YMM_state): New macro.
70605         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
70606         [__ASSEMBLER__] (index_AVX_Usable): ... this.
70607         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
70608         (CPUID_OSXSAVE): New macro.
70609         (CPUID_AVX): New macro.
70610         (CPUID_FMA4): New macro.
70611         (index_YMM_Usable): Rename to...
70612         (index_AVX_Usable): ... this.
70613         (HAS_AVX): Use HAS_ARCH_FEATURE.
70614         (HAS_FMA4): Likewise.
70615         (HAS_YMM_USABLE): Remove.
70616         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70617         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
70618         are present.
70619         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
70620         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
70621         * sysdeps/x86_64/multiarch/Makefile: Likewise.
70622         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
70623         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
70625 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
70627         * math/libm-test.c: Support platforms without multiple rounding modes.
70628         * math/bug-nextafter.c: Support platforms without FP exceptions.
70629         * math/bug-nexttoward.c: Likewise.
70630         * math/test-fenv.c: Likewise.
70631         * math/test-misc.c: Likewise.
70632         * stdlib/bug-getcontext.c: Likewise.
70634 2012-05-17  Andreas Jaeger  <aj@suse.de>
70636         * manual/examples/search.c (critter_cmp): Change signature to
70637         avoid warnings.
70638         * manual/string.texi (Collation Functions): Likewise.
70640 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70642         * bits/types.h: Fold copyright years.
70643         * bits/typesizes.h: Likewise.
70644         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
70645         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
70646         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
70647         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
70648         * time/time.h: Likewise.
70650 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
70652         [BZ #208]
70653         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
70654         in instead of returning them.  Return void.
70655         (__libc_mallinfo): Accumulate over all arenas.
70656         (__malloc_stats): Adjust for change in int_mallinfo interface.
70658 2012-05-16  Roland McGrath  <roland@hack.frob.com>
70660         [BZ #10375]
70661         * configure.in (NM): Add AC_CHECK_TOOL for it.
70662         (libc_extra_cflags): New substituted variable.
70663         Check for -fstack-protector being used implicitly.
70664         * configure: Regenerated.
70665         * config.make.in (config-extra-cflags): New variable,
70666         gets @libc_extra_cflags@.
70667         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
70669         [BZ #10375]
70670         * configure.in: Check for _FORTIFY_SOURCE being predefined.
70671         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
70672         * configure: Regenerated.
70673         * config.make.in (CPPUNDEFS): New substituted variable.
70674         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
70675         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
70676         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
70678 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70680         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
70681         (mq_attr): Use __syscall_slong_t.
70683 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70685         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
70686         Check __x86_64__ instead of __WORDSIZE.
70687         (_STAT_VER_LINUX): Likewise.
70688         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
70689         __syscall_ulong_t and __syscall_slong_t.
70690         (stat64): Likewise.
70692 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70694         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
70696 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70698         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
70700 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70702         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
70703         __syscall_ulong_t.
70705         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
70706         include <bits/wordsize.h>.  Check __x86_64__ instead of
70707         __WORDSIZE.
70708         (greg_t): Use "__extension__ long long int" if __x86_64__ is
70709         defined.
70710         (mcontext_t): Replace "unsigned long" with "unsigned long long".
70712         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
70713         include <bits/wordsize.h>.  Check __x86_64__ instead of
70714         __WORDSIZE.
70715         (user_regs_struct): Use "__extension__ unsigned long long"
70716         instead of "unsigned long" if __x86_64__ is defined.
70717         (user): Likewise.  Pad after pointer field if __ILP32__ is
70718         defined.
70720 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
70722         * configure.in (makeinfo): Require version 4.5 or later.  Allow
70723         versions 5 to 9.
70724         * configure: Regenerated.
70725         * manual/install.texi (texinfo): Increase version requirement to
70726         4.5 or later.
70727         * INSTALL: Regenerated.
70729         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
70731 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70733         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
70735         * sysdeps/x86_64/x32/ffs.c: New file.
70737         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
70738         __syscall_ulong_t.
70739         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
70740         defined.  Use __syscall_ulong_t.
70741         (shminfo): Use __syscall_ulong_t.
70742         (shm_info): Likewise.
70744         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
70745         __syscall_ulong_t.
70747         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
70748         <bits/wordsize.h>.
70749         (msgqnum_t): Use __syscall_ulong_t.
70750         (msglen_t): Likewise.
70751         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
70752         __syscall_ulong_t.
70754         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
70755         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
70757         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
70759         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
70760         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
70762         * sysvipc/sys/msg.h (msgbuf): Replace long int with
70763         __syscall_slong_t.
70765         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
70766         include <bits/wordsize.h>.  Check __x86_64__ instead of
70767         __WORDSIZE.
70769         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
70770         "unsigned long long int" if __x86_64__ is defined.
70771         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
70773         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
70774         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
70775         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
70777         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
70778         <stdint.h>.
70779         (GET_PC): Cast to uintptr_t first.
70780         (GET_FRAME): Likewise.
70781         (GET_STACK): Likewise.
70783         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
70784         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
70785         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
70786         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
70787         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
70788         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
70789         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
70790         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
70791         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
70792         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
70793         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
70794         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
70795         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
70796         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
70797         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
70798         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
70799         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
70800         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
70801         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
70802         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
70803         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
70804         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
70805         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
70806         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
70807         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
70808         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
70809         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
70810         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
70811         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
70813 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
70815         * Makerules (+depfiles): Also collect depfiles from .oS in
70816         $(extra-objs).
70817         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
70818         .oS, $(libnldbl-routines)).
70820         * Makerules (native-compile-mkdep-flags): Define.
70821         * sunrpc/Makefile (extra-objs): Add $(addprefix
70822         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
70823         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
70824         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
70825         calling $(make-target-directory).
70827 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70829         * bits/types.h (__snseconds_t): Removed.
70830         * time/time.h (struct timespec): Replace __snseconds_t with
70831         __syscall_slong_t.
70832         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
70833         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
70834         Likewise.
70835         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70836         (__SNSECONDS_T_TYPE): Likewise.
70837         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70838         (__SNSECONDS_T_TYPE): Likewise.
70839         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70840         (__SNSECONDS_T_TYPE): Likewise.
70842 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70844         * sysdeps/mach/hurd/bits/typesizes.h
70845         (__SYSCALL_SLONG_TYPE): New macro.
70846         (__SYSCALL_ULONG_TYPE): Likewise.
70848 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70850         * bits/types.h (__syscall_slong_t): New type.
70851         (__syscall_ulong_t): Likewise.
70853         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
70854         (__SYSCALL_ULONG_TYPE): Likewise.
70855         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70856         (__SYSCALL_SLONG_TYPE): Likewise.
70857         (__SYSCALL_ULONG_TYPE): Likewise.
70858         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70859         (__SYSCALL_SLONG_TYPE): Likewise.
70860         (__SYSCALL_ULONG_TYPE): Likewise.
70861         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70862         (__SYSCALL_SLONG_TYPE): Likewise.
70863         (__SYSCALL_ULONG_TYPE): Likewise.
70865 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70867         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
70868         Add sigaltstack-offsets.sym.
70869         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
70870         <sigaltstack-offsets.h>.
70871         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
70872         longjmp_msg pointer.
70873         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
70874         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
70875         signal stack.
70876         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
70878 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
70880         * elf/stackguard-macros.h: Remove file.
70881         * sysdeps/generic/stackguard-macros.h: New file.
70882         * sysdeps/i386/stackguard-macros.h: Likewise.
70883         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
70884         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
70885         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
70886         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
70887         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
70888         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
70889         * sysdeps/x86_64/stackguard-macros.h: Likewise.
70890         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
70891         <elf/stackguard-macros.h>.
70893         [BZ #14109]
70894         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
70895         __aligned__ in attribute.
70896         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
70897         (gregset_t): Likewise.
70899 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70901         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
70902         * sysdeps/x86_64/64/Implies-after: Here.  New file.
70903         * sysdeps/x86_64/x32/Implies-after: New file.
70905 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70907         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
70908         and access return value for _dl_profile_fixup.  Use R10_LP to
70909         load frame size.
70911 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70913         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
70915 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70917         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
70918         * sysdeps/x86_64/x32/sysdep.h: New file.
70920 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70922         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
70923         * sysdeps/x86_64/setjmp.S: Likewise.
70925 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70927         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
70928         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
70929         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
70930         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
70931         remove unused global constant.
70933 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
70935         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
70936         include of <not-cancel.h>.
70938 2012-05-15  Roland McGrath  <roland@hack.frob.com>
70940         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
70942 2012-05-15  Jeff Law  <law@redhat.com>
70943             Andreas Jaeger  <aj@suse.de>
70945         [BZ #13594]
70946         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
70947         out from...
70948         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
70949         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
70950         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
70951         code changing __hst_map_handle.map.
70953 2012-05-15  Roland McGrath  <roland@hack.frob.com>
70955         * configure.in (sysnames): Look for Implies-before and Implies-after
70956         files.
70957         * configure: Regenerated.
70959 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70961         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
70962         8-byte data alignment with LP_SIZE alignment.
70964 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70966         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
70967         into R10_LP.
70969 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70971         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
70973 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70975         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
70976         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
70977         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
70978         Likewise.
70979         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
70981 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70983         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
70984         (stackinfo_sub_sp): Likewise.
70986 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70988         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
70989         RAX_LP.
70991 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70993         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
70994         into R*_LP.
70996 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70998         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
70999         sizes into R*_LP.
71001 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71003         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
71005 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71007         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
71008         into R11_LP and load __x86_64_shared_cache_size_half into
71009         R8_LP.
71011 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71013         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
71014         R8_LP.
71016 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71018         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
71019         logb for POWER7.
71020         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
71021         logbf for POWER7.
71022         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
71023         logbl for POWER7.
71024         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
71025         powerpc32/power7/fpu/s_logb.c via #include.
71026         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
71027         powerpc32/power7/fpu/s_logbf.c via #include.
71028         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
71029         powerpc32/power7/fpu/s_logbl.c via #include.
71031 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
71033         * README.libm: Remove file.
71035 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71037         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
71038         count for x32.  Use R*_LP and omit operand-size suffix.
71040 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71042         * shlib-versions: Move x86_64-.*-linux.* entries to ...
71043         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
71044         * sysdeps/x86_64/x32/shlib-versions: New file.
71046 2012-05-14  Roland McGrath  <roland@hack.frob.com>
71048         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
71049         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
71050         Use _dl_fatal_printf instead.
71052 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
71054         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
71055         set if not set by the user.  Do not allow for being unset.
71056         * sysdeps/unix/sysv/linux/configure: Regenerated.
71058 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71060         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
71061         the `q' suffix from lea and replace .quad with ASM_ADDR.
71063 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71065         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
71066         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
71067         instead of $17.
71068         (PTR_DEMANGLE): Likewise.
71070 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71072         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
71073         (LP_OP): Likewise.
71074         (ASM_ADDR): Likewise.
71075         (RAX_LP): Likewise.
71076         (RBP_LP): Likewise.
71077         (RBX_LP): Likewise.
71078         (RCX_LP): Likewise.
71079         (RDI_LP): Likewise.
71080         (RSI_LP): Likewise.
71081         (RSP_LP): Likewise.
71082         (R8_LP): Likewise.
71083         (R9_LP): Likewise.
71084         (R10_LP): Likewise.
71085         (R10_LP): Likewise.
71086         (R11_LP): Likewise.
71087         (R12_LP): Likewise.
71088         (R13_LP): Likewise.
71089         (R14_LP): Likewise.
71090         (R15_LP): Likewise.
71092 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71094         * sysdeps/x86_64/x32/dl-machine.h: New file.
71096 2012-05-14  Andreas Jaeger  <aj@suse.de>
71098         * manual/Makefile (subdir): Remove export of subdir.
71099         (all): Remove target.
71100         (.PHONY): Remove all from list.
71101         (mkinstalldirs): Remove.
71102         (.PHONY): Remove installdirs from list.
71103         ($(inst_infodir)/libc.info): Use make-target-directory.
71104         (installdirs): Remove.
71105         (subdir_%): Remove.
71106         (glibc-targets): Remove.
71107         (lib): Remove.
71108         (stubs): Remove.
71109         ($(objpfx)stubs ../po/manual.pot): Remove.
71110         ($(objpfx)stamp%): Remove.
71111         (make-target-directory): Remove.
71112         (subdir_install): Remove.
71113         (routines): Remove.
71114         (aux): Remove.
71115         (sources): Remove.
71116         (objects): Remove.
71117         (headers): Remove.
71119         [BZ #13750]
71120         * manual/.gitignore: Remove, it's not needed anymore.
71121         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
71122         all files in it.
71123         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
71124         directory.
71125         (texis): Renamed to $(objpfx)texis.
71126         (texis-path): New, contains path to generated files.
71127         (chapters.%): Use texis-path for complete path, add extra argument
71128         libc-texinfo.sh.
71129         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
71130         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
71131         (summary,texi, stamp-summary): Use complete path of
71132         files. Generate files in build dir.
71133         (dir-add.texi): Build in build dir.
71134         (libm-err.texi,stamp-libm-err): Likewise.
71135         (version.texi, stamp-version): Likewise.
71136         (.%c.texi): Likewise.
71137         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
71138         (mostlyclean): Remove target.
71139         (realclean): Remove target.
71140         (generated): Add new variable with contents from mostlyclean and
71141         realclean, remove entries duplicated in common-mostlyclean, add
71142         stamp-libm-err and stamp-version.
71143         (generated-dirs): Add libc directory.
71144         ($(inst_infodir)/libc.info): Install files from build dir.
71146         * manual/install.texi (Configuring and compiling): Adjust since
71147         the info files are not part of the tar ball anymore.
71149 2012-05-14  Andreas Jaeger  <aj@suse.de>
71151         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
71152         variable.
71154 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
71156         [BZ #13717]
71157         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
71158         to 2.2.0 where earlier.
71159         * sysdeps/unix/sysv/linux/configure: Regenerated.
71160         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
71161         Remove conditional code.
71162         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
71163         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
71164         Remove conditional code.
71165         [!__NR_lchown]: Likewise.
71166         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71167         [__NR_lchown]: Likewise.
71168         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
71169         comment referencing __ASSUME_LCHOWN_SYSCALL.
71170         * sysdeps/unix/sysv/linux/i386/sigaction.c
71171         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71172         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71173         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
71174         Remove conditional code.
71175         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
71176         (__protocol_available): Remove #if 0 code.
71177         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
71178         conditional code.
71179         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
71180         * sysdeps/unix/sysv/linux/kernel-features.h
71181         (__ASSUME_GETCWD_SYSCALL): Don't define.
71182         (__ASSUME_REALTIME_SIGNALS): Likewise.
71183         (__ASSUME_PREAD_SYSCALL): Likewise.
71184         (__ASSUME_PWRITE_SYSCALL): Likewise.
71185         (__ASSUME_POLL_SYSCALL): Likewise.
71186         (__ASSUME_LCHOWN_SYSCALL): Likewise.
71187         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
71188         non-SPARC.
71189         (__ASSUME_SIOCGIFNAME): Don't define.
71190         (__ASSUME_MSG_NOSIGNAL): Likewise.
71191         (__ASSUME_SENDFILE): Define unconditionally.
71192         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
71193         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
71194         conditional code.
71195         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
71196         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
71197         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
71198         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71199         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
71200         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
71201         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
71203         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71204         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
71206         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71207         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
71209         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71210         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
71212         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71213         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
71215         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71216         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
71218         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71219         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
71221         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71222         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
71224         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71225         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71226         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
71227         Remove conditional code.
71228         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71229         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
71230         Remove conditional code.
71231         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71232         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
71233         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
71234         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
71235         Remove conditional code.
71236         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71237         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
71238         Remove conditional code.
71239         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71240         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
71241         Remove conditional code.
71242         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71243         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
71244         Remove conditional code.
71245         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71246         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
71247         Remove conditional code.
71248         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71249         * sysdeps/unix/sysv/linux/sh/pwrite64.c
71250         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71251         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71252         * sysdeps/unix/sysv/linux/sigaction.c
71253         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71254         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71255         * sysdeps/unix/sysv/linux/sigpending.c
71256         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71257         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71258         * sysdeps/unix/sysv/linux/sigprocmask.c
71259         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71260         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71261         * sysdeps/unix/sysv/linux/sigsuspend.c
71262         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71263         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71264         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
71265         (__libc_missing_rt_sigs): Remove.
71266         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
71267         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
71268         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
71269         Remove conditional code.
71270         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
71271         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
71272         return 1.
71273         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
71274         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
71275         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
71276         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
71278 2012-05-14  Andreas Jaeger  <aj@suse.de>
71280         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
71281         it's not used in glibc.
71282         (__coshm1): Likewise.
71283         (__acosh1p): Likewise.
71284         (__sgn): Likewise.
71286         * manual/string.texi (Copying and Concatenation): Add missing
71287         variable in concat example.
71288         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
71290 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71292         [BZ #14103]
71293         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
71294         __builtin_clzl with __builtin_clzll.
71296 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71298         [BZ #14104]
71299         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
71300         libc_freeres_ptr.
71302 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71304         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
71305         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
71306         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
71307         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
71309 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
71311         * NEWS: Update ia64 info.
71313 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
71315         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
71316         used as bcopy.
71318 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
71320         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
71321         * sysdeps/unix/syscalls.list (dup3): Likewise.
71322         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
71323         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
71325 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
71327         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
71328         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
71330 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
71332         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
71333         thread pointer.
71334         (TLS_IE): Use mov/add instead of movq/addq to load thread
71335         pointer.
71336         (TLS_GD_PREFIX): New.
71337         (TLS_GD): Use it.
71339 2012-05-11  David S. Miller  <davem@davemloft.net>
71341         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
71342         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
71343         (_FPU_SETCW): Likewise.
71345 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
71347         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
71348         is 32-byte aligned.
71350 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
71352         [BZ #11837]
71353         * iconvdata/gb18030.c: Update tables.
71354         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
71355         characters specially.
71356         (BODY for TO_LOOP): Add encoding of missing ranges.
71358 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
71360         [BZ #13673]
71361         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
71362         * sysdeps/mach/hurd/dup3.c: Likewise.
71363         * sysdeps/mach/hurd/readlinkat.c: Likewise.
71364         * sysdeps/powerpc/memmove.c:: Likewise.
71366 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
71368         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
71369         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
71371 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
71373         * elf/elf.h (R_X86_64_RELATIVE64): New.
71374         (R_X86_64_NUM): Updated.
71375         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
71376         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
71377         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
71378         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
71379         tst-quad1pie tst-quad2pie
71380         (modules-names): Add tst-quadmod1 tst-quadmod2.
71381         ($(objpfx)tst-quad1): New dependency.
71382         ($(objpfx)tst-quad2): Likewise.
71383         ($(objpfx)tst-quad1pie): Likewise.
71384         ($(objpfx)tst-quad2pie): Likewise.
71385         * sysdeps/x86_64/tst-quad1.c: New file.
71386         * sysdeps/x86_64/tst-quad1pie.c: New file.
71387         * sysdeps/x86_64/tst-quad2.c: Likewise.
71388         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
71389         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
71390         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
71391         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
71392         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
71394 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71396         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
71397         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
71398         * streams/stropts.h (t_scalar_t): Define type.
71400         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
71401         (_PATH_PRESERVE): Set to "/var/lib".
71402         (_PATH_RWHODIR): Set to "/var/spool/rwho".
71404         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
71405         instead of int.
71407         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
71408         if __dir_mkfile succeeded.
71410         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
71411         checking for _hurd_dtablesize.  Unlock it right after having
71412         finished _hurd_dtable allocation.
71414 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71416         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
71417         * sysdeps/mach/hurd/configure: Regenerated.
71418         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
71419         special-casing to...
71420         * sysdeps/gnu/configure.in: ... this new file.
71421         * sysdeps/unix/sysv/linux/configure: Regenerated.
71422         * sysdeps/gnu/configure: New generated file.
71424         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
71425         for Linux: use nsec instead of usec, as well as:
71426         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
71427         members of type struct timespec.
71428         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
71429         New macros.
71430         (struct stat64): Likewise.
71431         (_STATBUF_ST_NSEC): New macro.
71432         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
71434         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
71435         __strtoul_internal rather than strtoul.
71437 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
71439         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
71440         and reject them.
71442 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71444         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
71445         which preserves existing values.
71446         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
71448 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
71450         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
71451         TIMEOUT values.  Return EINVAL for NFDS values either negative or
71452         greater than FD_SETSIZE.
71454 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71456         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
71457         allocated, call __vm_protect to finish enabling the existing space, and
71458         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
71459         allocate the remainder.
71461 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
71463         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
71464         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
71466 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71468         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
71469         sysdeps/mach/hurd/readlink.c.
71471         * posix/tst-sysconf.c (posix_options): Only use
71472         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
71473         _POSIX_SYNCHRONIZED_IO when they are defined
71474         * sysdeps/mach/hurd/bits/posix_opt.h:
71475         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
71476         (_XOPEN_REALTIME): Undefine macro.
71477         (_XOPEN_REALTIME_THREADS): Undefine macro.
71478         (_XOPEN_SHM): Undefine macro.
71479         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
71480         macro to -1.
71481         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
71482         macro to -1.
71483         (_POSIX_ASYNC_IO): Undefine macro.
71484         (_POSIX_PRIORITIZED_IO): Undefine macro.
71485         (_POSIX_SPIN_LOCKS): Define macro to -1.
71487         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
71488         SA_NODEFER, SA_RESETHAND.
71489         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
71490         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
71491         F_DUPFD_CLOEXEC.
71493 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71495         * elf/Makefile (pldd-modules): Define unconditionally.
71497 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71499         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
71501 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71503         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
71504         Return ENOENT when name is empty.
71505         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
71507 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71509         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
71511         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
71513 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71515         Fix mlock in all cases except non-readable pages.
71516         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
71517         instead of VM_PROT_ALL as parameter to __vm_wire function.
71519         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
71520         (__mkdir): When path is `/', just fail with EEXIST.
71521         * sysdeps/mach/hurd/mkdirat.c: Likewise.
71523 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71525         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
71526         <sys/uio.h> (for writev).
71527         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
71528         and <sys/param.h> (for MIN).
71530 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
71532         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
71533         REQUESTED_TIME.  Properly set the remaining time and return EINTR
71534         if interrupted.
71536 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71538         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
71539         Depend on against $(link-rpcuserlibs).
71541 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71543         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
71544         (__libc_stack_end): Do not use attribute_relro.
71545         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
71546         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
71547         to libthread-provided value.
71548         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
71549         attribute_relro.
71551 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71553         [BZ #3748]
71554         * bits/libc-lock.h (__libc_once_get): New macro.
71555         * sysdeps/mach/bits/libc-lock.h: Likewise.
71556         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
71557         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
71558         instead of using implementation details.
71560         * libio/fileops.c: Unconditionally include <kernel-features.h>.
71561         * libio/freopen.c: Likewise.
71562         * libio/freopen64.c: Likewise.
71563         * misc/syslog.c: Likewise.
71564         * nscd/connections.c: Likewise.
71565         * nscd/netgroupcache.c: Likewise.
71566         * sysdeps/posix/getcwd.c: Likewise.
71568 2012-05-10  Roland McGrath  <roland@hack.frob.com>
71570         * math/w_ilogbf.c: Add #include <limits.h>.
71572 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71574         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
71575         path instead of returning without unlocking.
71577         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
71578         immediate-write ioctls.
71579         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
71581 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71583         * sysdeps/mach/hurd/i386/init-first.c (init): Use
71584         __builtin_frame_address instead of making assumptions about the
71585         location of the return address relative to DATA.  Force early load of
71586         the return address.
71587         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
71588         __builtin_frame_address.
71590         dup3 for GNU Hurd.
71591         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
71592         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
71593         implement dup3 and do some further code clean-ups.
71594         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
71595         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
71597 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71599         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
71601         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
71602         HURD_CRITICAL_END around holding _hurd_dtable_lock.
71603         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
71604         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
71605         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
71606         d->port.lock.
71608         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
71609         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
71610         when handler == SIG_ERR, not when handler != SIG_ERR.
71612 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71614         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
71615         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
71616         definitions.
71618         accept4 for GNU Hurd.
71619         * include/sys/socket.h (__libc_accept4): New prototype.
71620         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
71621         to implement __libc_accept4.
71622         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
71623         __libc_accept4.
71624         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
71626         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
71627         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
71628         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
71629         signal-defines.sym.
71631 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71633         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
71635 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71637         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
71638         assertion on O_CLOEXEC flag.
71639         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
71640         * hurd/intern-fd.c: Likewise.
71641         * hurd/port2fd.c: Likewise.
71643 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71645         [BZ #3906]
71646         * bits/in.h (IPV6_PKTINFO): Define new macro.
71647         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
71649 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71651         [BZ #13954]
71652         [BZ #13955]
71653         [BZ #13956]
71654         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
71655         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
71656         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
71657         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
71658         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
71659         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
71660         * math/libm-test.inc (logb_test) : Additional logb tests.
71662 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
71663             Andreas Jaeger  <aj@suse.de>
71665         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
71666         * configure: Regenerated.
71667         * config.h.in (LINK_OBSOLETE_RPC): New macro.
71668         * config.make.in (link-obsolete-rpc): New substituted variable.
71669         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
71670         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
71671         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
71672         (shared-only-routines): Don't set it under [link-obsolete-rpc],
71673         so that libc.a contains the symbols.
71674         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
71675         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
71676         * sunrpc/auth_none.c: Likewise.
71677         * sunrpc/auth_unix.c: Likewise.
71678         * sunrpc/authdes_prot.c: Likewise.
71679         * sunrpc/authuxprot.c: Likewise.
71680         * sunrpc/clnt_gen.c: Likewise.
71681         * sunrpc/clnt_perr.c: Likewise.
71682         * sunrpc/clnt_raw.c: Likewise.
71683         * sunrpc/clnt_simp.c: Likewise.
71684         * sunrpc/clnt_tcp.c: Likewise.
71685         * sunrpc/clnt_udp.c: Likewise.
71686         * sunrpc/clnt_unix.c: Likewise.
71687         * sunrpc/des_crypt.c: Likewise.
71688         * sunrpc/des_soft.c: Likewise.
71689         * sunrpc/get_myaddr.c: Likewise.
71690         * sunrpc/key_call.c: Likewise.
71691         * sunrpc/key_prot.c: Likewise.
71692         * sunrpc/netname.c: Likewise.
71693         * sunrpc/pm_getmaps.c: Likewise.
71694         * sunrpc/pm_getport.c: Likewise.
71695         * sunrpc/pmap_clnt.c: Likewise.
71696         * sunrpc/pmap_prot.c: Likewise.
71697         * sunrpc/pmap_prot2.c: Likewise.
71698         * sunrpc/pmap_rmt.c: Likewise.
71699         * sunrpc/publickey.c: Likewise.
71700         * sunrpc/rpc_cmsg.c: Likewise.
71701         * sunrpc/rpc_common.c: Likewise.
71702         * sunrpc/rpc_dtable.c: Likewise.
71703         * sunrpc/rpc_prot.c: Likewise.
71704         * sunrpc/rpc_thread.c: Likewise.
71705         * sunrpc/rtime.c: Likewise.
71706         * sunrpc/svc.c: Likewise.
71707         * sunrpc/svc_auth.c: Likewise.
71708         * sunrpc/svc_raw.c: Likewise.
71709         * sunrpc/svc_run.c: Likewise.
71710         * sunrpc/svc_tcp.c: Likewise.
71711         * sunrpc/svc_udp.c: Likewise.
71712         * sunrpc/svc_unix.c: Likewise.
71713         * sunrpc/svcauth_des.c: Likewise.
71714         * sunrpc/xcrypt.c: Likewise.
71715         * sunrpc/xdr.c: Likewise.
71716         * sunrpc/xdr_array.c: Likewise.
71717         * sunrpc/xdr_float.c: Likewise.
71718         * sunrpc/xdr_intXX_t.c: Likewise.
71719         * sunrpc/xdr_mem.c: Likewise.
71720         * sunrpc/xdr_rec.c: Likewise.
71721         * sunrpc/xdr_ref.c: Likewise.
71722         * sunrpc/xdr_sizeof.c: Likewise.
71723         * sunrpc/xdr_stdio.c: Likewise.
71725 2012-05-10  Roland McGrath  <roland@hack.frob.com>
71727         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
71728         change.  Update copyright years.
71730 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
71732         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
71734 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
71735             Joseph Myers  <joseph@codesourcery.com>
71736             Paul Pluzhnikov  <ppluzhnikov@google.com>
71738         [BZ #14012]
71739         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
71740         requiring rpcgen.
71741         [cross-compiling] (extra-libs): Likewise.
71742         [cross-compiling] (extra-libs-others): Likewise.
71743         [cross-compiling] (librpcsvc-routines): Likewise.
71744         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
71745         [cross-compiling] (omit-deps): Likewise.
71746         (sunrpc-CPPFLAGS): New variable.
71747         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
71748         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
71749         (cross-rpcgen-objs): New variable.
71750         (extra-objs): Append $(cross-rpcgen-objs).
71751         ($(cross-rpcgen-objs)): New rule.
71752         ($(objpfx)cross-rpcgen): Likewise.
71753         (rpcgen-cmd): Define to use $(built-program-file).  Expand
71754         comment.
71755         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
71756         ($(objpfx)x%.stmp): Likewise.
71757         * sunrpc/proto.h [IS_IN_build] (_): Define.
71758         [IS_IN_build] (_libc_intl_domainname): Likewise.
71760 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
71762         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
71763         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
71764         and R_X86_64_TPOFF64.
71766 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
71768         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
71769         sysdeps/unix/sysv/syscalls.list.
71770         (stime): Likewise.
71771         (utime): Likewise.
71772         * sysdeps/unix/sysv/syscalls.list: Remove file.
71774 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
71776         [BZ #3440]
71777         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
71778         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
71779         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
71780         (__LC_IDENTIFICATION): Make these macros useful in #if
71781         expressions, as required by C99.
71783 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
71785         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
71786         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
71787         after this.
71789 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
71791         * stdlib/longlong.h: Updated from GCC.
71793 2012-05-09  Andreas Jaeger  <aj@suse.de>
71795         * nscd/nscd.c (run_modes): Make named enum, reorder so that
71796         default is first entry.
71797         (run_mode): Set type.
71798         (main): Remove informal message about syslog.
71799         (options): Fix typo.
71801         [BZ #14053]
71802         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
71803         to asm.
71804         (lrint): Likewise.
71805         (llrintf): Likewise.
71806         (llrint): Likewise.
71807         (rint): Likewise.
71808         (rintf): Likewise.
71809         (nearbyint): Likewise.
71810         (nearbyintf): Likewise.
71812 2012-05-09  Andreas Jaeger  <aj@suse.de>
71813             Pedro Alves  <palves@redhat.com>
71815         * nscd/nscd.c (run_mode): Use enum.
71816         (main): Cleanup coding style issue.
71818 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
71819             Andreas Jaeger  <aj@suse.de>
71821         * nscd/nscd.c (go_background): Replaced with...
71822         (run_mode): ... this.
71823         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
71824         (options): Add -F --foreground.
71825         (main): Implement it.
71826         (parse_opt): Parse it.
71828 2012-05-09  Andreas Jaeger  <aj@suse.de>
71830         [BZ #14083]
71831         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
71832         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
71833         -Wconversion warning.
71834         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
71835         Likewise.
71837 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
71839         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
71840         == 0.
71841         (LC_ALL): Use macro-int-constant.
71842         (LC_COLLATE): Likewise.
71843         (LC_CTYPE): Likewise.
71844         (LC_MESSAGES): Likewise.
71845         (LC_MONETARY): Likewise.
71846         (LC_NUMERIC): Likewise.
71847         (LC_TIME): Likewise.
71848         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
71849         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
71850         [ISO || ISO99 || ISO11] (*_t): Do not allow.
71851         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
71852         Specify type.
71853         [C99-based standards] (float_t): Expect type.
71854         [C99-based standards] (double_t): Expect type.
71855         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
71856         type.
71857         [C99-based standards] (HUGE_VALL): Likewise.
71858         [C99-based standards] (INFINITY): Likewise.
71859         [C99-based standards] (NAN): Likewise.
71860         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
71861         [C99-based standards] (FP_NAN): Likewise.
71862         [C99-based standards] (FP_NORMAL): Likewise.
71863         [C99-based standards] (FP_SUBNORMAL): Likewise.
71864         [C99-based standards] (FP_ZERO): Likewise.
71865         [C99-based standards] (FP_FAST_FMA): Use
71866         optional-macro-int-constant.  Specify type.  Require == 1.
71867         [C99-based standards] (FP_FAST_FMAF): Likewise.
71868         [C99-based standards] (FP_FAST_FMAL): Likewise.
71869         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
71870         [C99-based standards] (FP_ILOGBNAN): Likewise.
71871         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
71872         Specify type.
71873         [C99-based standards] (MATH_ERREXCEPT): Likewise.
71874         [C99-based standards] (math_errhandling): Specify type.
71875         [ISO99 || ISO11] (signgam): Do not allow.
71876         [non-C99-based standards] (copysignf): Do not allow.
71877         [non-C99-based standards] (exp2f): Likewise.
71878         [non-C99-based standards] (log2f): Likewise.
71879         [non-C99-based standards] (modff): Allow.
71880         [non-C99-based standards] (erff): Do not allow.
71881         [non-C99-based standards] (erfcf): Likewise.
71882         [non-C99-based standards] (gammaf): Likewise.
71883         [non-C99-based standards] (hypotf): Likewise.
71884         [non-C99-based standards] (j0f): Likewise.
71885         [non-C99-based standards] (j1f): Likewise.
71886         [non-C99-based standards] (jnf): Likewise.
71887         [non-C99-based standards] (lgammaf): Likewise.
71888         [non-C99-based standards] (tgammaf): Likewise.
71889         [non-C99-based standards] (y0f): Likewise.
71890         [non-C99-based standards] (y1f): Likewise.
71891         [non-C99-based standards] (ynf): Likewise.
71892         [non-C99-based standards] (isnanf): Likewise.
71893         [non-C99-based standards] (acoshf): Likewise.
71894         [non-C99-based standards] (asinhf): Likewise.
71895         [non-C99-based standards] (atanhf): Likewise.
71896         [non-C99-based standards] (cbrtf): Likewise.
71897         [non-C99-based standards] (expm1f): Likewise.
71898         [non-C99-based standards] (ilogbf): Likewise.
71899         [non-C99-based standards] (log1pf): Likewise.
71900         [non-C99-based standards] (logbf): Likewise.
71901         [non-C99-based standards] (nextafterf): Likewise.
71902         [non-C99-based standards] (remainderf): Likewise.
71903         [non-C99-based standards] (rintf): Likewise.
71904         [non-C99-based standards] (scalbf): Likewise.
71905         [non-C99-based standards] (copysignl): Likewise.
71906         [non-C99-based standards] (exp2l): Likewise.
71907         [non-C99-based standards] (log2l): Likewise.
71908         [non-C99-based standards] (modfl): Allow.
71909         [non-C99-based standards] (erfl): Do not allow.
71910         [non-C99-based standards] (erfcl): Likewise.
71911         [non-C99-based standards] (gammal): Likewise.
71912         [non-C99-based standards] (hypotl): Likewise.
71913         [non-C99-based standards] (j0l): Likewise.
71914         [non-C99-based standards] (j1l): Likewise.
71915         [non-C99-based standards] (jnl): Likewise.
71916         [non-C99-based standards] (lgammal): Likewise.
71917         [non-C99-based standards] (tgammal): Likewise.
71918         [non-C99-based standards] (y0l): Likewise.
71919         [non-C99-based standards] (y1l): Likewise.
71920         [non-C99-based standards] (ynl): Likewise.
71921         [non-C99-based standards] (isnanl): Likewise.
71922         [non-C99-based standards] (acoshl): Likewise.
71923         [non-C99-based standards] (asinhl): Likewise.
71924         [non-C99-based standards] (atanhl): Likewise.
71925         [non-C99-based standards] (cbrtl): Likewise.
71926         [non-C99-based standards] (expm1l): Likewise.
71927         [non-C99-based standards] (ilogbl): Likewise.
71928         [non-C99-based standards] (log1pl): Likewise.
71929         [non-C99-based standards] (logbl): Likewise.
71930         [non-C99-based standards] (nextafterl): Likewise.
71931         [non-C99-based standards] (remainderl): Likewise.
71932         [non-C99-based standards] (rintl): Likewise.
71933         [non-C99-based standards] (scalbl): Likewise.
71934         [ISO || ISO99 || ISO11] (*_t): Do not allow.
71935         [non-C99-based standards] (FP_*): Do not allow.
71936         [C99-based standards] (FP_*): Change to
71937         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
71938         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
71939         allow.
71940         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
71941         (SIG_ERR): Likewise.
71942         [X/Open-based standards] (SIG_HOLD): Likewise.
71943         (SIG_IGN): Likewise.
71944         (SIGABRT): Use macro-int-constant.  Specify type.  Require
71945         positive value.
71946         (SIGFPE): Likewise.
71947         (SIGILL): Likewise.
71948         (SIGINT): Likewise.
71949         (SIGSEGV): Likewise.
71950         (SIGTER): Likewise.
71951         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
71952         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
71953         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
71954         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
71955         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
71956         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
71957         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
71958         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
71959         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
71960         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
71961         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
71962         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
71963         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
71964         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
71965         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
71966         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
71967         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
71968         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
71969         [X/Open-based standards] (SIGTRAP): Likewise.
71970         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
71971         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
71972         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
71973         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
71974         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
71975         allow.
71977 2012-05-08  Ian Wienand  <ianw@vmware.com>
71979         [BZ #14080]
71980         * time/tzset.c (__tzset_parse_tz): Update default rules for
71981         daylight time changes in the Energy Policy Act of 2005.
71983 2012-05-09  Andreas Jaeger  <aj@suse.de>
71985         [BZ #13983]
71986         * elf/ldconfig.c (parse_conf): Change string to make clear that
71987         ldconfig only issued a warning if ld.so.conf does not exist.
71989 2012-05-08  David S. Miller  <davem@davemloft.net>
71991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
71992         movxtod instead of popping the value on the stack.
71994         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71996 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
71998         * config.h.in: Add HAVE_ARM_PCS_VFP.
72000 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
72002         [BZ #13979]
72003         * include/features.h: Warn if user requests __FORTIFY_SOURCE
72004         checking but the checks are disabled for any reason.
72006 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
72008         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
72009         and ELF64_R_TYPE with ELFW(R_TYPE).
72011 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
72013         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
72014         (ulimit): Likewise.
72016         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
72017         (settimeofday): Likewise.
72019 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
72021         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
72022         a struct th_u2 inside the union, and move tu_block/tu_code into
72023         a new th_u3 union of tu_block/tu_code inside of that.  Move
72024         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
72025         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
72026         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
72027         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
72028         (th_stuff): Change to th_u1.tu_stuff.
72029         (th_data): Define.
72030         (th_msg): Change to th_u1.th_u2.tu_data.
72032 2012-05-07  David S. Miller  <davem@davemloft.net>
72034         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72036         [BZ #14074]
72037         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
72038         (SETUP_PIC_REG): Use it.
72039         (SETUP_PIC_REG_LEAF): Use it.
72041 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
72043         [BZ #13885]
72044         [BZ #13923]
72045         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72046         USE_AS_EXPM1L.
72047         (EXPL_FINITE): Likewise.
72048         (FLDLOG): Likewise.
72049         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72050         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72051         e_expl.S.
72052         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72053         USE_AS_EXPM1L.
72054         (EXPL_FINITE): Likewise.
72055         (FLDLOG): Likewise.
72056         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72057         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72058         e_expl.S.
72059         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
72060         test of -max_value argument for long double.
72061         * sysdeps/i386/fpu/libm-test-ulps: Update.
72062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72064 2012-05-06  David S. Miller  <davem@davemloft.net>
72066         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
72067         quad soft-float symbols whose references which are compiler
72068         generated.
72069         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
72071 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
72073         [BZ #13884]
72074         [BZ #13914]
72075         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72076         USE_AS_EXP10L.
72077         (EXPL_FINITE): Likewise.
72078         (FLDLOG): Likewise.
72079         (c0): Likewise.
72080         (c1): Likewise.
72081         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
72082         Adjust comments for base varying.
72083         (__expl_finite): Change alias to EXPL_FINITE.
72084         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
72085         e_expl.S.
72086         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
72087         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
72088         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
72089         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
72090         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72091         USE_AS_EXP10L.
72092         (EXPL_FINITE): Likewise.
72093         (FLDLOG): Likewise.
72094         (c0): Likewise.
72095         (c1): Likewise.
72096         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
72097         Adjust comments for base varying.
72098         (__expl_finite): Change alias to EXPL_FINITE.
72099         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
72100         tests for bugs.
72101         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72103         [BZ #14064]
72104         * math/libm-test.inc (check_float_internal): Correct ulp
72105         calculation for subnormal expected results.
72107 2012-05-06  Andreas Jaeger  <aj@suse.de>
72109         * Makeconfig (+math-flags): New, set to -frounding-math.
72110         (+cflags): Add +math-flags so that all of glibc gets compiled with
72111         it.
72113         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
72115 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
72117         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
72118         Disable one test.
72120         [BZ #13787]
72121         [BZ #13922]
72122         [BZ #14036]
72123         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
72124         (__ieee754_expl): Allow for and saturate large arguments.
72125         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
72126         (u_threshold): Likewise.
72127         (__exp): Call __ieee754_exp before checking for overflow and
72128         underflow.
72129         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
72130         (u_threshold): Likewise.
72131         (__expf): Call __ieee754_expf before checking for overflow and
72132         underflow.
72133         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
72134         (u_threshold): Likewise.
72135         (__expl): Call __ieee754_expl before checking for overflow and
72136         underflow.
72137         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
72138         (__ieee754_expl): Allow for and saturate large arguments.
72139         * math/libm-test.inc (exp_test): Add another test.  Do not allow
72140         missing overflow exception on overflow.
72141         (expm1_test): Do not allow missing overflow exception on overflow.
72143         * sysdeps/i386/fpu/e_expl.c: Move to ...
72144         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
72145         rather than using inline asm.
72146         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
72147         * sysdeps/x86_64/fpu/e_expl.S: Copy from
72148         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
72150         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
72151         (nice): Likewise.
72152         (poll): Likewise.
72153         (signal): Likewise.
72154         (time): Likewise.
72155         (times): Likewise.
72157 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
72159         * sysdeps/unix/syscalls.list (adjtime): Add entry from
72160         sysdeps/unix/common/syscalls.list.
72161         (fchmod): Likewise.
72162         (fchown): Likewise.
72163         (ftruncate): Likewise.
72164         (getrusage): Likewise.
72165         (gettimeofday): Likewise.
72166         (setpgid): Likewise.
72167         (setregid): Likewise.
72168         (setreuid): Likewise.
72169         (sigaction): Likewise.
72170         (truncate): Likewise.
72171         (vhangup): Likewise.
72172         * sysdeps/unix/common/syscalls.list: Remove file.
72173         * sysdeps/unix/bsd/Implies: Don't include unix/common.
72174         * sysdeps/unix/sysv/linux/Implies: Likewise.
72176 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
72178         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
72179         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
72180         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
72181         Moved to ...
72182         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
72183         Here.
72184         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
72185         to ...
72186         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
72187         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
72188         to ...
72189         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
72190         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
72191         to ...
72192         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
72193         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
72194         to ...
72195         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
72196         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
72197         to ...
72198         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
72199         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
72200         to ...
72201         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
72202         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
72203         to ...
72204         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
72205         Here.
72206         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
72207         to ...
72208         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
72209         Here.
72210         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
72211         to ...
72212         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
72213         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
72214         Moved to ...
72215         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
72216         Here.
72217         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
72218         to ...
72219         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
72221 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
72223         * sysdeps/unix/common/bits/dirent.h: Remove file.
72224         * sysdeps/unix/common/bits/fcntl.h: Likewise.
72226         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
72227         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
72228         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
72229         * sysdeps/unix/bsd/isatty.c: Likewise.
72230         * sysdeps/unix/bsd/tcdrain.c: Likewise.
72231         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
72232         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
72234 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72236         [BZ #13563]
72237         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
72238         long double comparison inaccuracies.
72239         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
72240         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72242 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
72244         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
72245         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
72247 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
72249         [BZ #14049]
72250         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
72251         nonzero digits before rounding a hex value.
72252         * stdlib/tst-strtod.c (tests): Add another test.
72254 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72256         * sysdeps/s390/fpu/libm-test-ulps: Update.
72258 2012-05-03  Andreas Jaeger  <aj@suse.de>
72260         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
72261         does not get optimized out.
72262         (malloc_opt_barrier): New.
72264 2012-05-03  Andreas Jaeger  <aj@suse.de>
72265             Roland McGrath  <roland@hack.frob.com>
72267         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
72268         intermediate file deletion.
72269         (generated): Add .symlist files.
72271 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
72273         [BZ #13775]
72274         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
72275         Redirect under this condition.
72276         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
72277         [__USE_GNU] (__dprintf_chk): Not under this condition.
72278         [__USE_GNU] (__vdprintf_chk): Likewise.
72279         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
72280         under this condition.
72281         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
72282         [__USE_XOPEN2K8] (dprintf): Define under this condition.
72283         [__USE_XOPEN2K8] (vdprintf): Likewise.
72284         [__USE_GNU] (__dprintf_chk): Not under this condition.
72285         [__USE_GNU] (__vdprintf_chk): Likewise.
72286         [__USE_GNU] (dprintf): Likewise.
72287         [__USE_GNU] (vdprintf): Likewise.
72289 2012-05-03  Roland McGrath  <roland@hack.frob.com>
72291         * elf/Makefile (common-generated): Set this instead of generated for
72292         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
72293         $(all-built-dso)-derived lists.
72295 2012-05-03  Andreas Jaeger  <aj@suse.de>
72297         * sysdeps/i386/fpu/libm-test-ulps: Update.
72299         * FAQ: Removed.
72300         * FAQ.in: Likewise.
72301         * scripts/gen-FAQ.pl: Likewise.
72302         * manual/install.texi (Installation): Point to online location of
72303         FAQ.
72304         * Makefile (files-for-dist): Remove FAQ.
72305         (FAQ): Remove.
72307 2012-05-02  Allan McRae  <allan@archlinux.org>
72309         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
72310         (LDFLAGS-reldepmod5.so): Likewise.
72311         (LDFLAGS-reldep6mod1.so): Likewise.
72312         (LDFLAGS-reldep6mod4.so): Likewise.
72313         (LDFLAGS-reldep8mod3.so): Likewise.
72314         (LDFLAGS-unload4mod1.so): Likewise.
72315         (LDFLAGS-unload4mod2.so): Likewise.
72316         (LDFLAGS-tst-initorder): Likewise.
72317         (LDFLAGS-tst-initordera2.so): Likewise.
72318         (LDFLAGS-tst-initordera3.so): Likewise.
72319         (LDFLAGS-tst-initordera4.so): Likewise.
72320         (LDFLAGS-tst-initorderb2.so): Likewise.
72321         (LDFLAGS-noload): Likewise.
72322         (LDFLAGS-next): Likewise.
72323         (LDFLAGS-order2mod1.so): Likewise.
72324         (LDFLAGS-order2mod2.so): Likewise.
72325         (LDFLAGS-tst-initorder2): Likewise.
72326         (LDFLAGS-tst-initorder2a.so): Likewise.
72327         (LDFLAGS-tst-initorder2b.so): Likewise.
72328         (LDFLAGS-tst-initorder2c.so): Likewise.
72329         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
72331 2012-05-02  David S. Miller  <davem@davemloft.net>
72333         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72335 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
72337         [BZ #14055]
72338         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
72340 2012-05-02  Andreas Jaeger  <aj@suse.de>
72342         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
72343         since we manipulate rounding mode.
72344         (CPPFLAGS-test-idouble.c): Likewise.
72345         (CPPFLAGS-test-ifloat.c): Likewise.
72346         (CFLAGS-test-ldouble.c): Likewise.
72347         (CFLAGS-test-double.c): Likewise.
72348         (CFLAGS-test-float.c): Likewise.
72349         (CFLAGS-test-misc.c): Likewise.
72350         (CFLAGS-test-test-fenv.c): Likewise.
72352 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72354         [BZ #2550]
72355         [BZ #2570]
72356         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
72357         comparisons to determine direction to adjust input.
72359 2012-05-01  Roland McGrath  <roland@hack.frob.com>
72361         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
72362         output to the target.
72364         * scripts/localplt.awk: New file.
72365         * elf/Makefile ($(objpfx)check-localplt): Target removed.
72366         (check-localplt-CFLAGS): Variable removed.
72367         ($(all-built-dso:=.jmprel)): New static pattern rule.
72368         (generated): Add those targets.
72369         (localplt-built-dso): New variable.
72370         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
72372         * elf/check-localplt.c: File removed.
72374         * scripts/check-execstack.awk: New file.
72375         * elf/Makefile ($(objpfx)check-execstack): Target removed.
72376         (check-execstack-CFLAGS): Variable removed.
72377         ($(objpfx)check-execstack.h): Target removed.
72378         ($(objpfx)execstack-default): New target.
72379         (generated): Add that instead of check-execstack.h.
72380         ($(all-built-dso:=.phdr)): New static pattern rule.
72381         (generated): Add those targets.
72382         * elf/check-execstack.c: File removed.
72384         * scripts/check-textrel.awk: New file.
72385         * elf/Makefile ($(objpfx)check-textrel): Target removed.
72386         (check-textrel-CFLAGS): Variable removed.
72387         (all-built-dso): Use := to define.o
72388         ($(all-built-dso:=.dyn)): New static pattern rule.
72389         (generated): Add those targets.
72390         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
72391         * config.make.in (READELF): New substituted variable.
72392         * elf/check-textrel.c: File removed.
72394 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
72396         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72397         allow.
72398         * conform/data/ctype.h-data [C99-based standards] (isblank):
72399         Expect function.
72400         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
72401         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
72402         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72403         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
72404         Specify type.  Require positive value.
72405         (EILSEQ): Likewise.
72406         (ERANGE): Likewise.
72407         [ISO || POSIX] (EILSEQ): Do not expect.
72408         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
72409         Specify type.  Require positive value.
72410         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
72411         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
72412         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
72413         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
72414         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
72415         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
72416         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
72417         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
72418         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
72419         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
72420         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
72421         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
72422         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
72423         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
72424         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
72425         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
72426         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
72427         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
72428         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
72429         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
72430         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
72431         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
72432         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
72433         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
72434         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
72435         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
72436         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
72437         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
72438         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
72439         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
72440         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
72441         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
72442         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
72443         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
72444         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
72445         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
72446         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
72447         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
72448         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
72449         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
72450         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
72451         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
72452         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
72453         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
72454         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
72455         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
72456         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
72457         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
72458         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
72459         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
72460         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
72461         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
72462         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
72463         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
72464         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
72465         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
72466         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
72467         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
72468         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
72469         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
72470         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
72471         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
72472         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
72473         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
72474         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
72475         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
72476         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
72477         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
72478         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
72479         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
72480         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
72481         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
72482         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
72483         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
72484         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
72485         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
72486         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
72487         Require >= 2.
72488         (FLT_ROUNDS): Expect as macro, not constant.
72489         (FLT_MANT_DIG): Use macro-int-constant.
72490         (DBL_MANT_DIG): Likewise.
72491         (LDBL_MANT_DIG): Likewise.
72492         (FLT_DIG): Likewise.
72493         (DBL_DIG): Likewise.
72494         (LDBL_DIG): Likewise.
72495         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
72496         (DBL_MIN_EXP): Likewise.
72497         (LDBL_MIN_EXP): Likewise.
72498         (FLT_MAX_EXP): Use macro-int-constant.
72499         (DBL_MAX_EXP): Likewise.
72500         (LDBL_MAX_EXP): Likewise.
72501         (FLT_MAX_10_EXP): Likewise.
72502         (DBL_MAX_10_EXP): Likewise.
72503         (LDBL_MAX_10_EXP): Likewise.
72504         (FLT_MAX): Use macro-constant.
72505         (DBL_MAX): Likewise.
72506         (LDBL_MAX): Likewise.
72507         (FLT_EPSILON): Use macro-constant.  Give upper bound.
72508         (DBL_EPSILON): Likewise.
72509         (LDBL_EPSILON): Likewise.
72510         (FLT_MIN): Likewise.
72511         (DBL_MIN): Likewise.
72512         (LDBL_MIN): Likewise.
72513         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
72514         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
72515         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
72516         [ISO11] (FLT_HAS_SUBNORM): Likewise.
72517         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
72518         [ISO11] (DBL_DECIMAL_DIG): Likewise.
72519         [ISO11] (FLT_DECIMAL_DIG): Likewise.
72520         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
72521         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
72522         [ISO11] (FLT_TRUE_MIN): Likewise.
72523         [ISO11] (LDBL_TRUE_MIN): Likewise.
72524         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72525         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
72526         (SCHAR_MIN): Use macro-int-constant.  Specify type.
72527         (SCHAR_MAX): Likewise.
72528         (UCHAR_MAX): Likewise.
72529         (CHAR_MIN): Likewise.
72530         (CHAR_MAX): Likewise.
72531         (MB_LEN_MAX): Use macro-int-constant.
72532         (SHRT_MIN): Use macro-int-constant.  Specify type.
72533         (SHRT_MAX): Likewise.
72534         (USHRT_MAX): Likewise.
72535         (INT_MAX): Likewise.
72536         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
72537         bound negative.
72538         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
72539         bound with "U".
72540         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
72541         bound with "L".
72542         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
72543         bound negative.  Suffix upper bound with "L".
72544         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
72545         bound with "UL".
72546         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
72547         Specify type.
72548         [C99-based standards] (LLONG_MAX): Likewise.
72549         [C99-based standards] (ULLONG_MAX): Likewise.
72550         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
72551         == 0.
72552         [ISO11] (max_align_t): Require type.
72553         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72555         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
72556         from $CFLAGS, without defining away __attribute__ calls.
72557         (checknamespace): Use $CFLAGS_namespace.
72559         * conform/conformtest.pl (@keywords): Only include C99 keywords
72560         for standards based on C99 or C11.
72562         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
72563         Disable tests.
72564         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
72565         UNIX98]: Likewise.
72567         * conform/conformtest.pl: Handle "macro-int-constant" and test for
72568         usability of symbols in #if.
72570         * conform/conformtest.pl: If macro or constant types start
72571         "promoted:", expect the symbol to be of the following type
72572         promoted by the integer promotions.
72574         * conform/conformtest.pl: Parse all "constant" and "macro" lines
72575         in one place.  Also handle "macro-constant".
72577         * conform/conformtest.pl: Only accept expected macro values with
72578         "==".  Parse all "macro" lines in one place.
72579         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
72581         * conform/conformtest.pl: Handle braced types on "constant" lines
72582         instead of handling "typed-constant".
72583         * conform/data/signal.h-data: Use "constant" instead of
72584         "typed-constant".
72586         * conform/conformtest.pl: Handle "optional-" at start of lines in
72587         one place rather than duplicating several cases.  Handle each
72588         format of "macro" line with initial "optional-".
72590         * conform/conformtest.pl: Only accept expected constant or
72591         optional-constant values with "==".  Parse all "constant" lines in
72592         one place.  Parse all "optional-constant" lines in one place.
72593         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
72594         * conform/data/fmtmsg.h-data: Likewise.
72595         * conform/data/netinet/in.h-data: Likewise.
72596         * conform/data/tar.h-data: Likewise.
72597         * conform/data/limits.h-data: Use "==" form on "constant" and
72598         "optional-constant" lines.
72600         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
72601         Use -std=c99 for XOPEN2K.
72602         (@knownproblems): Remove.
72603         (newtoken): Don't check %isknown.
72605         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
72606         Do not expect macro.
72607         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
72608         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
72609         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
72610         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
72611         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
72612         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
72613         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
72614         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
72615         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
72616         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
72617         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
72618         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
72619         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
72620         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
72621         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
72622         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
72623         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
72624         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
72625         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
72626         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
72627         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
72628         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
72629         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
72630         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
72631         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
72632         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
72633         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
72634         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
72635         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
72636         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
72637         [XPG3] (acosh): Likewise.
72638         [XPG3] (asinh): Likewise.
72639         [XPG3] (atanh): Likewise.
72640         [XPG3] (cbrt): Likewise.
72641         [XPG3] (expm1): Likewise.
72642         [XPG3] (ilogb): Likewise.
72643         [XPG3] (log1p): Likewise.
72644         [XPG3] (logb): Likewise.
72645         [XPG3] (nextafter): Likewise.
72646         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
72647         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
72648         [XPG3] (remainder): Likewise.
72649         [XPG3] (rint): Likewise.
72650         [XPG3 || XPG4 || UNIX98] (round): Likewise.
72651         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
72652         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
72653         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
72654         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
72655         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
72656         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
72657         [UNIX98 || XOPEN2K] (scalb): Expect.
72658         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
72659         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
72660         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
72661         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
72662         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
72663         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
72664         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
72665         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
72666         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
72667         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
72668         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
72669         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
72670         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
72671         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
72672         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
72673         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
72674         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
72675         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
72676         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
72677         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
72678         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
72679         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
72680         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
72681         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
72682         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
72683         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
72684         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
72685         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
72686         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
72687         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
72688         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
72689         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
72690         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
72691         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
72692         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
72693         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
72694         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
72695         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
72696         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
72697         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
72698         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
72699         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
72700         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
72701         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
72702         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
72703         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
72704         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
72705         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
72706         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
72707         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
72708         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
72709         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
72710         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
72711         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
72712         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
72713         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
72714         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
72715         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
72716         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
72717         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
72718         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
72719         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
72720         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
72721         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
72722         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
72723         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
72724         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
72725         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
72726         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
72727         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
72728         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
72729         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
72730         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
72731         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
72732         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
72733         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
72734         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
72735         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
72736         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
72737         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
72738         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
72739         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
72740         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
72741         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
72742         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
72743         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
72744         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
72745         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
72746         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
72747         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
72748         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
72749         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
72750         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
72751         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
72752         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
72753         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
72754         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
72755         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
72756         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
72757         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
72758         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
72759         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
72760         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
72761         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
72762         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
72763         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
72764         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
72765         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
72766         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
72767         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
72768         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
72769         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
72770         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
72771         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
72772         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
72773         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
72774         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
72775         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
72776         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
72777         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
72778         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
72779         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
72780         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
72781         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
72782         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
72783         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
72784         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
72785         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
72786         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
72787         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
72788         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
72789         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
72790         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
72791         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
72792         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
72793         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
72794         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
72796         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
72797         _XOPEN_SOURCE_EXTENDED for XPG4.
72799         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
72801         * Makeconfig (localtime): Remove variable.
72802         (inst_localtime-file): Likewise.
72804 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
72806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
72807         Update.
72808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72809         Update.
72810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
72811         Update.
72812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
72813         Update.
72814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
72815         Update.
72816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
72817         Update.
72818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72819         Update.
72820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
72821         Update.
72822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
72823         Update.
72825 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
72827         [BZ #2550]
72828         [BZ #2570]
72829         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
72830         comparisons to determine direction to adjust input.
72831         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
72832         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
72833         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
72834         Likewise.
72835         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
72836         Likewise.
72837         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
72838         Likewise.
72839         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
72840         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
72841         Likewise.
72842         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
72843         Likewise.
72844         * math/libm-test.inc (nexttoward_test): Add more tests.
72846 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
72848         [BZ #14040]
72849         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
72850         in version GLIBC_2.1, not GLIBC_2.0.
72851         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
72852         Likewise.
72854 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
72856         [BZ #13942]
72857         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
72858         (1 - x) * (1 + x).
72859         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
72860         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
72861         * math/libm-test.inc (acos_test): Add more tests.
72862         (asin_test): Likewise.
72863         * sysdeps/i386/fpu/libm-test-ulps: Update.
72864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72866         [BZ #14034]
72867         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
72868         of square root.
72869         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
72870         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
72871         * math/libm-test.inc (acos_test_tonearest): New function.
72872         (acos_test_towardzero): Likewise.
72873         (acos_test_downward): Likewise.
72874         (acos_test_upward): Likewise.
72875         (asin_test_tonearest): Likewise.
72876         (asin_test_towardzero): Likewise.
72877         (asin_test_downward): Likewise.
72878         (asin_test_upward): Likewise.
72879         (main): Call the new functions.
72880         * sysdeps/i386/fpu/libm-test-ulps: Update.
72881         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72883         [BZ #13884]
72884         [BZ #13924]
72885         * math/e_exp10.c: Include <float.h>.
72886         (__ieee754_exp10): Handle underflow here rather than multiplying
72887         large negative argument by M_LN10.
72888         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
72889         of __ieee754_expf.
72890         * math/e_exp10l.c: Include <float.h>.
72891         (__ieee754_exp10l): Handle underflow here rather than multiplying
72892         large negative argument by M_LN10l.
72893         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
72894         spurious overflow exception on underflow.
72896 2012-04-29  Marek Polacek  <polacek@redhat.com>
72898         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
72899         (__fortify_function): New macro.
72900         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
72901         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
72902         __extern_always_inline.
72903         * libio/bits/stdio2.h: Likewise.
72904         * libio/bits/stdio.h: Likewise.
72905         * string/string.h: Likewise.
72906         * string/bits/string3.h: Likewise.
72907         * include/stdio.h: Likewise.
72908         * stdlib/bits/stdlib.h: Likewise.
72909         * stdlib/stdlib.h: Likewise.
72910         * rt/bits/mqueue2.h: Likewise.
72911         * rt/mqueue.h: Likewise.
72912         * posix/bits/unistd.h: Likewise.
72913         * posix/unistd.h: Likewise.
72914         * io/bits/poll2.h: Likewise.
72915         * io/bits/fcntl2.h: Likewise.
72916         * io/fcntl.h: Likewise.
72917         * io/sys/poll.h: Likewise.
72918         * misc/bits/syslog.h: Likewise.
72919         * misc/bits/syslog-ldbl.h: Likewise.
72920         * misc/sys/syslog.h: Likewise.
72921         * socket/bits/socket2.h: Likewise.
72922         * socket/sys/socket.h: Likewise.
72923         * debug/tst-chk1.c: Likewise.
72924         * wcsmbs/bits/wchar2.h: Likewise.
72925         * wcsmbs/bits/wchar-ldbl.h: Likewise.
72926         * wcsmbs/wchar.h: Likewise.
72928 2012-04-29  Andreas Jaeger  <aj@suse.de>
72930         * Makerules (tests): Remove enable-check-abi protection.
72931         (check-abi-warn): Remove.
72932         (check-abi-%): Remove check-abi-warn usage.
72934         * configure.in: Remove check-abi configure option.
72935         * configure: Regenerated.
72936         * config.make.in (enable-check-abi): Remove.
72938 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
72940         [BZ #14033]
72941         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
72942         double functions to double *_finite functions.
72944         [BZ #13941]
72945         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
72946         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
72947         LDBL_MIN_EXP.
72948         * stdio-common/Makefile (tests): Add tst-sprintf3.
72949         * stdio-common/tst-sprintf3.c: New file.
72951         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
72952         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
72954 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
72956         * conform/conformtest.pl: Remove duplicate typed-constant
72957         handling.
72959 2012-04-28  David S. Miller  <davem@davemloft.net>
72961         * Makerules (%.abilist): Add vpath on sysdep_dirs.
72962         (check-abi-%): Remove AWK script prerequisite and explicit
72963         abilist directory.
72964         (check-abi): Rewrite to just diff the symlist with the abilist.
72965         (config-tls, config-abi-config): Delete, no longer used.
72966         (update-abi-%): Remove AWK script and explicit abilist directory.
72967         (update-abi): Rewrite to simply compare and conditionally copy the
72968         symlist and the sysdep abilist file.  Remove update-abi-config
72969         checks.
72970         * abilist/ld.abilist: Remove.
72971         * abilist/libBrokenLocale.abilist: Remove.
72972         * abilist/libanl.abilist: Remove.
72973         * abilist/libcrypt.abilist: Remove.
72974         * abilist/libdl.abilist: Remove.
72975         * abilist/librt.abilist: Remove.
72976         * abilist/libthread_db.abilist: Remove.
72977         * abilist/libutil.abilist: Remove.
72978         * scripts/extract-abilist.awk: Remove.
72979         * scripts/merge-abilist.awk: Remove.
72980         * sysdeps/generic/libcidn.abilist: New file.
72981         * sysdeps/generic/libnss_compat.abilist: New file.
72982         * sysdeps/generic/libnss_db.abilist: New file.
72983         * sysdeps/generic/libnss_dns.abilist: New file.
72984         * sysdeps/generic/libnss_files.abilist: New file.
72985         * sysdeps/generic/libnss_hesiod.abilist: New file.
72986         * sysdeps/generic/libnss_nis.abilist: New file.
72987         * sysdeps/generic/libnss_nisplus.abilist: New file.
72988         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
72989         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
72990         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
72991         file.
72992         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
72993         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
72994         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
72995         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
72996         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
72997         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
72998         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
72999         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
73000         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
73001         file.
73002         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
73003         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
73004         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
73005         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
73006         file.
73007         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
73008         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
73009         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
73010         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
73011         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
73012         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
73013         file.
73014         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
73015         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
73016         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
73017         file.
73018         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
73019         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
73020         New file.
73021         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
73022         New file.
73023         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
73024         New file.
73025         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
73026         New file.
73027         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
73028         New file.
73029         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
73030         New file.
73031         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
73032         New file.
73033         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
73034         New file.
73035         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
73036         New file.
73037         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
73038         New file.
73039         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
73040         New file.
73041         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
73042         New file.
73043         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
73044         New file.
73045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
73046         file.
73047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
73048         New file.
73049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
73050         New file.
73051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
73052         file.
73053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
73054         New file.
73055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
73056         New file.
73057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
73058         file.
73059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
73060         New file.
73061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
73062         New file.
73063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
73064         New file.
73065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
73066         New file.
73067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
73068         New file.
73069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
73070         New file.
73071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
73072         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
73073         file.
73074         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
73075         New file.
73076         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
73077         file.
73078         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
73079         file.
73080         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
73081         file.
73082         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
73083         file.
73084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
73085         file.
73086         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
73087         New file.
73088         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
73089         file.
73090         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
73091         file.
73092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
73093         New file.
73094         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
73095         file.
73096         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
73097         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
73098         file.
73099         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
73100         New file.
73101         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
73102         file.
73103         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
73104         file.
73105         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
73106         file.
73107         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
73108         file.
73109         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
73110         file.
73111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
73112         New file.
73113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
73114         file.
73115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
73116         file.
73117         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
73118         New file.
73119         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
73120         file.
73121         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
73122         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
73123         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
73124         file.
73125         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
73126         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
73127         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
73128         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
73129         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
73130         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
73131         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
73132         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
73133         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
73134         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
73135         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
73136         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
73137         file.
73138         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
73139         New file.
73140         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
73141         file.
73142         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
73143         file.
73144         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
73145         file.
73146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
73147         file.
73148         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
73149         file.
73150         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
73151         New file.
73152         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
73153         New file.
73154         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
73155         file.
73156         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
73157         New file.
73158         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
73159         file.
73160         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
73161         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
73162         file.
73163         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
73164         New file.
73165         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
73166         file.
73167         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
73168         file.
73169         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
73170         file.
73171         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
73172         file.
73173         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
73174         file.
73175         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
73176         New file.
73177         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
73178         New file.
73179         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
73180         file.
73181         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
73182         New file.
73183         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
73184         file.
73186 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
73188         * conform/conformtest.pl: Fix typo in handling typed-constant from
73189         allow-header.
73191 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
73193         * README: Cut down references to pre-2.6 Linux kernels and
73194         Linuxthreads.  Update lists of configurations in libc and ports
73195         and sort alphabetically.  Say "or newer" with Linux kernel version
73196         requirements.
73198         * config.h.in [IS_IN_build]: Allow compiling without optimization.
73200 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
73202         [BZ #887]
73203         * math/libm-test.inc (logb_test_downward): New test to expose
73204         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
73205         rounding mode.
73207 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
73209         [BZ #14027]
73210         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
73211         to be done.
73212         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
73213         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
73215 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
73217         * sysdeps/unix/i386/brk.S: Remove file.
73218         * sysdeps/unix/i386/dl-brk.S: Likewise.
73219         * sysdeps/unix/i386/pipe.S: Likewise.
73220         * sysdeps/unix/i386/sigreturn.S: Likewise.
73221         * sysdeps/unix/i386/syscall.S: Likewise.
73222         * sysdeps/unix/i386/vfork.S: Likewise.
73223         * sysdeps/unix/i386/wait.S: Likewise.
73225         * sysdeps/unix/common/tcsendbrk.c: Move to ...
73226         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
73228         * configure.in (arm*-none*): Do not allow without
73229         --enable-hacker-mode.
73230         (netbsd*): Remove case setting base_os.
73231         (386bsd*): Likewise.
73232         (freebsd*): Likewise.
73233         (bsdi*): Likewise.
73234         (osf*): Likewise.
73235         (sunos*): Likewise.
73236         (ultrix*): Likewise.
73237         (newsos*): Likewise.
73238         (dynix*): Likewise.
73239         (*bsd*): Likewise.
73240         (sysv*): Likewise.
73241         (isc*): Likewise.
73242         (esix*): Likewise.
73243         (sco*): Likewise.
73244         (minix*): Likewise.
73245         (irix4*): Likewise.
73246         (irix6*): Likewise.
73247         (solaris[2-9]*): Likewise.
73248         (none): Likewise.
73249         * configure: Regenerated.
73251 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73253         [BZ #11521]
73254         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
73255         overflow or cancellation in calculating denominator.
73256         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
73257         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
73258         down expression to avoid unexpected rounding in newer GCCs.
73259         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
73261 2012-04-26  David S. Miller  <davem@davemloft.net>
73263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
73264         long-double compat symbols.
73265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
73266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
73267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
73268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
73269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
73270         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
73271         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
73272         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
73273         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
73274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
73275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
73276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
73277         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
73279 2012-04-25  David S. Miller  <davem@davemloft.net>
73281         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
73282         HWCAP_* values only after the memory barriers have been defined.
73283         (atomic_full_barrier): Define.
73284         (atomic_read_barrier): Define.
73285         (atomic_write_barrier): Define.
73287 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
73289         * shlib-versions: Add libgcc_s version information.
73290         * sysdeps/generic/libgcc_s.h: Remove.
73291         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
73292         libgcc_s.h.
73293         * sysdeps/gnu/unwind-resume.c: Likewise.
73294         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
73296 2012-04-25  David S. Miller  <davem@davemloft.net>
73298         * sysdeps/unix/sparc/brk.S: Delete.
73299         * sysdeps/unix/sparc/dl-brk.S: Delete.
73300         * sysdeps/unix/sparc/pipe.S: Delete.
73301         * sysdeps/unix/sparc/sysdep.S: Delete.
73302         * sysdeps/unix/sparc/sysdep.h: Delete.
73303         * sysdeps/unix/sparc/vfork.S: Delete.
73304         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
73305         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
73306         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
73307         (ret_ERRVAL, r0, r1, MOVE): Define.
73308         (JUMPTARGET): Remove.
73309         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
73310         sysdeps/unix/sparc/sysdep.h
73311         (ENTRY, END): Remove.
73312         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73314 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
73316         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
73317         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
73318         -DIS_IN_build.
73320         * timezone/README: Update upstream location and email address for
73321         tzcode and tzdata.
73322         * timezone/zdump.c: Update from tzcode 2012b.
73323         * timezone/zic.c: Likewise.
73325         * configure.in (libc_cv_as_needed): Remove test.
73326         * configure: Regenerated.
73327         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
73328         conditional definition.
73329         [$(have-as-needed) != yes] (no-as-needed): Likewise.
73330         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
73331         * config.make.in (have-as-needed): Remove variable.
73333 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
73334             Paul Pluzhnikov  <ppluzhnikov@google.com>
73336         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
73337         strings correctly.
73339 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
73341         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
73342         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
73343         * sysdeps/sh/strlen.S: Likewise.
73345 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
73347         * sysdeps/unix/fork.S: Remove file.
73348         * sysdeps/unix/i386/fork.S: Likewise.
73349         * sysdeps/unix/sparc/fork.S: Likewise.
73351         * sysdeps/unix/system.c: Remove file.
73352         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
73354         * sysdeps/unix/getegid.S: Remove file.
73355         * sysdeps/unix/geteuid.S: Likewise.
73357 2012-04-24  Roland McGrath  <roland@hack.frob.com>
73359         * scripts/check-localplt.awk: New file.
73360         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
73361         of diff.
73362         * scripts/data/localplt-generic.data: Add a comment.
73364         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
73365         NODE when __dir_mkfile failed.
73366         * sysdeps/mach/hurd/symlinkat.c: Likewise.
73367         Reported by Ludovic Courtès <ludo@gnu.org>.
73369 2012-04-24  Andreas Jaeger  <aj@suse.de>
73371         * Makerules (common-clean): Also remove gen-as-const-headers
73372         files.
73374 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
73376         * Makerules (native-compile): Do not change working directory for
73377         build.  Use $(OUTPUT_OPTION) in command.
73378         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
73380 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73382         [BZ #13886]
73383         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
73384         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
73385         * math/libm-test.inc (floor_test): Add more tests.
73386         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
73388 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
73390         * sysdeps/unix/getdents.c: Remove file.
73391         * sysdeps/unix/sysv/getdents.c: Likewise.
73392         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
73394         * sysdeps/unix/syscalls.list (madvise): Add syscall from
73395         sysdeps/unix/mman/syscalls.list.
73396         (mmap): Likewise.
73397         (mprotect): Likewise.
73398         (msync): Likewise.
73399         (munmap): Likewise.
73400         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
73401         * sysdeps/unix/mman/syscalls.list: Remove.
73402         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
73404         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
73405         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
73406         * configure: Regenerated.
73407         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
73408         $(libgcc_s_suffix).
73409         * config.make.in (libgcc_s_suffix): Remove variable.
73411 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
73413         * sysdeps/unix/sysv/gethostname.c: Move to ...
73414         * sysdeps/posix/gethostname.c: ... here.
73416         * sysdeps/unix/execve.S: Remove file.
73418         * sysdeps/unix/_exit.S: Remove file.
73420 2012-04-23  Andreas Jaeger  <aj@suse.de>
73422         [BZ #13739]
73423         * manual/Makefile: Remove make dist support, there's no
73424         need for a stand-alone documentation tar ball.
73425         (TEXI2DVI): Define always, it's not in Makeconfig.
73426         (dist): Removed.
73427         (tar-it): Removed.
73428         (edition): Removed.
73429         (glibc-doc-$(edition).tar): Removed
73430         (%.Z): Removed.
73431         (%.gz): Removed.
73432         (%.uu): Removed.
73433         (ETAGS): Remove, it's in Makeconfig.
73434         (move-if-change): Remove, it's in Makeconfig.
73436 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
73438         [BZ #13970]
73439         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
73440         (strtod, strtof, strtold, strtol, strtoul, strtoq)
73441         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
73442         (strtod_l, strtof_l, strtold_l): Remove __wur.
73443         It is not necessarily an error to ignore strtol's return value.
73444         One can reliably look at the stored endptr to decide whether
73445         the number had valid syntax.
73447 2012-04-21  Andreas Jaeger  <aj@suse.de>
73449         [BZ #13739]
73450         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
73452 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
73454         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
73455         * sysdeps/unix/sysv/Versions: Remove file.
73457 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
73459         [BZ #13927]
73460         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73462 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
73464         [BZ #7064]
73465         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
73466         version from __vm86.
73468 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
73470         * sysdeps/unix/common/lxstat.c: Remove file.
73471         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
73473         * sysdeps/unix/sysv/Makefile: Remove file.
73475         * sysdeps/unix/sysv/direct.h: Remove file.
73477         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
73478         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
73479         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
73480         * sysdeps/unix/sysv/bits/signum.h: Likewise.
73481         * sysdeps/unix/sysv/bits/stat.h: Likewise.
73482         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
73483         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
73485         * sysdeps/unix/sysv/setrlimit.c: Remove file.
73487         * sysdeps/unix/xmknod.c: Remove file.
73488         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
73490         * sysdeps/unix/sysv/settimeofday.c: Remove file.
73492         * sysdeps/unix/sysv/i386/time.S: Remove file.
73494         * sysdeps/unix/fxstat.c: Remove file.
73495         * sysdeps/unix/xstat.c: Likewise.
73496         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
73498         * sysdeps/unix/sysv/sigaction.c: Remove file.
73500         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
73501         (sysdep_headers): Remove variable.
73502         [termio.h not in sysdep_headers] (generated): Likewise.
73503         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
73504         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
73505         * sysdeps/unix/sysv/tcdrain.c: Likewise.
73506         * sysdeps/unix/sysv/tcflow.c: Likewise.
73507         * sysdeps/unix/sysv/tcflush.c: Likewise.
73508         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
73509         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
73510         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
73511         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
73512         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
73514         * sysdeps/unix/siglist.c: Remove file.
73516         * sysdeps/unix/getppid.S: Remove file.
73518         * sysdeps/unix/mkdir.c: Remove file.
73519         * sysdeps/unix/rmdir.c: Likewise.
73521 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
73523         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
73524         ERR_MAX value.
73525         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
73526         errlist-compat value.
73528 2012-04-18  David S. Miller  <davem@davemloft.net>
73530         * sysdeps/generic/memcopy.h (reg_char): Delete.
73531         * debug/strcat_chk.c: Use char, not reg_char.
73532         * debug/strcpy_chk.c: Likewise.
73533         * debug/strncat_chk.c: Likewise.
73534         * debug/strncpy_chk.c: Likewise.
73535         * string/memchr.c: Likewise.
73536         * string/memrchr.c: Likewise.
73537         * string/rawmemchr.c: Likewise.
73538         * string/strcat.c: Likewise.
73539         * string/strchr.c: Likewise.
73540         * string/strchrnul.c: Likewise.
73541         * string/strcmp.c: Likewise.
73542         * string/strcpy.c: Likewise.
73543         * string/strncat.c: Likewise.
73544         * string/strncmp.c: Likewise.
73545         * string/strncpy.c: Likewise.
73547 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
73549         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
73550         __builtin_memcopy is called when src and dest ranges are known to not
73551         overlap.
73553 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
73555         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
73556         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
73557         fwd_align_merge macro call.
73558         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
73559         bwd_align_merge macro call.
73560         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
73562 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
73564         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
73565         bwd_align_merge macros.
73566         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
73567         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
73568         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
73570 2012-04-18  David S. Miller  <davem@davemloft.net>
73572         * sysdeps/sparc/sparc64/memcopy.h: Delete.
73574 2012-04-18  Andreas Jaeger  <aj@suse.de>
73576         [BZ# 6794]
73577         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
73578         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
73579         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
73581         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
73582         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
73583         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
73585         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
73586         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
73587         Adjust for changed ldbl-128 files.
73589         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
73590         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
73591         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
73593 2012-04-17  David S. Miller  <davem@davemloft.net>
73595         * sysdeps/sparc/sparc32/memcopy.h: Delete.
73597 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
73599         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
73600         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
73601         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
73602         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
73603         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
73604         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
73606 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73608         [BZ #6794]
73609         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
73610         * math/libm-test.inc: Add ilogb errno and exception tests.
73611         * math/w_ilogb.c: New file: ilogb wrapper.
73612         * math/w_ilogbf.c: New file: ilogbf wrapper.
73613         * math/w_ilogbl.c: New file: ilogbl wrapper.
73614         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
73615         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
73616         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
73617         exception being thrown with 0.0 as argument.
73618         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
73619         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
73620         exception being thrown with 0.0 as argument.
73621         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
73622         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
73623         exception being thrown with 0.0 as argument.
73624         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
73625         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
73626         exception being thrown with 0.0 as argument.
73627         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
73628         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
73629         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
73630         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
73631         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
73632         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
73633         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
73634         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
73635         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
73637 2012-04-17  Petr Baudis  <pasky@ucw.cz>
73639         * include/sys/uio.h: Change __vector to __iovec to avoid clash
73640         with altivec.
73642 2012-04-16  Marek Polacek  <polacek@redhat.com>
73644         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
73646 2012-04-16  Marek Polacek  <polacek@redhat.com>
73648         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
73649         operands of fdivp instruction.
73651 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
73653         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
73654         * elf/tst-auditmod3b.c: Likewise.
73655         * elf/tst-auditmod4b.c: Likewise.
73656         * elf/tst-auditmod5b.c: Likewise.
73657         * elf/tst-auditmod6b.c: Likewise.
73658         * elf/tst-auditmod6c.c: Likewise.
73659         * elf/tst-auditmod7b.c: Likewise.
73660         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
73661         * sysdeps/x86_64/preconfigure.in: Likewise.
73662         * sysdeps/x86_64/preconfigure: Regenerated.
73664 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
73666         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
73667         __ILP32__.
73669 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
73671         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73672         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
73674 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
73676         [BZ #13973]
73677         * locale/iso-639.def: Fix gl language name. Spotted by
73678         Yaron Shahrabani.
73680 2012-04-12  Roland McGrath  <roland@hack.frob.com>
73682         [BZ #2074]
73683         * libio/libio.h (__io_write_fn): Update comment.
73685 2012-04-12  Petr Baudis  <pasky@ucw.cz>
73687         [BZ #2074]
73688         * stdio.texi (Hook Functions): The user provided writer function
73689         is not allowed to return -1.
73691 2012-04-11  David S. Miller  <davem@davemloft.net>
73693         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73695 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
73697         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
73698         Add a leading slash to rtkaio.
73700 2012-04-11  Jim Meyering  <meyering@redhat.com>
73702         [BZ #11959]
73703         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
73704         It is not necessarily an error to ignore fwrite's return
73705         value.  One can reliably use ferror to test for errors after
73706         the fact.
73708 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
73710         * bits/types.h (__snseconds_t): New type.
73711         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
73713         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
73714         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73715         (__SNSECONDS_T_TYPE): Likewise.
73716         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73717         (__SNSECONDS_T_TYPE): Likewise.
73718         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73719         (__SNSECONDS_T_TYPE): Likewise.
73721 2012-04-10  Andreas Jaeger  <aj@suse.de>
73723         [BZ #2636]
73724         * manual/time.texi (Processor Time): Return type of times is
73725         elapsed real time since an arbitrary point in the past.
73726         (CPU Time): Move CLK_TCK from here...
73727         (Processor Time): ...to here.  Correct description.
73728         * manual/conf.texi (Constants for Sysconf): Correct description of
73729         _SC_CLK_TCK.
73731 2012-04-10  David S. Miller  <davem@davemloft.net>
73733         [BZ #13967]
73734         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
73735         where the is a gap between DT_REL(A) and DT_JMPREL.
73737 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
73739         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
73740         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
73741         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
73743 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
73745         * elf/dl-support.c (_dl_inhibit_cache): New variable.
73746         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
73747         (dl_main): Handle --inhibit-cache.
73748         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
73749         _dl_inhibit_cache.
73750         * elf/dl-load.c (_dl_map_object): Use it.
73751         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
73753 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
73755         [BZ #13872]
73756         * sysdeps/i386/fpu/e_powl.S (p78): New object.
73757         (__ieee754_powl): Saturate large exponents rather than testing for
73758         overflow of y*log2(x).
73759         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73760         * math/libm-test.inc (pow_test): Do not permit spurious overflow
73761         exceptions.
73763         [BZ #11521]
73764         * math/s_ctan.c: Include <float.h>.
73765         (__ctan): Avoid internal overflow or cancellation in calculating
73766         denominator.
73767         * math/s_ctanf.c: Likewise.
73768         * math/s_ctanl.c: Likewise.
73769         * math/s_ctanh.c: Likewise.
73770         * math/s_ctanhf.c: Likewise.
73771         * math/s_ctanhl.c: Likewise.
73772         * math/libm-test.inc (ctan_test): Add more tests.
73773         (ctanh_test): Likewise.
73774         * sysdeps/i386/fpu/libm-test-ulps: Update.
73775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73777 2012-04-09  Andreas Jaeger  <aj@suse.de>
73779         [BZ #6894]
73780         * manual/filesys.texi (Directory Entries): Mention that d_namlen
73781         is an optional BSD extension.
73783         [BZ #10254]
73784         * manual/stdio.texi (Opening Streams): Document additional fopen
73785         parameters.
73787 2012-04-09  Roland McGrath  <roland@hack.frob.com>
73789         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
73790         %eax without telling the compiler.
73792 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
73794         [BZ # 13963]
73795         * manual/install.texi: Use sourceware.org.
73797 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
73799         [BZ #13873]
73800         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
73801         (__ieee754_pow): Generate overflow and underflow using huge*huge
73802         and tiny*tiny rather than just returning constant infinity or zero
73803         for large exponents.
73804         * math/libm-test.inc (pow_test): Require overflow exceptions for
73805         applicable cases of large exponents.
73807         [BZ #706]
73808         * sysdeps/i386/fpu/e_pow.S (p10): New object.
73809         (__ieee754_pow): Use iterative multiplication algorithm only for
73810         integer exponents with absolute value below 1024.  Check for odd
73811         integer exponents when using algorithm for real exponents.
73812         * math/libm-test.inc (pow_test): Add more tests.
73813         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73815 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
73817         [BZ #13705]
73818         * math/libm-test.inc (exp_test): Do not allow overflow exception
73819         on underflow test.
73821 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
73823         [BZ #13705]
73824         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
73825         instead of __kernel_standard_f.
73827 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
73829         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
73830         * sysdeps/x86_64/memset_chk.S: Likewise.
73832 2012-04-08  Andreas Jaeger  <aj@suse.de>
73834         [BZ #10153]
73835         * manual/startup.texi (Environment Access): Describe return value
73836         for putenv and setenv.
73838         [BZ #6895]
73839         * manual/filesys.texi (Directory Entries): Add description for
73840         DT_LNK.
73842         [BZ #6890]
73843         * manual/filesys.texi (Directory Entries): Clarify that it's file
73844         system not operating system in the description of DT_UNKNOWN.
73846         [BZ #6578]
73847         * manual/syslog.texi (closelog): Fix reference, it's openlog.
73849 2012-04-08  Stephen Compall  <s11@member.fsf.org>
73851         [BZ #6649]
73852         * manual/llio.texi (Opening and Closing Files): Add cross
73853         reference to explain mode argument.
73855 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
73857         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
73858         * sysdeps/x86_64/memset_chk.S: Likewise.
73860 2012-04-07  David S. Miller  <davem@davemloft.net>
73862         * elf/elf.h (R_SPARC_WDISP10): Define.
73863         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
73864         R_SPARC_SIZE32.
73865         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
73866         R_SPARC_SIZE64 and R_SPARC_H34.
73868 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
73870         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
73871         conditions and remove no longer applicable assertion.
73873 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
73875         * bits/byteswap.h: Include <features.h>.
73876         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
73877         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
73879 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
73881         * bits/byteswap.h (__bswap_16): Removed.
73882         Include <bits/byteswap-16.h> to get __bswap_16.
73883         * sysdeps/i386/bits/byteswap.h: Likewise.
73884         * sysdeps/s390/bits/byteswap.h: Likewise.
73885         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73886         * bits/byteswap-16.h: New file.
73887         * sysdeps/i386/bits/byteswap-16.h: Likewise.
73888         * sysdeps/s390/bits/byteswap-16.h: Likewise.
73889         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
73890         * string/Makefile (headers): Add bits/byteswap-16.h.
73892 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
73894         [BZ #13895]
73895         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
73896         extra indirection.
73897         * nss/Makefile (tests-static, tests): Add tst-nss-static.
73898         * nss/tst-nss-static.c: New.
73900 2012-04-06  Robert Millan  <rmh@gnu.org>
73902         [BZ #6486]
73903         * manual/llio.texi (File Position Primitive): lseek
73904         refers to WHENCE when it really means OFFSET.
73906 2012-04-06  Andreas Jaeger  <aj@suse.de>
73908         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
73909         strncmp declarations.
73911         * abilist/libc.abilist: Add __poll and __ppoll.
73913 2012-04-05  David S. Miller  <davem@davemloft.net>
73915         * scripts/check-local-headers.sh: Accept a host triplet in the
73916         path matched by the exclude regexp.
73918         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
73919         definition.
73920         * sysdeps/powerpc/powerpc32/dl-machine.h
73921         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
73922         * sysdeps/s390/s390-32/dl-machine.h
73923         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73924         * sysdeps/sparc/sparc32/dl-machine.h
73925         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73926         * sysdeps/sparc/sparc64/dl-machine.h
73927         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73929         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
73930         lazy binding.
73931         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
73932         undefined symbol errors.
73934         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
73935         DT_NEEDED entries.
73937 2012-04-05  Michael Matz  <matz@suse.de>
73939         [BZ #13592]
73940         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
73942 2012-04-05  Andreas Jaeger  <aj@suse.de>
73944         [BZ #13908]
73945         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
73946         comment.
73948 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73950         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
73951         which ROUND is no valid rounding mode.
73953 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73955         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
73956         read again.
73957         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
73959 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73961         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
73962         an exception using FPU order intentionally.
73964 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73966         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
73967         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
73968         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
73969         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
73971 2012-04-05  Simon Josefsson  <simon@josefsson.org>
73973         [BZ #12340]
73974         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
73975         EINVAL when BUFLEN is too smal.
73977 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
73979         [BZ #13553]
73980         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
73981         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
73983 2012-04-03  Andreas Jaeger  <aj@suse.de>
73985         [BZ #13938]
73986         * manual/setjmp.texi (System V contexts): Fix sentence.
73988         [BZ #13926]
73989         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
73990         New macro for this case.
73991         [!__GNUC__] (__bswap_64): New inline function for this case.
73992         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73993         * bits/byteswap.h: Likewise.
73994         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
73995         ull, guard with __GLIBC_HAVE_LONG_LONG.
73997         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
73998         __GLIBC_HAVE_LONG_LONG.
74000         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
74001         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
74003 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
74005         [BZ #13691]
74006         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
74007         inptr and inend, rather than using last_ch.
74009 2012-04-02  David S. Miller  <davem@davemloft.net>
74011         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
74012         * stdio-common/printf-parse.h (read_int): Change return type to
74013         'int', return -1 on INT_MAX overflow.
74014         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
74015         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
74016         overflows INT_MAX.  Check for overflow of in-format-string precision
74017         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
74018         SIZE_MAX not INT_MAX for integer overflow test.
74019         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
74020         skip the construct in the format string but do not record anything.
74021         * stdio-common/bug22.c: Adjust to test both width/prevision
74022         INT_MAX overflow as well as total length INT_MAX overflow.  Check
74023         explicitly for proper errno values.
74025 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
74027         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
74028         CHAR_MAX.
74029         * string/test-strcmp.c [! WIDE]: Likewise.
74030         * time/tst-mktime2.c: Likewise for INT_MAX.
74031         * string/test-string.h: #include <sys/param.h> for MIN.
74033         * csu/init-first.c (__libc_init_first): Call __ctype_init.
74034         * sysdeps/i386/init-first.c (init): Likewise.
74035         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
74036         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
74037         * sysdeps/sh/init-first.c (init): Likewise.
74039 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
74041         * po/ru.po: Update from translation team.
74042         * po/vi.po: Likewise.
74044 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
74046         * resolv/nss_dns/dns-host.c: Merge copyright years.
74048 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74050         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74051         Optimize memcpy with prefetch if
74052         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
74053         src, dst pointers have unequal 16 byte alignments.
74055 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
74057         [BZ #13928]
74058         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
74059         from a CNAME entry and return the minimum ttl for the query.
74060         (gaih_getanswer_slice): Likewise.
74062 2012-03-30  Jeff Law  <law@redhat.com>
74064         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
74065         due to long keys.
74066         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
74067         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
74069         * resolv/nss_dns/dns-host.c: Update copyright year.
74071 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
74073         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
74074         requests to save a system call.  Fix check that all bytes are sent.
74076         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
74077         comments for sendmmsg.
74079 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74081         [BZ #13691]
74082         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
74083         with only 1 character between 0x0041 and 0x01b0.
74084         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
74085         * wcsmbs/tst-mbsnrtowcs.c: New file.
74087 2012-03-29  David S. Miller  <davem@davemloft.net>
74089         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
74090         small copies by hand.
74092 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
74094         [BZ #13761]
74095         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
74096         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
74097         group memberships.
74099 2012-03-28  David S. Miller  <davem@davemloft.net>
74101         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
74102         that branches into memcpy.
74103         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
74104         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
74105         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
74106         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
74107         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
74108         bits.
74109         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
74110         implementation too.
74111         * sysdeps/sparc/mempcpy.S: New file.
74113         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
74114         the IFUNC routine in the libc case.
74115         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
74117         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
74118         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
74119         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
74120         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
74121         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
74122         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
74123         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
74124         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
74126         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
74127         loop to 256 bytes instead of 64 bytes and fix test signedness.
74129         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
74130         * sysdeps/sparc/sparc32/Makefile: rather than here...
74131         * sysdeps/sparc/sparc64/Makefile: and here.
74133 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
74135         * malloc/mallocbug.c: Avoid warnings about unused variables.
74137 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
74139         [BZ #13760]
74140         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
74141         in the right place. Discard and retry query if response is
74142         larger than input buffer size.
74144 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
74146         [BZ #369]
74147         [BZ #2678]
74148         [BZ #3866]
74149         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
74150         x for large integer exponent.
74151         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
74152         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
74153         sign of result as needed afterwards.
74154         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
74155         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
74156         result for underflowing pow the same as for overflow.
74157         (__kernel_standard_l): Handle powl overflow and underflow here
74158         rather than calling __kernel_standard.
74159         * math/libm-test.inc (pow_test): Add more tests.
74161         [BZ #3868]
74162         [BZ #13879]
74163         [BZ #13910]
74164         [BZ #13911]
74165         [BZ #13912]
74166         [BZ #13913]
74167         [BZ #13915]
74168         [BZ #13916]
74169         [BZ #13917]
74170         [BZ #13918]
74171         [BZ #13919]
74172         [BZ #13920]
74173         [BZ #13921]
74174         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
74175         * sysdeps/ieee754/k_standard.c: Include <float.h>.
74176         (__kernel_standard_l): New function.
74177         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
74178         __kernel_standard.
74179         * math/w_acosl.c (__acosl): Likewise.
74180         * math/w_asinl.c (__asinl): Likewise.
74181         * math/w_atan2l.c (__atan2l): Likewise.
74182         * math/w_atanhl.c (__atanhl): Likewise.
74183         * math/w_coshl.c (__coshl): Likewise.
74184         * math/w_exp10l.c (__exp10l): Likewise.
74185         * math/w_exp2l.c (__exp2l): Likewise.
74186         * math/w_fmodl.c (__fmodl): Likewise.
74187         * math/w_hypotl.c (__hypotl): Likewise.
74188         * math/w_j0l.c (__j0l, __y0l): Likewise.
74189         * math/w_j1l.c (__j1l, __y1l): Likewise.
74190         * math/w_jnl.c (__jnl, __ynl): Likewise.
74191         * math/w_lgammal.c (__lgammal): Likewise.
74192         * math/w_log10l.c (__log10l): Likewise.
74193         * math/w_log2l.c (__log2l): Likewise.
74194         * math/w_logl.c (__logl): Likewise.
74195         * math/w_powl.c (__powl): Likewise.
74196         * math/w_remainderl.c (__remainderl): Likewise.
74197         * math/w_scalbl.c (sysv_scalbl): Likewise.
74198         * math/w_sinhl.c (__sinhl): Likewise.
74199         * math/w_sqrtl.c (__sqrtl): Likewise.
74200         * math/w_tgammal.c (__tgammal): Likewise.
74201         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
74202         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
74203         * math/libm-test.inc (acos_test): Add more tests.
74204         (acosh_test): Likewise.
74205         (asin_test): Likewise.
74206         (atanh_test): Likewise.
74207         (exp_test): Likewise.
74208         (exp10_test): Likewise.
74209         (exp2_test): Likewise.
74210         (expm1_test): Likewise.
74211         (lgamma_test): Likewise.
74212         (log_test): Likewise.
74213         (log10_test): Likewise.
74214         (log1p_test): Likewise.
74215         (log2_test): Likewise.
74216         (pow_test): Do not allow some spurious overflow exceptions.
74217         (sqrt_test): Add more tests.
74218         (tgamma_test): Likewise.
74219         (y0_test): Likewise.
74220         (y1_test): Likewise.
74221         (yn_test): Likewise.
74223 2012-03-27  Anton Blanchard  <anton@samba.org>
74225         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
74226         MAP_HUGETLB.
74227         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
74228         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
74229         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
74231 2012-03-27  David S. Miller  <davem@davemloft.net>
74233         * conform/Makefile: Run run-conformtest.sh using $(BASH).
74235         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
74236         have-as-vis3 check.
74238 2012-03-27  Andreas Jaeger  <aj@suse.de>
74240         * sysdeps/x86_64/elf/configure.in: Moved to ...
74241         * sysdeps/x86_64/configure.in: ... here.
74242         * sysdeps/x86_64/elf/start.S: Moved to ...
74243         * sysdeps/x86_64/start.S: ... here.
74244         * sysdeps/x86_64/elf/configure: Delete.
74246         * sysdeps/x86_64/configure.in: Merge contents from
74247         sysdeps/i386/configure.in (without i686 check).
74249         * sysdeps/i386/elf/Versions: Merge into ...
74250         * sysdeps/i386/Versions: ... this.
74251         * sysdeps/i386/elf/Versions: Delete file.
74252         * sysdeps/i386/elf/start.S: Moved to ...
74253         * sysdeps/i386/start.S: ...here.
74254         * sysdeps/i386/elf/configure.in: Merge into...
74255         * sysdeps/i386/configure.in: ...here.
74256         * sysdeps/i386/elf/configure.in: Delete file.
74257         * sysdeps/i386/elf/configure: Delete file.
74259         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
74260         * debug/backtracesyms.c: ... here.
74261         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
74262         * debug/backtracesymsfd.c: ... here.
74263         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
74264         * sysdeps/generic/ifunc-sel.h: ... here.
74266         * sysdeps/unix/i386/start.c: Delete file.
74267         * sysdeps/unix/sparc/start.c: Delete file.
74268         * sysdeps/unix/start.c: Delete file.
74270         * sysdeps/sh/elf/configure.in: Moved to ...
74271         * sysdeps/sh/configure.in: ... here.
74272         * sysdeps/sh/elf/start.S: Moved to ...
74273         * sysdeps/sh/start.S: ... here.
74274         * sysdeps/sh/elf/configure: Delete file.
74276         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
74277         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
74278         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
74279         * sysdeps/powerpc/powerpc64/entry.h: ... here.
74280         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
74281         * sysdeps/powerpc/powerpc64/start.S: here.
74282         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
74283         * sysdeps/powerpc/powerpc64/Makefile: ... this.
74284         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
74285         * sysdeps/powerpc/powerpc64/configure.in: ... this.
74286         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
74288         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
74289         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
74290         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
74291         * sysdeps/powerpc/powerpc32/start.S: ... here.
74292         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
74293         * sysdeps/powerpc/powerpc32/configure.in: ... this.
74294         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
74296         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
74297         * sysdeps/powerpc/ifunc-sel.h: ... here.
74298         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
74299         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
74301         * sysdeps/sparc/elf/configure.in: Moved to ...
74302         * sysdeps/sparc/configure.in: ... here.
74303         * sysdeps/sparc/elf/configure: Delete file.
74304         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
74305         * sysdeps/sparc/sparc32/start.S: ... here.
74306         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
74307         * sysdeps/sparc/sparc64/start.S: ... here.
74308         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
74309         * sysdeps/sparc/sparc32/Makefile: ... this.
74310         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
74311         * sysdeps/sparc/sparc64/Makefile: ... this.
74313         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
74314         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
74315         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
74316         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
74317         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
74318         * sysdeps/s390/s390-32/setjmp.S: ... here.
74319         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
74320         * sysdeps/s390/s390-32/configure.in: ... here.
74321         * sysdeps/s390/s390-32/elf/configure: Delete file.
74322         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
74323         * sysdeps/s390/s390-32/start.S: ... here.
74325         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
74326         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
74327         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
74328         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
74329         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
74330         * sysdeps/s390/s390-64/setjmp.S: ... here.
74331         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
74332         * sysdeps/s390/s390-64/configure.in: ... here
74333         * sysdeps/s390/s390-64/elf/configure: Delete file.
74334         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
74335         * sysdeps/s390/s390-64/start.S: ... here.
74336         * sysdeps/s390/s390-64/elf/configure: Delete.
74338         * configure.in: Remove support for elf directories in sysdeps.
74340         * configure: Regenerated.
74341         * sysdeps/i386/configure: Regenerated.
74342         * sysdeps/powerpc/powerpc32/configure: Regenerated.
74343         * sysdeps/powerpc/powerpc64/configure: Regenerated.
74344         * sysdeps/s390/s390-32/configure: Regenerated.
74345         * sysdeps/s390/s390-64/configure: Regenerated.
74346         * sysdeps/sh/configure: Regenerated.
74347         * sysdeps/sparc/configure: Regenerated.
74348         * sysdeps/x86_64/configure: Regenerated.
74350 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
74352         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74354         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
74355         denormal result into account.
74357 2012-03-25  Roland McGrath  <roland@hack.frob.com>
74359         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
74360         Reported by Allan McRae <allan@archlinux.org>.
74362 2012-03-23  Jeff Law  <law@redhat.com>
74364         * nss/getnssent.c (__nss_getent): Fix typo.
74366 2012-03-23  David S. Miller  <davem@davemloft.net>
74368         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74370 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
74372         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
74373         to pad to uint64_t for each field.
74374         (dl_tls_index): Replace unsigned long with uint64_t.
74376 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
74377         Paul Pluzhnikov  <ppluzhnikov@google.com>
74379         [BZ #6528]
74380         * grp/Makefile (otherlibs): Don't set it.
74381         * inet/Makefile (otherlibs): Likewise.
74382         * login/Makefile (otherlibs): Likewise.
74383         * nscd/Makefile (otherlibs): Likewise.
74384         * posix/Makefile (otherlibs): Likewise.
74385         * pwd/Makefile (otherlibs): Likewise.
74386         * rt/Makefile (otherlibs): Likewise.
74387         * sunrpc/Makefile (otherlibs): Likewise.
74388         * nss/Makefile (otherlibs): Likewise.
74389         Add libnss_files to routines and static-only-routines.
74390         ($(objpfx)getent): Remove rule.
74391         * resolv/Makefile: Add libnss_dns and libresolv to routines and
74392         static-only-routines.
74394 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
74396         [BZ #13892]
74397         * math/s_cexp.c: Include <float.h>.
74398         (__cexp): Handle exp result overflowing not necessarily
74399         overflowing both real and imaginary parts of result.
74400         * math/s_cexpf.c: Likewise.
74401         * math/s_cexpl.c: Likewise.
74402         * math/libm-test.inc (cexp_test): Add more tests.
74403         * sysdeps/i386/fpu/libm-test-ulps: Update.
74404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74406 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
74408         * include/link.h (ELFW): New macro.
74409         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
74410         Replace ELF64_R_TYPE with ELFW(R_TYPE).
74412 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
74414         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
74415         with uint64_t.
74417 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
74419         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
74420         declaration.
74421         (struct La_x32_retval): Likewise.
74423 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
74425         * sysdeps/x86_64/preconfigure.in: New file.
74426         * sysdeps/x86_64/preconfigure: New generated file.
74428 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
74430         [BZ #13824]
74431         * math/e_exp2l.c: Include <float.h>.
74432         (__ieee754_exp2l): Handle overflow and underflow cases
74433         separately.  Only pass fractional part of argument to
74434         __ieee754_expl.
74435         * math/libm-test.inc (exp2_test): Add more tests.
74437         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
74438         negating x to take absolute value.
74439         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
74440         Likewise.
74441         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
74442         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
74443         Likewise.
74444         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
74445         computing low part if x was negated.
74446         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
74448 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
74450         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
74451         la_x32_gnu_pltexit.
74452         (pltexit): Cast int_retval to ptrdiff_t.
74453         * elf/tst-auditmod3b.c: Likewise.
74454         * elf/tst-auditmod4b.c: Likewise.
74455         * elf/tst-auditmod5b.c: Likewise.
74456         * elf/tst-auditmod6b.c: Likewise.
74457         * elf/tst-auditmod6c.c: Likewise.
74458         * elf/tst-auditmod7b.c: Likewise.
74460         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
74461         and x32_gnu_pltexit.
74463         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
74464         __ELF_NATIVE_CLASS.
74465         (La_x32_regs): New macro.
74466         (La_x32_retval): Likewise.
74467         (la_x32_gnu_pltenter): New function prototype.
74468         (la_x32_gnu_pltexit): Likewise.
74470 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
74472         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
74473         exponent.
74475         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74477         * configure.in (libc_cv_cc_nofma): Check for option to disable
74478         generation of FMA instructions.
74479         * configure: Regenerate.
74480         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
74481         * sysdeps/ieee754/dbl-64/Makefile: New file.
74482         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
74483         Remove brandred-fma4.
74484         (CFLAGS-brandred-fma4.c): Remove.
74485         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
74486         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
74487         define.
74488         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
74489         define.
74491 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
74493         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
74494         LLONG_MAX != LONG_MAX.
74495         (_itoa_word): Use _ITOA_WORD_TYPE on value.
74496         (_fitoa_word): Likewise.
74497         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
74498         LLONG_MAX != LONG_MAX.
74499         * stdio-common/_itowa.h: Include <_itoa.h>.
74500         (_itowa_word): Use _ITOA_WORD_TYPE on value.
74501         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
74502         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
74503         only if not defined.
74504         (_ITOA_WORD_TYPE): Likewise.
74505         (_itoa_word): Use _ITOA_WORD_TYPE on value.
74506         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
74508 2012-03-21  David S. Miller  <davem@davemloft.net>
74510         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74512 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
74514         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
74515         of x86_64 when setting libc_cv_slibdir, libdir and
74516         libc_cv_localedir.
74517         * sysdeps/unix/sysv/linux/configure: Regenerated.
74519 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
74521         * manual/lang.texi (Old Varargs): Remove section.
74522         (How Variadic): Update menu.
74523         (va_start): Do not mention varargs.h.
74525 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
74526             Joseph Myers  <joseph@codesourcery.com>
74528         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
74529         link test.
74530         * configure: Regenerated.
74532 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
74534         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
74535         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
74536         conformtest.pl
74538 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
74540         * NOTES: Remove.
74541         * Makefile (files-for-dist): Remove NOTES.
74542         (NOTES): Remove rule.
74543         * README: Don't refer to NOTES.
74544         * manual/creature.texi: Don't include macros.texi.
74545         * manual/intro.texi (creature.texi): Remove comment referring to
74546         NOTES.
74548         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
74549         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
74550         * configure: Regenerated.
74551         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
74552         LIBC_TRY_CC_OPTION.
74553         (libc_cv_as_i686): Likewise.
74554         (libc_cv_cc_avx): Likewise.
74555         (libc_cv_cc_sse2avx): Likewise.
74556         (libc_cv_cc_fma4): Likewise.
74557         (libc_cv_cc_novzeroupper): Likewise.
74558         * sysdeps/i386/configure: Regenerated.
74560         [BZ #13883]
74561         * sysdeps/i386/fpu/s_cexp.S: Remove.
74562         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
74563         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
74564         * math/libm-test.inc (cexp_test): Add more tests.
74565         * sysdeps/i386/fpu/libm-test-ulps: Update.
74566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74568 2012-03-21  Allan McRae  <allan@archlinux.org>
74570         * timezone/Makefile: Do not install iso3166.tab and zone.tab
74572 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
74574         [BZ #13871]
74575         * math/w_exp2.c: Do not include <float.h>.
74576         (o_threshold, u_threshold): Remove.
74577         (__exp2): Calculate result before checking finiteness and calling
74578         __kernel_standard.
74579         * math/w_exp2f.c: Likewise.
74580         * math/w_exp2l.c: Likewise.
74581         * math/libm-test.inc (exp2_test): Require overflow exception for
74582         1e6 input.
74584         [BZ #3866]
74585         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
74586         range of signed 64-bit integers before using fistpll.  Remove
74587         checks for whether integers fit in mantissa bits.
74588         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
74589         the range of signed 32-bit integers before using fistpl.  Remove
74590         checks for whether integers fit in mantissa bits.
74591         * sysdeps/i386/fpu/e_powl.S (p64): New object.
74592         (__ieee754_powl): Test for y outside the range of signed 64-bit
74593         integers before using fistpll.  Reduce 64-bit values to 63-bit
74594         ones as needed.
74595         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
74596         divide-by-zero is raised for zero to large negative powers.
74597         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
74598         (__ieee754_powl): Test for y outside the range of signed 64-bit
74599         integers before using fistpll.  Reduce 64-bit values to 63-bit
74600         ones as needed.
74601         * math/libm-test.inc (pow_test): Add more tests.
74603 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
74605         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
74606         <stdio-common/_itoa.h>.
74607         * debug/segfault.c: Likewise.
74608         * elf/dl-cache.c: Likewise.
74609         * elf/dl-minimal.c: Likewise.
74610         * elf/dl-misc.c: Likewise.
74611         * elf/dl-sysdep.c: Likewise.
74612         * elf/dl-version.c: Likewise.
74613         * elf/rtld.c: Likewise.
74614         * hurd/hurdsock.c: Likewise.
74615         * hurd/lookup-retry.c: Likewise.
74616         * malloc/malloc.c: Likewise.
74617         * malloc/mtrace.c: Likewise.
74618         * nscd/nscd_getgr_r.c: Likewise.
74619         * nscd/nscd_getpw_r.c: Likewise.
74620         * nscd/nscd_getserv_r.c: Likewise.
74621         * posix/getopt_init.c: Likewise.
74622         * posix/wordexp.c: Likewise.
74623         * stdio-common/_itoa.c: Likewise.
74624         * stdio-common/printf_fphex.c: Likewise.
74625         * stdio-common/vfprintf.c: Likewise.
74626         * string/_strerror.c: Likewise.
74627         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
74628         * sysdeps/i386/i686/hp-timing.h: Likewise.
74629         * sysdeps/mach/_strerror.c: Likewise.
74630         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
74631         * sysdeps/mach/hurd/sethostid.c: Likewise.
74632         * sysdeps/mach/hurd/xmknodat.c: Likewise.
74633         * sysdeps/mach/xpg-strerror.c: Likewise.
74634         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
74635         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
74636         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
74637         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
74638         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
74639         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
74640         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
74641         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
74642         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
74643         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
74644         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
74645         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
74646         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
74647         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
74648         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
74649         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
74650         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
74651         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
74652         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
74653         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
74654         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
74656         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
74658         * stdio-common/_itoa.h: Moved to ...
74659         * sysdeps/generic/_itoa.h: Here.
74661         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
74663         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
74664         instead of "_itoa.h" and "_itowa.h".
74665         * stdio-common/vfprintf.: Likewise.
74667 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
74669         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
74670         <bits/wordsize.h>.
74671         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
74672         (__signbit): Likewise.
74673         (llrintf): Likewise.
74674         (llrint): Likewise.
74676 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
74678         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
74679         __WORDSIZE != 64.
74681 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
74683         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
74684         OVERFLOW_EXCEPTION_OK.
74685         * math/libm-test.inc ("Philosophy"): Update comment about
74686         exception testing.
74687         (OVERFLOW_EXCEPTION): Define.
74688         (OVERFLOW_EXCEPTION_OK): Likewise.
74689         (INVALID_EXCEPTION_OK): Renumber.
74690         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
74691         (IGNORE_ZERO_INF_SIGN): Likewise.
74692         (test_exceptions): Handle FE_OVERFLOW.
74693         (exp10_test): Expect overflow exceptions.
74694         (exp2_test): Likewise.
74695         (expm1_test): Likewise.
74696         (nextafter_test): Likewise.
74697         (pow_test): Likewise.
74698         (scalbn_test): Likewise.
74699         (scalbln_test): Likewise.
74701 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
74703         * sysdeps/x86_64/bits/atomic.h
74704         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
74705         64bit integer.
74706         (atomic_exchange_acq): Likewise.
74707         (__arch_exchange_and_add_body): Likewise.
74708         (__arch_add_body): Likewise.
74709         (atomic_add_negative): Likewise.
74710         (atomic_add_zero): Likewise.
74712 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
74714         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
74715         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
74717 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
74719         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
74720         Check __x86_64__ instead of __WORDSIZE.
74722 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
74724         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
74726 2012-03-19  David S. Miller  <davem@davemloft.net>
74728         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74730         * sysdeps/sparc/fpu/fenv_private.h: New file.
74731         * sysdeps/sparc/fpu/math_private.h: Use it.
74732         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
74733         Remove.
74734         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
74735         (libc_feholdexcept_setroundl): Remove.
74736         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
74737         Remove.
74738         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
74739         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
74741 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
74743         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
74744         int64_t instead of long int.
74745         (INSERT_WORDS64): Likewise.
74747 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
74749         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
74750         _Unwind_GetCFA return to _Unwind_Ptr first.
74752 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
74754         [BZ #13629]
74755         * math/s_clog.c: Include <float.h>.
74756         (__clog): Scale large or subnormal inputs.
74757         * math/s_clogf.c: Likewise.
74758         * math/s_clogl.c: Likewise.
74759         * math/s_clog10.c: Include <float.h>.
74760         (M_LOG10_2): Define.
74761         (__clog10): Scale large or subnormal inputs.
74762         * math/s_clog10f.c: Likewise.
74763         * math/s_clog10l.c: Likewise.
74764         * math/libm-test.inc (clog_test): Add more tests.
74765         (clog10_test): Likewise.
74766         * sysdeps/i386/fpu/libm-test-ulps: Update.
74767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74769         [BZ #11451]
74770         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
74771         x and y.
74772         * math/libm-test.inc (atan2_test): Add another test.
74774         * Makerules (common-objdir-compile): Remove.
74775         * sysdeps/unix/Makefile (config-generated): Do not add
74776         $(unix-generated) to variable.
74777         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
74778         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
74779         Remove rule.
74780         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
74781         Likewise.
74782         [generic bits/local_lim.h] (before-compile): Do not append to
74783         variable.
74784         [generic bits/local_lim.h] (common-generated): Likewise.
74785         [generic sys/param.h] (before-compile): Do not append to variable.
74786         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
74787         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
74788         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
74789         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
74790         include.
74791         [generic sys/param.h] (sys/param.h-includes): Remove variable.
74792         [generic sys/param.h] (sys/param.h-includes): Remove rule.
74793         [generic sys/param.h] ($(addprefix
74794         $(common-objpfx),$(sys/param.h-includes))): Likewise.
74795         [generic sys/param.h] (common-generated): Do not append to
74796         variable.
74797         [generic sys/param.h] (sysdep_headers): Likewise.
74798         [generic bits/errno.h] (before-compile): Do not append to
74799         variable.
74800         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
74801         rule.
74802         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
74803         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
74804         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
74805         [generic bits/errno.h] (common-generated): Do not append to
74806         variable.
74807         [generic bits/ioctls.h] (before-compile): Do not append to
74808         variable.
74809         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
74810         rule.
74811         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
74812         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
74813         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
74814         rule.
74815         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
74816         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
74817         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
74818         [generic bits/ioctls.h] (common-generated): Do not append to
74819         variable.
74820         [generic sys/syscall.h] (syscall.h): Remove variable.
74821         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
74822         rule.
74823         [generic sys/syscall.h] (before-compile): Do not append to
74824         variable.
74825         [generic sys/syscall.h] (common-generated): Likewise.
74826         * sysdeps/unix/errnos-tmpl.c: Remove file.
74827         * sysdeps/unix/errnos.awk: Likewise.
74828         * sysdeps/unix/ioctls-tmpl.c: Likewise.
74829         * sysdeps/unix/ioctls.awk: Likewise.
74830         * sysdeps/unix/mk-local_lim.c: Likewise.
74831         * sysdeps/unix/snarf-ioctls: Likewise.
74833 2012-03-19  Richard Henderson  <rth@twiddle.net>
74835         * sysdeps/i386/fpu/fenv_private.h: New file.
74836         * sysdeps/i386/fpu/math_private.h: Use it.
74837         (math_opt_barrier, math_force_eval): Remove.
74838         (libc_feholdexcept_setround_53bit): Remove.
74839         (libc_feupdateenv_53bit): Remove.
74840         * sysdeps/x86_64/fpu/math_private.h: Likewise.
74841         (math_opt_barrier, math_force_eval): Remove.
74842         (libc_feholdexcept): Remove.
74843         (libc_feholdexcept_setround): Remove.
74844         (libc_fetestexcept, libc_fesetenv): Remove.
74845         (libc_feupdateenv_test): Remove.
74846         (libc_feupdateenv, libc_feholdsetround): Remove.
74847         (libc_feresetround): Remove.
74849         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
74850         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
74852         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
74853         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
74854         (libc_feupdateenv_testl): New.
74855         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
74856         (libc_feupdateenv_testf): New.
74857         (libc_feupdateenv): Use libc_feupdateenv_test.
74858         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
74859         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
74861         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
74862         (libc_feholdsetroundf, libc_feholdsetroundl): New.
74863         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
74864         (libc_feresetround_noex): New.
74865         (libc_feresetround_noexf): New.
74866         (libc_feresetround_noexl): New.
74867         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
74868         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
74869         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
74870         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
74871         SET_RESTORE_ROUND.
74872         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
74873         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
74874         (__cos): Likewise.
74875         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
74876         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
74877         SET_RESTORE_ROUND_NOEX.
74878         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
74879         SET_RESTORE_ROUND_NOEXF.
74880         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
74881         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
74882         (libc_feholdsetroundf): New.
74883         (libc_feresetround, libc_feresetroundf): New.
74885         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
74886         (libc_feholdexcept_setround_53bit): Convert from macro to function.
74887         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
74889         * sysdeps/generic/math_private.h: Include <fenv.h>.
74890         (default_libc_feholdexcept): New.
74891         (default_libc_feholdexcept_setround): New.
74892         (default_libc_fesetenv, default_libc_feupdateenv): New.
74893         (libc_feholdexcept): Only define if undefined.
74894         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
74895         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
74896         (libc_feholdexcept_setroundl): Likewise.
74897         (libc_feholdexcept_setround_53bit): Likewise.
74898         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
74899         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
74900         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
74901         (libc_feupdateenv_53bit): Likewise.
74902         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
74903         (libc_feholdexcept): Convert from macro to inline function.
74904         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
74905         (libc_fesetenv, libc_feupdateenv): Likewise.
74907         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
74908         not previously defined.
74909         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
74910         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
74911         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
74912         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
74913         * sysdeps/ieee754/flt-32/math_private.h: New file.
74914         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
74915         math_private.h below SET_FLOAT_WORD.
74916         (__isnan, __isinf_ns, __finite): Remove.
74917         (__isnanf, __isinf_nsf, __finitef): Remove.
74919 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
74921         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74923 2012-03-17  David S. Miller  <davem@davemloft.net>
74925         [BZ #6471]
74926         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
74927         for 2.16.
74929 2012-03-16  David S. Miller  <davem@davemloft.net>
74931         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
74932         warnings.
74934         [BZ #6471]
74935         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
74936         properly.
74937         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
74938         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
74939         sysdep_routines when subdir is sysvipc.
74940         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
74941         __getshmlba helper.
74943         * sysdeps/sparc/fpu/libm-test/ulps: Update.
74945 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
74947         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
74948         [__LP64__].
74950 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
74952         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
74953         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
74954         (__lround): Renamed to ...
74955         (__llround): This.  Replace long int with long long int.
74956         Define lround functions as aliases of llround functions.
74957         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
74959 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
74961         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
74962         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
74963         adresses to uintptr_t.  Replace "long int" and "unsigned long
74964         int" with "greg_t" on va_arg.
74966 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
74968         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
74969         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
74971         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
74972         Move e_machine check before EI_CLASS check.  Handle x32
74973         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
74974         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
74975         SKIP_EM_IA_64 and include
74976         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
74978         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
74979         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
74980         (add_system_dir): New macro.
74982         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
74983         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
74985 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
74987         [BZ #2551]
74988         [BZ #2552]
74989         [BZ #2553]
74990         [BZ #2554]
74991         [BZ #2562]
74992         [BZ #2563]
74993         [BZ #2565]
74994         [BZ #2566]
74995         [BZ #2576]
74996         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
74997         (y0): Likewise.
74998         * math/w_j0f.c (j0f): Likewise.
74999         (y0f): Likewise.
75000         * math/w_j0l.c (__j0l): Likewise.
75001         (__y0l): Likewise.
75002         * math/w_j1.c (j1): Likewise.
75003         (y1): Likewise.
75004         * math/w_j1f.c (j1f): Likewise.
75005         (y1f): Likewise.
75006         * math/w_j1l.c (__j1l): Likewise.
75007         (__y1l): Likewise.
75008         * math/w_jn.c (jn): Likewise.
75009         (yn): Likewise.
75010         * math/w_jnf.c (jnf): Likewise.
75011         (ynf): Likewise.
75012         * math/w_jnl.c (__jnl): Likewise.
75013         (__ynl): Likewise.
75014         * math/libm-test.inc (j0_test): Add more tests.
75015         (j1_test): Likewise.
75016         (jn_test): Likewise.  Add trailing semicolon to existing test.
75017         (y0_test): Likewise.
75018         (y1_test): Likewise.
75019         * sysdeps/i386/fpu/libm-test-ulps: Update.
75020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75022         [BZ #13851]
75023         [BZ #13854]
75024         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
75025         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
75026         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
75027         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
75028         (__tanl): Set errno for infinite argument.
75029         * sysdeps/i386/fpu/mptan.c: Remove.
75030         * sysdeps/i386/fpu/s_tan.S: Likewise.
75031         * sysdeps/i386/fpu/s_tanl.S: Likewise.
75032         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
75033         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
75034         * math/libm-test.inc (tan_test): Add more tests and enable more
75035         tests for double and long double.
75036         * sysdeps/i386/fpu/libm-test-ulps: Update.
75037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75039 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
75041         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
75042         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
75044 2012-03-16  Roland McGrath  <roland@hack.frob.com>
75046         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
75047         * configure.in: Use it for both main tree and add-ons.
75048         * configure: Regenerated.
75050 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
75052         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
75054 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
75056         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
75057         in comment.
75059         [BZ #13851]
75060         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
75061         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
75062         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
75063         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
75064         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
75065         infinite argument.
75066         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
75067         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
75068         != 0 for prec == 2.
75069         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
75070         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
75071         * sysdeps/i386/fpu/s_cosl.S: Likewise.
75072         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
75073         * sysdeps/i386/fpu/s_sinl.S: Likewise.
75074         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
75075         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
75076         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
75077         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
75078         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
75079         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
75080         * math/libm-test.inc (cos_test): Add more tests and enable more
75081         tests for long double.
75082         (sin_test): Likewise.
75083         (sincos_test): Likewise.
75084         * sysdeps/i386/fpu/libm-test-ulps: Update.
75085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75087 2012-03-16  David S. Miller  <davem@davemloft.net>
75089         * sysdeps/sparc/fpu/math_private.h: New file.
75091 2012-03-15  David S. Miller  <davem@davemloft.net>
75093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
75094         file.
75095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
75096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
75097         file.
75098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
75099         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
75100         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
75101         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
75102         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
75103         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
75104         sysdep routines.
75105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
75107         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
75108         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
75110         * sysdeps/sparc/sparc-ifunc.h: New file.
75111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
75112         sparc-ifunc.h
75113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
75114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
75115         Likewise.
75116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
75117         Likewise.
75118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
75119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
75120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
75121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
75122         Likewise.
75123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
75124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
75125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
75126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
75127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
75128         Likewise.
75129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
75130         Likewise.
75131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
75132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
75133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
75134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
75135         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
75136         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
75137         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
75138         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
75139         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
75140         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
75141         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
75142         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
75143         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
75144         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
75145         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
75146         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
75147         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
75148         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
75149         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
75150         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
75151         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
75152         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
75153         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
75154         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
75156 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
75158         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
75159         scaling.
75160         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75162 2012-03-15  Andreas Jaeger  <aj@suse.de>
75164         [BZ #13852]
75165         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
75166         ieee754/flt-32 implementation for sin, cos and sincos.
75167         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
75168         * sysdeps/i386/fpu/s_cosf.S: Likewise.
75169         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
75170         * sysdeps/i386/fpu/s_sinf.S: Likewise.
75171         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
75172         ieee754/flt-32 implementation for tan.
75174         * math/libm-test.inc (cos_test): Enable some large input tests for
75175         float as well
75176         (sin_test): Likewise.
75177         (sincos_test): Likewise.
75178         (tan_test): Add tests for large input.
75180         * sysdeps/i386/fpu/libm-test-ulps: Update.
75182 2012-03-15  Andreas Jaeger  <aj@suse.de>
75184         [BZ #13658]
75185         * math/libm-test.inc (cos_test): Add more test cases.
75186         (sin_test): Likewise.
75187         (sincos_test): Likewise.
75189 2012-03-15  Andreas Jaeger  <aj@suse.de>
75191         [BZ #13837]
75192         * math/libm-test.inc (cos_test): Add a test case for large input
75193         value.
75194         (sin_test): Likewise.
75195         (sincos_test): Likewise.
75197 2012-03-15  Andreas Jaeger  <aj@suse.de>
75198             Joseph Myers  <joseph@codesourcery.com>
75200         [BZ #13658]
75201         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
75202         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
75203         * sysdeps/i386/fpu/branred.c: Likewise.
75204         * sysdeps/i386/fpu/dosincos.c: Likewise.
75205         * sysdeps/i386/fpu/mpa.c: Likewise.
75206         * sysdeps/i386/fpu/s_cos.S: Likewise.
75207         * sysdeps/i386/fpu/s_sin.S: Likewise.
75208         * sysdeps/i386/fpu/s_sincos.S: Likewise.
75209         * sysdeps/i386/fpu/sincos32.c: Likewise.
75211         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
75212         Define.
75213         (libc_feupdateenv_53bit): Define.
75214         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
75215         Define.
75216         (libc_feupdateenv_53bit): Define.
75218         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
75219         53 bit (without extend i386 double precision).
75221         * math/libm-test.inc (sincos_test): Add tests for large input.
75222         (sin): Likewise.
75223         (cos): Likewise.
75225         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
75227 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
75229         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75231 2012-03-15  David S. Miller  <davem@davemloft.net>
75233         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
75234         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
75235         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
75236         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
75237         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
75238         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
75239         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
75240         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
75241         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
75242         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
75243         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
75244         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
75245         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
75246         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
75247         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
75248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
75249         file.
75250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
75251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
75252         file.
75253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
75254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
75255         file.
75256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
75257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
75258         file.
75259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
75260         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
75261         fmin/fmax sysdep routines.
75262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
75264 2012-03-14  David S. Miller  <davem@davemloft.net>
75266         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
75267         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
75268         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
75269         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
75270         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
75271         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
75272         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
75273         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
75274         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
75275         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
75276         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
75277         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
75278         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
75279         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
75280         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
75281         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
75282         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
75283         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
75284         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
75285         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
75286         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
75287         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
75288         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
75289         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
75290         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
75291         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
75292         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
75293         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
75294         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
75295         routines.
75296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
75297         file.
75298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
75299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
75300         file.
75301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
75302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
75303         file.
75304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
75305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
75306         file.
75307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
75308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
75309         file.
75310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
75311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
75312         file.
75313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
75314         file.
75315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
75316         file.
75317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
75318         file.
75319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
75320         New file.
75321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
75322         file.
75323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
75324         file.
75325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
75326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
75327         file.
75328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
75329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
75330         file.
75331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
75332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
75333         file.
75334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
75335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
75336         VIS3 routines.
75338         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
75339         New file.
75341         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75343         * sysdeps/sparc/configure.in: New file.
75344         * sysdeps/sparc/configure: Generate.
75345         * configure.in (libc_cv_sparc_as_vis3): Substitute.
75346         * configure: Regenerate.
75347         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
75348         * config.make.in (have-as-vis3): New.
75349         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
75350         available use -Av9d instead of -Av9a.
75351         * sysdeps/sparc/sparc64/Makefile: Likewise.
75352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
75353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
75354         New file.
75355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
75356         file.
75357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
75358         New file.
75359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
75360         file.
75361         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
75362         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
75363         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
75364         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
75365         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
75367         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
75368         fzeros/fnegs to load 0x80000000 into a float register instead of
75369         using the stack.
75370         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
75372 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
75374         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75375         bits/syscall.h.
75376         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
75377         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
75378         ($(inst_includedir)/bits/syscall.h): Remove rule.
75379         ($(objpfx)bits/syscall.d): Include instead of
75380         $(objpfx)syscall-list.d.
75381         (generated): Change syscall-list.h and syscall-list.d to
75382         bits/syscall.h and bits/syscall.d.
75384 2012-03-14  Roland McGrath  <roland@hack.frob.com>
75386         [BZ #13846]
75387         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
75389 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
75391         [BZ #13841]
75392         * math/s_csqrt.c: Include <float.h>.
75393         (__csqrt): Scale large or subnormal inputs.
75394         * math/s_csqrtf.c: Likewise.
75395         * math/s_csqrtl.c: Likewise.
75396         * math/libm-test.inc (csqrt_test): Add more tests.
75397         * sysdeps/i386/fpu/libm-test-ulps: Update.
75398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75400         [BZ #13840]
75401         * math/libm-test.inc (hypot_test): Add more tests.
75403 2012-03-13  David S. Miller  <davem@davemloft.net>
75405         [BZ #13840]
75406         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
75407         double-precision for the calculation instead of scaling.
75409 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
75411         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
75412         manipulate bits before adding and subtracting TWO52[sx].
75413         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
75414         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
75415         Likewise.
75416         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
75418 2012-03-13  David S. Miller  <davem@davemloft.net>
75420         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
75421         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
75422         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
75423         rtld-global-offsets.h
75424         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75426         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
75427         large parameters.
75429         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
75431         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
75432         'err' in the ifdef scope in which it is actually used.
75434         * nss/nss_db/db-init.c: Include string.h
75436 2012-03-12  David S. Miller  <davem@davemloft.net>
75438         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
75439         masking out of the most significant byte of random value used.
75440         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75441         Fix coding style in previous change.
75443         * sysdeps/unix/sysv/linux/kernel-features.h
75444         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
75445         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
75446         expression.
75447         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
75448         later.
75450 2012-03-11  David S. Miller  <davem@davemloft.net>
75452         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
75453         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
75454         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
75455         for 'resultvar' otherwise things get truncated on 64-bit.
75457         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75458         Fix masking out of the most significant byte of random value used.
75460         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75462 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
75464         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75466 2012-03-09  David S. Miller  <davem@davemloft.net>
75468         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
75469         variables with appropriate CPP guards.
75470         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
75471         from the frame pointer, not the stack pointer.  Correct layout
75472         comments.  Fix test on resulting framesize and the management of
75473         the outregs buffer for pltexit.  Preserve floating point return
75474         values across _dl_call_pltexit call.
75475         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
75476         framesize and the management of the outregs buffer for pltexit.
75477         Preserve floating point return values across _dl_call_pltexit
75478         call.
75479         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
75480         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
75481         (la_sparc64_gnu_pltexit): New functions.
75482         (print_exit): Fix format string for return register value.
75484 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
75486         * sunrpc/Makefile (others): Add rpcgen.
75487         ($(objpfx)rpcgen): Remove special build rule and dependency on
75488         libc.
75489         * sunrpc/rpcgen.c: New file.
75491 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
75493         [BZ #13673]
75494         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
75495         * stdio-common/bug-vfprintf-nargs.c: Likewise.
75496         * sysdeps/i386/crti.S: Likewise.
75497         * sysdeps/i386/crtn.S: Likewise.
75498         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
75499         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
75500         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
75501         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
75502         * sysdeps/sh/crti.S: Likewise.
75503         * sysdeps/sh/crtn.S: Likewise.
75504         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
75506         [BZ #13673]
75507         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
75508         with URL.
75509         * locale/programs/locfile-kw.gperf: Likewise.
75510         * locale/programs/charmap-kw.h: Regenerated.
75511         * locale/programs/locfile-kw.h: Likewise.
75513         [BZ #13673]
75514         * intl/plural.y: Replace FSF snail mail address with URL.
75515         * intl/plural.c: Regenerated.
75517 2012-03-09  Richard Henderson  <rth@twiddle.net>
75519         * include/math_private.h: Remove file.
75520         * math/math_private.h: Move file ...
75521         * sysdeps/generic/math_private.h: ... here.
75523         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
75524         * sysdeps/powerpc/fpu/math_private.h: Likewise.
75525         * sysdeps/x86_64/fpu/math_private.h: Likewise.
75527         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
75528         and <math_private.h>.
75529         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
75530         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
75531         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
75532         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
75533         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
75534         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
75535         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
75536         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75537         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
75538         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75539         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75540         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75541         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
75542         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75543         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
75544         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
75545         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75546         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
75547         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
75548         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
75549         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75550         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
75551         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
75552         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75553         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
75554         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
75555         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
75556         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75557         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75558         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
75559         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
75560         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75561         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
75562         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
75563         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
75564         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
75565         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
75566         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
75567         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
75568         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75569         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
75570         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
75571         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
75572         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
75573         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
75574         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
75575         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
75576         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
75577         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
75578         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
75579         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
75580         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
75581         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
75582         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
75583         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
75584         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
75585         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75586         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
75587         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
75588         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
75589         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
75590         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
75591         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75592         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
75593         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
75594         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
75595         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
75596         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
75597         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
75598         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
75599         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
75600         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75601         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
75602         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75603         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
75604         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
75605         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
75606         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
75607         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
75608         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
75609         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
75610         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
75611         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
75612         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
75613         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
75614         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
75615         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
75616         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
75617         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
75618         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75619         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75620         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
75621         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75622         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
75623         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
75624         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
75625         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75626         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
75627         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75628         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
75629         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
75630         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
75631         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
75632         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
75633         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
75634         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
75635         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
75636         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
75637         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
75638         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
75639         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
75640         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
75641         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
75642         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
75643         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
75644         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75645         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
75646         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
75647         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
75648         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
75649         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
75650         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
75651         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75652         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
75653         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
75654         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
75655         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
75656         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
75657         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
75658         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
75659         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
75660         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
75661         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
75662         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
75663         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
75664         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
75665         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
75666         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
75667         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
75668         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
75669         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75670         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
75671         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
75672         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
75673         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
75674         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
75675         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
75676         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
75677         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
75678         * sysdeps/ieee754/k_standard.c: Likewise.
75679         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
75680         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
75681         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75682         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
75683         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
75684         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
75685         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
75686         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
75687         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
75688         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
75689         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75690         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
75691         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
75692         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
75693         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
75694         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
75695         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
75696         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
75697         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
75698         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
75699         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
75700         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
75701         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
75702         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
75703         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
75704         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
75705         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
75706         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
75707         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
75708         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
75709         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
75710         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
75711         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
75712         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
75713         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
75714         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
75715         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
75716         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
75717         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
75718         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
75719         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
75720         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
75721         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
75722         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
75723         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
75724         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
75725         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
75726         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
75727         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
75728         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
75729         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
75730         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
75731         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
75732         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
75733         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
75734         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
75735         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
75736         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
75737         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
75738         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
75739         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
75740         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
75741         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
75742         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
75743         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75744         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75745         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
75746         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
75747         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
75748         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
75749         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
75750         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75751         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
75752         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
75753         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
75754         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
75755         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
75756         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
75757         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
75758         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
75759         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
75760         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
75761         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
75762         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
75763         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
75764         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
75765         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
75766         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
75767         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
75768         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
75769         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
75770         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
75771         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
75772         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
75773         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
75774         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
75775         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
75776         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
75777         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
75778         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
75779         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
75780         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
75781         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
75782         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
75783         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
75784         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
75785         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
75786         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
75787         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
75788         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
75789         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
75790         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
75791         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
75792         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75793         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
75794         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75795         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
75796         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75797         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75798         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
75799         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75800         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
75801         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
75802         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
75803         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75804         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
75805         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
75806         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
75807         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
75808         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
75809         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
75810         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
75811         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
75812         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
75813         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
75814         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
75815         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
75816         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
75817         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
75818         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
75819         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
75820         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
75821         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
75822         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
75823         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
75824         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
75825         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
75826         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
75827         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
75828         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
75829         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
75830         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
75831         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
75832         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
75833         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
75834         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
75835         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
75836         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
75837         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
75838         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
75839         * sysdeps/ieee754/s_lib_version.c: Likewise.
75840         * sysdeps/ieee754/s_matherr.c: Likewise.
75841         * sysdeps/ieee754/s_signgam.c: Likewise.
75842         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
75843         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
75844         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
75845         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
75846         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
75847         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
75848         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
75849         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
75850         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
75851         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
75852         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
75853         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
75854         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
75855         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
75856         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
75857         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
75858         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
75859         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
75860         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
75861         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
75862         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
75864 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
75866         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
75867         * sunrpc/rpc_main.c: Likewise.
75868         * sunrpc/rpc_svcout.c: Likewise.
75870 2012-03-09  David S. Miller  <davem@davemloft.net>
75872         * include/math_private.h: New file.
75874 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
75876         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
75877         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
75878         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
75879         from <bits/socket_type.h>.
75880         (enum __socket_type): Don't define here.
75881         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
75882         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75883         bits/socket_type.h.
75885         [BZ #13566]
75886         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
75887         checking __USE_GNU.
75889         * Makerules ($(inst_includedir)/%.h): New rule.
75890         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
75891         (install-others): Remove variable setting.
75892         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
75894 2012-03-08  Richard Henderson  <rth@twiddle.net>
75896         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
75897         from macro to inline function; merge with the
75898         !__LIBC_INTERNAL_MATH_INLINES version.
75899         (__ieee754_sqrtf): Likewise.
75901         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
75902         to inline function.
75903         (__rintf, __floor, __floorf): Likewise.
75905         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
75906         macro to inline function.
75907         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
75909         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
75910         not <math/math_private.h>.
75912 2012-03-08  David S. Miller  <davem@davemloft.net>
75914         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
75915         copyright year.
75916         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
75918 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
75920         * resolv/gai_misc.c (handle_requests): Fix struct timespec
75921         normalization.
75922         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
75923         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
75925 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
75927         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
75928         be defined individually, they must be defined as a block.  Define
75929         S for printing a string instead of hidint the different by using a
75930         macro for adding the 'l'.
75931         * stdio-common/tst-fphex-wide.c: Adjust.
75933 2012-03-07  Marek Polacek  <polacek@redhat.com>
75935         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
75937 2012-03-08  Marek Polacek  <polacek@redhat.com>
75939         [BZ #13806]
75940         * stdio-common/Makefile (tests): Add tst-fphex-wide.
75941         * stdio-common/tst-fphex.c: Define a few macros to make the
75942         test reusable.  Use them.
75943         * stdio-common/tst-fphex-wide.c: New file.
75945 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
75947         [BZ #6911]
75948         * manual/macros.texi (gnusystems): New macro.
75949         (nongnusystems): Likewise.
75950         (gnulinuxhurdsystems): Likewise.
75951         (gnuhurdsystems): Likewise..
75952         (gnulinuxsystems): Likewise.
75953         * manual/charset.texi: Use new macros or @theglibc{} to refer to
75954         variants of the GNU system, not "GNU system".
75955         * manual/conf.texi: Likewise.
75956         * manual/errno.texi: Likewise.  Update example of errno macro
75957         expansion.
75958         * manual/filesys.texi: Likewise.
75959         (getumask): Document as specific to GNU/Hurd.
75960         * manual/install.texi: Likewise.  Reword some references to
75961         GNU/Linux.
75962         * manual/intro.texi: Likewise.
75963         * manual/io.texi: Likewise.
75964         (File Name Portability): Detail which constraints are inapplicable
75965         to all GNU systems and which are only inapplicable to GNU/Hurd.
75966         * manual/job.texi: Likewise.
75967         * manual/llio.texi: Likewise.
75968         (O_NOCTTY): Document as present on GNU/Linux.
75969         * manual/maint.texi: Likewise.
75970         * manual/memory.texi: Likewise.
75971         * manual/pattern.texi: Likewise.
75972         * manual/pipe.texi: Likewise.
75973         * manual/process.texi: Likewise.
75974         * manual/resource.texi: Likewise.
75975         (RUSAGE_CHILDREN): Remove statement about specifying a particular
75976         child on GNU/Hurd.
75977         * manual/setjmp.texi: Likewise.
75978         * manual/signal.texi: Likewise.
75979         * manual/startup.texi: Likewise.
75980         * manual/stdio.texi: Likewise.
75981         * manual/terminal.texi: Likewise.
75982         (ONLCR): Document as POSIX.
75983         (OXTABS): Document availability on GNU/Linux as XTABS.
75984         (ONOEOT): Document availability separately from other bits.
75985         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
75986         * manual/time.texi: Likewise.
75987         * manual/users.texi: Likewise.
75988         * INSTALL: Regenerated.
75989         * sysdeps/gnu/errlist.c: Regenerated.
75991         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
75992         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
75993         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
75994         puts.
75995         * configure: Regenerated.
75997 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
75999         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
76000         default includes instead of AC_HEADER_CHECK.
76001         * sysdeps/i386/configure: Regenerated.
76003         [BZ #10716]
76004         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
76005         * math/s_cacoshf.c (__cacoshf): Likewise.
76006         * math/s_cacoshl.c (__cacoshl): Likewise.
76007         * math/s_casinh.c (__casinh): Set signs of result from argument.
76008         * math/s_casinhf.c (__casinhf): Likewise.
76009         * math/s_casinhl.c (__casinhl): Likewise.
76010         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
76011         (casinh_test): Add more tests.
76012         * sysdeps/i386/fpu/libm-test-ulps: Update.
76013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76015 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
76017         * po/zh_TW.po: Update from translation team.
76019         * login/Makefile (distribute): Remove variable.
76020         * catgets/Makefile: Likewise.
76021         * mach/Makefile: Likewise.
76022         * malloc/Makefile: Likewise.
76023         * misc/Makefile: Likewise.
76024         * iconv/Makefile: Likewise.
76025         * nscd/Makefile: Likewise.
76026         * hurd/Makefile: Likewise.
76027         * manual/Makefile: Likewise.
76028         * locale/Makefile: Likewise.
76029         * intl/Makefile: Likewise.
76030         * conform/Makefile: Likewise.
76031         * nss/Makefile: Likewise.
76032         * time/Makefile: Likewise.
76033         * soft-fp/Makefile: Likewise.
76034         * dirent/Makefile: Likewise.
76035         * gmon/Makefile: Likewise.
76036         * po/Makefile: Likewise.
76037         * rt/Makefile: Likewise.
76038         * socket/Makefile: Likewise.
76039         * math/Makefile: Likewise.
76040         * signal/Makefile: Likewise.
76041         * debug/Makefile: Likewise.
76042         * elf/Makefile: Likewise.
76043         * timezone/Makefile: Likewise.
76044         * stdlib/Makefile: Likewise.
76045         * iconvdata/Makefile: Likewise.
76046         * sunrpc/Makefile: Likewise.
76047         * io/Makefile: Likewise.
76048         * argp/Makefile: Likewise.
76049         * inet/Makefile: Likewise.
76050         * hesiod/Makefile: Likewise.
76051         * grp/Makefile: Likewise.
76052         * csu/Makefile: Likewise.
76053         * wctype/Makefile: Likewise.
76054         * crypt/Makefile: Likewise.
76055         * libio/Makefile: Likewise.
76056         * string/Makefile: Likewise.
76057         * nis/Makefile: Likewise.
76058         * resolv/Makefile: Likewise.
76059         * stdio-common/Makefile: Likewise.
76060         * wcsmbs/Makefile: Likewise.
76061         * dlfcn/Makefile: Likewise.
76062         * posix/Makefile: Likewise.
76064         [BZ #6959]
76065         * timezone/Makefile: Don't install timezone files, just the programs
76066         and scripts.
76068 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
76070         * nss/databases.def: Add missing gshadow entry.
76072         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
76074 2012-03-06  Marek Polacek  <polacek@redhat.com>
76076         [BZ #13726]
76077         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
76078         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
76079         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
76080         * stdio-common/tst-long-dbl-fphex.c: New file.
76082 2012-03-06  David S. Miller  <davem@davemloft.net>
76084         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
76085         (set_obp_int): New function.
76086         (get_obp_int): New function.
76087         (__get_clockfreq_via_dev_openprom): Likewise.
76088         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
76089         Avoid unused variable warnings on 'val' and use builtin_expect.
76090         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
76091         __builtin_expect.
76092         (INLINE_CLONE_SYSCALL): Likewise.
76094 2012-03-05  David S. Miller  <davem@davemloft.net>
76096         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76098 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
76100         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76102         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
76103         only for |x| >= 40.
76104         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76106 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
76108         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
76109         Replace gettimeofday with __vdso_gettimeofday.
76111         * sysdeps/unix/sysv/linux/x86_64/init-first.c
76112         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
76113         __vdso_clock_gettime and __vdso_getcpu.
76115         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
76116         time with __vdso_time.
76118 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
76120         * manual/lang.texi (size_t): Note types to which size_t may be
76121         equivalent with the GNU C Library, but do not describe when
76122         differences between them are significant.
76124 2012-03-05  Andreas Jaeger  <aj@suse.de>
76126         * sysdeps/i386/fpu/libm-test-ulps: Update.
76128 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
76130         [BZ #3976]
76131         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
76132         (__ieee754_pow): Save and restore rounding mode and use
76133         round-to-nearest for main computations.
76134         * math/libm-test.inc (pow_test_tonearest): New function.
76135         (pow_test_towardzero): Likewise.
76136         (pow_test_downward): Likewise.
76137         (pow_test_upward): Likewise.
76138         (main): Call the new functions.
76139         * sysdeps/i386/fpu/libm-test-ulps: Update.
76140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76142         [BZ #3976]
76143         * math/libm-test.inc (cosh_test_tonearest): New function.
76144         (cosh_test_towardzero): Likewise.
76145         (cosh_test_downward): Likewise.
76146         (cosh_test_upward): Likewise.
76147         (sinh_test_tonearest): Likewise.
76148         (sinh_test_towardzero): Likewise.
76149         (sinh_test_downward): Likewise.
76150         (sinh_test_upward): Likewise.
76151         (main): Call the new functions.
76152         * sysdeps/i386/fpu/libm-test-ulps: Update.
76153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76155 2012-03-05  Tom de Vries  <tom@codesourcery.com>
76157         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
76158         default stack guard is set in last bytes.
76159         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
76161 2012-03-05  Kees Cook  <keescook@chromium.org>
76163         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
76165         [BZ #13656]
76166         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
76167         possibly allocate from heap instead of stack.
76168         * stdio-common/bug-vfprintf-nargs.c: New file.
76169         * stdio-common/Makefile (tests): Add nargs overflow test.
76171 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
76173         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76175 2012-03-03  Marek Polacek  <polacek@redhat.com>
76177         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
76178         * math/math_private.h: Likewise.
76179         * stdlib/tst-strtod.c: Likewise.
76180         * sysdeps/i386/i486/bits/atomic.h: Likewise.
76181         * sysdeps/x86_64/bits/atomic.h: Likewise.
76183 2012-03-02  David S. Miller  <davem@davemloft.net>
76185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
76186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
76187         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
76188         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
76189         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
76190         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
76191         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
76192         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
76194 2012-03-02  Roland McGrath  <roland@hack.frob.com>
76196         [BZ #13792]
76197         * manual/examples/README: New file, says the example source files
76198         can be used under GPL>=2.
76199         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
76200         line containing just "*/".
76201         * manual/examples/add.c: Add copyright header (GPL>=2).
76202         * manual/examples/argp-ex1.c: Likewise.
76203         * manual/examples/argp-ex2.c: Likewise.
76204         * manual/examples/argp-ex3.c: Likewise.
76205         * manual/examples/argp-ex4.c: Likewise.
76206         * manual/examples/atexit.c: Likewise.
76207         * manual/examples/db.c: Likewise.
76208         * manual/examples/dir.c: Likewise.
76209         * manual/examples/dir2.c: Likewise.
76210         * manual/examples/execinfo.c: Likewise.
76211         * manual/examples/filecli.c: Likewise.
76212         * manual/examples/filesrv.c: Likewise.
76213         * manual/examples/fmtmsgexpl.c: Likewise.
76214         * manual/examples/genpass.c: Likewise.
76215         * manual/examples/inetcli.c: Likewise.
76216         * manual/examples/inetsrv.c: Likewise.
76217         * manual/examples/isockad.c: Likewise.
76218         * manual/examples/longopt.c: Likewise.
76219         * manual/examples/memopen.c: Likewise.
76220         * manual/examples/memstrm.c: Likewise.
76221         * manual/examples/mkfsock.c: Likewise.
76222         * manual/examples/mkisock.c: Likewise.
76223         * manual/examples/mygetpass.c: Likewise.
76224         * manual/examples/pipe.c: Likewise.
76225         * manual/examples/popen.c: Likewise.
76226         * manual/examples/rprintf.c: Likewise.
76227         * manual/examples/search.c: Likewise.
76228         * manual/examples/select.c: Likewise.
76229         * manual/examples/setjmp.c: Likewise.
76230         * manual/examples/sigh1.c: Likewise.
76231         * manual/examples/sigusr.c: Likewise.
76232         * manual/examples/stpcpy.c: Likewise.
76233         * manual/examples/strdupa.c: Likewise.
76234         * manual/examples/strftim.c: Likewise.
76235         * manual/examples/strncat.c: Likewise.
76236         * manual/examples/subopt.c: Likewise.
76237         * manual/examples/swapcontext.c: Likewise.
76238         * manual/examples/termios.c: Likewise.
76239         * manual/examples/testopt.c: Likewise.
76240         * manual/examples/testpass.c: Likewise.
76241         * manual/examples/timeval_subtract.c: Likewise.
76243         [BZ #13792]
76244         * manual/time.texi (Elapsed Time): Move timeval_subtract example
76245         function to ...
76246         * manual/timeval_subtract.c.texi: ... here, new file.
76248 2012-03-02  David S. Miller  <davem@davemloft.net>
76250         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
76252 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
76254         [BZ #3976]
76255         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
76256         (__sin): Save and restore rounding mode and use round-to-nearest
76257         for all computations.
76258         (__cos): Save and restore rounding mode and use round-to-nearest
76259         for all computations.
76260         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
76261         <fenv.h>.
76262         (tan): Save and restore rounding mode and use round-to-nearest for
76263         all computations.
76264         * math/libm-test.inc (cos_test_tonearest): New function.
76265         (cos_test_towardzero): Likewise.
76266         (cos_test_downward): Likewise.
76267         (cos_test_upward): Likewise.
76268         (sin_test_tonearest): Likewise.
76269         (sin_test_towardzero): Likewise.
76270         (sin_test_downward): Likewise.
76271         (sin_test_upward): Likewise.
76272         (tan_test_tonearest): Likewise.
76273         (tan_test_towardzero): Likewise.
76274         (tan_test_downward): Likewise.
76275         (tan_test_upward): Likewise.
76276         (main): Call the new functions.
76277         * sysdeps/i386/fpu/libm-test-ulps: Update.
76278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76280         [BZ #10135]
76281         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
76282         small n, then large n, before computing and testing k+n.
76283         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
76284         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
76285         Likewise.
76286         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
76287         Likewise.
76288         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
76289         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
76290         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
76291         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
76292         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
76293         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
76294         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
76295         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
76296         * math/libm-test.inc (scalbn_test): Add more tests.
76297         (scalbln_test): Likewise.
76299         * manual/filesys.texi (mode_t): Describe constraints on size and
76300         signedness, not exact equivalence to a particular type.
76301         (ino_t): Likewise.
76302         (ino64_t): Likewise.
76303         (dev_t): Likewise.
76304         (nlink_t): Likewise.
76305         (blkcnt_t): Likewise.
76306         (blkcnt64_t): Likewise.
76307         * manual/llio.texi (off_t): Likewise.
76309         [BZ #3976]
76310         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
76311         (__ieee754_exp): Save and restore rounding mode and use
76312         round-to-nearest for all computations.
76313         * math/libm-test.inc (exp_test_tonearest): New function.
76314         (exp_test_towardzero): Likewise.
76315         (exp_test_downward): Likewise.
76316         (exp_test_upward): Likewise.
76317         (main): Call the new functions.
76318         * sysdeps/i386/fpu/libm-test-ulps: Update.
76319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76321 2012-03-01  Chris Demetriou  <cgd@google.com>
76323         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
76324         have predictable order.
76326 2012-03-01  David S. Miller  <davem@davemloft.net>
76328         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
76330         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
76331         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
76332         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
76333         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
76335         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
76336         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
76337         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
76338         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
76339         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
76340         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
76341         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
76342         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
76343         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
76345         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76347         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
76348         * sysdeps/sparc/fpu/libm-test-ulps: to here.
76349         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
76351         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
76352         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
76353         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
76354         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
76355         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
76356         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
76357         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
76358         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
76359         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
76360         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
76361         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
76362         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76363         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
76364         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
76365         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
76366         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76367         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
76368         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
76369         * sysdeps/sparc/elf/configure: Regenerated.
76371 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
76373         * configure.in (AS, LD): Require binutils 2.20 or later.
76374         * configure: Regenerated.
76375         * manual/install.texi (Tools for Compilation): Give binutils 2.20
76376         as required minimum version.
76377         * INSTALL: Regenerated.
76379         [BZ #2541]
76380         [BZ #4108]
76381         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
76382         before squaring exponent.
76383         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
76384         bottom long double and 27 bits of top long double before squaring
76385         exponent.
76386         * math/libm-test.inc (erfc_test): Add more tests.
76387         * sysdeps/i386/fpu/libm-test-ulps: Update.
76388         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
76389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76391 2012-03-01  Kai Tietz  <ktietz@redhat.com>
76393         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
76394         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
76395         containing bit-fields.
76396         * soft-fp/extended.h (_FP_UNION_E): Likewise.
76397         * soft-fp/single.h (_FP_UNION_S): Likewise.
76398         * soft-fp/double.h (_FP_UNION_D): Likewise.
76400 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
76402         [BZ #13786]
76403         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
76404         not include ../strcmp.S.
76405         [USE_AS_STRNCASECMP_L]: Likewise.
76406         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
76407         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
76408         * sysdeps/i386/i686/multiarch/strncase_l-c.c
76409         (__strncasecmp_l_ia32): Define as alias to
76410         __strncasecmp_l_nonascii.
76412         [BZ #5794]
76413         * math/libm-test.inc (expm1_test): Add test for bug 5794.
76414         * sysdeps/i386/fpu/libm-test-ulps: Update.
76415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76417         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
76418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76420 2012-02-29  Jeff Law  <law@redhat.com>
76422         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
76423         out of bounds read.
76425 2012-02-29  Marek Polacek  <polacek@redhat.com>
76427         [BZ #13706]
76428         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
76429         * elf/Makefile: Add rules to run tst-unused-dep.out.
76431 2012-02-28  David S. Miller  <davem@davemloft.net>
76433         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
76434         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
76435         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
76436         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
76437         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
76438         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
76440 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
76442         * math/libm-test.inc (llround_test): Move one test from
76443         lround_test.  Use TEST_f_L in moved test.
76444         (lround_test): Move misplaced test to llround_test.  Add testcase
76445         from bug 2561.
76447 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
76449         * sysdeps/x86_64/fpu/e_expf.S: New file.
76450         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
76452 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
76454         [BZ #13637]
76455         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
76456         of remain_len that may cause incomplete multi-byte character and
76457         false match.
76458         * posix/bug-regex33.c: New file.
76459         * posix/Makefile (tests): Add bug-regex33.
76461 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
76463         * manual/macros.texi: New file.
76464         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
76465         * manual/libc.texinfo: Include macros.texi.
76466         * manual/creatute.texi: Likewise.
76467         * manual/install.texi: Likewise.
76468         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
76469         @glibcadj{} in references to the GNU C Library.
76470         * manual/charset.texi: Likewise.
76471         * manual/conf.texi: Likewise.
76472         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
76473         when not using those macros.
76474         * manual/creature.texi: Likewise.
76475         * manual/crypt.texi: Likewise.
76476         * manual/errno.texi: Likewise.
76477         * manual/filesys.texi: Likewise.
76478         * manual/header.texi: Likewise.
76479         * manual/install.texi: Likewise.
76480         * manual/intro.texi: Likewise.
76481         * manual/io.texi: Likewise.
76482         * manual/job.texi: Likewise.
76483         * manual/lang.texi: Likewise.
76484         * manual/libc.texiinfo: Likewise.
76485         * manual/llio.texi: Likewise.
76486         * manual/locale.texi: Likewise.
76487         * manual/maint.texi: Likewise.
76488         * manual/math.texi: Likewise.
76489         * manual/memory.texi: Likewise.
76490         * manual/message.texi: Likewise.
76491         * manual/nss.texi: Likewise.
76492         * manual/pattern.texi: Likewise.
76493         * manual/process.texi: Likewise.
76494         * manual/resource.texi: Likewise.
76495         * manual/search.texi: Likewise.
76496         * manual/setjmp.texi: Likewise.
76497         * manual/signal.texi: Likewise.
76498         * manual/socket.texi: Likewise.
76499         * manual/startup.texi: Likewise.
76500         * manual/stdio.texi: Likewise.
76501         * manual/string.texi: Likewise.
76502         * manual/sysinfo.texi: Likewise.
76503         * manual/syslog.texi: Likewise.
76504         * manual/terminal.texi: Likewise.
76505         * manual/time.texi: Likewise.
76506         * manual/users.texi: Likewise.
76507         * INSTALL: Regenerated.
76508         * NOTES: Regenerated.
76509         * sysdeps/gnu/errlist.c: Regenerated.
76511 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
76513         * include/dirent.h: Include <dirstream.h> before
76514         <dirent/dirent.h>.
76516 2012-02-28  David S. Miller  <davem@davemloft.net>
76518         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
76519         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
76520         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
76521         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
76523 2012-02-27  David S. Miller  <davem@davemloft.net>
76525         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
76526         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
76527         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
76528         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
76530         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
76531         frame pointer instead of stack pointer relative arg slot.
76532         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
76533         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
76534         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
76536 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
76538         [BZ #3992]
76539         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
76541 2012-02-27  David S. Miller  <davem@davemloft.net>
76543         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
76544         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
76545         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
76546         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
76547         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
76548         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
76549         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
76550         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
76552 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
76554         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
76555         later.  Allow versions 5-9.
76556         * configure: Regenerated.
76557         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
76558         required minimum version and 4.6 as recommended version.  Do not
76559         mention bugs in GCC 2.7 and 2.8.
76560         * INSTALL: Regenerated.
76562 2012-02-27  David S. Miller  <davem@davemloft.net>
76564         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
76565         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
76566         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
76567         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
76568         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
76569         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
76570         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
76571         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
76573         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
76574         manipulate bits before adding and subtracting TWO112[sx].
76575         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
76577 2012-02-27  Roland McGrath  <roland@hack.frob.com>
76579         [BZ #13775]
76580         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
76581         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
76582         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
76583         being in POSIX, because they are in 1003.1-2008.
76585         * rt/tst-aio.c: Include <fcntl.h>.
76586         * rt/tst-aio7.c: Likewise.
76587         * rt/tst-aio64.c: Likewise.
76589         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
76591 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
76593         * manual/install.texi (--with-headers): Describe headers as
76594         interface headers, not private headers.
76595         (Specific advice for GNU/Linux systems): Describe use of headers
76596         from "make headers_install", not private headers from older
76597         kernels.
76598         * INSTALL: Regenerated.
76599         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
76600         Change to 2.6.19.
76601         * sysdeps/unix/sysv/linux/configure: Regenerated.
76603         * manual/llio.texi (fclean): Remove documentation.
76605         * manual/Makefile (libc-texi-generated): New variable.  Include
76606         version.texi.
76607         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
76608         $(libc-texi-generated), not duplicated list of files.
76609         (version.texi, stamp-version): New rules.
76610         (realclean): Remove $(libc-texi-generated), not individual files
76611         from that list.  Do not remove dir-add.texinfo.
76612         * manual/libc.texinfo: Comment out uses of edition numbers and
76613         references to printed manual.  Remove last-updated dates.
76614         (EDITION): Comment out.
76615         (ISBN): Likewise.
76616         (VERSION, UPDATED): Remove.
76617         (version.texi): Include.
76619 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
76621         * sysdeps/posix/spawni.c: Include <signal.h>.
76622         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
76623         * sysdeps/pthread/aio_fsync.c: Likewise.
76625 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
76627         * conform/Makefile (tests): Run only when not cross-compiling and
76628         when fast-check is not defined.
76630         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
76631         * conform/data/limits.h-data: Fixes for POSIX2008.
76632         * conform/run-conformtest.sh: Run all tests.
76633         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
76634         headers.
76635         * include/bits/dlfcn.h: Likewise.
76636         * include/langinfo.h: Likewise.
76637         * include/monetary.h: Likewise.
76638         * include/sys/poll.h: Likewise.
76640         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
76641         for __USE_GNU.
76642         * posix/spawn.h: Define __need_sigset_t.
76643         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
76644         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
76645         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
76646         to get sigevent_t only.
76647         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
76648         only for __USE_GNU.
76649         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76650         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
76651         process_vm_writev only for __USE_GNU.
76652         * termios/termios.h: Declare tcgetsid also for POSIX2008.
76654         * conform/Makefile: For now ignore errors from run-conformtest.
76655         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
76656         POSIX to avoid namespace pollution.  Don't prepend headers.
76657         * conform/data/aio.h-data: Fixes for POSIX testing.
76658         * conform/data/fcntl.h-data: Likewise.
76659         * conform/data/glob.h-data: Likewise.
76660         * conform/data/grp.h-data: Likewise.
76661         * conform/data/pthread.h-data: Likewise.
76662         * conform/data/pwd.h-data: Likewise.
76663         * conform/data/signal.h-data: Likewise.
76664         * conform/data/spawn.h-data: Likewise.
76665         * conform/data/stdio.h-data: Likewise.
76666         * conform/data/stdlib.h-data: Likewise.
76667         * conform/data/stropts.h-data: Likewise.
76668         * conform/data/sys/mman.h-data: Likewise.
76669         * conform/data/sys/stat.h-data: Likewise.
76670         * conform/data/sys/types.h-data: Likewise.
76671         * conform/data/sys/wait.h-data: Likewise.
76672         * conform/data/time.h-data: Likewise.
76673         * conform/data/unistd.h-data: Likewise.
76674         * conform/data/utime.h-data: Likewise.
76676         * io/sys/stat.h: fchmod was always in POSIX.
76677         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
76678         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
76679         * rt/aio.h: Define __need_timespec before including <time.h>.
76680         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
76681         struct.  Add forward declaration of pthread_attr_t and use it in
76682         sigevent.
76683         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
76684         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
76685         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
76686         always remove CLK_TCK definition.
76688 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
76690         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
76692 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
76694         * conform/run-conformtest.sh: New file.
76695         * conform/Makefile: Run run-conformtest for tests.
76696         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
76697         support.
76699         * conform/data/uchar.h-data: New file.
76700         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
76701         * conform/data/arpa/inet.h-data: Likewise.
76702         * conform/data/assert.h-data: Likewise.
76703         * conform/data/complex.h-data: Likewise.
76704         * conform/data/cpio.h-data: Likewise.
76705         * conform/data/ctype.h-data: Likewise.
76706         * conform/data/dirent.h-data: Likewise.
76707         * conform/data/dlfcn.h-data: Likewise.
76708         * conform/data/errno.h-data: Likewise.
76709         * conform/data/fcntl.h-data: Likewise.
76710         * conform/data/float.h-data: Likewise.
76711         * conform/data/fmtmsg.h-data: Likewise.
76712         * conform/data/fnmatch.h-data: Likewise.
76713         * conform/data/ftw.h-data: Likewise.
76714         * conform/data/glob.h-data: Likewise.
76715         * conform/data/grp.h-data: Likewise.
76716         * conform/data/iconv.h-data: Likewise.
76717         * conform/data/inttypes.h-data: Likewise.
76718         * conform/data/langinfo.h-data: Likewise.
76719         * conform/data/libgen.h-data: Likewise.
76720         * conform/data/limits.h-data: Likewise.
76721         * conform/data/locale.h-data: Likewise.
76722         * conform/data/math.h-data: Likewise.
76723         * conform/data/monetary.h-data: Likewise.
76724         * conform/data/mqueue.h-data: Likewise.
76725         * conform/data/ndbm.h-data: Likewise.
76726         * conform/data/net/if.h-data: Likewise.
76727         * conform/data/netdb.h-data: Likewise.
76728         * conform/data/netinet/in.h-data: Likewise.
76729         * conform/data/nl_types.h-data: Likewise.
76730         * conform/data/poll.h-data: Likewise.
76731         * conform/data/pthread.h-data: Likewise.
76732         * conform/data/pwd.h-data: Likewise.
76733         * conform/data/regex.h-data: Likewise.
76734         * conform/data/sched.h-data: Likewise.
76735         * conform/data/search.h-data: Likewise.
76736         * conform/data/semaphore.h-data: Likewise.
76737         * conform/data/setjmp.h-data: Likewise.
76738         * conform/data/signal.h-data: Likewise.
76739         * conform/data/spawn.h-data: Likewise.
76740         * conform/data/stdarg.h-data: Likewise.
76741         * conform/data/stdio.h-data: Likewise.
76742         * conform/data/stdlib.h-data: Likewise.
76743         * conform/data/string.h-data: Likewise.
76744         * conform/data/strings.h-data: Likewise.
76745         * conform/data/stropts.h-data: Likewise.
76746         * conform/data/sys/ipc.h-data: Likewise.
76747         * conform/data/sys/mman.h-data: Likewise.
76748         * conform/data/sys/msg.h-data: Likewise.
76749         * conform/data/sys/resource.h-data: Likewise.
76750         * conform/data/sys/select.h-data: Likewise.
76751         * conform/data/sys/sem.h-data: Likewise.
76752         * conform/data/sys/shm.h-data: Likewise.
76753         * conform/data/sys/socket.h-data: Likewise.
76754         * conform/data/sys/stat.h-data: Likewise.
76755         * conform/data/sys/statvfs.h-data: Likewise.
76756         * conform/data/sys/time.h-data: Likewise.
76757         * conform/data/sys/timeb.h-data: Likewise.
76758         * conform/data/sys/times.h-data: Likewise.
76759         * conform/data/sys/types.h-data: Likewise.
76760         * conform/data/sys/uio.h-data: Likewise.
76761         * conform/data/sys/un.h-data: Likewise.
76762         * conform/data/sys/utsname.h-data: Likewise.
76763         * conform/data/sys/wait.h-data: Likewise.
76764         * conform/data/syslog.h-data: Likewise.
76765         * conform/data/tar.h-data: Likewise.
76766         * conform/data/termios.h-data: Likewise.
76767         * conform/data/utime.h-data: Likewise.
76768         * conform/data/utmpx.h-data: Likewise.
76769         * conform/data/varargs.h-data: Likewise.
76770         * conform/data/wchar.h-data: Likewise.
76771         * conform/data/wctype.h-data: Likewise.
76772         * conform/data/wordexp.h-data: Likewise.
76774         * include/stropts.h: New file.
76775         * include/uchar.h: New file.
76776         * include/aio.h: Changes to allow conformtest.pl to use the headers.
76777         * include/assert.h: Likewise.
76778         * include/ctype.h: Likewise.
76779         * include/dirent.h: Likewise.
76780         * include/dlfcn.h: Likewise.
76781         * include/fcntl.h: Likewise.
76782         * include/fnmatch.h: Likewise.
76783         * include/glob.h: Likewise.
76784         * include/grp.h: Likewise.
76785         * include/libio.h: Likewise.
76786         * include/locale.h: Likewise.
76787         * include/math.h: Likewise.
76788         * include/net/if.h: Likewise.
76789         * include/netdb.h: Likewise.
76790         * include/netinet/in.h: Likewise.
76791         * include/pthread.h: Likewise.
76792         * include/pwd.h: Likewise.
76793         * include/regex.h: Likewise.
76794         * include/sched.h: Likewise.
76795         * include/search.h: Likewise.
76796         * include/setjmp.h: Likewise.
76797         * include/signal.h: Likewise.
76798         * include/stdio.h: Likewise.
76799         * include/stdlib.h: Likewise.
76800         * include/string.h: Likewise.
76801         * include/sys/cdefs.h: Likewise.
76802         * include/sys/mman.h: Likewise.
76803         * include/sys/msg.h: Likewise.
76804         * include/sys/resource.h: Likewise.
76805         * include/sys/select.h: Likewise.
76806         * include/sys/socket.h: Likewise.
76807         * include/sys/stat.h: Likewise.
76808         * include/sys/statvfs.h: Likewise.
76809         * include/sys/time.h: Likewise.
76810         * include/sys/times.h: Likewise.
76811         * include/sys/uio.h: Likewise.
76812         * include/sys/utsname.h: Likewise.
76813         * include/sys/wait.h: Likewise.
76814         * include/termios.h: Likewise.
76815         * include/time.h: Likewise.
76816         * include/ulimit.h: Likewise.
76817         * include/unistd.h: Likewise.
76818         * include/utime.h: Likewise.
76819         * include/wchar.h: Likewise.
76820         * include/wctype.h: Likewise.
76821         * include/wordexp.h: Likewise.
76823         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
76825         * time/time.h: TIME_UTC must be a macro.
76826         Make timespec_get available for ISO C11 only as well.
76828 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
76830         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
76831         Reported by Peng Haitao <penght@cn.fujitsu.com>.
76833 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
76835         * configure.in: Use -o not -a in test for unsupported multi-arch.
76837 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
76839         * manual/texinfo.tex: Update to version 2012-01-19.16.
76841 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
76843         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
76845 2012-02-24  Roland McGrath  <roland@hack.frob.com>
76847         [BZ #13738]
76848         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
76849         * manual/fdl-1.3.texi: New file.
76850         * manual/fdl-1.1.texi: File removed.
76852         [BZ #13738]
76853         * manual/libc.texinfo (FDL_VERSION): New @set.
76854         Use it for mention of FDL in cover text.
76855         (Documentation License): Use it in @include file name.
76857 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
76858             Roland McGrath  <roland@hack.frob.com>
76860         [BZ #5461]
76861         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
76862         (not LONG_LONG_MAX and LONG_LONG_MIN.
76863         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
76864         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
76865         name.
76866         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
76868 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
76870         [BZ #2547]
76871         [BZ #11365]
76872         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
76873         manipulate bits before adding and subtracting TWO23[sx].
76874         * math/libm-test.inc (nearbyint_test): Add more tests.
76876 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
76878         [BZ #2548]
76879         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
76880         bits before adding and subtracting TWO23[sx].
76881         * math/libm-test.inc (rint_test): Add more tests.
76882         (rint_test_tonearest): Likewise.
76883         (rint_test_towardzero): Likewise.
76884         (rint_test_downward): Likewise.
76885         (rint_test_upward: Likewise.
76887 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
76889         [BZ #10110]
76890         * include/stdc-predef.h: New file.  Extracted from features.h.
76891         * include/features.h: Include stdc-predef.h.
76892         * Makefile (headers): Add stdc-predef.h.
76893         * CONFORMANCE (Compiler limitations): Update.
76895 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
76897         * manual/libc.texinfo (VERSION, UPDATED): Revert.
76899 2012-02-21  David S. Miller  <davem@davemloft.net>
76901         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
76902         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
76904 2012-02-20  David S. Miller  <davem@davemloft.net>
76906         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
76907         using a normal save/restore sequence, rather than allocating a
76908         dummy stack frame just to store a frame pointer and restore.
76909         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76911 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
76913         * manual/install.texi: Fix stray word in line-wrapped comment.
76915 2012-02-20  David S. Miller  <davem@davemloft.net>
76917         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
76918         both binutils and gcc support GOTDATA.
76920         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
76921         "rd %pc" in the PIC register setup sequences.
76923         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
76924         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
76925         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
76926         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
76927         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
76928         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
76929         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76930         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76931         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
76932         (SYSCALL_ERROR_HANDLER): Likewise.
76933         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
76934         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
76935         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
76936         (SYSCALL_ERROR_HANDLER): Likewise.
76938         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
76939         (HAVE_GCC_GOTDATA): New.
76940         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
76941         relocation support in both binutils and gcc.
76942         * sysdeps/sparc/elf/configure: Regenerate.
76944         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
76945         * sysdeps/sparc/sparc32/elf/configure: Delete.
76946         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
76947         * sysdeps/sparc/sparc64/elf/configure: Delete.
76948         * sysdeps/sparc/elf/configure.in: New file.
76949         * sysdeps/sparc/elf/configure: Generate.
76951         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
76952         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
76953         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
76954         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
76955         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
76957 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
76959         * manual/install.texi: Do not mention specific glibc version
76960         numbers.
76961         * manual/libc.texinfo (VERSION, UPDATED): Update.
76962         (@copying): Use @copyright{} and range of years.
76964 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
76966         [BZ #13695]
76967         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
76968         [crti.S not in sysdirs] (generated): Do not append.
76969         [crti.S not in sysdirs] (omit-deps): Likewise.
76970         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
76971         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
76972         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
76973         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
76974         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
76975         Likewise.
76976         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
76977         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
76978         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
76979         * csu/defs.awk: Remove file.
76980         * sysdeps/generic/initfini.c: Likewise.
76981         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
76982         variable.
76983         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
76984         Likewise.
76986 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
76988         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
76989         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
76990         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
76991         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
76992         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
76993         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
76994         <bits/epoll.h>.
76995         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
76996         (__EPOLL_PACKED): Define to empty if not defined by
76997         <bits/epoll.h>.
76998         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
76999         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77000         bits/epoll.h.
77002 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
77004         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
77005         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
77006         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
77007         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
77008         <bits/timerfd.h>.
77009         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
77010         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77011         bits/timerfd.h.
77013 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
77015         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
77016         in C locale.
77017         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
77018         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
77019         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
77020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77022 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
77024         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77025         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
77027 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
77029         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
77030         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
77031         defined.
77032         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
77033         Likewise.
77034         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
77035         entry for 2.16.
77037 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
77039         * math/w_acos.c: Use non-signaling floating-point comparisons.
77040         * math/w_acosf.c: Likewise.
77041         * math/w_acosh.c: Likewise.
77042         * math/w_acoshf.c: Likewise.
77043         * math/w_acoshl.c: Likewise.
77044         * math/w_acosl.c: Likewise.
77045         * math/w_asin.c: Likewise.
77046         * math/w_asinf.c: Likewise.
77047         * math/w_asinl.c: Likewise.
77048         * math/w_atanh.c: Likewise.
77049         * math/w_atanhf.c: Likewise.
77050         * math/w_atanhl.c: Likewise.
77051         * math/w_exp2.c: Likewise.
77052         * math/w_exp2f.c: Likewise.
77053         * math/w_exp2l.c: Likewise.
77054         * math/w_j0.c: Likewise.
77055         * math/w_j0f.c: Likewise.
77056         * math/w_j0l.c: Likewise.
77057         * math/w_j1.c: Likewise.
77058         * math/w_j1f.c: Likewise.
77059         * math/w_j1l.c: Likewise.
77060         * math/w_jn.c: Likewise.
77061         * math/w_jnf.c: Likewise.
77062         * math/w_log.c: Likewise.
77063         * math/w_log10.c: Likewise.
77064         * math/w_log10f.c: Likewise.
77065         * math/w_log10l.c: Likewise.
77066         * math/w_log2.c: Likewise.
77067         * math/w_log2f.c: Likewise.
77068         * math/w_log2l.c: Likewise.
77069         * math/w_logf.c: Likewise.
77070         * math/w_logl.c: Likewise.
77071         * math/w_sqrt.c: Likewise.
77072         * math/w_sqrtf.c: Likewise.
77073         * math/w_sqrtl.c: Likewise.
77074         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
77075         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
77076         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77077         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
77078         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
77080 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
77082         [BZ #9739]
77083         * manual/string.texi (strnlen): Use correct parameter name in
77084         equivalent expression.
77086 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
77088         [BZ #11174]
77089         * manual/users.texi (seteuid): Consistently use neweuid for
77090         argument name.
77092 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
77094         [BZ #13704]
77095         * manual/nss.texi (Services in the NSS configuration): Correct
77096         list of services in example configuration file.
77098 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
77100         [BZ #11322]
77101         * manual/arith.texi: Remove statements about negative zero
77102         behaving identically to zero.
77104 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
77106         [BZ #5993]
77107         * manual/install.texi: Do not document upgrading from libc5.
77109 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
77111         [BZ #4596]
77112         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
77114 2012-02-18  David S. Miller  <davem@davemloft.net>
77116         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
77117         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
77118         %o7 across the call.
77119         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
77120         instead.
77121         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
77122         SETUP_PIC_REG_LEAF.
77123         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77124         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
77125         * sysdeps/sparc/crtn.S: Likewise.
77127 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
77129         * aout/Makefile: Remove.
77131 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
77133         [BZ #13058]
77134         * manual/examples/argp-ex1.c (main): Format definition in GNU
77135         style.
77136         * manual/examples/argp-ex2.c (main): Likewise.
77137         * manual/examples/argp-ex3.c (main): Likewise.
77138         * manual/examples/argp-ex4.c (main): Likewise.
77139         * manual/examples/longopt.c (main): Use new-style prototype
77140         definition.
77141         * manual/examples/strncat.c (main): Specify return type and use
77142         (void) for arguments.
77143         * manual/examples/subopt.c (main): Use char **argv argument.
77145 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77147         [BZ #5077]
77148         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
77149         rounding modes.
77151 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
77153         [BZ #6907]
77154         * manual/string.texi (strchr): Change when strchrnul is
77155         recommended.
77157 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
77159         [BZ #174]
77160         * manual/locale.texi (setlocale): Document LOCPATH.
77162 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77164         [BZ #10210]
77165         * manual/process.texi (execle): Move @dots{} before last argument.
77167 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
77169         [BZ #12047]
77170         * manual/charset.texi (Generic Charset Conversion): Fix typo
77171         (LC_TYPE -> LC_CTYPE).
77173 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
77175         [BZ #5805]
77176         * manual/arith.texi (scalbn): Use @var{} on parameter names.
77177         (scalbnf): Likewise.
77178         (scalbnl): Likewise.
77179         (scalbln): Likewise.
77180         (scalblnf): Likewise.
77181         (scalblnl): Likewise.
77182         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
77183         (vwarnx): Likewise.
77184         (verr): Likewise.
77185         (verrx): Likewise.
77186         * manual/filesys.texi (telldir): Use braces around return type.
77187         * manual/llio.texi (mmap): Add space after comma.
77188         (mmap64): Likewise.
77189         * manual/math.texi (jn): Use @var{} on parameter names.
77190         (jnf): Likewise.
77191         (jnl): Likewise.
77192         (yn): Likewise.
77193         (ynf): Likewise.
77194         (ynl): Likewise.
77195         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
77196         line.
77197         * manual/resource.texi (ulimit): Use @dots{} instead of literal
77198         "...".
77199         (sched_get_priority_min): Remove semicolon on @deftypefun line.
77200         (sched_get_priority_max): Likewise.
77201         * manual/signal.texi (sigvec): Add space after comma.
77202         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
77203         names.
77204         (if_indextoname): Likewise.
77205         (if_freenameindex): Likewise.
77206         (sendto): Use ',' instead of '.' in prototype.
77207         * manual/startup.texi (syscall): Use @dots{} instead of literal
77208         "...".
77209         * manual/stdio.texi (__fpending): Separate initial words of
77210         paragraph from @deftypefun line.
77211         * manual/syslog.texi (syslog): Use @dots{} instead of literal
77212         "...".
77213         (vsyslog): Use @var{} on parameter names.
77214         * manual/terminal.texi (stty): Use @var{} on parameter names.
77215         * manual/users.texi (getutmp): Use @var{} on parameter names.
77216         (getutmpx): Likewise.
77218 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77220         [BZ #6884]
77221         * manual/stdio.texi (fopen): Fix typos in description of
77222         ",ccs=STRING".
77224 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
77226         [BZ #4026]
77227         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
77228         get clock_id definition.
77230 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
77232         [BZ #4822]
77233         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
77234         (madvise): Cast every argument to void on its own.
77236 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77238         [BZ #9902]
77239         * manual/startup.texi (Exit Status): Fix typo.
77241 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77243         [BZ #10140]
77244         * manual/examples/argp-ex1.c: Include <stdlib.h>.
77245         * manual/examples/argp-ex2.c: Likewise.
77246         * manual/examples/argp-ex3.c: Likewise.
77248 2012-02-16  Richard Henderson  <rth@redhat.com>
77250         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
77251         * sysdeps/s390/s390-32/initfini.c: Remove.
77252         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
77253         * sysdeps/s390/s390-64/initfini.c: Remove.
77255 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
77257         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
77258         compiler output for sysdeps/generic/initfini.c.
77259         * sysdeps/sh/elf/initfini.c: Remove file.
77261 2012-02-16  David S. Miller  <davem@davemloft.net>
77263         [BZ #11494]
77264         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
77266         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
77267         * sysdeps/sparc/crti.S: New file.
77268         * sysdeps/sparc/crtn.S: New file.
77269         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
77270         * sysdeps/sparc/sparc64/Makefile: Likewise.
77272 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
77274         [BZ #3335]
77275         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
77277 2012-02-15  Roland McGrath  <roland@hack.frob.com>
77279         [BZ #4822]
77280         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
77282         * mach/devstream.c (cookie_io_functions_t): Macro removed.
77283         (write, read, close): Likewise.
77284         Patch by Aurelien Jarno <aurelien@aurel32.net>.
77286 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
77288         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
77289         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
77290         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
77291         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
77292         <bits/signalfd.h>.
77293         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
77294         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77295         bits/signalfd.h.
77297 2012-02-14  Marek Polacek  <polacek@redhat.com>
77299         * sysdeps/x86_64/crti.S: New file.
77300         * sysdeps/x86_64/crtn.S: New file.
77301         * sysdeps/x86_64/elf/initfini.c: Remove file.
77303 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
77305         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
77306         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
77307         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
77308         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
77309         <bits/inotify.h>.
77310         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
77311         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77312         bits/inotify.h.
77314 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
77316         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
77317         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
77318         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
77319         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
77320         <bits/eventfd.h>.
77321         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
77322         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77323         bits/eventfd.h.
77325 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
77327         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
77328         __feraiseexcept instead of feraiseexcept.
77330         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
77331         nanosleep invocations.
77332         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
77333         strings, and add error checking for a nanosleep invocations.
77335 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
77337         Replace FSF snail mail address with URLs, as per GNU coding standards.
77338         Most of the snail mail addresses were wrong anyway, and omitting
77339         them makes the source code easier to maintain.  Almost all of the
77340         changes are to license notices and to locale LC_IDENTIFICATION
77341         addresses, except for this one:
77342         * manual/libc.texinfo: In "Published by", give the FSF's URL,
77343         not its snail mail address.
77345 2012-02-09  Richard Henderson  <rth@twiddle.net>
77347         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
77348         of kernel-features.h.
77350         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
77352 2012-02-08  Marek Polacek  <polacek@redhat.com>
77354         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
77355         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
77356         * sysdeps/gnu/_G_config.h: Likewise.
77357         * sysdeps/generic/_G_config.h: Likewise.
77359 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
77361         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
77362         tests.
77363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77365         * sysdeps/powerpc/powerpc32/crti.S: New file.
77366         * sysdeps/powerpc/powerpc32/crtn.S: New file.
77367         * sysdeps/powerpc/powerpc64/crti.S: New file.
77368         * sysdeps/powerpc/powerpc64/crtn.S: New file.
77370         * Makeconfig (have-initfini): Don't set.
77371         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
77372         * configure.in (nopic_initfini): Don't substitute.
77373         * config.h.in (HAVE_INITFINI): Don't #undef.
77374         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
77375         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
77377 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
77379         Support crti.S and crtn.S provided directly by architectures.
77380         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
77381         [crti.S in sysdirs] (omit-deps): Likewise.
77382         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
77383         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
77384         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
77385         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
77386         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
77387         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
77388         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
77389         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
77390         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
77391         compiler output for sysdeps/generic/initfini.c.
77392         * sysdeps/i386/elf/Makefile: Remove file.
77393         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
77395 2012-02-07  Marek Polacek  <polacek@redhat.com>
77397         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
77398         * sysdeps/gnu/_G_config.h: Likewise.
77399         * sysdeps/mach/hurd/_G_config.h: Likewise.
77401 2012-02-07  Marek Polacek  <polacek@redhat.com>
77403         * math/Makefile (tests): Add tst-CMPLX2.
77404         * math/tst-CMPLX2.c: New file.
77406 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
77408         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77410         * math/libm-test.inc (jn_test): Add missing L suffix.
77412 2012-02-06  Marek Polacek  <polacek@redhat.com>
77414         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
77415         * sysdeps/i386/fpu/e_powf.S: Likewise.
77416         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
77417         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
77418         * sysdeps/i386/fpu/e_acosh.S: Likewise.
77419         * sysdeps/i386/fpu/e_pow.S: Likewise.
77420         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
77421         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
77422         * sysdeps/i386/fpu/s_expm1.S: Likewise.
77423         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
77424         * sysdeps/i386/fpu/e_log2.S: Likewise.
77425         * sysdeps/i386/fpu/e_log2l.S: Likewise.
77426         * sysdeps/i386/fpu/e_scalb.S: Likewise.
77427         * sysdeps/i386/fpu/e_powl.S: Likewise.
77428         * sysdeps/i386/fpu/s_log1p.S: Likewise.
77429         * sysdeps/i386/fpu/e_log10f.S: Likewise.
77430         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
77431         * sysdeps/i386/fpu/e_logl.S: Likewise.
77432         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
77433         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
77434         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
77435         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
77436         * sysdeps/i386/fpu/e_log2f.S: Likewise.
77437         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
77438         * sysdeps/i386/fpu/e_log.S: Likewise.
77439         * sysdeps/i386/fpu/s_cexp.S: Likewise.
77440         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
77441         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
77442         * sysdeps/i386/fpu/e_logf.S: Likewise.
77443         * sysdeps/i386/fpu/e_log10l.S: Likewise.
77444         * sysdeps/i386/fpu/e_atanh.S: Likewise.
77445         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
77446         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
77447         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
77448         * sysdeps/i386/fpu/e_log10.S: Likewise.
77449         * sysdeps/i386/fpu/s_frexp.S: Likewise.
77450         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
77451         * sysdeps/i386/fpu/s_asinh.S: Likewise.
77452         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
77453         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
77454         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
77455         * sysdeps/i386/asm-syntax.h: Likewise.
77456         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
77457         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77458         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
77459         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
77460         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
77461         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
77462         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
77463         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
77464         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
77465         * sysdeps/powerpc/sysdep.h: Likewise.
77466         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
77467         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
77469 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
77471         [BZ #411]
77472         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
77474 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
77476         * sysdeps/i386/sysdep.h: Include <features.h>.
77477         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
77478         version.
77480 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
77482         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
77483         Define.
77484         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
77485         LOAD_PIC_REG_STR.
77487 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
77489         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
77490         (SETUP_PIC_REG): Use GET_PC_THUNK.
77491         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
77492         macro.
77494 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
77496         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
77497         for non-PIC compilation.
77498         (SETUP_PIC_REG): Add .p2align directive.
77499         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
77500         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
77501         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
77502         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
77503         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
77504         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
77505         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
77506         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
77507         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
77508         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
77509         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
77510         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
77511         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
77512         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
77513         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
77514         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
77515         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
77516         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
77517         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
77518         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
77519         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
77520         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
77521         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
77522         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
77523         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
77524         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
77525         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
77526         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
77527         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
77528         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
77529         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
77530         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
77531         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
77532         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
77533         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
77534         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
77535         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
77536         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
77537         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
77538         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
77539         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
77541 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
77543         * math/tst-CMPLX.c: Include <stdio.h>.
77545 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
77547         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
77548         float.
77549         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
77550         * sysdeps/sparc/bits/mathdef.h: Likewise.
77552 2012-01-31  Marek Polacek  <polacek@redhat.com>
77554         * libio/libio.h: Don't define _PARAMS.
77555         * locale/programs/config.h: Don't define PARAMS.
77556         * stdlib/strtol_l.c: Likewise.
77557         (__strtol_l): Remove PARAMS from the prototype.
77559 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
77561         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
77562         names.  Just use the correct names.  Remove unnecessary wrapper
77563         functions.
77564         * malloc/arena.c: Likewise.
77565         * malloc/hooks.c: Likewise.
77567         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
77568         ARENA_TEST says not to.  Simplify test for creation of a new arena.
77569         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
77571 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
77573         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
77574         into tail calls.
77575         (update_get_addr): New function.
77576         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
77577         GET_ADDR_MODULE parameter.
77579 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
77581         * crypt/cert.c: Remove __STDC__ conditionals.
77582         * crypt/crypt-entry.c: Likewise.
77583         * crypt/crypt_util.c: Likewise.
77584         * libio/filedoalloc.c: Likewise.
77585         * libio/fileops.c: Likewise.
77586         * libio/genops.c: Likewise.
77587         * libio/iofclose.c: Likewise.
77588         * libio/iofdopen.c: Likewise.
77589         * libio/iofopen.c: Likewise.
77590         * libio/iofopen64.c: Likewise.
77591         * libio/iogetdelim.c: Likewise.
77592         * libio/iopopen.c: Likewise.
77593         * libio/obprintf.c: Likewise.
77594         * libio/oldfileops.c: Likewise.
77595         * libio/oldiofclose.c: Likewise.
77596         * libio/oldiofdopen.c: Likewise.
77597         * libio/oldiofopen.c: Likewise.
77598         * libio/oldiopopen.c: Likewise.
77599         * libio/wfiledoalloc.c: Likewise.
77600         * libio/wgenops.c: Likewise.
77601         * locale/programs/xmalloc.c: Likewise.
77602         * misc/syslog.c: Likewise.
77603         * stdio-common/xbug.c: Likewise.
77604         * string/memchr.c: Likewise.
77605         * string/memcmp.c: Likewise.
77606         * string/memrchr.c: Likewise.
77607         * string/rawmemchr.c: Likewise.
77608         * sysdeps/posix/getcwd.c: Likewise.
77609         * time/strftime_l.c: Likewise.
77611 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
77613         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
77614         * config.make.in (config-cflags-sse2avx): Define.
77615         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
77616         Fix typo.
77618 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
77620         * scripts/config.guess: Update from upstream config git repository.
77621         * scripts/config.sub: Likewise.
77623 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
77625         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
77626         (EM_NUM): Update.
77627         (R_TILEPRO_*, R_TILEGX_*): New macros.
77629         * scripts/firstversions.awk: Fix bug in version range handling.
77631         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
77633         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
77635         * include/sys/epoll.h: New file.
77636         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
77637         libc_hidden_def.
77639 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
77641         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
77642         Avoid unnecessary __WORDSIZE == 64 test.
77643         (fmaxf): Use VEX format if possible.
77644         (fmax): Likewise.
77645         (fminf): Likewise.
77646         (fmin): Likewise.
77648         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
77649         * math/math_private.h: Remove libc_fegetround* and
77650         libc_fesetround*.
77651         * sysdeps/i386/configure.in: Check for -msse2avx.
77652         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
77653         also if SSE2AVX is defined.
77654         Remove libc_fegetround* and libc_fesetround*.
77655         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
77656         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
77657         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
77658         of HAS_YMM_USABLE.
77659         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
77660         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
77661         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
77662         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
77663         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
77665         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
77667 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77669         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
77670         size is not set.
77671         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
77673 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
77675         [BZ #13618]
77676         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
77677         relocation.
77678         * Makeconfig (libm): Define.
77679         * elf/Makefile: Add rules to build and run tst-relsort1.
77680         * elf/tst-relsort1.c: New file.
77681         * elf/tst-relsort1mod1.c: New file.
77682         * elf/tst-relsort1mod2.c: New file.
77684 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
77686         * math/s_ldexp.c: Remove __STDC__ conditionals.
77687         * math/s_ldexpf.c: Likewise.
77688         * math/s_ldexpl.c: Likewise.
77689         * math/s_nextafter.c: Likewise.
77690         * math/s_nexttowardf.c: Likewise.
77691         * math/s_significand.c: Likewise.
77692         * math/s_significandf.c: Likewise.
77693         * math/s_significandl.c: Likewise.
77694         * math/w_jnl.c: Likewise.
77695         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
77696         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
77697         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
77698         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
77699         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
77700         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
77701         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
77702         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
77703         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
77704         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
77705         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
77706         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77707         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
77708         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
77709         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
77710         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
77711         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
77712         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
77713         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
77714         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
77715         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
77716         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
77717         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
77718         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
77719         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
77720         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
77721         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
77722         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
77723         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
77724         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
77725         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
77726         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
77727         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
77728         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
77729         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
77730         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
77731         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
77732         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
77733         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
77734         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
77735         * sysdeps/ieee754/k_standard.c: Likewise.
77736         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
77737         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
77738         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
77739         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
77740         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
77741         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
77742         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
77743         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
77744         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
77745         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
77746         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
77747         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
77748         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
77749         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
77750         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
77751         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
77752         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
77753         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
77754         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
77755         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
77756         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
77757         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
77758         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
77759         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
77760         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
77761         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
77762         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
77763         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
77764         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
77765         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
77766         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
77767         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
77768         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
77769         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
77770         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
77771         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
77772         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
77773         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
77774         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
77775         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
77776         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
77777         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
77778         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
77779         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
77780         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
77781         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
77782         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
77783         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
77784         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
77785         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
77786         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
77787         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
77788         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
77789         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
77790         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
77791         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
77792         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
77793         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
77794         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
77795         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
77796         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
77797         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
77798         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
77799         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
77800         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
77801         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
77802         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
77803         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
77804         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
77805         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
77806         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
77807         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
77808         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
77809         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
77810         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
77811         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
77812         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
77813         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
77814         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
77815         * sysdeps/ieee754/s_matherr.c: Likewise.
77816         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
77817         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
77818         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
77819         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
77821 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
77823         * crypt/md5.h: Remove __STDC__ conditionals.
77824         * libio/libioP.h: Likewise.
77825         * locale/programs/config.h: Likewise.
77826         * sysdeps/generic/sysdep.h: Likewise.
77827         * sysdeps/i386/asm-syntax.h: Likewise.
77828         * sysdeps/s390/asm-syntax.h: Likewise.
77829         * sysdeps/unix/sysdep.h: Likewise.
77830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
77831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
77833 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
77835         * libio/libio.h: Remove __STDC__ conditionals.
77836         * malloc/obstack.h: Likewise.
77837         * math/complex.h: Likewise.
77838         * math/math.h: Likewise.
77839         * sysdeps/generic/_G_config.h: Likewise.
77840         * sysdeps/gnu/_G_config.h: Likewise.
77841         * sysdeps/mach/hurd/_G_config.h: Likewise.
77842         * sysdeps/powerpc/bits/mathdef.h: Likewise.
77843         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
77844         * sysdeps/sparc/bits/mathdef.h: Likewise.
77846 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
77848         [BZ #13583]
77849         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
77850         Clean up HAS_* macros.
77851         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
77852         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
77853         possible.
77854         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
77855         HAS_AVX.
77856         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
77857         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
77858         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
77859         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
77860         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
77862 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
77864         * elf/tst-unique3.cc (gets): Remove declaration.
77865         * elf/tst-unique3lib.cc (gets): Likewise.
77866         * elf/tst-unique3lib2.cc (gets): Likewise.
77867         * elf/tst-unique4.cc (gets): Likewise.
77869 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
77871         * include/stdio.h: Add C++ protection.  Add gets declarations and
77872         definitions.
77873         * debug/tst-chk1.c: Don't declare gets here.
77874         * stdio-common/tst-gets.c: Likewise.
77876 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
77878         * posix/glob: Remove directory.
77880 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
77882         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
77884 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
77886         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
77887         of the non-standard EPFNOSUPPORT.
77889 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77891         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
77892         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
77893         ANYWHERE set to 1 only on KERN_NO_SPACE error.
77895 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
77897         * wcsmbs/uchar.h: Test __STDC_VERSION__.
77899 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
77901         * nscd/aicache.c (addhstaiX): Do not cache negative results of
77902         transient errors.
77903         * nscd/grpcache.c (cache_addgr): Likewise.
77904         * nscd/hstcache.c (cache_addhst): Likewise.
77905         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77906         * nscd/pwdcache.c (cache_addpw): Likewise.
77907         * nscd/servicescache.c (cache_addserv): Likewise.
77909 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
77911         * malloc/malloc.c: Various cleanups.
77912         * malloc/hooks.c: Likewise.
77914         * stdlib/Makefile (tests): Add bug-fmtmsg1.
77915         * stdlib/bug-fmtmsg1.c: New file.
77917         * stdlib/fmtmsg.c (init): Add missing unlock.
77918         Patch by Peng Haitao <penght@cn.fujitsu.com>.
77920 2012-01-12  Marek Polacek  <polacek@redhat.com>
77922         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
77923         and _GNU_SOURCE.
77925 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
77927         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
77928         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
77929         macro to ensure uniqueness of label name.
77930         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
77931         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
77933 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
77935         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
77937         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
77938         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
77939         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
77940         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
77942 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
77944         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
77946         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
77947         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
77948         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
77950         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
77952         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
77953         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
77954         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
77955         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
77957         * math/bits/math-finite.h: Add ldexp support.
77959 2012-01-10  Marek Polacek  <polacek@redhat.com>
77961         * locale/programs/localedef.h (show_archive_content): Add noreturn
77962         attribute.
77964 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
77966         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
77968 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
77970         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
77972         * io/Makefile (headers): Add bits/poll2.h.
77974 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
77976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
77977         typo #include statement.
77979 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
77981         * include/sys/cdefs.h: Define __attribute_alloc_size.
77982         * catgets/gencat.c: Add alloc_size attribute and apply consistently
77983         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
77984         * elf/pldd.c: Likewise.
77985         * iconv/iconv_charmap.c: Likewise.
77986         * iconv/iconvconfig.c: Likewise.
77987         * iconv/strtab.c: Likewise.
77988         * locale/programs/locale.c: Likewise.
77989         * locale/programs/localedef.h: Likewise.
77990         * locale/programs/simple-hash.c: Likewise.
77991         * nscd/nscd.h: Likewise.
77992         * nss/makedb.c: Likewise.
77993         * sysdeps/generic/ldconfig.h: Likewise.
77994         * locale/programs/localedef.c: Remove xmalloc prototype.
77995         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
77997 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
77999         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
78000         appropriate.
78002 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
78004         * math/Makefile (tests): Add tst-CMPLX.
78005         * math/tst-CMPLX.c: New file.
78007         * math/complex.h (CMPLXL): Fix typo.
78009         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
78010         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
78011         GLIBC_2.16.
78012         * debug/tst-chk1.c: Add poll and ppoll tests.
78013         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
78014         * include/sys/poll.h: Add hidden proto for ppoll.
78015         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
78016         * sysdeps/mach/hurd/ppoll.c: Likewise.
78017         * io/ppoll.c: Likewise.
78018         * debug/poll_chk.c: New file.
78019         * debug/ppoll_chk.c: New file.
78020         * include/bits/poll2.h: New file.
78021         * io/bits/poll2.h: New file.
78023         [BZ #1350]
78024         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
78026         * configure.in: static is always set to yes.  Remove.
78027         * config.make.in: Don't set build-static.
78028         * Makeconfig: Remove use of build-static.
78029         * dlfcn/Makefile: Likewise.
78030         * elf/Makefile: Likewise.
78031         * math/Makefile: Likewise.
78032         * misc/Makefile: Likewise.
78033         * nptl/Makefile: Likewise.
78034         * sysdeps/mach/hurd/Makefile: Likewise.
78036         * configure.in: PWD_P is not used anymore.
78037         * config.make.in: Remove PWD_P entry.
78039         * configure.in: Remove last remnants of RANLIB.
78040         No need to check for signed size_t anymore.
78041         Don't set libc_commonpagesize and libc_relro_required here for Alpha
78042         and IA-64.
78043         Remove __builtin_expect test because we require at least gcc 3.4.
78044         * aclocal.m4: Likewise.
78046         * wcsmbs/mbrtoc16.c: Implement using towc function.
78047         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
78048         * wcsmbs/wcsmbsload.c: Likewise.
78049         * iconv/gconv_simple.c: Likewise.
78050         * iconv/gconv_int.h: Likewise.
78051         * iconv/gconv_builtin.h: Likewise.
78052         * iconv/iconv_prog.c: Remove CHAR16 handling.
78054         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
78056         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
78058         * configure.in: Remove --with-elf and --enable-bounded options.
78059         Dont set base_machine for ia64.  More non-ELF conditions removed.
78060         Remove testing and setting of leading underscore information.
78061         * config.make.in (build-bounded): Set to no.
78062         * config.h.in: Remove NO_UNDERSCORES entry.
78063         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
78064         them.
78065         * csu/start.c: Remove !NO_UNDERSCORE code.
78066         * locale/localeinfo.h: Likewise.
78067         * sysdeps/generic/machine-gmon.h: Likewise.
78068         * sysdeps/generic/sysdep.h: Likewise.
78069         * sysdeps/i386/sysdep.h: Likewise.
78070         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
78071         * sysdeps/mach/sysdep.h: Likewise.
78072         * sysdeps/s390/s390-32/sysdep.h: Likewise.
78073         * sysdeps/s390/s390-64/sysdep.h: Likewise.
78074         * sysdeps/sh/sysdep.h: Likewise.
78075         * sysdeps/sparc/sparc32/alloca.S: Likewise.
78076         * sysdeps/unix/i386/sysdep.S: Likewise.
78077         * sysdeps/unix/sparc/start.c: Likewise.
78078         * sysdeps/unix/sparc/sysdep.S: Likewise.
78079         * sysdeps/unix/sparc/sysdep.h: Likewise.
78080         * sysdeps/unix/start.c: Likewise.
78081         * sysdeps/unix/x86_64/sysdep.S: Likewise.
78082         * sysdeps/x86_64/sysdep.h: Likewise.
78084 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
78086         [BZ #13553]
78087         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
78088         for non-gcc.
78089         * argp/argp-fmtstream.h: Use const instead __const.
78090         * argp/argp.h: Likewise.
78091         * assert/assert.h: Likewise.
78092         * bits/fenv.h: Likewise.
78093         * bits/sched.h: Likewise.
78094         * bits/sigset.h: Likewise.
78095         * bits/sigthread.h: Likewise.
78096         * catgets/nl_types.h: Likewise.
78097         * conform/data/pthread.h-data: Likewise.
78098         * crypt/crypt-private.h: Likewise.
78099         * crypt/crypt.h: Likewise.
78100         * crypt/crypt_util.c: Likewise.
78101         * ctype/ctype.h: Likewise.
78102         * debug/execinfo.h: Likewise.
78103         * debug/mbsnrtowcs_chk.c: Likewise.
78104         * debug/mbsrtowcs_chk.c: Likewise.
78105         * debug/wcsnrtombs_chk.c: Likewise.
78106         * debug/wcsrtombs_chk.c: Likewise.
78107         * debug/wcstombs_chk.c: Likewise.
78108         * dirent/dirent.h: Likewise.
78109         * dlfcn/dlfcn.h: Likewise.
78110         * elf/neededtest4.c: Likewise.
78111         * grp/grp.h: Likewise.
78112         * gshadow/gshadow.h: Likewise.
78113         * iconv/gconv.h: Likewise.
78114         * iconv/gconv_int.h: Likewise.
78115         * iconv/gconv_simple.c: Likewise.
78116         * iconv/iconv.h: Likewise.
78117         * iconv/loop.c: Likewise.
78118         * iconv/skeleton.c: Likewise.
78119         * include/aio.h: Likewise.
78120         * include/aliases.h: Likewise.
78121         * include/argz.h: Likewise.
78122         * include/arpa/inet.h: Likewise.
78123         * include/assert.h: Likewise.
78124         * include/dirent.h: Likewise.
78125         * include/dlfcn.h: Likewise.
78126         * include/execinfo.h: Likewise.
78127         * include/fcntl.h: Likewise.
78128         * include/fenv.h: Likewise.
78129         * include/glob.h: Likewise.
78130         * include/grp.h: Likewise.
78131         * include/libintl.h: Likewise.
78132         * include/mntent.h: Likewise.
78133         * include/netdb.h: Likewise.
78134         * include/pwd.h: Likewise.
78135         * include/rpc/netdb.h: Likewise.
78136         * include/sched.h: Likewise.
78137         * include/search.h: Likewise.
78138         * include/shadow.h: Likewise.
78139         * include/signal.h: Likewise.
78140         * include/stdio.h: Likewise.
78141         * include/stdlib.h: Likewise.
78142         * include/string.h: Likewise.
78143         * include/sys/socket.h: Likewise.
78144         * include/sys/stat.h: Likewise.
78145         * include/sys/statfs.h: Likewise.
78146         * include/sys/statvfs.h: Likewise.
78147         * include/sys/syslog.h: Likewise.
78148         * include/sys/time.h: Likewise.
78149         * include/sys/uio.h: Likewise.
78150         * include/time.h: Likewise.
78151         * include/unistd.h: Likewise.
78152         * include/utmp.h: Likewise.
78153         * include/wchar.h: Likewise.
78154         * include/wctype.h: Likewise.
78155         * inet/aliases.h: Likewise.
78156         * inet/arpa/inet.h: Likewise.
78157         * inet/netinet/ether.h: Likewise.
78158         * inet/netinet/in.h: Likewise.
78159         * intl/libintl.h: Likewise.
78160         * io/bits/fcntl2.h: Likewise.
78161         * io/fcntl.h: Likewise.
78162         * io/ftw.h: Likewise.
78163         * io/sys/poll.h: Likewise.
78164         * io/sys/stat.h: Likewise.
78165         * io/sys/statfs.h: Likewise.
78166         * io/sys/statvfs.h: Likewise.
78167         * io/utime.h: Likewise.
78168         * libio/bits/stdio.h: Likewise.
78169         * libio/bits/stdio2.h: Likewise.
78170         * libio/libio.h: Likewise.
78171         * libio/libioP.h: Likewise.
78172         * libio/stdio.h: Likewise.
78173         * locale/lc-ctype.c: Likewise.
78174         * locale/locale.h: Likewise.
78175         * login/utmp.h: Likewise.
78176         * malloc/arena.c: Likewise.
78177         * malloc/malloc.c: Likewise.
78178         * malloc/malloc.h: Likewise.
78179         * malloc/mcheck.c: Likewise.
78180         * malloc/mtrace.c: Likewise.
78181         * math/bits/mathcalls.h: Likewise.
78182         * math/fenv.h: Likewise.
78183         * math/math_private.h: Likewise.
78184         * misc/bits/error.h: Likewise.
78185         * misc/bits/syslog.h: Likewise.
78186         * misc/err.h: Likewise.
78187         * misc/error.h: Likewise.
78188         * misc/fstab.h: Likewise.
78189         * misc/mntent.h: Likewise.
78190         * misc/regexp.h: Likewise.
78191         * misc/search.h: Likewise.
78192         * misc/sgtty.h: Likewise.
78193         * misc/sys/mman.h: Likewise.
78194         * misc/sys/syslog.h: Likewise.
78195         * misc/sys/uio.h: Likewise.
78196         * misc/sys/xattr.h: Likewise.
78197         * misc/ttyent.h: Likewise.
78198         * nis/rpcsvc/ypclnt.h: Likewise.
78199         * nss/nss.h: Likewise.
78200         * posix/bits/unistd.h: Likewise.
78201         * posix/fnmatch.h: Likewise.
78202         * posix/glob.h: Likewise.
78203         * posix/sched.h: Likewise.
78204         * posix/spawn.h: Likewise.
78205         * posix/sys/wait.h: Likewise.
78206         * posix/unistd.h: Likewise.
78207         * posix/wordexp.h: Likewise.
78208         * pwd/pwd.h: Likewise.
78209         * resolv/netdb.h: Likewise.
78210         * resource/sys/resource.h: Likewise.
78211         * rt/aio.h: Likewise.
78212         * rt/bits/mqueue2.h: Likewise.
78213         * rt/mqueue.h: Likewise.
78214         * shadow/shadow.h: Likewise.
78215         * signal/signal.h: Likewise.
78216         * socket/send.c: Likewise.
78217         * socket/sendto.c: Likewise.
78218         * socket/sys/socket.h: Likewise.
78219         * stdio-common/printf.h: Likewise.
78220         * stdlib/bits/stdlib.h: Likewise.
78221         * stdlib/fmtmsg.h: Likewise.
78222         * stdlib/monetary.h: Likewise.
78223         * stdlib/stdlib.h: Likewise.
78224         * stdlib/ucontext.h: Likewise.
78225         * streams/stropts.h: Likewise.
78226         * string/argz.h: Likewise.
78227         * string/bits/string2.h: Likewise.
78228         * string/string.h: Likewise.
78229         * string/strings.h: Likewise.
78230         * sunrpc/rpc/auth.h: Likewise.
78231         * sunrpc/rpc/auth_des.h: Likewise.
78232         * sunrpc/rpc/clnt.h: Likewise.
78233         * sunrpc/rpc/netdb.h: Likewise.
78234         * sunrpc/rpc/pmap_clnt.h: Likewise.
78235         * sunrpc/rpc/xdr.h: Likewise.
78236         * sysdeps/generic/inttypes.h: Likewise.
78237         * sysdeps/generic/net/if.h: Likewise.
78238         * sysdeps/generic/sys/swap.h: Likewise.
78239         * sysdeps/gnu/net/if.h: Likewise.
78240         * sysdeps/gnu/utmpx.h: Likewise.
78241         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
78242         * sysdeps/i386/i486/bits/string.h: Likewise.
78243         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
78244         * sysdeps/s390/bits/string.h: Likewise.
78245         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
78246         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
78247         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
78248         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
78249         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
78250         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
78251         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
78252         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
78253         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
78254         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
78255         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
78256         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
78257         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
78258         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
78259         * sysdeps/unix/sysv/linux/readv.c: Likewise.
78260         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
78261         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
78262         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78263         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
78264         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
78265         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
78266         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
78267         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
78268         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
78269         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
78270         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
78271         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
78272         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
78273         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
78274         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
78275         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
78276         * sysvipc/sys/ipc.h: Likewise.
78277         * sysvipc/sys/msg.h: Likewise.
78278         * sysvipc/sys/sem.h: Likewise.
78279         * sysvipc/sys/shm.h: Likewise.
78280         * termios/termios.h: Likewise.
78281         * time/sys/time.h: Likewise.
78282         * time/time.h: Likewise.
78283         * wcsmbs/bits/wchar2.h: Likewise.
78284         * wcsmbs/uchar.h: Likewise.
78285         * wcsmbs/wchar.h: Likewise.
78286         * wctype/wctype.h: Likewise.
78288         [BZ #13551]
78289         * Makeconfig: Remove all but ELF support including AIX support.
78290         * Makerules: Likewise.
78291         * config.h.in: Likewise.
78292         * config.make.in: Likewise.
78293         * configure: Likewise.
78294         * configure.in: Likewise.
78295         * csu/Makefile: Likewise.
78296         * csu/version.c: Likewise.
78297         * debug/Makefile: Likewise.
78298         * dlfcn/Makefile: Likewise.
78299         * elf/Makefile: Likewise.
78300         * extra-lib.mk: Likewise.
78301         * iconv/Makefile: Likewise.
78302         * include/libc-symbols.h: Likewise.
78303         * include/shlib-compat.h: Likewise.
78304         * resolv/Makefile: Likewise.
78305         * resolv/res_libc.c: Likewise.
78306         * rt/Makefile: Likewise.
78307         * sysdeps/i386/asm-syntax.h: Likewise.
78308         * sysdeps/i386/sysdep.h: Likewise.
78309         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
78310         * sysdeps/mach/sysdep.h: Likewise.
78311         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
78312         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
78313         * sysdeps/s390/asm-syntax.h: Likewise.
78314         * sysdeps/s390/s390-32/sysdep.h: Likewise.
78315         * sysdeps/s390/s390-64/sysdep.h: Likewise.
78316         * sysdeps/sh/sysdep.h: Likewise.
78317         * sysdeps/unix/sparc/sysdep.h: Likewise.
78318         * sysdeps/wordsize-32/divdi3.c: Likewise.
78319         * sysdeps/x86_64/sysdep.h: Likewise.
78321         * argp/Versions: Remove _argp_unlock_xxx.
78323         [BZ #13559]
78324         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
78325         * abilist/libBrokenLocale.abilist: Likewise.
78326         * abilist/libanl.abilist: Likewise.
78327         * abilist/libc.abilist: Likewise.
78328         * abilist/libcrypt.abilist: Likewise.
78329         * abilist/libdl.abilist: Likewise.
78330         * abilist/libm.abilist: Likewise.
78331         * abilist/libnsl.abilist: Likewise.
78332         * abilist/libpthread.abilist: Likewise.
78333         * abilist/libresolv.abilist: Likewise.
78334         * abilist/librt.abilist: Likewise.
78335         * abilist/libthread_db.abilist: Likewise.
78336         * abilist/libutil.abilist: Likewise.
78337         * abilist/libnss_db.abilist: New file.
78339         * scripts/abilist.awk: Add support for indirect functions.
78341         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
78343         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
78345         * shlib-versions: Remove entries for ports architectures.
78347         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
78348         files in ports.
78349         * elf/stackguard-macros.h: Remove support for IA-64.
78350         * elf/tst-auditmod1.c: Likewise.
78351         * sysdeps/generic/ldsodefs.h: Likewise.
78353         * sysdeps/unix/sysv/linux/configure.in: Ports should define
78354         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
78355         configure files.
78357         [BZ #13552]
78358         * configure.in: Remove --enable-omitfp support.
78359         * FAQ.in: Adjust.
78360         * config.make.in: Likewise.
78361         * Makeconfig: Likewise.
78362         * manual/install.texi: Likewise.
78364         In case anyone cares, the IA-64 architecture could move to ports.
78365         * sysdeps/ia64/*: Removed.
78366         * sysdeps/unix/sysv/linux/ia64/*: Removed.
78367         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
78369         [BZ #13555]
78370         * configure.in: Remove entries for unsupported architectures.
78372         [BZ #13533]
78373         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
78374         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
78375         routines.
78376         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
78377         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
78378         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
78379         fall back to using wcrtomb.
78380         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
78381         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
78382         renaming.
78383         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
78384         * wcsmbs/tst-c16c32-1.c: New file.
78386         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
78387         local variable.
78389         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
78391         * elf/tst-unique3.cc: Add explicit declaration of gets.
78392         * elf/tst-unique3lib.cc: Likewise.
78393         * elf/tst-unique3lib2.cc: Likewise.
78394         * elf/tst-unique4.cc: Likewise.
78396         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
78398 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
78400         [BZ #13566]
78401         * assert/assert.h (static_assert): Don't define for C++.
78402         * libio/stdio.h (gets): Do declare for C++ <= C++11.
78403         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
78405 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
78407         * iconv/loop.c (single loop): Fix assertion in storing of
78408         remaining bytes.
78410         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
78412 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
78414         * posix/getconf.c: Update copyright year.
78415         * nss/getent.c: Likewise.
78416         * nss/makedb.c: Likewise.
78417         * iconv/iconvconfig.c: Likewise.
78418         * iconv/iconv_prog.c: Likewise.
78419         * elf/ldconfig.c: Likewise.
78420         * elf/pldd.c: Likewise.
78421         * elf/sotruss.ksh: Likewise.
78422         * catgets/gencat.c: Likewise.
78423         * csu/version.c: Likewise.
78424         * elf/ldd.bash.in: Likewise.
78425         * elf/sprof.c (print_version): Likewise.
78426         * locale/programs/locale.c: Likewise.
78427         * locale/programs/localedef.c: Likewise.
78428         * login/programs/pt_chown.c: Likewise.
78429         * nscd/nscd.c (print_version): Likewise.
78430         * debug/xtrace.sh: Likewise.
78431         * malloc/memusage.sh: Likewise.
78432         * malloc/mtrace.pl: Likewise.
78433         * debug/catchsegv.sh: Likewise.
78435 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
78437         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
78438         pure attribute.
78440 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
78442         [BZ #13533]
78443         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
78444         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
78445         transformations.
78446         * iconv/gconv_int.h: Likewise.
78447         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
78448         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
78449         from libc for GLIBC_2.16.
78450         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
78451         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
78452         * wcsmbs/uchar.h: Really define mbstate_t.
78453         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
78454         * wcsmbs/c16rtomb.c: New file.
78455         * wcsmbs/mbrtoc16.c: New file.
78456         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
78457         for C/POSIX locale.
78458         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
78459         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
78461         * wcsmbs/wchar.h: Add missing __restrict.
78463 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
78465         [BZ #13532]
78466         * time/Makefile (routines): Add timespec_get.
78467         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
78468         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
78469         timespec for ISO C11.
78470         * time/timespec_get.c: New file.
78471         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
78472         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
78474         [BZ #13531]
78475         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
78476         * stdlib/stdlib.h: Declare aligned_alloc.
78477         * Versions.def: Add GLIBC_2.16 for libc.
78478         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
78480         [BZ 13527]
78481         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
78482         ISO C11.
78484         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
78485         code.
78487         [BZ #13528]
78488         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
78490         [BZ #13529]
78491         * assert/assert.h (static_assert): Define.
78493         * version.h: Update for 2.16 development version.
78495         [BZ #13526]
78496         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
78497         _ISOC11_SOURCE.
78499         * version.h (RELEASE): Bump for 2.15 release.
78500         * include/features.h (__GLIBC_MINOR__): Bump to 15.
78502         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
78503         Patch by Marek Polacek <mpolacek@redhat.com>.
78505         * bits/byteswap.h: Protect long long constants with __extension__.
78506         * sysdeps/i386/bits/byteswap.h: Likewise.
78507         * sysdeps/ia64/bits/byteswap.h: Likewise.
78508         * sysdeps/s390/bits/byteswap.h: Likewise.
78509         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78511 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78513         [BZ #13540]
78514         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
78515         destination buffer.
78516         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
78518 2011-12-23  Marek Polacek  <polacek@redhat.com>
78520         * elf/dl-addr.c (determine_info): Add inline keyword.
78521         * elf/tst-auditmod4b.c (check_avx): Likewise.
78522         * elf/tst-auditmod6b.c (check_avx): Likewise.
78523         * elf/tst-auditmod6c.c (check_avx): Likewise.
78524         * elf/tst-auditmod7b.c (check_avx): Likewise.
78526 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
78528         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
78529         !__SSE_MATH__.
78531 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78533         [BZ #13540]
78534         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
78535         processing for last bytes.
78537 2011-08-06  Bruno Haible  <bruno@clisp.org>
78539         [BZ #13061]
78540         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
78541         U+0385, not to U+1FEE.
78543         [BZ #13062]
78544         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
78545         entry for U+00A5 U+0301.
78547 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
78549         [BZ #13166]
78550         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
78551         buffer for the output is too small.
78553         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
78554         optimization.
78556         [BZ #13185]
78557         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
78558         SSE flags if possible.
78560 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78562         [BZ #13540]
78563         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
78564         processing for last bytes.
78566 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
78568         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
78569         (syscall-list-default-options, syscall-list-default-condition)
78570         (syscall-list-includes): Define.
78571         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
78572         list of ABIs and options and #if conditions for each ABI.  Do not
78573         handle common syscalls between ABIs specially.
78574         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
78575         Remove.
78576         (syscall-list-variants, syscall-list-32bit-options)
78577         (syscall-list-32bit-condition, syscall-list-64bit-options)
78578         (syscall-list-64bit-condition): Define.
78579         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
78580         (syscall-list-variants, syscall-list-32bit-options)
78581         (syscall-list-32bit-condition, syscall-list-64bit-options)
78582         (syscall-list-64bit-condition): Define.
78583         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
78584         Remove.
78585         (syscall-list-variants, syscall-list-32bit-options)
78586         (syscall-list-32bit-condition, syscall-list-64bit-options)
78587         (syscall-list-64bit-condition): Define.
78588         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
78589         Remove.
78590         (syscall-list-variants, syscall-list-32bit-options)
78591         (syscall-list-32bit-condition, syscall-list-64bit-options)
78592         (syscall-list-64bit-condition): Define.
78594 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
78596         * locale/iso-639.def: Add brx entry.
78598         [BZ #13328]
78599         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
78600         Proposed by Mariusz_Cukr <marcukr@op.pl>.
78602         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
78603         __feraiseexcept_renamed.
78605 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
78607         [BZ #13538]
78608         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
78609         EPOLLET with unsigned values.
78610         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
78611         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
78613         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
78614         to large cancellation.
78615         * math/s_cacoshf.c: Likewise.
78616         * math/s_cacoshl.c: Likewise.
78618 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
78620         [BZ #13305]
78621         [BZ #12786]
78622         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
78623         * math/s_cacoshf.c: Likewise.
78624         * math/s_cacoshl.c: Likewise.
78626 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
78628         [BZ #13439]
78629         * iconv/gconv.h: Define __GCONV_SWAP.
78630         * iconvdata/unicode.c: The swap bit must be stored in __flags.
78631         * iconvdata/utf-16.c: Likewise.
78632         * iconvdata/utf-32.c: Likewise.
78634 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
78636         [BZ #13524]
78637         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
78638         numerator after shifting it by one limb.
78640 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
78642         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
78643         under [__USE_EXTERN_INLINES].
78645 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
78647         [BZ #13446]
78648         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
78650 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78652         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
78653         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
78654         optimized code.
78655         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
78656         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
78657         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
78658         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
78659         for strncasecmp/strncasecmp_l compilation.
78660         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
78661         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
78663 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
78665         [BZ #13484]
78666         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
78667         of __asm__.
78669 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
78671         [BZ #13506]
78672         * time/tzfile.c (__tzfile_read): Check values from file header.
78674 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
78676         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
78677         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
78678         * powerpc/powerpc32/dl-start.S: Likewise.
78679         * powerpc/powerpc32/elf/start.S: Likewise.
78680         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
78681         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
78682         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
78683         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
78684         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
78685         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
78686         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
78687         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
78688         * powerpc/powerpc32/fpu/s_round.S: Likewise.
78689         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
78690         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
78691         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
78692         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
78693         * powerpc/powerpc32/memset.S: Likewise.
78694         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
78695         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
78696         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
78697         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
78698         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
78699         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
78700         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
78701         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
78702         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
78703         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
78704         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
78705         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
78706         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
78708 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78710         * math/libm-test.inc: Added more nearbyint tests.
78711         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
78712         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
78713         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
78714         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
78716 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
78718         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
78719         FD_CLOEXEC.
78721 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78723         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
78724         Add wcscpy-ssse3 wcscpy-c.
78725         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
78726         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
78727         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
78728         * sysdeps/x86_64/wcschr.S: New file.
78729         * sysdeps/x86_64/wcsrchr.S: New file.
78730         * string/test-strcmp.c: Remove checking of wcscmp function for
78731         wrong alignments.
78732         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
78733         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
78734         wcsrchr-sse2 wcsrchr-c.
78735         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
78736         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
78737         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
78738         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
78739         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
78740         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
78741         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
78742         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
78743         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
78744         * wcsmbc/wcschr.c (WCSCHR): New macro.
78746 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78748         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
78749         * wcsmbs/test-wcsrchr.c: New file.
78750         * string/test-strrchr.c: Add wcsrchr support.
78751         (WIDE): New macro.
78752         * wcsmbs/test-wcscpy.c: New file.
78753         * string/test-strcpy.c: Add wcscpy support.
78754         (WIDE): New macro.
78756 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
78758         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
78759         the inner loop.
78761 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
78763         [BZ #13472]
78764         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
78766 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
78768         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
78769         Minor optimizations.
78771         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
78772         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
78773         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
78775 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
78777         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
78778         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
78779         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
78780         for gcc to avoid warnings.
78781         * inet/Makefile (tests): Add tst-checks.
78782         * inet/tst-checks.c: New file.
78784         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
78785         warning.
78787         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
78788         __wmemcmp_sse2.
78790         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
78791         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
78793         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
78795 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
78797         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
78798         problem.
78800         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
78802 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
78804         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
78805         conditional on GCC version.
78806         (__arch_compare_and_exchange_val_8_acq)
78807         (__arch_compare_and_exchange_val_16_acq)
78808         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
78809         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
78810         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
78812 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
78814         * sysdeps/sh/backtrace.c: New file.
78816 2011-12-02  Andreas Schwab  <schwab@redhat.com>
78818         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
78819         parenthesis.
78821 2011-12-01  Andreas Schwab  <schwab@redhat.com>
78823         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
78824         falling back to utime.
78826 2011-11-30  Andreas Schwab  <schwab@redhat.com>
78828         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
78829         expectations for float.
78831 2011-11-29  Andreas Schwab  <schwab@redhat.com>
78833         * locale/weight.h (findidx): Add parameter len.
78834         * locale/weightwc.h (findidx): Likewise.
78835         * posix/fnmatch_loop.c (FCT): Adjust caller.
78836         * posix/regcomp.c (build_equiv_class): Likewise.
78837         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
78838         * posix/regexec.c (check_node_accept_bytes): Likewise.
78839         * string/strcoll_l.c (STRCOLL): Likewise.
78840         * string/strxfrm_l.c (STRXFRM): Likewise.
78842 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
78844         * Makefile.in: Remove CVSOPT handling.
78845         * configure.in: Remove use of AC_REVISION.
78846         * iconvdata/Makefile (distribute): No need to filter out CVS.
78847         * scripts/list-sources.sh: Remove CVS, subversion and monotone
78848         handling.
78850 2011-11-16  Andreas Schwab  <schwab@redhat.com>
78852         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
78853         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
78854         [USE_AS_STRNCASECMP_L]: Likewise.
78855         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
78856         NO_TLS_DIRECT_SEG_REFS.
78857         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
78858         Fix argument offsets for non-PIC.
78859         [USE_AS_STRNCASECMP_L]: Likewise.
78860         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
78861         NO_TLS_DIRECT_SEG_REFS.
78863 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
78865         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
78866         O_CLOEXEC.
78867         * locale/loadlocale.c (_nl_load_locale): Likewise.
78869 2011-11-15  Andreas Schwab  <schwab@redhat.com>
78871         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
78872         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
78873         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
78874         (SYSCALL_GETTIME): Set errno on error.
78876         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
78877         count references to noai6ai_cached.
78879 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
78881         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
78883         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
78884         FD_CLOEXEC for /proc/self/maps.
78886         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
78887         FD_CLOEXEC for /proc/meminfo.
78889         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
78890         gai.conf.
78892         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
78893         FD_CLOEXEC for given file.
78895         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
78897         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
78898         FD_CLOEXEC for /etc/hosts.
78899         (_gethtent): Likewise.
78901         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
78903         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
78904         cancellation and set FD_CLOEXEC for /etc/netgroup.
78906         * nss/nss_files/files-key.c (search): Don't allow cancellation when
78907         reading /etc/publickey.
78909         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
78910         allow cancellation when reading /etc/group.
78912         * nss/nss_files/files-alias.c (internal_setent): Don't allow
78913         cancellation.
78914         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
78916         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
78917         when using data file.
78919         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
78921         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
78922         (write_nis_obj): Use "c" and "e" in fopen.
78924         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
78926         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
78928         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
78930         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
78932         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
78933         locale.alias.
78935         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
78937         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
78939         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
78941         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
78942         file parsing and set FD_CLOEXEC.
78944 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
78946         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
78948 2011-11-14  Andreas Schwab  <schwab@redhat.com>
78950         * malloc/arena.c (arena_get2): Don't call reused_arena when
78951         _int_new_arena failed.
78953 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
78955         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
78956         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
78957         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
78958         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
78959         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
78960         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
78961         to compile strcasecmp and strncasecmp.
78962         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
78963         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
78965         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
78967 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
78969         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
78970         locale-defines.sym to gen-as-const-headers.
78971         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
78972         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
78973         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
78974         to compile strcasecmp and strncasecmp.
78975         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
78976         strcasecmp_l and strncasecmp_l.
78977         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
78978         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
78979         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
78980         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
78981         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
78982         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
78983         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
78984         * sysdeps/i386/i686/multiarch/strncase.S: New file.
78985         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
78986         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
78987         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
78989 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
78991         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
78992         result of SYSDEP_GETTIME_CPU to retval.
78993         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
78994         parameter list to macro.  Remove trailing semicolon.  Adjust users.
78996         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
78997         variable.
78999         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
79000         mantissa words.
79001         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
79003         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
79004         from unused variable.
79006         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
79007         DWARF definitions.
79008         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
79009         for assembling.
79011         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
79012         over namespaces.
79014         * sunrpc/rpc_prot.c (rejected): Fix case value.
79016         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
79017         unsigned long long int to avoid warnings in shift.
79019         * posix/regex_internal.c (re_string_reconstruct): Actually use result
79020         of use of trans.
79021         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
79022         variable tmp.
79024         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
79025         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
79026         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
79028         * nis/nis_table.c (nis_list): Use variable of correct type for
79029         result of __follow_path call.
79031 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79033         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
79034         of math functions ceil, trunc, floor, round, and sqrt, when
79035         avaliable on the platform.
79036         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
79037         name clash.
79038         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
79039         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
79040         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
79042 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
79044         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
79045         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
79047 2011-11-11  Roland McGrath  <roland@hack.frob.com>
79049         * include/unistd.h: Fix __readlink return type.
79050         Reported by Chris Metcalf <cmetcalf@tilera.com>.
79052 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
79054         * stdlib/ucontext.h: Undo last change for makecontext.
79056 2011-11-11  Andreas Schwab  <schwab@redhat.com>
79058         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
79060         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
79061         * setjmp/setjmp.h: Mark functions as non-leaf.
79062         * setjmp/bits/setjmp2.h: Likewise.
79063         * stdlib/ucontext.h: Likewise.
79065 2011-11-10  Andreas Schwab  <schwab@redhat.com>
79067         * malloc/arena.c (_int_new_arena): Don't increment narenas.
79068         (reused_arena): Don't check arena limit.
79069         (arena_get2): Atomically check arena limit.
79071 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
79073         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
79074         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
79076         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
79077         instructions.
79079 2011-11-07  Andreas Schwab  <schwab@redhat.com>
79081         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
79082         handler when locking.
79084         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
79085         Fix size of allocated buffer.
79087 2011-11-04  Andreas Schwab  <schwab@redhat.com>
79089         [BZ #10103]
79090         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
79091         declarations for long double functions.
79092         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
79094         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
79096 2011-11-03  Andreas Schwab  <schwab@redhat.com>
79098         * nscd/nscd.c (main): Don't start AVC thread until credentials are
79099         installed.
79101         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
79102         is disabled.
79104 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79106         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
79108 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
79110         * include/alloca.h (stackinfo_alloca_round): Define.
79111         (extend_alloca): Use it.
79112         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
79113         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
79114         here.
79116         * scripts/check-local-headers.sh: Ignore libaudit.h.
79118         * nscd/Makefile (extra-objs): Make recursively expanded.
79120 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
79122         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
79123         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
79125         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
79126         * posix/tst-rfc3484-2.c: Likewise.
79127         * posix/tst-rfc3484-3.c: Likewise.
79129         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
79130         process_vm_writev.
79131         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
79132         process_vm_writev.
79133         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
79134         process_vm_writev from libc using GLIBC_2.15 version.
79136         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
79138 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
79140         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
79141         stack usage.
79143 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
79145         [BZ #13367]
79146         * nss/getent.c (initgroups_keys): Show error message in case no group
79147         names are given.
79149         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
79150         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
79151         __bump_nl_timestamp.
79152         * nscd/connections (nscd_init): When host database is served open
79153         netlink socket and request notification about configuration changes.
79154         (main_loop_poll): Track netlink file descriptor and bump timestamp
79155         in case data becomes available.
79156         (main_loop_epoll): Likewise.
79157         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
79158         (database_pers_head): Add extra_data fileds.
79159         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
79160         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
79161         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
79162         Adjust caller.
79163         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
79164         in6ai data, call __free_in6ai.
79165         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
79166         Add -DHAVE_NETLINK.
79167         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
79168         interface information.  Reuse previous data if netlink timestamp
79169         is not changed.
79170         (__bump_nl_timestamp): New function.
79171         (__free_in6ai): New function.
79173 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
79175         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
79176         close_not_cancel_no_status here.
79177         (__check_pf): Reorganize code a bit to not call close twice if OOM.
79179 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
79181         [BZ #13276]
79182         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
79183         return value.
79185         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
79186         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
79187         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
79189 2011-07-03  Andreas Jaeger  <aj@suse.de>
79191         [BZ #10709]
79192         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
79193         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
79194         * math/libm-test.inc (sin_test): Add test case.
79196 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
79198         [BZ #13337]
79199         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
79200         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
79202         * elf/chroot_canon.c (chroot_canon): Cleanups.
79204         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
79206         [BZ #13335]
79207         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
79208         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
79210         * string/test-strchr.c: Make usable for strchrnul testing.
79211         * string/test-strchrnul.c: New file.
79212         * string/Makefile (strop-tests): Add strchrnul.
79214         * po/it.po: Update from translation team.
79215         * po/es.po: Likewise.
79217 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
79219         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
79220         the three constants needed as parameters.  Drop the others.
79221         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
79222         __m128i_strloadu_tolower.
79223         Create and initialize variable zero and use it in all the places
79224         where _mm_setzero_si128 was used.
79226         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
79227         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
79228         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
79229         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
79230         anymore.
79231         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
79232         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
79233         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
79234         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
79235         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
79236         __mpranred, __mptan.
79237         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
79238         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
79239         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
79240         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
79241         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
79242         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
79243         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
79244         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
79245         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
79247 2011-10-28  Andreas Schwab  <schwab@redhat.com>
79249         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
79250         redefine if SHARED.
79251         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
79253         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
79254         wide char related routines to wcsmbs subdir.
79256 2011-10-27  Andreas Schwab  <schwab@redhat.com>
79258         [BZ #13344]
79259         * misc/sys/cdefs.h (__THROWNL): Define.
79260         * posix/unistd.h: Use __THREADNL instead of __THREAD
79261         for memory synchronization functions.
79263 2011-10-26  Roland McGrath  <roland@hack.frob.com>
79265         [BZ #13349]
79266         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
79267         doesn't exist.
79268         * manual/stdio.texi (Obstack Streams): Node removed.
79270 2011-10-26  Andreas Schwab  <schwab@redhat.com>
79272         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
79273         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79274         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79276         * math/math_private.h (math_force_eval): Allow non-addressable
79277         arguments.
79278         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
79280 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
79282         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
79283         file is not needed.
79285         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
79286         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
79287         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
79288         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
79289         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
79290         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
79291         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
79292         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
79293         Add AVX variants.
79294         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
79295         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
79296         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
79297         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
79298         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
79299         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
79300         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
79301         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
79302         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
79303         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
79304         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
79305         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
79306         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
79307         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
79308         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
79309         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
79310         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
79311         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
79312         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
79314         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
79315         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
79317         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
79318         place.  Use VEX encoding when compiling for AVX.
79320 2011-10-25  Andreas Schwab  <schwab@redhat.com>
79322         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
79323         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
79325         * string/test-strchr.c (do_test): Don't generate NUL bytes.
79327 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
79329         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
79330         useless if() expression.
79331         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
79332         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
79333         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
79334         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79335         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
79336         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79337         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
79338         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
79339         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
79340         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79341         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
79342         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
79343         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
79344         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
79345         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
79346         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79347         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
79348         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
79349         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
79351         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
79353 2011-10-25  Andreas Schwab  <schwab@redhat.com>
79355         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
79356         condition.
79357         * elf/dl-fini.c (_dl_sort_fini): Likewise.
79359 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
79361         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
79362         .text section.  Avoid duplicate constants.
79363         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
79364         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79365         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
79366         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79367         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79368         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79369         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79370         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79371         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
79372         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
79373         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
79374         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
79375         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
79376         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
79377         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
79378         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
79379         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
79380         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
79381         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
79382         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79383         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
79384         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
79385         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
79386         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
79387         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
79388         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
79389         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
79390         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
79391         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
79392         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
79393         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
79394         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
79395         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
79396         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
79397         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
79398         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
79399         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
79400         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
79401         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
79402         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
79403         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
79404         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
79405         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
79406         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
79407         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
79409 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
79411         * sysdeps/x86_64/dla.h: Move to ...
79412         * sysdeps/x86_64/fpu/dla.h: ...here.
79413         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
79414         situations.  Use __builtin_fma only for gcc 4.6 and up.
79416         * config.make.in: Add have-mfma4 entry.
79417         * configure.in: Substitute libc_cv_cc_fma4.
79418         * math/Makefile (dbl-only-routines): Add sincostab.
79419         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
79420         Use __sincostab not sincos.
79421         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
79422         name is a macro.
79423         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79424         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79425         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79426         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
79427         using __copysign.
79428         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
79429         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
79430         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
79431         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
79432         and __inv.
79433         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
79434         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
79435         __copysign.
79436         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
79437         define aliases when function name is a macro.
79438         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
79439         sysdeps/ieee754/dbl-64/sincos.tbl.
79440         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
79441         fma4-enabled routines.
79442         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
79443         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
79444         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
79445         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
79446         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
79447         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
79448         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
79449         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
79450         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
79451         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
79452         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
79453         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
79454         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
79455         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
79456         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
79457         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
79458         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
79459         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
79460         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
79461         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
79462         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
79463         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
79464         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
79465         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
79466         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
79467         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
79468         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
79469         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
79470         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
79471         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
79473         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
79474         rename.
79475         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79476         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79477         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79478         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79479         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79480         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79481         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79482         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79484 2011-10-24  Andreas Schwab  <schwab@redhat.com>
79486         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
79488 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
79490         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
79492         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
79493         prediction.
79494         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
79496         * string/strnlen.c: Don't define STRNLEN, reverse logic.
79497         Remove unused variable magic_bits.
79498         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
79500         * string/strnlen.c: Define and use STRNLEN macro.
79501         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
79502         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
79503         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
79504         * wcsmbs/wcslen.c: Define and use WCSLEN.
79505         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
79506         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
79507         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
79508         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
79509         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
79510         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
79511         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
79513 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79515         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79516         strnlen-sse2-no-bsf.
79517         Rename strlen-no-bsf to strlen-sse2-no-bsf.
79518         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
79519         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
79520         Add strnlen support.
79521         (USE_AS_STRNLEN): New macro.
79522         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
79523         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
79524         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
79525         * sysdeps/x86_64/wcslen.S: New file.
79527 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
79529         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
79530         XMM-moves are used for copying on small sizes.
79532 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79534         * wcsmbs/Makefile (strop-tests): Add wcschr.
79535         * wcsmbs/test-wcschr.c: New file.
79536         * string/test-strchr.c: Update.
79537         Add wcschr support.
79538         (WIDE): New macro.
79540 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79542         * wcsmbs/Makefile (strop-tests): Add wcslen.
79543         * wcsmbs/test-wcslen.c: New file.
79544         * string/test-strlen.c: Update.
79545         Add wcslen support.
79546         (WIDE): New macro.
79548 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
79550         * po/it.po: Update from translation team.
79552 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79554         * sysdeps/x86_64/wcscmp.S: Update.
79555         Fix wrong comparison semantics.
79556         wcscmp shall use signed comparison not unsigned.
79557         Don't use substraction to avoid overflow bug.
79558         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
79559         * wcsmbc/wcscmp.c: Likewise.
79560         * string/test-strcmp.c: Likewise.
79561         Add new tests to check cases with negative values.
79563 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
79565         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
79566         * sysdeps/x86_64/dla.h: ...here.  New file.
79567         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
79568         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79569         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79570         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79571         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79572         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
79573         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79574         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79575         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79577 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
79579         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
79580         __ynl_finite aliases.
79582 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
79584         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79586         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
79587         define DLA_FMA.
79588         [DLA_FMA] (EMULV): Use DLA_FMA.
79589         [DLA_FMA] (MUL12): Use EMULV.
79590         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
79591         that are not needed.
79592         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79593         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79594         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79595         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79596         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79597         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79598         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79600 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
79602         * math/s_nan.c: Undef __nan.
79603         * math/s_nanf.c: Undef __nanf.
79604         * math/s_nanl.c: Undef __nanl.
79605         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
79606         "math_private.h".
79608 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
79610         * math/s_catan.c: Add branch predictions.
79611         * math/s_catanf.c: Likewise.
79612         * math/s_catanh.c: Likewise.
79613         * math/s_catanhf.c: Likewise.
79614         * math/s_catanhl.c: Likewise.
79615         * math/s_catanl.c: Likewise.
79616         * math/s_cexp.c: Likewise.
79617         * math/s_cexpf.c: Likewise.
79618         * math/s_cexpl.c: Likewise.
79619         * math/s_clog.c: Likewise.
79620         * math/s_clog10.c: Likewise.
79621         * math/s_clog10f.c: Likewise.
79622         * math/s_clog10l.c: Likewise.
79623         * math/s_clogf.c: Likewise.
79624         * math/s_clogl.c: Likewise.
79625         * math/s_csqrt.c: Likewise.
79626         * math/s_csqrtf.c: Likewise.
79627         * math/s_csqrtl.c: Likewise.
79628         * math/s_ctanf.c: Likewise.
79629         * math/s_ctanh.c: Likewise.
79630         * math/s_ctanhf.c: Likewise.
79631         * math/s_ctanhl.c: Likewise.
79632         * math/s_ctanl.c: Likewise.
79634         * math/math_private.h: Define __nan, __nanf, __nanl.
79635         * math/s_cacosh.c: Include <math_private.h>.
79636         * math/s_cacoshl.c: Likewise.
79637         * math/s_casinh.c: Likewise.
79638         * math/s_casinhf.c: Likewise.
79639         * math/s_casinhl.c: Likewise.
79640         * math/s_ccos.c: Rely entire on ccosh.
79641         * math/s_ccosf.c: Rely entire on ccoshf.
79642         * math/s_ccosl.c: Rely entirely on ccoshl.
79643         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
79644         Remove tests for FE_INVALID.
79645         * math/s_ccoshf.c: Likewise.
79646         * math/s_ccoshl.c: Likewise.
79647         * math/s_csin.c: Likewise.
79648         * math/s_csinf.c: Likewise.
79649         * math/s_csinh.c Likewise.
79650         * math/s_csinhf.c: Likewise.
79651         * math/s_csinhl.c: Likewise.
79652         * math/s_csinl.c: Likewise.
79653         * math/s_ctan.c: Likewise.
79654         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
79655         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
79656         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
79658 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
79660         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
79661         compilation problems.
79663         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
79664         __builtin_expect.
79666 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
79668         * sysdeps/i386/configure.in: Test for -mfma4 option.
79669         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
79670         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
79671         COMMON_CPUID_INDEX_80000001.
79672         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
79673         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
79674         use it if FMA3 is not supported.
79675         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
79677         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
79678         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
79680 2011-10-20  Andreas Schwab  <schwab@redhat.com>
79682         [BZ #12892]
79683         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
79684         it would create a cycle with a link time dependency.
79686 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
79688         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
79689         instruction.
79690         * string/Makefile (strop-tests): Add rawmemchr.
79691         * string/test-rawmemchr.c: New file.
79693         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
79694         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
79695         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
79696         when compiling str{,n}casecmp and when AVX is available.  Hook up
79697         new optimized code in initializers.
79699 2011-10-19  Andreas Schwab  <schwab@redhat.com>
79701         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
79702         __feraiseexcept instead of feraiseexcept.
79704 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
79706         * math/math_private.h: Define defaults for libc_fetestexcept and
79707         libc_feupdateenv.
79708         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
79709         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
79710         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
79711         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
79712         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
79713         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
79714         libc_fetestexcept and libc_feupdateenv.
79716         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
79717         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
79718         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
79719         * sysdeps/x86_64/fpu/math_private.h: Define special version of
79720         libc_feholdexcept_setround.
79722         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
79723         Add s_nearbyint-c and s_nearbyintf-c.
79724         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
79725         nearbyintf inlines.
79726         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
79727         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
79728         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
79729         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
79731         * math/math_private.h: Define defaults for libc_fegetround,
79732         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
79733         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
79734         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
79735         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
79736         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
79737         standard functions.
79738         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
79739         Remove comments and hacks for old compiler versions.
79740         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
79741         libc_fegetround, libc_fesetround, libc_feholdexcept, and
79742         libc_feholdexceptl.
79744 2011-10-18  Andreas Schwab  <schwab@redhat.com>
79746         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
79747         (__feraiseexcept_renamed): Add __NTH.
79748         (feraiseexcept): Add __NTH.  Rename local variables to fix
79749         namespace violations.
79751 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
79753         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
79755         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
79757         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
79758         recently added interfaces.
79759         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
79761         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
79762         about macro parameter expansion.
79764         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
79765         __NO_MATH_INLINES is defined.  Cleanups.
79767         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
79768         and __floorf is target has SSE4.1.
79769         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
79770         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
79771         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
79772         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
79774         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
79775         name.
79776         (floorf): Likewise.
79778         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
79780 2011-10-17  Andreas Schwab  <schwab@redhat.com>
79782         * misc/sys/cdefs.h: Fix last change.
79784         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
79785         database lookup.
79787 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
79789         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
79791         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
79792         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79793         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
79794         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
79795         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
79796         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
79797         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
79798         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
79799         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
79800         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
79801         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
79802         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
79803         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
79804         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
79805         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
79806         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
79807         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
79808         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
79809         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
79810         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
79811         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
79812         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
79814         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
79815         ceil, ceilf, floor, floorf.
79817         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
79818         Perform IRELATIVE relocations last.
79820         * elf/do-rel.h: Add another parameter nrelative, replacing the
79821         local variable with the same name.  Change name of the function
79822         to end in Rel or Rela (uppercase).
79823         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
79824         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
79825         elf_dynamic_do_##reloc function.
79827 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
79829         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
79830         is sufficient, at least on modern CPUs.
79832         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
79834         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
79835         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
79837         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
79838         __expl_finite.
79839         * math/bits/math-finite.h: Add entries for exp.
79840         * math/e_expl.c: Add __*_finite alias.
79841         * sysdeps/i386/fpu/e_exp.S: Likewise.
79842         * sysdeps/i386/fpu/e_expf.S: Likewise.
79843         * sysdeps/i386/fpu/e_expl.c: Likewise.
79844         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79845         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
79846         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
79847         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
79848         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
79849         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
79850         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
79852         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
79853         is sufficient, at least on modern CPUs.
79855         * ctype/ctype-info.c (__ctype_init): Define.
79856         * include/ctype.h (__ctype_init): Declare.
79857         (__ctype_b_loc): The variable is always initialized.
79858         (__ctype_toupper_loc): Likewise.
79859         (__ctype_tolower_loc): Likewise.
79860         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
79861         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
79863 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
79865         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
79867         * configure.in: Also look in $cxxmachine/include for C++ system
79868         headers.
79870 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79872         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
79873         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
79874         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
79875         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
79876         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
79877         (USE_AS_WMEMCMP): New macro.
79878         Fixing indents.
79879         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
79880         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
79881         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
79882         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
79883         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79884         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
79885         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
79886         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
79887         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
79888         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
79889         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
79890         (USE_AS_WMEMCMP): New macro.
79891         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
79892         * sysdeps/string/test-memcmp.c: Update.
79893         Fix simple_wmemcmp.
79894         Add new tests.
79895         * wcsmbs/wmemcmp.c: Update.
79896         (WMEMCMP): New macro.
79897         Fix overflow bug.
79899 2011-10-12  Andreas Jaeger  <aj@suse.de>
79901         [BZ #13268]
79902         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
79904 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
79906         * libio/iofwide.c (do_length): Avoid warning.
79908         * ctype/ctype.h (__isctype_f): Add missing __THROW.
79910 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
79912         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
79914         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
79915         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
79916         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
79917         * sysdeps/i386/i686/fpu/e_log.S: New file.
79918         * sysdeps/i386/i686/fpu/e_logf.S: New file.
79919         * sysdeps/i386/i686/fpu/e_logl.S: New file.
79921         * ctype/ctype.h: Add support for inlined isXXX functions when
79922         compiling C++ code.
79924 2011-10-14  Andreas Schwab  <schwab@redhat.com>
79926         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79928         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
79930 2011-10-13  Roland McGrath  <roland@hack.frob.com>
79932         [BZ #13291]
79933         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
79935 2011-10-13  Andreas Schwab  <schwab@redhat.com>
79937         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
79938         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
79939         feraiseexcept.
79941         * sysdeps/x86_64/memrchr.S: Check for zero size.
79943         * string/stratcliff.c: Add memrchr tests.
79945 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79947         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79948         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
79949         rawmemchr-sse2 rawmemchr-sse2-bsf.
79950         * sysdeps/i386/i686/multiarch/memchr.S: New file.
79951         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
79952         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
79953         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
79954         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
79955         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
79956         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
79957         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
79958         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
79959         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
79960         * string/memrchr.c (MEMRCHR): New macro.
79962 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
79964         Add integration with gcc's -ffinite-math-only and optimize wrapper
79965         functions in libm.
79966         * Versions.def: Define GLIBC_2.15 version for libm.
79967         * math/Makefile (headers): Add bits/math-finite.h.
79968         * math/bits/math-finite.h: New file.
79969         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
79970         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
79971         * math/e_acoshl.c: Add __*_finite alias.
79972         * math/e_acosl.c: Likewise.
79973         * math/e_asinl.c: Likewise.
79974         * math/e_atan2l.c: Likewise.
79975         * math/e_atanhl.c: Likewise.
79976         * math/e_coshl.c: Likewise.
79977         * math/e_exp10.c: Likewise.
79978         * math/e_exp10f.c: Likewise.
79979         * math/e_exp10l.c: Likewise.
79980         * math/e_exp2l.c: Likewise.
79981         * math/e_fmodl.c: Likewise.
79982         * math/e_gammal_r.c: Likewise.
79983         * math/e_hypotl.c: Likewise.
79984         * math/e_j0l.c: Likewise.
79985         * math/e_j1l.c: Likewise.
79986         * math/e_jnl.c: Likewise.
79987         * math/e_lgammal_r.c: Likewise.
79988         * math/e_log10l.c: Likewise.
79989         * math/e_log2l.c: Likewise.
79990         * math/e_logl.c: Likewise.
79991         * math/e_powl.c: Likewise.
79992         * math/e_sinhl.c: Likewise.
79993         * math/e_sqrtl.c: Likewise.
79994         * math/e_scalb.c: Completely rewritten and optimized.
79995         * math/e_scalbf.c: Likewise.
79996         * math/e_scalbl.c: Likewise.
79997         * math/w_acos.c: Likewise.
79998         * math/w_acosf.c: Likewise.
79999         * math/w_acosl.c: Likewise.
80000         * math/w_acosh.c: Likewise.
80001         * math/w_acoshf.c: Likewise.
80002         * math/w_acoshl.c: Likewise.
80003         * math/w_asin.c: Likewise.
80004         * math/w_asinf.c: Likewise.
80005         * math/w_asinl.c: Likewise.
80006         * math/w_atan2.c: Likewise.
80007         * math/w_atan2f.c: Likewise.
80008         * math/w_atan2l.c: Likewise.
80009         * math/w_atanh.c: Likewise.
80010         * math/w_atanhf.c: Likewise.
80011         * math/w_atanhl.c: Likewise.
80012         * math/w_exp10.c: Likewise.
80013         * math/w_exp10f.c: Likewise.
80014         * math/w_exp10l.c: Likewise.
80015         * math/w_fmod.c: Likewise.
80016         * math/w_fmodf.c: Likewise.
80017         * math/w_fmodl.c: Likewise.
80018         * math/w_j0.c: Likewise.
80019         * math/w_j0f.c: Likewise.
80020         * math/w_j0l.c: Likewise.
80021         * math/w_j1.c: Likewise.
80022         * math/w_j1f.c: Likewise.
80023         * math/w_j1l.c: Likewise.
80024         * math/w_jn.c: Likewise.
80025         * math/w_jnf.c: Likewise.
80026         * math/w_log.c: Likewise.
80027         * math/w_logf.c: Likewise.
80028         * math/w_logl.c: Likewise.
80029         * math/w_log10.c: Likewise.
80030         * math/w_log10f.c: Likewise.
80031         * math/w_log10l.c: Likewise.
80032         * math/w_log2.c: Likewise.
80033         * math/w_log2f.c: Likewise.
80034         * math/w_log2l.c: Likewise.
80035         * math/w_pow.c: Likewise.
80036         * math/w_powf.c: Likewise.
80037         * math/w_powl.c: Likewise.
80038         * math/w_remainder.c: Likewise.
80039         * math/w_remainderf.c: Likewise.
80040         * math/w_remainderl.c: Likewise.
80041         * math/w_scalb.c: Likewise.
80042         * math/w_scalbf.c: Likewise.
80043         * math/w_scalbl.c: Likewise.
80044         * math/w_sqrt.c: Likewise.
80045         * math/w_sqrtf.c: Likewise.
80046         * math/w_sqrtl.c: Likewise.
80047         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
80048         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
80049         used.
80050         * math/math_private.h: Declare __kernel_standard_f.
80051         * math/w_cosh.c: Remove cruft and optimize a bit.
80052         * math/w_coshf.c: Likewise.
80053         * math/w_coshl.c: Likewise.
80054         * math/w_exp2.c: Likewise.
80055         * math/w_exp2f.c: Likewise.
80056         * math/w_exp2l.c: Likewise.
80057         * math/w_hypot.c: Likewise.
80058         * math/w_hypotf.c: Likewise.
80059         * math/w_hypotl.c: Likewise.
80060         * math/w_lgamma.c: Likewise.
80061         * math/w_lgamma_r.c: Likewise.
80062         * math/w_lgammaf.c: Likewise.
80063         * math/w_lgammaf_r.c: Likewise.
80064         * math/w_lgammal.c: Likewise.
80065         * math/w_lgammal_r.c: Likewise.
80066         * math/w_sinh.c: Likewise.
80067         * math/w_sinhf.c: Likewise.
80068         * math/w_sinhl.c: Likewise.
80069         * math/w_tgamma.c: Likewise.
80070         * math/w_tgammaf.c: Likewise.
80071         * math/w_tgammal.c: Likewise.
80072         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80073         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80074         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
80075         Minor optimizations.  Pretty printing.  Remove cruft.
80076         * sysdeps/i386/fpu/e_acosf.S: Likewise.
80077         * sysdeps/i386/fpu/e_acosh.S: Likewise.
80078         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
80079         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
80080         * sysdeps/i386/fpu/e_acosl.c: Likewise.
80081         * sysdeps/i386/fpu/e_asin.S: Likewise.
80082         * sysdeps/i386/fpu/e_asinf.S: Likewise.
80083         * sysdeps/i386/fpu/e_atan2.S: Likewise.
80084         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
80085         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
80086         * sysdeps/i386/fpu/e_atanh.S: Likewise.
80087         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
80088         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
80089         * sysdeps/i386/fpu/e_exp10.S: Likewise.
80090         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
80091         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
80092         * sysdeps/i386/fpu/e_exp2.S: Likewise.
80093         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
80094         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
80095         * sysdeps/i386/fpu/e_fmod.S: Likewise.
80096         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
80097         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
80098         * sysdeps/i386/fpu/e_hypot.S: Likewise.
80099         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
80100         * sysdeps/i386/fpu/e_log.S: Likewise.
80101         * sysdeps/i386/fpu/e_log10.S: Likewise.
80102         * sysdeps/i386/fpu/e_log10f.S: Likewise.
80103         * sysdeps/i386/fpu/e_log10l.S: Likewise.
80104         * sysdeps/i386/fpu/e_log2.S: Likewise.
80105         * sysdeps/i386/fpu/e_log2f.S: Likewise.
80106         * sysdeps/i386/fpu/e_log2l.S: Likewise.
80107         * sysdeps/i386/fpu/e_logf.S: Likewise.
80108         * sysdeps/i386/fpu/e_logl.S: Likewise.
80109         * sysdeps/i386/fpu/e_pow.S: Likewise.
80110         * sysdeps/i386/fpu/e_powf.S: Likewise.
80111         * sysdeps/i386/fpu/e_powl.S: Likewise.
80112         * sysdeps/i386/fpu/e_remainder.S: Likewise.
80113         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
80114         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
80115         * sysdeps/i386/fpu/e_scalb.S: Likewise.
80116         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
80117         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
80118         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
80119         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
80120         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
80121         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
80122         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80123         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80124         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
80125         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
80126         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
80127         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
80128         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
80129         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80130         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
80131         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
80132         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
80133         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80134         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
80135         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
80136         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80137         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
80138         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
80139         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80140         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80141         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
80142         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
80143         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80144         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80145         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
80146         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
80147         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
80148         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
80149         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
80150         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
80151         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80152         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
80153         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80154         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
80155         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
80156         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
80157         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
80158         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
80159         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
80160         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
80161         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
80162         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
80163         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
80164         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
80165         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80166         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
80167         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
80168         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
80169         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
80170         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
80171         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
80172         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
80173         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
80174         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80175         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
80176         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
80177         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
80178         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
80179         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
80180         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
80181         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
80182         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
80183         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80184         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80185         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
80186         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
80187         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
80188         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
80189         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
80190         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
80191         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
80192         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
80193         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
80194         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
80195         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
80196         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80197         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
80198         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
80199         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80200         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
80201         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80202         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
80203         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
80204         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80205         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80206         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
80207         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80208         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
80209         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
80210         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
80211         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
80212         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
80213         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
80214         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
80215         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
80216         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
80217         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
80218         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
80219         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
80220         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
80221         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
80222         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
80223         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
80224         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
80225         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
80226         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
80227         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
80228         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
80229         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
80230         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
80231         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
80232         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
80233         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
80234         (__isnanf): Likewise.
80235         (__isinf_ns): Likewise.
80236         (__isinf_nsf): Likewise.
80237         (__finite): Likewise.
80238         (__finitef): Likewise.
80239         (__ieee754_sqrt): Define as macro.
80240         (__ieee754_sqrtf): Define as macro.
80241         (__ieee754_sqrtl): Define as macro.
80242         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
80243         inlined copy.
80244         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
80245         __FINITE_MATH_ONLY__ consistent.
80246         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
80248 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
80250         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
80251         of rawmemchr.
80253         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
80255 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
80257         * po/ja.po: Update from translation team.
80259 2011-10-08  Roland McGrath  <roland@hack.frob.com>
80261         * locale/programs/locarchive.c (prepare_address_space): New function.
80262         (create_archive, enlarge_archive, open_archive): Use it.
80264         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
80265         inside [SHARED], where it is used.
80267         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
80269         * nss/getent.c (netgroup_keys): Remove unused variable.
80270         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
80272 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
80274         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
80275         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
80276         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
80277         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
80278         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
80279         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
80280         * math/Makefile (libm-calls): Add s_isinf_ns.
80281         * math/divtc3.c: Use __isinf_nsl instead of isinf.
80282         * math/multc3.c: Likewise.
80283         * math/s_casin.c: Likewise.
80284         * math/s_casinf.c: Likewise.
80285         * math/s_casinl.c: Likewise.
80286         * math/s_ccos.c: Likewise.
80287         * math/s_ccosf.c: Likewise.
80288         * math/s_ccosl.c: Likewise.
80289         * math/s_ctan.c: Likewise.
80290         * math/s_ctanf.c: Likewise.
80291         * math/s_ctanh.c: Likewise.
80292         * math/s_ctanhf.c: Likewise.
80293         * math/s_ctanhl.c: Likewise.
80294         * math/s_ctanl.c: Likewise.
80295         * math/w_fmod.c: Likewise.
80296         * math/w_fmodf.c: Likewise.
80297         * math/w_fmodl.c: Likewise.
80298         * math/w_remainder.c: Likewise.
80299         * math/w_remainderf.c: Likewise.
80300         * math/w_remainderl.c: Likewise.
80301         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
80302         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
80303         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
80304         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
80305         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
80306         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
80307         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
80308         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
80310         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
80311         of the number.
80312         * stdio-common/printf_fphex.c: Likewise.
80313         * stdio-common/printf_size.c: Likewise.
80315         * math/e_exp10.c: Include math_private.h using <...> not "...".
80316         * math/e_exp10f.c: Likewise.
80317         * math/e_exp10l.c: Likewise.
80318         * math/e_exp2l.c: Likewise.
80319         * math/e_j0l.c: Likewise.
80320         * math/e_j1l.c: Likewise.
80321         * math/e_jnl.c: Likewise.
80322         * math/e_lgammal_r.c: Likewise.
80323         * math/e_rem_pio2l.c: Likewise.
80324         * math/e_scalb.c: Likewise.
80325         * math/e_scalbf.c: Likewise.
80326         * math/e_scalbl.c: Likewise.
80327         * math/k_cosl.c: Likewise.
80328         * math/k_sinl.c: Likewise.
80329         * math/k_tanl.c: Likewise.
80330         * math/s_cacoshf.c: Likewise.
80331         * math/s_catan.c: Likewise.
80332         * math/s_catanf.c: Likewise.
80333         * math/s_catanh.c: Likewise.
80334         * math/s_catanhf.c: Likewise.
80335         * math/s_catanhl.c: Likewise.
80336         * math/s_catanl.c: Likewise.
80337         * math/s_ccosh.c: Likewise.
80338         * math/s_ccoshf.c: Likewise.
80339         * math/s_ccoshl.c: Likewise.
80340         * math/s_cexp.c: Likewise.
80341         * math/s_cexpf.c: Likewise.
80342         * math/s_cexpl.c: Likewise.
80343         * math/s_clog.c: Likewise.
80344         * math/s_clog10.c: Likewise.
80345         * math/s_clog10f.c: Likewise.
80346         * math/s_clog10l.c: Likewise.
80347         * math/s_clogf.c: Likewise.
80348         * math/s_clogl.c: Likewise.
80349         * math/s_csin.c: Likewise.
80350         * math/s_csinf.c: Likewise.
80351         * math/s_csinh.c: Likewise.
80352         * math/s_csinhf.c: Likewise.
80353         * math/s_csinhl.c: Likewise.
80354         * math/s_csinl.c: Likewise.
80355         * math/s_csqrt.c: Likewise.
80356         * math/s_csqrtf.c: Likewise.
80357         * math/s_csqrtl.c: Likewise.
80358         * math/s_ctan.c: Likewise.
80359         * math/s_ctanf.c: Likewise.
80360         * math/s_ctanh.c: Likewise.
80361         * math/s_ctanhf.c: Likewise.
80362         * math/s_ctanhl.c: Likewise.
80363         * math/s_ctanl.c: Likewise.
80364         * math/s_ldexp.c: Likewise.
80365         * math/s_ldexpf.c: Likewise.
80366         * math/s_ldexpl.c: Likewise.
80367         * math/s_significand.c: Likewise.
80368         * math/s_significandf.c: Likewise.
80369         * math/s_significandl.c: Likewise.
80370         * math/w_acos.c: Likewise.
80371         * math/w_acosf.c: Likewise.
80372         * math/w_acosh.c: Likewise.
80373         * math/w_acoshf.c: Likewise.
80374         * math/w_acoshl.c: Likewise.
80375         * math/w_acosl.c: Likewise.
80376         * math/w_asin.c: Likewise.
80377         * math/w_asinf.c: Likewise.
80378         * math/w_asinl.c: Likewise.
80379         * math/w_atan2.c: Likewise.
80380         * math/w_atan2f.c: Likewise.
80381         * math/w_atan2l.c: Likewise.
80382         * math/w_atanh.c: Likewise.
80383         * math/w_atanhf.c: Likewise.
80384         * math/w_atanhl.c: Likewise.
80385         * math/w_cosh.c: Likewise.
80386         * math/w_coshf.c: Likewise.
80387         * math/w_coshl.c: Likewise.
80388         * math/w_dremf.c: Likewise.
80389         * math/w_exp10.c: Likewise.
80390         * math/w_exp10f.c: Likewise.
80391         * math/w_exp10l.c: Likewise.
80392         * math/w_exp2.c: Likewise.
80393         * math/w_exp2f.c: Likewise.
80394         * math/w_fmod.c: Likewise.
80395         * math/w_fmodf.c: Likewise.
80396         * math/w_fmodl.c: Likewise.
80397         * math/w_hypot.c: Likewise.
80398         * math/w_hypotf.c: Likewise.
80399         * math/w_hypotl.c: Likewise.
80400         * math/w_j0.c: Likewise.
80401         * math/w_j0f.c: Likewise.
80402         * math/w_j0l.c: Likewise.
80403         * math/w_j1.c: Likewise.
80404         * math/w_j1f.c: Likewise.
80405         * math/w_j1l.c: Likewise.
80406         * math/w_jn.c: Likewise.
80407         * math/w_jnf.c: Likewise.
80408         * math/w_jnl.c: Likewise.
80409         * math/w_lgamma.c: Likewise.
80410         * math/w_lgamma_r.c: Likewise.
80411         * math/w_lgammaf.c: Likewise.
80412         * math/w_lgammaf_r.c: Likewise.
80413         * math/w_lgammal.c: Likewise.
80414         * math/w_lgammal_r.c: Likewise.
80415         * math/w_log.c: Likewise.
80416         * math/w_log10.c: Likewise.
80417         * math/w_log10f.c: Likewise.
80418         * math/w_log10l.c: Likewise.
80419         * math/w_log2.c: Likewise.
80420         * math/w_log2f.c: Likewise.
80421         * math/w_log2l.c: Likewise.
80422         * math/w_logf.c: Likewise.
80423         * math/w_logl.c: Likewise.
80424         * math/w_pow.c: Likewise.
80425         * math/w_powf.c: Likewise.
80426         * math/w_powl.c: Likewise.
80427         * math/w_remainder.c: Likewise.
80428         * math/w_remainderf.c: Likewise.
80429         * math/w_remainderl.c: Likewise.
80430         * math/w_scalb.c: Likewise.
80431         * math/w_scalbf.c: Likewise.
80432         * math/w_scalbl.c: Likewise.
80433         * math/w_sinh.c: Likewise.
80434         * math/w_sinhf.c: Likewise.
80435         * math/w_sinhl.c: Likewise.
80436         * math/w_sqrt.c: Likewise.
80437         * math/w_sqrtf.c: Likewise.
80438         * math/w_sqrtl.c: Likewise.
80439         * math/w_tgamma.c: Likewise.
80440         * math/w_tgammaf.c: Likewise.
80441         * math/w_tgammal.c: Likewise.
80443         * po/ja.po: Update from translation team.
80445 2011-09-29  Andreas Jaeger  <aj@suse.de>
80447         [BZ #13179]
80448         * sunrpc/netname.c (netname2host): Fix logic.
80450         [BZ #6779]
80451         [BZ #6783]
80452         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
80453         correctly.
80454         * math/w_remainder.c (__remainder): Likewise.
80455         * math/w_remainderf.c (__remainderf): Likewise.
80456         * math/libm-test.inc (remainder_test): Add test cases.
80458 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80460         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
80461         sdiv_qrnnd.
80463 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
80465         * string/test-memcmp.c: Avoid unncessary #defines.
80466         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
80468 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80470         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
80471         Use new sse2 version for core i3 - i7 as it's faster
80472         than sse42 version.
80473         (bit_Prefer_PMINUB_for_stringop): New.
80474         * sysdeps/x86_64/rawmemchr.S: Update.
80475         Replace with faster SSE2 version.
80476         * sysdeps/x86_64/memrchr.S: New file.
80477         * sysdeps/x86_64/memchr.S: Update.
80478         Replace with faster SSE2 version.
80480 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
80482         * elf/dl-load.c (lose): Add cast to avoid warning.
80484 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
80486         * po/ca.po: Update from translation team.
80488         * inet/getnetgrent_r.c: Hook up nscd.
80489         * nscd/Makefile (routines): Add nscd_netgroup.
80490         (nscd-modules): Add netgroupcache.
80491         (CFLAGS-netgroupcache.c): Define.
80492         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
80493         (cache_search): Add const to second parameter.
80494         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
80495         INNETGR.
80496         (dbs): Add netgrdb entry.
80497         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
80498         (verify_persistent_db): Handle netgrdb.
80499         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
80500         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
80501         GETFDNETGR.
80502         (netgroup_response_header): Define.
80503         (innetgroup_response_header): Define.
80504         (datahead): Add netgroup_response_header and innetgroup_response_header
80505         elements.
80506         * nscd/nscd.conf: Add entries for netgroup cache.
80507         * nscd/nscd.h (dbtype): Add netgrdb.
80508         (_PATH_NSCD_NETGROUP_DB): Define.
80509         (netgroup_iov_disabled): Declare.
80510         (xmalloc, xcalloc, xrealloc): Move declarations here.
80511         (cache_search): Adjust prototype.
80512         Add netgroup-related prototypes.
80513         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
80514         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
80515         (__nscd_innetgr): Declare.
80516         * nscd/selinux.c (perms): Use access_vector_t as element type and
80517         add netgroup-related initializers.
80518         * nscd/netgroupcache.c: New file.
80519         * nscd/nscd_netgroup.c: New file.
80520         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
80521         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
80522         For four parameters use innetgr.
80523         * nss/nss_files/files-init.c: Add definition and callback for netgr.
80524         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
80525         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
80526         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
80528         * nscd/connections.c (register_traced_file): Don't register file
80529         for disabled databases.
80531 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
80533         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
80535         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
80536         from tree and freeing node.
80538 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
80540         * nss/nsswitch.c (__nss_database_lookup): Handle
80541         nss_parse_service_list out of memory case.
80543 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
80545         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
80546         out of memory case.
80548 2011-10-04  Andreas Schwab  <schwab@redhat.com>
80550         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
80551         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
80552         pass it down.
80553         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
80554         elf_machine_rela, elf_machine_lazy_rel.
80555         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
80556         (ELF_DYNAMIC_DO_REL): Likewise.
80557         (ELF_DYNAMIC_DO_RELA): Likewise.
80558         (ELF_DYNAMIC_RELOCATE): Likewise.
80559         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
80560         to ELF_DYNAMIC_DO_REL.
80561         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
80562         (dl_main): In trace mode always set __RTLD_NOIFUNC.
80563         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
80564         elf_machine_rela.
80565         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
80566         skip_ifunc, don't call ifunc function if non-zero.
80567         (elf_machine_rela): Likewise.
80568         (elf_machine_lazy_rel): Likewise.
80569         (elf_machine_lazy_rela): Likewise.
80570         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
80571         (elf_machine_lazy_rel): Likewise.
80572         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
80573         Likewise.
80574         (elf_machine_lazy_rel): Likewise.
80575         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
80576         Likewise.
80577         (elf_machine_lazy_rel): Likewise.
80578         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
80579         (elf_machine_lazy_rel): Likewise.
80580         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
80581         (elf_machine_lazy_rel): Likewise.
80582         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
80583         (elf_machine_lazy_rel): Likewise.
80584         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
80585         (elf_machine_lazy_rel): Likewise.
80586         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
80587         (elf_machine_lazy_rel): Likewise.
80588         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
80589         (elf_machine_lazy_rel): Likewise.
80591 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
80593         * nss/nss_files/files-init.c (_nss_files_init): Use static
80594         initialization for all the *_traced_file variables.
80596 2011-09-28  Andreas Schwab  <schwab@redhat.com>
80598         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80600 2011-09-27  Roland McGrath  <roland@hack.frob.com>
80602         [BZ #13226]
80603         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
80605 2011-09-27  Andreas Schwab  <schwab@redhat.com>
80607         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
80608         Reread the line before reparsing it.
80610 2011-09-26  Andreas Schwab  <schwab@redhat.com>
80612         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
80614 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
80615             Maxim Kuvyrkov  <maxim@codesourcery.com>
80616             Joseph Myers  <joseph@codesourcery.com>
80618         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
80619         if needed for __stack_chk_guard.
80621 2011-09-19  Roland McGrath  <roland@hack.frob.com>
80623         * sysdeps/posix/spawni.c (script_execute): Always define it.
80624         It will be optimized away if unused.
80625         (maybe_script_execute): New function.
80626         (__spawni): Call it.
80628         * Makerules: Don't include tls.make.
80629         (config-tls): Always set to thread.
80630         * tls.make.c: File removed.
80632 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
80634         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
80635         * config.make.in (CPPFLAGS-config): New substituted variable.
80637 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
80639         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
80641         [BZ #13192]
80642         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
80643         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
80645 2011-09-15  Roland McGrath  <roland@hack.frob.com>
80647         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
80648         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
80649         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
80650         (CALL_FAIL): Likewise.
80651         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
80652         (CALL_FAIL): Macro removed.
80653         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
80655 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
80657         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
80658         for __FINITE_MATH_ONLY__ == 1.
80660 2011-09-15  Andreas Schwab  <schwab@redhat.com>
80662         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
80663         __ieee754_sqrt instead of sqrt.
80664         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
80665         __ieee754_sqrtf instead of sqrtf.
80666         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
80667         __floorf instead of floorf.
80668         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
80669         __floorf, __truncf instead of floorf, truncf.
80671 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
80673         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
80675         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
80676         __extern_always_inline.
80677         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
80678         32-bit.
80680 2011-09-14  Andreas Schwab  <schwab@redhat.com>
80682         * elf/rtld.c (dl_main): Also relocate in dependency order when
80683         doing symbol dependency testing.
80685 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
80687         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
80688         Always define `refsym'.
80690 2011-09-13  Andreas Schwab  <schwab@redhat.com>
80692         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
80693         (__FD_ELT): Renamed from __FDELT.
80694         * misc/bits/select2.h (__FD_ELT): Likewise.
80695         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
80696         __FD_MASK instead of __FDELT, __FDMASK.
80697         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
80698         Likewise.
80699         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
80700         Likewise.
80702         * elf/Makefile (gen-ldd): Fix pattern.
80704         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
80705         (init_tls): Likewise.
80707 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
80709         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
80711 2011-09-12  Andreas Schwab  <schwab@redhat.com>
80713         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
80714         `struct cmsghdr *' instead of `void *'.
80715         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
80716         Likewise.
80718 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
80720         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
80721         if non-absolute.
80722         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
80723         ldd_rewrite_script.
80725 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
80727         * configure.in: Remove --with-tls option.
80728         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
80729         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
80730         out in case it is missing.
80731         * sysdeps/ia64/elf/configure.in: Likewise.
80732         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
80733         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
80734         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
80735         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
80736         * sysdeps/sh/elf/configure.in: Likewise.
80737         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
80738         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
80739         * sysdeps/x86_64/elf/configure.in: Likewise.
80740         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
80741         * sysdeps/mach/hurd/tls.h: Likewise.
80743         [BZ #13067]
80744         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
80746         [BZ #13090]
80747         * configure.in: Fix use of AC_INIT.
80749         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
80751 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
80753         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
80754         __set_errno.
80755         * malloc/hooks.c: Likewise.
80757         [BZ #11929]
80758         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
80759         variables statically.
80760         (narenas): Initialize.
80761         (list_lock): Initialize.
80762         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
80763         initializtion of main_arena and list_lock.  Small cleanups.
80764         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
80765         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
80766         Add initializers to main_arena and mp_.
80767         (malloc_state): Remove pagesize member.  Change all users to use
80768         GLRO(dl_pagesize).
80770         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
80771         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
80772         is always initialized.
80774         * malloc/malloc.c: Removed unused configurations and dead code.
80775         * malloc/arena.c: Likewise.
80776         * malloc/hooks.c: Likewise.
80777         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
80779         * include/tls.h: Removed.  USE___THREAD must always be defined.
80780         * bits/libc-tsd.h: Don't handle !USE___THREAD.
80781         * elf/dl-libc.c: Likewise.
80782         * elf/dl-tsd.c: Likewise.
80783         * include/errno.h: Likewise.
80784         * include/netdb.h: Likewise.
80785         * include/resolv.h: Likewise.
80786         * inet/herrno-loc.c: Likewise.
80787         * inet/herrno.c: Likewise.
80788         * malloc/arena.c: Likewise.
80789         * malloc/hooks.c: Likewise.
80790         * malloc/malloc.c: Likewise.
80791         * resolv/res-state.c: Likewise.
80792         * resolv/res_libc.c: Likewise.
80793         * sysdeps/i386/dl-machine.h: Likewise.
80794         * sysdeps/ia64/dl-machine.h: Likewise.
80795         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
80796         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
80797         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
80798         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
80799         * sysdeps/sh/dl-machine.h: Likewise.
80800         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
80801         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
80802         * sysdeps/unix/i386/sysdep.S: Likewise.
80803         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
80804         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
80805         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
80806         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
80807         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
80808         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
80809         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
80810         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
80811         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80812         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
80813         * sysdeps/unix/x86_64/sysdep.S: Likewise.
80814         * sysdeps/x86_64/dl-machine.h: Likewise.
80815         * tls.make.c: Likewise.
80817         * configure.in: Remove --with-__thread option.  Make tests for
80818         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
80819         tls_model attribute fail if no support is available.  Remove
80820         USE_IN_LIBIO.
80821         * Makeconfig: Adjust for dropped configure option.  All features are
80822         now mandatory.
80823         * Makerules: Likewise.
80824         * Versions.def: Likewise.
80825         * argp/argp-fmtstream.c: Likewise.
80826         * argp/argp-fmtstream.h: Likewise.
80827         * argp/argp-help.c: Likewise.
80828         * assert/assert.c: Likewise.
80829         * config.h.in: Likewise.
80830         * config.make.in: Likewise.
80831         * configure: Likewise.
80832         * configure.in: Likewise.
80833         * csu/Versions: Likewise.
80834         * csu/init.c: Likewise.
80835         * elf/tst-audit2.c: Likewise.
80836         * elf/tst-tls10.c: Likewise.
80837         * elf/tst-tls10.h: Likewise.
80838         * elf/tst-tls11.c: Likewise.
80839         * elf/tst-tls12.c: Likewise.
80840         * elf/tst-tls14.c: Likewise.
80841         * elf/tst-tlsmod11.c: Likewise.
80842         * elf/tst-tlsmod12.c: Likewise.
80843         * elf/tst-tlsmod13.c: Likewise.
80844         * elf/tst-tlsmod13a.c: Likewise.
80845         * elf/tst-tlsmod14a.c: Likewise.
80846         * elf/tst-tlsmod15b.c: Likewise.
80847         * elf/tst-tlsmod16a.c: Likewise.
80848         * elf/tst-tlsmod16b.c: Likewise.
80849         * elf/tst-tlsmod7.c: Likewise.
80850         * elf/tst-tlsmod8.c: Likewise.
80851         * elf/tst-tlsmod9.c: Likewise.
80852         * gmon/gmon.c: Likewise.
80853         * grp/fgetgrent_r.c: Likewise.
80854         * grp/putgrent.c: Likewise.
80855         * hurd/fopenport.c: Likewise.
80856         * include/libc-symbols.h: Likewise.
80857         * include/tls.h: Likewise.
80858         * intl/gettextP.h: Likewise.
80859         * intl/loadinfo.h: Likewise.
80860         * locale/global-locale.c: Likewise.
80861         * locale/localeinfo.h: Likewise.
80862         * mach/devstream.c: Likewise.
80863         * malloc/arena.c: Likewise.
80864         * malloc/set-freeres.c: Likewise.
80865         * misc/err.c: Likewise.
80866         * misc/getttyent.c: Likewise.
80867         * misc/mntent_r.c: Likewise.
80868         * posix/getopt.c: Likewise.
80869         * posix/wordexp.c: Likewise.
80870         * pwd/fgetpwent_r.c: Likewise.
80871         * resolv/Versions: Likewise.
80872         * resolv/res_hconf.c: Likewise.
80873         * shadow/fgetspent_r.c: Likewise.
80874         * shadow/putspent.c: Likewise.
80875         * stdio-common/printf_fphex.c: Likewise.
80876         * stdio-common/tmpfile.c: Likewise.
80877         * stdlib/abort.c: Likewise.
80878         * stdlib/fmtmsg.c: Likewise.
80879         * sunrpc/auth_unix.c: Likewise.
80880         * sunrpc/clnt_perr.c: Likewise.
80881         * sunrpc/clnt_tcp.c: Likewise.
80882         * sunrpc/clnt_udp.c: Likewise.
80883         * sunrpc/clnt_unix.c: Likewise.
80884         * sunrpc/openchild.c: Likewise.
80885         * sunrpc/svc_simple.c: Likewise.
80886         * sunrpc/svc_tcp.c: Likewise.
80887         * sunrpc/svc_udp.c: Likewise.
80888         * sunrpc/svc_unix.c: Likewise.
80889         * sunrpc/xdr.c: Likewise.
80890         * sunrpc/xdr_array.c: Likewise.
80891         * sunrpc/xdr_rec.c: Likewise.
80892         * sunrpc/xdr_ref.c: Likewise.
80893         * sunrpc/xdr_stdio.c: Likewise.
80895 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
80897         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80899 2011-07-03  Andreas Jaeger  <aj@suse.de>
80901         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
80902         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
80903         regenerate with gen-libm-tests.pl.
80905 2010-05-12  Petr Baudis  <pasky@suse.cz>
80907         [BZ #11589]
80908         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
80909         around j0() zero points by switching to j1().
80910         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80911         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80912         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
80913         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80915 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
80917         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
80918         instead of 0.
80919         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
80920         instead of 0.
80921         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80922         Patch in part by Pavel Roskin <proski@gnu.org>.
80924         [BZ #13138]
80925         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
80926         realloc.
80927         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
80928         Free memory block if necessary.
80930         [BZ #12847]
80931         * libio/genops.c (INTDEF): For string streams the _lock pointer can
80932         be NULL.  Don't lock in this case.
80934 2011-09-09  Roland McGrath  <roland@hack.frob.com>
80936         * elf/elf.h (ELFOSABI_GNU): New macro.
80937         (ELFOSABI_LINUX): Define to that.
80939 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
80941         * string/strncat.c (strncat): Undef the symbol in case it has been
80942         defined in bits/string.h.
80944 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
80946         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
80948         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
80949         link map.
80951 2011-08-17  Andreas Jaeger  <aj@suse.de>
80953         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
80955 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
80956             Ian Lance Taylor  <iant@google.com>
80958         * math/libm-test.inc (lround_test): New testcase.
80959         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
80961 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
80963         * Makefile: Remove support for automatic cvs check-ins.
80964         * Makerules: Likewise.
80965         * config.make.in: Likewise.
80966         * configure.in: Likewise.
80967         * intl/Makefile: Likewise.
80968         * locale/Makefile: Likewise.
80969         * po/Makefile: Likewise.
80970         * posix/Makefile: Likewise.
80971         * sysdeps/gnu/Makefile: Likewise.
80972         * sysdeps/mach/hurd/Makefile: Likewise.
80973         * sysdeps/sparc/sparc32/Makefile: Likewise.
80975         [BZ #13118]
80976         * posix/Makefile (bug-regex32-ENV): Define.
80977         Patch by John Stanley <jpsinthemix@verizon.net>.
80979         * misc/Makefile (headers): Add bits/select2.h.
80980         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
80981         * misc/bits/select2.h: New file.
80982         * include/bits/select2.h: New file.
80983         * debug/Makefile (routines): Add fdelt_chk.
80984         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
80985         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
80986         FD_ISSET.
80987         * debug/fdelt_chk.c: New file.
80989         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
80990         * wcsmbs/test-wmemcmp.c: Likewise.
80991         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
80992         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
80994 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80996         * string/Makefile (strop-tests): Add memcmp.
80997         * string/test-wmemcmp.c: New file.
80998         * string/test-memcmp.c: Add wmemcmp support.
81000 2011-09-08  Roland McGrath  <roland@hack.frob.com>
81002         [BZ #13153]
81003         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
81004         2011-07-19 change.
81006         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
81007         garbage value in a __mach_port_mod_refs call in the cases of the
81008         task-self and thread-self ports.
81010 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81012         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
81014 2011-09-08  Andreas Schwab  <schwab@redhat.com>
81016         * elf/dl-load.c (lose): Check for non-null L.
81018 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
81020         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
81022         * elf/dl-libc.c (dlerror_run): Pass back error code from
81023         dl_catch_error.
81025         [BZ #13123]
81026         * elf/dl-load.c (lose): Free l_origin if it is valid.
81028         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
81029         names.
81030         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
81031         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81032         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
81033         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81034         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
81035         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
81037 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81039         * sysdeps/powerpc/fpu/e_hypot.c: New file.
81040         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
81041         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
81042         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
81043         * sysdeps/powerpc/fpu/k_cosf.c: New file.
81044         * sysdeps/powerpc/fpu/k_sinf.c: New file.
81045         * sysdeps/powerpc/fpu/s_cosf.c: New file.
81046         * sysdeps/powerpc/fpu/s_sinf.c: New file.
81047         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
81048         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
81050 2011-08-15  Alan Modra  <amodra@gmail.com>
81052         [BZ #13092]
81053         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
81054         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
81055         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
81056         ppc_mcount to static-only-routines.
81057         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
81058         __mcount_internal.
81059         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
81060         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
81062 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
81064         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
81065         for finite and infinity parameters.
81067 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
81069         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
81070         and add nop instructions for throughput optimization.
81071         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
81073 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
81075         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
81076         aligned copy for power7 with vector-scalar instructions.
81077         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
81079 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
81081         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
81082         AVX check.
81084 2011-09-07  Andreas Schwab  <schwab@redhat.com>
81086         [BZ #13144]
81087         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
81088         last change.
81090 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
81092         * sysdeps/unix/sysv/linux/x86_64/init-first.c
81093         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
81094         syscall wrapper around clock_gettime in __vdso_clock_gettime.
81095         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
81096         clock_gettime.
81098 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
81100         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
81101         Forgot to demangle the pointer.
81103         * sysdeps/i386/sysdep.h: Define atom_text_section.
81104         * sysdeps/x86_64/sysdep.h: Likewise.
81105         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
81106         section with atom_text_section.
81107         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81108         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81109         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
81110         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
81111         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
81113         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
81114         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
81115         already be defined.  Change to take two parameters and don't assign
81116         result to variable.  Adjust all users.
81117         Define INTERNAL_GETTIME if not already defined.
81118         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
81119         call.
81120         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
81121         HAVE_CLOCK_GETTIME_VSYSCALL.
81122         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
81124         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
81125         gettimeofday vsyscall, just use time.
81127 2011-09-06  Andreas Schwab  <schwab@redhat.com>
81129         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
81130         <errno.h>.
81132 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
81134         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
81135         syscall on x86-64.
81136         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
81137         syscall.
81138         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
81139         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
81140         syscall if possible.
81142 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
81144         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
81145         e_ident.  Don't pass to find_mapsXX.
81146         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
81148 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
81150         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81151         strchr-sse2-no-bsf strrchr-sse2-no-bsf
81152         * sysdeps/x86_64/multiarch/strchr.S: Update.
81153         Check bit_slow_BSF bit.
81154         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
81155         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
81156         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
81158 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
81160         [BZ #13134]
81161         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
81162         before glibc 2.15.
81163         (tryshell): Define.
81164         (__spawni): Change last parameter to be flag.  Test
81165         SPAWN_XFLAGS_USE_PATH flag to use path or not.
81166         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
81167         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
81168         * posix/spawni.c: Likewise.
81169         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
81170         * posix/spawnp.c: Likewise.  Change normal version to use
81171         SPAWN_XFLAGS_USE_PATH.
81172         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
81173         SPAWN_XFLAGS_TRY_SHELL.
81175         [BZ #13150]
81176         * posix/glob.h: Remove gcc 1.x support.
81178         [BZ #13068]
81179         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
81181 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
81183         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81184         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
81185         strrchr-sse2-bsf
81186         * sysdeps/i386/i686/multiarch/strchr.S: New file.
81187         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
81188         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
81189         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
81190         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
81191         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
81193 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81195         * sysdeps/x86_64/wcscmp.S: New file.
81197         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
81198         wcscmp-c wcscmp-sse2
81199         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
81200         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
81201         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
81202         * wcsmbs/wcscmp.c: Allow renaming.
81204 2011-09-05  David S. Miller  <davem@davemloft.net>
81206         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
81207         stack slot, rather than the struct return pointer slot.
81208         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
81209         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
81210         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
81211         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
81213 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
81215         * po/ja.po: Update from translation team.
81217         [BZ #13144]
81218         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
81219         kernel in 64-bit binaries.
81221 2011-09-01  David S. Miller  <davem@davemloft.net>
81223         * elf/elf.h (HWCAP_SPARC_*): Move to..
81224         * sysdeps/sparc/sysdep.h: this new file and add new values.
81225         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
81226         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
81227         _DL_HWCAP_COUNT to 24.
81228         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
81229         entries.
81230         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
81231         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
81232         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
81233         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
81234         instead of magic constants.
81235         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
81237 2011-08-31  David S. Miller  <davem@davemloft.net>
81239         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
81240         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
81241         Reimplement to do errno handling inline.
81242         (SYSCALL_ERROR_HANDLER): New macro.
81243         (__SYSCALL_STRING): Do not do errno handling in asm.
81244         (__CLONE_SYSCALL_STRING): Delete.
81245         (__INTERNAL_SYSCALL_STRING): Delete.
81246         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
81247         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
81248         (PSEUDO): Reimplement to do errno handling inline.
81249         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
81250         (SYSCALL_ERROR_HANDLER): New macro.
81251         (__SYSCALL_STRING): Do not do errno handling in asm.
81252         (__CLONE_SYSCALL_STRING): Delete.
81253         (__INTERNAL_SYSCALL_STRING): Delete.
81254         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
81255         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
81256         i386.
81257         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
81258         (inline_syscall*): Add 'err' argument.
81259         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
81260         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
81261         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
81262         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
81264         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
81265         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
81267 2011-08-30  Andreas Schwab  <schwab@redhat.com>
81269         * elf/rtld.c (dl_main): Relocate objects in dependency order.
81271 2011-08-29  Jiri Olsa <jolsa@redhat.com>
81273         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
81274         directive.
81276 2011-08-24  David S. Miller  <davem@davemloft.net>
81278         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
81280 2011-08-24  Andreas Schwab  <schwab@redhat.com>
81282         * elf/Makefile: Add rules to build and run unload8 test.
81283         * elf/unload8.c: New file.
81284         * elf/unload8mod1.c: New file.
81285         * elf/unload8mod1x.c: New file.
81286         * elf/unload8mod2.c: New file.
81287         * elf/unload8mod3.c: New file.
81289         * elf/dl-close.c (_dl_close_worker): Reset private search list if
81290         it wasn't used.
81292 2011-08-23  David S. Miller  <davem@davemloft.net>
81294         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
81295         subtract stack bias.
81296         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
81297         %sp not %fp in calculations.
81298         (_JMPBUF_UNWINDS_ADJ): Likewise.
81300         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
81301         (aio_suspend): Call it to force an exception region around the
81302         AIO_MISC_WAIT() invocation.
81304 2011-08-23  Andreas Schwab  <schwab@redhat.com>
81306         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
81307         backslash.
81309 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
81311         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
81312         protection macro.
81313         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
81314         and <dl-machine.h>.
81315         (Elf64_FuncDesc): Remove.
81317 2011-08-22  David S. Miller  <davem@davemloft.net>
81319         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
81320         sigaltstack check, add missing cfi directives.
81321         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
81322         missing cfi directives, and sigaltstack handling.
81324 2011-08-16  Andreas Schwab  <schwab@redhat.com>
81326         [BZ #11724]
81327         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
81328         object is seen twice.
81329         * elf/dl-fini.c (_dl_sort_fini): Likewise.
81331         * elf/Makefile (distribute): Add tst-initorder2.c.
81332         (tests): Add tst-initorder2.
81333         (modules-names): Add tst-initorder2a tst-initorder2b
81334         tst-initorder2c tst-initorder2d.  Add rules to build them.
81335         ($(objpfx)tst-initorder2.out): New rule.
81336         * elf/tst-initorder2.c: New file.
81337         * elf/tst-initorder2.exp: New file.
81339 2011-08-22  Andreas Schwab  <schwab@redhat.com>
81341         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
81343         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
81344         dependencies back to end of function.
81346         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
81347         $(elfobjdir)/ld.so.
81349 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
81351         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
81352         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
81353         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
81354         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
81355         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
81356         of __vdso_gettimeofday.
81357         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
81358         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
81359         attribute_hidden.
81360         (_libc_vdso_platform_setup): Remove initialization of
81361         __vdso_gettimeofday and __vdso_time.
81363 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
81365         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
81366         and fgetc_unlocked.
81367         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
81368         getc_unlocked.
81370         * elf/dl-open.c (add_to_global): Report additions to the global scope
81371         for LD_DEBUG=scopes.
81372         (dl_open_worker): Also print scope of newly loaded dependencies.
81373         (_dl_show_scope): Indicate if there is no scope.
81375         [BZ #13114]
81376         * stdio-common/Makefile (tests): Add bug24.
81377         * stdio-common/bug24.c: New file.
81379 2011-08-19  Andreas Jaeger  <aj@suse.de>
81381         [BZ #13114]
81382         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
81383         non-existant file when using close-on-exec mode.
81385 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
81387         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
81388         the very first instruction.
81390         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
81391         the CFI state in the end.
81392         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
81393         inclusion of dl-trampoline.h.
81394         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
81396 2011-08-19  Andreas Schwab  <schwab@redhat.com>
81398         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
81399         expectations for long double.
81401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
81402         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
81404 2011-08-14  David S. Miller  <davem@davemloft.net>
81406         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
81407         artificual limit depends upon the system page size.
81409 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
81411         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
81412         * resolv/Makefile: Define CFLAGS-libresolv.
81414 2011-08-17  Andreas Schwab  <schwab@redhat.com>
81416         * nss/makedb.c (compute_tables): Make variables used in nested
81417         function static.
81419 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
81421         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
81422         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
81423         if buffer was too small.
81425         * elf/pldd.c (main): Attach to all threads in the process.
81426         Rewrite /proc handling to use *at functions.
81428 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
81430         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
81431         specifies first scope to show.
81432         (dl_open_worker): Update callers.  Move printing scope of new
81433         object to before the relocation.
81434         * elf/rtld.c (dl_main): Update _dl_show_scope call.
81435         * sysdeps/generic/ldsodefs.h: Update declaration.
81437         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
81438         string for the scope number.
81440 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
81442         * nscd/servicescache.c (cache_addserv): Make sure written is always
81443         initialized.
81445 2011-08-14  Roland McGrath  <roland@hack.frob.com>
81447         * sysdeps/i386/i486/bits/atomic.h
81448         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
81449         statement expression, so as to suppress "set but not used" warning.
81450         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
81452         * string/strncat.c (STRNCAT): Use prototype definition.
81454         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
81455         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
81456         -Iprograms here.
81457         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
81458         (localedef-modules): Add localedef.
81459         (locale-modules): Add locale.
81461         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
81462         * elf/rtld.c (dl_main): Invert order of assignment in last change,
81463         to avoid a warning.
81465 2011-08-14  David S. Miller  <davem@davemloft.net>
81467         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
81468         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
81470 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
81472         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
81473         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
81474         * elf/rtld.c (dl_main): Set l_name of vDSO.
81475         Call _dl_show_scope when DL_DEBUG_SCOPES.
81476         (process_dl_debug): Recognize scopes flag and also set it for all.
81477         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
81478         Declare _dl_show_scope.
81480         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
81481         (do_dlopen): Pass caller_dlopen to dl_open.
81482         (__libc_dlopen_mode): Initialize caller_dlopen.
81484         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
81485         of libc.  Make tolower call locale-independent.  Optimize a bit by
81486         using isdigit instead of isalnum.
81487         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
81489 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
81491         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
81492         was a dependency or dynamically loaded.
81494 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
81496         * intl/l10nflist.c: Allow architecture-specific pop function.
81497         * sysdeps/x86_64/l10nflist.c: New file.
81499         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
81500         classification.
81502 2011-08-10  Andreas Schwab  <schwab@redhat.com>
81504         * include/dirent.h: Add libc_hidden_proto for scandirat and
81505         scandirat64.  Don't declare __scandirat64.
81506         * dirent/scandirat.c: Add libc_hidden_def.
81507         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
81508         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
81510 2011-08-10  David S. Miller  <davem@davemloft.net>
81512         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
81513         enum.
81514         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
81515         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
81516         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
81518 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
81520         * Versions.def [libc]: Add GLIBC_2.15.
81521         * dirent/Makefile (routines): Add scandirat and scandirat64.
81522         * dirent/Versions [libc]: Export scandirat and scandirat64 for
81523         GLIBC_2.15.
81524         * dirent/dirent.h: Declare scandirat and scandirat64.
81525         * dirent/scandirat.c: New file.
81526         * dirent/scandirat64.c: New file.
81527         * sysdeps/wordsize-64/scandirat.c: New file.
81528         * sysdeps/wordsize-64/scandirat64.c: New file.
81529         * dirent/opendir.c: Define opendirat.
81530         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
81531         using scandirat.
81532         * dirent/scandir64.c: Adjust for scandir.c change.
81533         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
81534         __scandirat64, and __scandir_cancel_handler.
81535         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
81536         additional parameter and use openat instead of open (outside of ld.so).
81537         Add new __opendir as wrapper around __opendirat.
81538         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
81539         here without requiring old scandirat implementation.
81541 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
81543         * dirent/scandir.c (cancel_handler): Renamed to
81544         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
81545         defined.  Adjust users.
81546         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
81547         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
81549 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
81551         * string/test-string.h (IMPL): Use __STRING to expand name and then
81552         stringify it.
81554         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
81555         of cleanups.
81557 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81559         * string/Makefile: Update.
81560         (strop-tests): Append strncat.
81561         * string/test-wcscmp.c: New file.
81562         New comprehensive test for wcscmp.
81563         * string/test-strcmp.c: Update.
81564         (WIDE): New define.
81566 2011-07-22  Andreas Schwab  <schwab@redhat.com>
81568         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
81569         line.
81571 2011-07-26  Andreas Schwab  <schwab@redhat.com>
81573         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
81574         encoding to ACE if AI_IDN.
81576 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
81578         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
81579         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
81581 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
81583         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
81584         Fix overflow bug in strncat.
81585         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
81587         * string/test-strncat.c: Update.
81588         Add new tests for checking overflow bugs.
81590 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
81592         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81593         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
81594         * sysdeps/i386/i686/multiarch/strcat.S: New file.
81595         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
81596         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
81597         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
81598         * sysdeps/i386/i686/multiarch/strncat.S: New file.
81599         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
81600         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
81602         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
81603         (USE_AS_STRCAT): Define.
81604         Add strcat and strncat support.
81605         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
81607 2011-07-25  Andreas Schwab  <schwab@redhat.com>
81609         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
81610         __n bigger than INT_MAX+1.
81611         (__strncmp_g): Likewise.
81613 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
81615         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
81616         * libio/stido.h: Likewise.
81618         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
81619         (AF_NFC): Define.
81620         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
81621         (AF_NFC): Define.
81623         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
81624         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
81625         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
81626         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
81627         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
81629         [BZ #13021]
81630         * scripts/test-installation.pl: Don't expect libnss_test1 to be
81631         installed.
81633         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
81634         typo.
81635         (_dl_x86_64_save_sse): Likewise.
81637 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
81639         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
81640         OSXSAVE.
81641         (_dl_x86_64_save_sse): Likewise.
81643         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
81645         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
81647 2011-07-21  Andreas Schwab  <schwab@redhat.com>
81649         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
81650         change.
81651         (_dl_x86_64_save_sse): Use correct AVX check.
81653 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81655         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
81656         bug in strncpy/strncat.
81657         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
81659 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
81661         * string/tester.c (test_strcat): Add tests for different alignments
81662         of source and destination.
81663         (test_strncat): Likewise.
81665 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
81667         [BZ #12852]
81668         * posix/glob.c (glob): Check passed in values before using them in
81669         expressions to avoid some overflows.
81670         (glob_in_dir): Likewise.
81672         [BZ #13007]
81673         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
81674         check for AVX enablement so that we don't crash with old kernels and
81675         new hardware.
81676         * elf/tst-audit4.c: Add same checks here.
81677         * elf/tst-audit6.c: Likewise.
81679         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
81681 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
81683         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
81685 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
81687         * po/cs.po: Update from translation team.
81688         * po/bg.po: Likewise.
81690 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
81692         * misc/sys/cdefs.h: Add support for const attribute.
81693         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
81694         to gnu_dev_{major,minor,makedev} functions.
81696 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
81698         * intl/dcigettext.c (get_output_charset): Add missing bracket.
81700 2011-07-20  Andreas Schwab  <schwab@redhat.com>
81702         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
81703         strlen results.
81705 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81707         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
81708         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
81709         register in order to avoid conflicts with the soft frame pointer
81710         being held in r11 when necessary.
81711         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
81712         (INTERNAL_VSYSCALL_NCS): Likewise.
81714 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
81716         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
81717         * elf/dl-fini.c (_dl_fini): Adjust caller.
81718         * elf/dl-close.c (_dl_close_worker): Likewise.
81719         * sysdeps/generic/ldsodefs.h: Adjust declaration.
81721 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
81723         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
81724         "aux_cache->nlibs < 0".
81726         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
81727         in the reload-count case.
81729 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
81731         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81732         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
81733         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
81734         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
81735         * sysdeps/x86_64/multiarch/strcat.S: New file.
81736         * sysdeps/x86_64/multiarch/strncat.S: New file.
81737         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
81738         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
81739         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
81740         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
81741         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
81742         (USE_AS_STRCAT): Define.
81743         Add strcat and strncat support.
81744         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
81745         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
81746         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
81747         * string/strncat.c: Update.
81748         (USE_AS_STRNCAT): Define.
81749         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81750         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
81751         and i7.
81752         * sysdeps/x86_64/multiarch/init-arch.h
81753         (bit_Prefer_PMINUB_for_stringop): New.
81754         (index_Prefer_PMINUB_for_stringop): Likewise.
81755         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
81756         bit_Prefer_PMINUB_for_stringop.
81758 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
81760         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
81761         buffer64.
81762         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
81763         of casting of buffer.
81764         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
81765         buffer32 and buffer64.
81766         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
81767         writes instead of casting of buffer.
81768         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
81769         buffer32.
81770         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
81771         casting of buffer.
81773 2011-07-19  Andreas Schwab  <schwab@redhat.com>
81775         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
81777 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
81779         * nscd/nscd.c (termination_handler): Don't do anything for a database
81780         if it has not yet been initialized.
81782 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
81784         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
81786 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
81788         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
81790 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
81792         * po/nl.po: Update from translation team.
81793         * po/sv.po: Likewise.
81795 2011-07-16  Roland McGrath  <roland@hack.frob.com>
81797         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
81798         now disallowed by GCC.
81800         * configure.in (use-default-link): Default to yes if a test -shared
81801         link meets our qualifications.
81802         * configure: Regenerated.
81804         * config.make.in (output-format): New variable.
81805         * configure.in: Check for ld --print-output-format support.
81806         * configure: Regenerated.
81807         * Makerules ($(common-objpfx)format.lds)
81808         [$(output-format) != unknown]: Just use $(output-format),
81809         instead of the linker-script munging.
81811 2011-07-14  Roland McGrath  <roland@hack.frob.com>
81813         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
81814         of $(common-objpfx)shlib.lds.
81815         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
81817         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
81818         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
81820         * configure.in (-z relro check): Adjust test code to add a large
81821         writable data section after it.
81822         * configure: Regenerated.
81824 2011-07-11  Roland McGrath  <roland@hack.frob.com>
81826         * configure.in (-z relro check): Fix test code to make the variable
81827         truly const.
81828         * configure: Regenerated.
81830 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
81832         * nscd/nscd.h (struct traced_file): Define.
81833         (struct database_dyn): Remove inotify_descr, reset_res, and filename
81834         elements.  Add traced_files.
81835         (inotify_fd): Declare.
81836         (register_traced_file): Declare.
81837         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
81838         (inotify_fd): Export.
81839         (resolv_conf_descr): Remove.
81840         (nscd_init): Move inotify descriptor creation to main.
81841         Don't register files for notification here.
81842         (register_traced_file): New function.
81843         (invalidate_cache): Don't use reset_res to determine whether to call
81844         res_init, go through the list of registered files.
81845         (main_loop_poll): The inotify descriptors are now stored in the
81846         structures for the traced files.
81847         (main_loop_epoll): Likewise.
81848         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
81849         to __nss_disable_nscd.
81850         * nscd/cache.c (prune_cache): There is no single inotify descriptor
81851         for a database anymore.  Check the records for all the registered
81852         files instead.
81853         * nss/Makefile (libnss_files-routines): Add files-init.
81854         (libnss_db-routines): Add db-init.
81855         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
81856         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
81857         * nss/nss_db/db-init.c: New file.
81858         * nss/nss_files/files-init.c: New file.
81859         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
81860         __nss_lookup_function.
81861         (__nss_lookup_function): Call nss_load_library.
81862         (nss_load_all_libraries): New function.
81863         (__nss_disable_nscd): Take parameter with callback function for files
81864         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
81865         used for the cached services.
81866         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
81867         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
81868         options for features to all the files in nscd.
81870         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
81872 2011-07-10  Roland McGrath  <roland@hack.frob.com>
81874         * csu/elf-init.c (__libc_csu_init): Comment typo.
81876 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
81878         * po/pl.po: Update from translation team.
81879         * po/ja.po: Likewise.
81880         * po/ru.po: Likewise.
81881         * po/ko.po: Likewise.
81882         * po/fr.po: Likewise.
81884 2011-07-09  Roland McGrath  <roland@hack.frob.com>
81886         * configure.in (.ctors/.dtors header and trailer check):
81887         Use an empirical test on a built program.
81888         * configure: Regenerated.
81890         * configure.in (-z relro check): Use an empirical test on a built DSO.
81891         Detect, but do not require, on ia64.
81892         * configure: Regenerated.
81894         * configure.in (READELF): Find it with AC_CHECK_TOOL.
81895         Update tests that use readelf to use $READELF instead.
81896         * configure: Regenerated.
81898 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
81900         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
81901         if the result is not used.
81903 2011-07-05  Andreas Jaeger  <aj@suse.de>
81905         [BZ#9696]
81906         * stdlib/tst-strtod.c: Add testcase.
81908 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
81910         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
81911         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
81912         The latter has a higher limit.  Take additional parameter to pass to
81913         the new function.
81914         (__pathconf): Pass file to __statfs_link_max.
81915         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
81916         __statfs_link_max.
81917         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
81918         __statfs_link_max.
81920         [BZ #12868]
81921         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
81922         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
81923         Handle Lustre.
81924         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
81925         (__statfs_filesize_max): Likewise.
81926         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
81928 2011-07-05  Andreas Jaeger  <aj@suse.de>
81930         * resolv/res_comp.c (dn_skipname): Remove unused variable.
81932 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
81934         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
81935         `status' variable.
81936         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
81937         Likewise.
81939 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
81941         * Makefile (strop-tests): Add strncat.
81942         * string/test-strncat.c: New file.
81944 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
81946         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
81948 2011-06-21  Andreas Jaeger  <aj@suse.de>
81950         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
81951         Copy rule from iconvdata/Makefile.
81953 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
81955         [BZ #12922]
81956         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
81957         but no long options are defined, just return 'W'.
81959 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
81961         [BZ #9696]
81962         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
81964 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
81966         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
81967         netgroups to read.
81968         (innetgr): Likewise.
81970 2011-07-05  Roland McGrath  <roland@hack.frob.com>
81972         * config.make.in (install_root): Default to $(DESTDIR).
81974 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
81976         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
81978 2011-07-02  Roland McGrath  <roland@hack.frob.com>
81980         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
81982         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
81983         containing directory rather than embedding absolute directory names.
81985         * scripts/check-local-headers.sh: Rewritten using awk.
81986         Match by word, not by line.  Print error messages for matches.
81987         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
81989         * Makerules [shlib-lds-flags empty]:
81990         ($(common-objpfx)libc_pic.opts): New target.
81991         ($(common-objpfx)libc_pic.os.clean): New target.
81992         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
81994         * config.make.in (OBJCOPY): New variable.
81995         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
81996         * configure: Regenerated.
81998         * config.make.in (use-default-link): New variable.
81999         * configure.in (use_default_link): Grok --with-default-link to set it.
82000         * configure: Regenerated.
82001         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
82002         (shlib-lds, shlib-lds-flags): Define to empty.
82004         * Makerules (shlib-lds): New variable.
82005         (shlib-lds-flags): New variable.
82006         (build-shlib, build-moduile, build-module-asneeded): Use it.
82007         ($(common-objpfx)libc.so): Use $(shlib-lds).
82008         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
82009         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
82011         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
82012         DT_FLAGS/DT_FLAGS_1 with zero flags.
82014         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
82015         linker script munging.
82017 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
82019         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
82020         as 128-bit value.
82021         * crypt/sha512.c (sha512_process_block): Perform total addition using
82022         128-bit if possible.
82023         (__sha512_finish_ctx): Likewise.
82024         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
82025         as 64-bit value.
82026         * crypt/sha256.c (SWAP64): Define.
82027         (sha256_process_block): Perform total addition using 64-bit if
82028         possible.
82029         (__sha256_finish_ctx): Likewise.
82031 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
82033         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
82034         * nscd/initgrcache.c (addinitgroupsX): Likewise.
82035         * nscd/hstcache.c (cache_addhst): Likewise.
82036         * nscd/grpcache.c (cache_addgr): Likewise.
82037         * nscd/aicache.c (addhstaiX): Likewise.
82038         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
82040 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
82042         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
82043         * nscd/initgrcache.c (addinitgroupsX): Likewise.
82044         * nscd/hstcache.c (cache_addhst): Likewise.
82045         * nscd/grpcache.c (cache_addgr): Likewise.
82046         * nscd/aicache.c (addhstaiX): Likewise.
82048 2011-07-01  Andreas Schwab  <schwab@redhat.com>
82050         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
82051         domain only when needed.
82053 2011-06-30  Andreas Schwab  <schwab@redhat.com>
82055         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
82056         is always restored.
82058 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
82060         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
82061         are re-adding the entry.
82062         * nscd/servicescache.c (cache_addserv): Likewise.
82064 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
82066         * sysdeps/generic/dl-irel.h: fix protection against multiple
82067         inclusions.
82068         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
82070 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
82072         [BZ #12935]
82073         * malloc/memusage.sh: Fix quoting in message.
82074         * debug/xtrace.sh: Likewise.
82076         * configure.in: Remove support for --experimental-malloc option, make
82077         it the default.
82078         * config.make.in: Likewise.
82079         * malloc/Makefile: Likewise.
82081 2011-06-27  Andreas Schwab  <schwab@redhat.com>
82083         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
82084         two-byte characters.
82086 2011-06-27  Roland McGrath  <roland@hack.frob.com>
82088         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
82089         AC_CACHE_CHECK invocation.
82090         * configure: Regenerated.
82092         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
82094 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
82096         [BZ #12350]
82097         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
82098         bit from old_res_options.
82100         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
82102         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
82103         value type for setfct.
82105 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
82107         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82108         __gettimeofday instead of gettimeofday.
82110 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
82112         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
82114 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
82116         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
82118         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
82119         info.
82121 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
82123         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82124         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82125         strcpy-sse2-unaligned strncpy-sse2-unaligned
82126         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
82127         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
82128         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
82129         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
82130         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
82131         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
82132         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
82133         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
82134         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
82135         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
82136         (STRCPY): Support SSE2 and SSSE3 versions.
82138 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
82140         [BZ #12874]
82141         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
82142         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
82143         kernels which artificially limit size of requests.
82145 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
82147         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82148         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82149         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
82150         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
82151         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
82152         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
82153         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
82154         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
82155         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
82156         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
82157         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
82158         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
82159         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
82160         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
82161         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
82162         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82163         Enable unaligned load optimization for Intel Core i3, i5 and i7
82164         processors.
82165         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
82166         Define.
82167         (index_Fast_Unaligned_Load): Define.
82168         (HAS_FAST_UNALIGNED_LOAD): Define.
82170 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
82172         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
82174 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
82176         [BZ #12907]
82177         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
82178         until it is clear that the information is realy needed.
82179         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
82181 2011-06-22  Andreas Schwab  <schwab@redhat.com>
82183         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
82185 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
82187         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82188         /sys/devices/system/cpu/online if it is usable.
82190         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
82191         reading the information from the /proc filesystem to once a second.
82193 2011-06-21  Andreas Jaeger  <aj@suse.de>
82195         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
82196         NULL after inclusion of kernel headers.
82198 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
82200         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
82201         calls to internal_setent.
82203         [BZ #12885]
82204         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
82205         addresses using gethostbyname4_r ignore IPv4 addresses.
82207         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
82208         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
82210         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
82212 2011-06-20  David S. Miller  <davem@davemloft.net>
82214         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
82215         inclusions.
82216         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
82218         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
82219         (elf_irel): Use it.
82220         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
82221         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
82222         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
82223         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
82224         * sysdeps/x86_64/dl-irel.h: Likewise.
82226         * elf/dl-runtime.c: Use elf_ifunc_invoke.
82227         * elf/dl-sym.c: Likewise.
82229 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
82231         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
82232         need to dereference resplen2.
82234 2011-06-14  Andreas Schwab  <schwab@redhat.com>
82236         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
82238 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
82240         * Makeconfig: Define vardbdir and inst_vardbdir.
82241         * nss/Makefile: Add rules to install db-Makefile.
82243         * nss/nss_db/db-XXX.c: Cleanup.
82245         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
82246         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
82247         GLIBC_PRIVATE.
82248         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
82249         * nss/makedb.c: Implement -g option to specify that value strings
82250         are generated and should not be added to table iterated over for
82251         get*ent calls.
82252         * nss/nss_db/db-initgroups.c: New file.
82254         * nss/getent.c: Add support for initgroups lookups through getgrouplist
82255         interface.
82257         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
82258         (internal_getgrouplist): Adjust to name change.
82259         Update use_initgroups_entry if this is not the first call.
82260         * nss/databases.def: Add initgroups entry.
82262         * nss/makedb.c (compute_tables): Check result of multiple hash table
82263         sizes to minimize maximum chain length.
82265 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
82267         * Versions.def: Add entry for libnss_db.
82268         * shlib-versions: Likewise.
82269         * nss/Makefile: Add rules to build libnss_db.
82270         * nss/Versions: Add libnss_db information.  Organize libnss_files
82271         entries better.
82272         * nss/db-Makefile: Add gshadow support.  Change rules for the new
82273         makedb progra.  Some minor improvements to generate smaller files.
82274         * nss/nss_db/nss_db.h: Move NSS database header data structures to
82275         here from...
82276         * nss/makedb.c: ...here.
82277         Improve database format to be smaller and require less memory at
82278         runtime.
82279         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
82280         db anymore.
82281         * nss/nss_db/db-netgrp.c: Likewise.
82282         * nss/nss_db/db-open.c: Likewise.
82283         * nss/nss_files/flies-XXX.x: Adjust comments.
82284         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
82285         * nss/nss_files/files-grp.c: Likewise.
82286         * nss/nss_files/files-hosts.c: Likewise.
82287         * nss/nss_files/files-network.c: Likewise.
82288         * nss/nss_files/files-proto.c: Likewise.
82289         * nss/nss_files/files-pwd.c: Likewise.
82290         * nss/nss_files/files-rpc.c: Likewise.
82291         * nss/nss_files/files-service.c: Likewise.
82292         * nss/nss_files/files-sgrp.c: Likewise.
82293         * nss/nss_files/files-spwd.c: Likewise.
82294         * nss/nss_db/db-alias.c: Removed.
82295         * nss/nss_db/dummy-db.h: Removed.
82297 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
82299         * nss/makedb.c: Rewritten to not use database library.
82300         * nss/Makefile: Update to build new makedb program.
82302 2011-06-14  Andreas Jaeger  <aj@suse.de>
82304         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
82305         memset declaration.
82307 2011-06-10  Andreas Schwab  <schwab@redhat.com>
82309         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
82310         tmpbuf.
82312 2011-06-10  Roland McGrath  <roland@hack.frob.com>
82314         * Makerules (shlib.lds): Fail if the linker script comes out empty.
82315         * elf/Makefile ($(objpfx)ld.so): Likewise.
82317         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
82318         Don't list ld.so twice in dependencies.
82320         * posix/bug-regex31.c: Include <stdlib.h>.
82322         * nscd/hstcache.c (cache_addhst): Remove unused variable.
82324         * nis/nss_compat/compat-spwd.c
82325         (getspent_next_nss_netgr): Remove unused variable.
82326         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
82328         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
82329         nonmembers" output to use the right array.
82331         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
82333         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
82335         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
82336         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
82337         * catgets/gencat.c (read_input_file): Likewise.
82338         * locale/programs/locarchive.c (enlarge_archive): Likewise.
82340         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
82341         variable definition inside #if's controlling its use.
82343         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
82345         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
82347         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
82349         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
82350         unreachable code.
82352         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
82354         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
82355         * configure: Regenerated.
82357         * Makerules: Revert last change.
82358         * elf/Makefile: Likewise.
82360 2011-06-09  Roland McGrath  <roland@hack.frob.com>
82362         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
82363         * elf/Makefile ($(objpfx)librtld.os): Likewise.
82364         (reloc-link): Likewise.
82366 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
82368         * elf/Makefile: Add rules to build pldd.
82369         * elf/pldd.c: New file.
82370         * elf/pldd-xx.c: New file.
82372 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
82374         * version.h: Update for 2.15 development version.
82376 2011-06-07  David S. Miller  <davem@davemloft.net>
82378         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
82379         ifuncs.
82380         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
82381         elf_machine_lazy_rel): Likewise.
82382         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
82383         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
82384         elf_machine_lazy_rel): Likewise.
82385         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
82386         dl_hwcap via passed in argument.
82387         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
82388         Likewise.
82390 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82392         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
82394 2011-06-06  Roland McGrath  <roland@hack.frob.com>
82396         [BZ #12849]
82397         * manual/fdl-1.1.texi: New file, verbatim from:
82398         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
82399         * manual/lgpl-2.1.texi: New file, verbatim from:
82400         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
82401         * manual/Makefile (licenses): New variable, list those new file names.
82402         (texis): Use it.
82403         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
82405         * manual/fdl.texi: File removed.
82406         * manual/lesser.texi: File removed.
82407         * manual/libc.texinfo (Copying, Documentation License):
82408         Use new @include file names, put @appendix directive before @include.
82410 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
82412         [BZ #12841]
82413         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
82414         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
82415         (mq_open): Add __NTH.
82417 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
82419         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82420         Assume Intel Core i3/i5/i7 processor if AVX is available.
82422 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
82424         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
82425         typo.
82427 2011-05-31  Andreas Schwab  <schwab@redhat.com>
82429         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
82430         memory.  Use alloca_account.  Fix memory leak when retrying.
82432 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
82434         * version.h (RELEASE): Bump for 2.14 release.
82435         * include/features.h (__GLIBC_MINOR__): Bump to 14.
82437         * config.make.in (RANLIB): Remove entry.
82439 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
82441         * po/Makefile (po-sed-cmd): Add ksh to extensions.
82442         (libc.pot): Work around missing support for .ksh extension in xgettext.
82444         [BZ #12684]
82445         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
82446         if both request failed.
82447         (send_dg): In case of server errors clear resplen or *resplen2.
82449         [BZ #12454]
82450         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
82451         when there are multiple maps.
82452         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
82453         (_dl_fini): Remove test here.
82455         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
82457 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
82459         [BZ #12350]
82460         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
82461         bit from old_res_options.
82462         (gaih_inet): Likewise.
82464         [BZ #11099]
82465         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
82466         as signed.
82468         * resolv/res_init.c (res_setoptions): Make the code more compact.
82470         [BZ #11558]
82471         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
82472         set RES_USEVC.
82474         [BZ #11634]
82475         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
82477         * malloc/malloc.h: Mark malloc hook variables as deprecated.
82479         [BZ #11781]
82480         * malloc/malloc.h: Declare malloc hook variables as volatile.
82482         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
82483         in last patch.
82485         [BZ #11799]
82486         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
82487         raise in the comment.
82488         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
82489         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
82490         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
82492 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
82494         [BZ #12811]
82495         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
82496         grow the buffers more if it already has to be sufficient.
82497         (build_wcs_upper_buffer): Likewise.
82498         * posix/regexec.c (check_matching): Likewise.
82499         (clean_state_log_if_needed): Likewise.
82500         (extend_buffers): Don't enlarge buffers beyond size of the input
82501         buffer.
82502         Patches mostly by Emil Wojak <emil@wojak.eu>.
82503         * posix/bug-regex32.c: New file.
82504         * posix/Makefile (tests): Add bug-regex32.
82506         * locale/findlocale.c (_nl_find_locale): Return right away if
82507         _nl_explode_name failed.
82508         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
82510         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
82512         * debug/xtrace.sh: Unify messages.
82513         * malloc/memusage.sh: Likewise.
82515         [BZ #12813]
82516         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
82517         time symbol from vDSO.  Substitute with vsyscall if not available.
82518         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
82519         __vdso_time.
82521         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
82522         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
82523         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
82524         Add sendmmsg and internal_sendmmsg.
82525         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
82526         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
82527         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
82529         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
82530         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
82531         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
82533 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
82535         [BZ #12813]
82536         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
82537         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
82538         available.
82539         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
82540         __vdso_getcpu.
82542         [BZ #12814]
82543         * iconvdata/Makefile (tests): Add bug-iconv9.
82544         * iconvdata/bug-iconv9.c: New file.
82546 2011-05-27  Andreas Schwab  <schwab@redhat.com>
82548         [BZ #12814]
82549         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
82551 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
82553         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
82554         (struct user_regs_struct): Change intcs field back to cs.
82556 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
82558         * po/ja.po: Update from translation team.
82560 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
82562         [BZ #12795]
82563         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
82564         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
82566 2011-05-20  Andreas Schwab  <schwab@redhat.com>
82568         * stdlib/longlong.h: Update from GCC.
82570 2011-05-23  Andreas Schwab  <schwab@redhat.com>
82572         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
82573         parameter name.
82574         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
82575         Add parameter name.
82576         (__sysconf): Pass it down.
82578 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
82580         [BZ #12671]
82581         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
82582         some situations.
82583         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
82584         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
82585         add in in __libc_use_alloca calls.  Adjust callers.
82586         (glob): Use malloc in some situations.
82588         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
82589         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
82590         pltexit.
82592 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
82594         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
82595         and CLOCK_BOOTTIME_ALARM.
82597         [BZ #12782]
82598         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
82599         is returned.
82601         * string/_strerror.c (__strerror_r): Print negative errors as signed
82602         numbers.
82604         [BZ #12777]
82605         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
82606         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
82607         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
82609         * configure.in: Fix typo in redirection and correct removal of test
82610         files in two cases.
82612         [BZ #12788]
82613         * locale/setlocale.c (new_composite_name): Fix test to check for
82614         identical name of all categories.
82616         [BZ #12792]
82617         * libio/filedoalloc.c (local_isatty): New function.
82618         (_IO_file_doallocate): Use local_isatty.
82619         * stdio-common/perror.c (perror): In case a new stream is used
82620         forward the stream error.
82621         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
82622         error flag.
82624 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
82626         [BZ #11884]
82627         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
82628         alloca.
82629         * include/alloca.h (extend_alloca_account): Define.
82631         [BZ #11857]
82632         * posix/regex.h: Fix comments with documentation of user-accessible
82633         fields after compilation and describe correct free'ing of pattern
82634         after re_compile_pattern.
82635         Patch by Reuben Thomas <rrt@sc3d.org>.
82637 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
82639         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
82640         and -mno-altivec to prevent the compiler from using Altivec and/or
82641         VSX instructions when the corresponding registers are not available.
82643 2011-05-19  Andreas Schwab  <schwab@redhat.com>
82645         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
82647 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
82649         * libio/freopen.c (freopen): Use __dup2, not dup2.
82650         * libio/freopen64.c (freopen64): Likewise.
82652 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
82654         [BZ #12775]
82655         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
82656         * math/Makefile (tests): Add test-powl.
82657         (CFLAGS-test-powl.c): Define.
82658         * math/test-powl.c: New file.
82660 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
82662         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
82664 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
82666         [BZ #11837]
82667         * iconvdata/gb18030.c: Update to GB18020-2005.
82669 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
82671         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
82672         RE_SYNTAX_POSIX_AWK): Update to match recent development.
82673         Patch by Aharon Robbins <arnold@skeeve.com>.
82675         [BZ #11892]
82676         * stdlib/putenv.c (putenv): Don't always create copy of the variable
82677         on the stack.
82679         [BZ #11895]
82680         * misc/pselect.c (__pselect): Handle timeout value errors hidden
82681         through underflows.
82683         [BZ #12766]
82684         * misc/error.c (error_at_line): Ensure file_name and old_file_name
82685         point to strings before performing equality test for error_one_per_line
82686         mode.
82688         [BZ #11697]
82689         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
82691         [BZ #11820]
82692         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
82693         (struct user_fpregs_struct): Avoid __uint*_t types.
82695         [BZ #6420]
82696         * malloc/mtrace.c (tr_where): Add additional parameter to point to
82697         symbol info.  Use it instead of calling _dl_addr locally.
82698         (lock_and_info): New function.
82699         (tr_freehook): Call lock_and_info and pass symbol info as additional
82700         parameter to tr_where.
82701         (tr_mallochook): Likewise.
82702         (tr_reallochook): Likewise.
82703         (tr_memalignhook): Likewise.
82705         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
82706         used and couldn't be at all thread-safe.
82708 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
82710         * libio/freopen.c (freopen): Don't close old file descriptor
82711         before the new one is opened.  Instead dup the new file descriptor
82712         to the old one after the new stream is created.
82713         * libio/freopen64.c (freopen64): Likewise.
82714         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
82715         * libio/fileops.c (_IO_new_file_close_it): Handle new
82716         _IO_FLAGS2_NOCLOSE flag.
82717         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
82718         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
82719         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
82720         _IO_FLAGS2_NOCLOSE flag.
82721         * include/unistd.h: Add hidden_proto for dup3.
82722         Define __have_dup3.
82723         * io/dup3.c: Define hidden symbol.
82724         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
82726         [BZ #7101]
82727         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
82728         when an incomplete long option is used.
82729         * posix/tst-getopt_long1.c: New file.
82730         * posix/Makefile (tests): Add tst-getopt_long1.
82732         [BZ #10138]
82733         * scripts/config.guess: Update from autoconf-2.68.
82734         * scripts/config.sub: Likewise.
82736         [BZ #10157]
82737         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
82738         tests into ...
82739         (has_cpuclock): ...this.  New function.
82740         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
82741         macro here based on has_cpuclock code.
82743         [BZ #10149]
82744         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
82745         First byte (not low byte) is now always NUL.
82746         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
82748         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
82749         Use non-cancelable interfaces.
82751         [BZ #9809]
82752         * locale/iso-639.def: Add entry for Sorani.
82754         [BZ #11901]
82755         * include/stdlib.h: Move include protection to the right place.
82756         Define abort_msg_s.  Declare __abort_msg with it.
82757         * stdlib/abort.c (__abort_msg): Adjust type.
82758         * assert/assert.c (__assert_fail_base): New function.  Majority
82759         of code from __assert_fail.  Allocate memory for __abort_msg with
82760         mmap.
82761         (__assert_fail): Now call __assert_fail_base.
82762         * assert/assert-perr.c: Remove bulk of implementation.  Use
82763         __assert_fail_base.
82764         * include/assert.hL Declare __assert_fail_base.
82765         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
82766         mmap.
82767         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
82769 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
82771         [BZ #11952]
82772         [BZ #12453]
82773         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
82774         until all modules are registered in the DTV.
82775         * elf/Makefile: Add rules to build and run tst-tls19.
82776         * elf/tst-tls19.c: New file.
82777         * elf/tst-tls19mod1.c: New file.
82778         * elf/tst-tls19mod2.c: New file.
82779         * elf/tst-tls19mod3.c: New file.
82780         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
82782         [BZ #12083]
82783         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
82784         correctly.
82786         [BZ #12601]
82787         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
82788         two-byte sequence errors.
82789         * iconvdata/Makefile (tests): Add bug-iconv8.
82790         * iconvdata/bug-iconv8.c: New file.
82792         [BZ #12626]
82793         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
82794         buf2 definition.
82796         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
82798         [BZ #12432]
82799         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
82800         (dummy_getcfa): New function.
82801         (init): Get _Unwind_GetCFA address, use dummy if not found.
82802         (backtrace_helper): In recursion check, also check whether CFA changes.
82803         (__backtrace): Completely initialize arg.
82805         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
82806         storing incomplete byte sequence in state object.  Avoid testing for
82807         guaranteed too small input if we know there is enough data available.
82809 2011-05-11  Andreas Schwab  <schwab@redhat.com>
82811         * Makeconfig (+link-pie): Indent.
82812         * Rules (binaries-pie): Define if $(have-fpie) and
82813         $(build-shared).
82814         (binaries-shared): Also filter out $(binaries-pie).
82815         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
82816         * nscd/Makefile (others-pie): Add nscd.
82817         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
82818         ($(objpfx)nscd): Remove command override.
82819         * login/Makefile (others-pie): Add pt_chown.
82820         ($(objpfx)pt_chown): Remove command override.
82821         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
82822         remove command overrides.
82824 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
82826         * libio/tst_putwc.c: Fix error messages.
82828         [BZ #12724]
82829         * libio/fileops.c (_IO_new_file_close_it): Always flush when
82830         currently writing and seek to current position when not.
82831         * libio/Makefile (tests): Add bug-fclose1.
82832         * libio/bug-fclose1.c: New file.
82834 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
82836         [BZ #12511]
82837         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
82838         don't set DF_1_NODELETE here.
82839         (do_lookup_x): When entering new entry test for copy relocation
82840         and if necessary set DF_1_NODELETE flag.
82841         * elf/tst-unique4.cc: New file.
82842         * elf/tst-unique4.h: New file.
82843         * elf/tst-unique4lib.cc: New file.
82844         * elf/Makefile: Add rules to build and run tst-unique4.
82845         Patch by Piotr Bury <pbury@goahead.com>.
82847 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
82849         [BZ #12052]
82850         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
82852         [BZ #12625]
82853         * misc/mntent_r.c (addmntent): Flush the stream after the output
82855         [BZ #12393]
82856         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
82857         (is_trusted_path_normalize): Skip initial colon.  Append slash
82858         to empty buffer.  Duplicate is_trusted_path code but allow
82859         constructed patch to be prefix.
82860         (is_dst): Allow $ORIGIN followed by /.
82861         (_dl_dst_substitute): Correct clearing of check_for_trusted.
82862         Correct testing of result of is_trusted_path_normalize
82863         (decompose_rpath): Fix warning.
82865 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
82867         [BZ #11257]
82868         * grp/initgroups.c (internal_getgrouplist): When we found the service
82869         list through the initgroups entry in nsswitch.conf do not always
82870         continue on a successful lookup.  Don't always use the
82871         __nss_group_database value if it is set.
82872         * nss/nsswitch.conf (initgroups): Change action for successful db
82873         lookup to continue for compatibility.
82875 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
82877         [BZ #11532]
82878         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
82879         and CP774 modules.
82880         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
82881         and CP774 modules.
82882         * iconvdata/tst-tables.sh: Likewise.
82883         * iconvdata/cp770.c: New file.
82884         * iconvdata/cp771.c: New file.
82885         * iconvdata/cp772.c: New file.
82886         * iconvdata/cp773.c: New file.
82887         * iconvdata/cp774.c: New file.
82888         * iconvdata/testdata/CP770: New file.
82889         * iconvdata/testdata/CP770..UTF8: New file.
82890         * iconvdata/testdata/CP771: New file.
82891         * iconvdata/testdata/CP771..UTF8: New file.
82892         * iconvdata/testdata/CP772: New file.
82893         * iconvdata/testdata/CP772..UTF8: New file.
82894         * iconvdata/testdata/CP773: New file.
82895         * iconvdata/testdata/CP773..UTF8: New file.
82896         * iconvdata/testdata/CP774: New file.
82897         * iconvdata/testdata/CP774..UTF8: New file.
82899         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
82900         END CHARMAP line.
82901         * iconvdata/gen-8bit-gap.sh: Likewise.
82902         * iconvdata/gen-8bit.sh: Likewise.
82904         * locale/iso-639.def: Add ary entry.
82906         [BZ #11258]
82907         * locale/C-translit.h.in: Add U20A1 transliteration.
82909         [BZ #12178]
82910         * locale/iso-639.def: Add wae entry.
82911         Patch by Kevin Bortis <bortis@translate-wae.ch>.
82913         [BZ #12545]
82914         * locale/programs/localedef.c (construct_output_path): Use ssize_t
82915         for n.
82917         [BZ #12711]
82918         * locale/C-translit.h.in: Add entry for U20B9.
82919         Patch by pravin.d.s@gmail.com.
82921 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
82923         [BZ #12713]
82924         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
82925         ENAMETOOLONG use generic getcwd.
82926         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
82927         in rtld.  Use *stat64.
82928         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
82929         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
82930         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
82931         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
82932         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
82933         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
82934         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
82935         __fstatat64 macros.
82936         * include/dirent.h: Add libc_hidden_proto for rewinddir.
82937         * dirent/rewinddir.c: Add libc_hidden_def.
82938         * sysdeps/mach/hurd/rewinddir.c: Likewise.
82939         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
82941         * include/dirent.h (__alloc_dir): Add flags parameter.
82942         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
82943         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
82944         __alloc_dir.
82945         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
82946         from fdopendir if O_CLOEXEC is already set.
82948 2011-03-15  Alan Modra  <amodra@gmail.com>
82950         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
82951         l_tls_firstbyte_offset non-zero.  Save padding offset in
82952         l_tls_firstbyte_offset for later use.
82953         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
82954         freeing static tls block.
82956 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
82958         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
82959         where #ifdef was intended.  The intent is to prevent ARG_MAX from
82960         being defined by the kernel headers.
82962 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
82964         [BZ #12734]
82965         * resolv/resolv.h: Define RES_NOTLDQUERY.
82966         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
82967         no-tld-query and set RES_NOTLDQUERY.
82968         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
82969         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
82970         modern BIND to search name as TLD unless forbidden.
82972 2011-05-07  Petr Baudis  <pasky@suse.cz>
82973             Ulrich Drepper  <drepper@gmail.com>
82975         [BZ #12393]
82976         * elf/dl-load.c (fillin_rpath): Move trusted path check...
82977         (is_trusted_path): ...to here.
82978         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
82979         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
82980         using is_trusted_path_normalize() in setuid scripts.
82982 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
82984         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
82985         __BEGIN/__END_DECLS.
82987 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
82989         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
82990         NSS_STATUS_NOTFOUND if no record was found.
82992 2011-05-05  Andreas Schwab  <schwab@redhat.com>
82994         * sunrpc/Makefile (headers): Add rpc/netdb.h.
82995         (headers-not-in-tirpc): Remove rpc/netdb.h
82996         * resolv/netdb.h: Revert last change.
82998 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
83000         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
83001         circular dependency between libgcc.a and libc.a.
83003 2011-05-05  Andreas Schwab  <schwab@redhat.com>
83005         * resolv/netdb.h: Don't include <rpc/netdb.h>.
83006         * nis/Makefile: Don't install rpcsvc/*.
83007         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
83008         instead of <rpc/types.h>.
83009         (MAXHOSTNAMELEN): Define.
83011 2011-05-03  Andreas Schwab  <schwab@redhat.com>
83013         * elf/ldconfig.c (add_dir): Don't crash on empty path.
83015 2011-04-28  Maciej Babinski  <mbabinski@google.com>
83017         [BZ #12714]
83018         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
83019         gethostbyname4_r when IPv6 results are possible.
83021 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
83023         [BZ #12723]
83024         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
83025         _PC_PIPE_BUF handling.
83027 2011-04-30  Bruno Haible  <bruno@clisp.org>
83029         [BZ #12717]
83030         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
83031         * resolv/netdb.h (getnameinfo): Change type of flags parameter
83032         to 'int'.
83033         * inet/getnameinfo.c (getnameinfo): Likewise.
83035 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
83037         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
83038         to groups setting in database lookup.
83039         * nss/nsswitch.conf: Add initgroups entry.
83041 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
83043         [BZ #12685]
83044         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
83045         mode string.
83046         Patch by Eric Blake <eblake@redhat.com>.
83048 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
83050         * sunrpc/Makefile (need-export-routines): Add svc_run.
83051         (routines): Remove svc_run.
83052         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
83053         * sunrpc/clnt_perr.c (clnt_perrno): Export.
83054         * sunrpc/svc_run.c (svc_run): Likewise.
83055         * sunrpc/svc_udp.c (svcudp_create): Likewise.
83057 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
83059         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
83060         problem in reallocation in last patch.
83062 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
83064         * sunrpc/Makefile: Move inclusion of Rules.
83066 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
83068         * nss/nss_files/files-initgroups.c: New file.
83069         * nss/Makefile (libnss_files-routines): Add files-initgroups.
83070         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
83071         _nss_files_initgroups_dyn.
83073 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
83075         * elf/elf.h (R_ARM_IRELATIVE): Define.
83077 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
83079         * po/ru.po: Update from translation team.
83081 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
83083         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
83084         dependencies.
83086 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
83088         [BZ #12653]
83089         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
83090         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
83091         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
83092         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
83093         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
83095 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
83097         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
83098         differing bytes.
83099         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
83100         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
83101         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
83103 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
83105         [BZ #12420]
83106         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
83107         storing it.
83108         * stdlib/bug-getcontext.c: New file.
83109         * stdlib/Makefile: Add rules to build and run bug-getcontext.
83111 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83113         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
83114         instructions into .machine "z9-109".
83115         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
83116         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
83118 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83120         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
83121         between environment variables and auxiliary vector.
83123 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
83125         * Makefile: Add rules to build linkobj/libc.so.
83126         * include/libc-symbols.h: Define libc_hidden_nolink.
83127         * include/rpc/auth.h: Mark functions which are to be hidden.
83128         * include/rpc/auth_des.h: Likewise.
83129         * include/rpc/auth_unix.h: Likewise.
83130         * include/rpc/clnt.h: Likewise.
83131         * include/rpc/des_crypt.h: Likewise.
83132         * include/rpc/key_prot.h: Likewise.
83133         * include/rpc/pmap_clnt.h: Likewise.
83134         * include/rpc/pmap_prot.h: Likewise.
83135         * include/rpc/pmap_rmt.h: Likewise.
83136         * include/rpc/rpc_msg.h: Likewise.
83137         * include/rpc/svc.h: Likewise.
83138         * include/rpc/svc_auth.h: Likewise.
83139         * include/rpc/xdr.h: Likewise.
83140         * nis/Makefile: Link all DSOs against linkobj/libc.so.
83141         * nss/Makefile: Likewise.
83142         * sunrpc/Makefile: Don't install headers.  Build library with normal
83143         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
83144         * sunrpc/auth_des.c: Hide exported symbols by default, export some
83145         for the compat linking library.  Remove use of INTDEF/INTUSE.
83146         * sunrpc/auth_none.c: Likewise.
83147         * sunrpc/auth_unix.c: Likewise.
83148         * sunrpc/authdes_prot.c: Likewise.
83149         * sunrpc/authuxprot.c: Likewise.
83150         * sunrpc/clnt_gen.c: Likewise.
83151         * sunrpc/clnt_perr.c: Likewise.
83152         * sunrpc/clnt_raw.c: Likewise.
83153         * sunrpc/clnt_simp.c: Likewise.
83154         * sunrpc/clnt_tcp.c: Likewise.
83155         * sunrpc/clnt_udp.c: Likewise.
83156         * sunrpc/clnt_unix.c: Likewise.
83157         * sunrpc/des_crypt.c: Likewise.
83158         * sunrpc/des_soft.c: Likewise.
83159         * sunrpc/get_myaddr.c: Likewise.
83160         * sunrpc/key_call.c: Likewise.
83161         * sunrpc/key_prot.c: Likewise.
83162         * sunrpc/netname.c: Likewise.
83163         * sunrpc/pm_getmaps.c: Likewise.
83164         * sunrpc/pm_getport.c: Likewise.
83165         * sunrpc/pmap_clnt.c: Likewise.
83166         * sunrpc/pmap_prot.c: Likewise.
83167         * sunrpc/pmap_prot2.c: Likewise.
83168         * sunrpc/pmap_rmt.c: Likewise.
83169         * sunrpc/publickey.c: Likewise.
83170         * sunrpc/rpc_cmsg.c: Likewise.
83171         * sunrpc/rpc_common.c: Likewise.
83172         * sunrpc/rpc_dtable.c: Likewise.
83173         * sunrpc/rpc_prot.c: Likewise.
83174         * sunrpc/rpc_thread.c: Likewise.
83175         * sunrpc/rtime.c: Likewise.
83176         * sunrpc/svc.c: Likewise.
83177         * sunrpc/svc_auth.c: Likewise.
83178         * sunrpc/svc_authux.c: Likewise.
83179         * sunrpc/svc_raw.c: Likewise.
83180         * sunrpc/svc_run.c: Likewise.
83181         * sunrpc/svc_simple.c: Likewise.
83182         * sunrpc/svc_tcp.c: Likewise.
83183         * sunrpc/svc_udp.c: Likewise.
83184         * sunrpc/svc_unix.c: Likewise.
83185         * sunrpc/svcauth_des.c: Likewise.
83186         * sunrpc/xcrypt.c: Likewise.
83187         * sunrpc/xdr.c: Likewise.
83188         * sunrpc/xdr_array.c: Likewise.
83189         * sunrpc/xdr_float.c: Likewise.
83190         * sunrpc/xdr_intXX_t.c: Likewise.
83191         * sunrpc/xdr_mem.c: Likewise.
83192         * sunrpc/xdr_rec.c: Likewise.
83193         * sunrpc/xdr_ref.c: Likewise.
83194         * sunrpc/xdr_sizeof.c: Likewise.
83195         * sunrpc/xdr_stdio.c: Likewise.
83197 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
83199         [BZ #12650]
83200         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
83201         * sysdeps/ia64/dl-tls.h: Likewise.
83202         * sysdeps/powerpc/dl-tls.h: Likewise.
83203         * sysdeps/s390/dl-tls.h: Likewise.
83204         * sysdeps/sh/dl-tls.h: Likewise.
83205         * sysdeps/sparc/dl-tls.h: Likewise.
83206         * sysdeps/x86_64/dl-tls.h: Likewise.
83207         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
83209 2011-03-14  Andreas Schwab  <schwab@redhat.com>
83211         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
83212         rpath element also skip the following colon.
83213         (expand_dynamic_string_token): Add is_path parameter and pass
83214         down to DL_DST_REQUIRED and _dl_dst_substitute.
83215         (decompose_rpath): Call expand_dynamic_string_token with
83216         non-zero is_path.  Ignore empty rpaths.
83217         (_dl_map_object_from_fd): Call expand_dynamic_string_token
83218         with zero is_path.
83220 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
83222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
83223         Make cancelable.
83225 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
83227         [BZ #12655]
83228         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
83229         Patch by Filipe David Manana <fdmanana@apache.org>.
83231 2011-04-07  Andreas Schwab  <schwab@redhat.com>
83233         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
83234         Maintain aligned stack.
83235         (CHECK_RSP): Remove unused macro.
83237 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
83239         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
83240         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
83242 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
83244         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
83246         * include/features.h: Mention __USE_XOPEN2K8 in comment.
83248 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
83250         [BZ #12518]
83251         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
83252         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
83253         * sysdeps/x86_64/memmove.c: New file.
83254         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
83255         (memcpy): Renamed to ...
83256         (__new_memcpy): This.
83257         (memcpy): Provide GLIBC_2_14 memcpy.
83258         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
83259         (memcpy): Provide GLIBC_2_2_5 memcpy.
83261 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
83263         [BZ #12631]
83264         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
83266 2011-03-30  Andreas Schwab  <schwab@redhat.com>
83268         * misc/syncfs.c: New file.
83269         * misc/Makefile (routines): Add syncfs.
83270         * posix/unistd.h: Declare syncfs.
83271         * sysdeps/unix/syscalls.list: Add syncfs.
83273 2011-04-01  Andreas Schwab  <schwab@redhat.com>
83275         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
83276         open_by_handle_at.
83277         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
83278         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83279         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83280         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83281         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83282         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
83283         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83285 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
83287         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
83288         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83289         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
83290         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83291         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83292         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83293         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83295         * io/Makefile: Compile fallocate.c, fallocate64.c, and
83296         sync_file_range.c with -fexceptions.
83297         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
83298         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
83299         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
83300         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
83301         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
83302         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
83303         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
83304         sync_file_range as cancellation point
83305         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
83306         now a wrapper around __call_sync_file_range with cancellation handling.
83307         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
83308         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
83309         function name to __call_sync_file_range.
83310         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
83311         Add call_sync_file_range.
83313 2011-04-01  Andreas Schwab  <schwab@redhat.com>
83315         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83316         bits/timex.h.
83318 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
83320         * iconv/iconv.h: Fix typo in comment.
83321         * io/fcntl.h: Likewise.
83322         * libio/stdio.h: Likewise.
83323         * posix/spawn.h: Likewise.
83324         * posix/unistd.h: Likewise.
83325         * stdlib/stdlib.h: Likewise.
83326         * time/time.h: Likewise.
83327         * wcsmbs/wchar.h: Likewise.
83329         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
83330         open_by_handle): Add.
83331         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
83332         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
83333         Augment a few comments.
83334         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83335         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83336         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83337         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83338         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83339         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
83340         open_by_handle.
83342         * io/fcntl.h (AT_EMPTY_PATH): Define.
83344 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
83346         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
83347         * sysdeps/unix/sysv/linux/bits/time.h: New file.
83348         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
83349         to...
83350         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
83351         * Versions.def: Add GLIBC_2.14.
83352         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
83353         Export.
83355 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
83357         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
83358         round counter.
83359         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
83361 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
83363         [BZ #12597]
83364         * string/test-strncmp.c (do_page_test): New function.
83365         (check2): Likewise.
83366         (test_main): Call check2.
83367         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
83369 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
83371         [BZ #12587]
83372         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
83373         Handle cache information in CPU leaf 4.
83374         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
83376 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
83378         [BZ #12583]
83379         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
83380         character representation.
83381         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
83383 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
83385         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
83386         END(__isnan) to END(__isnanf) to match function entry point/label
83387         EALIGN(__isnanf,...).
83389 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
83391         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
83393 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
83395         [BZ #12510]
83396         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
83397         copy from the symbol referenced in the relocation to initialize the
83398         used variable.
83399         Patch by Piotr Bury <pbury@goahead.com>.
83400         * elf/Makefile: Add rules to build and tst-unique3.
83401         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
83402         * elf/tst-unique3.cc: New file.
83403         * elf/tst-unique3.h: New file.
83404         * elf/tst-unique3lib.cc: New file.
83405         * elf/tst-unique3lib2.cc: New file.
83407         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
83409 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
83411         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
83412         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
83413         to _start.
83415 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
83417         * elf/dl-load.c (_dl_map_object): If we are looking for the first
83418         to-be-loaded object along a path to loader is ld.so.
83420 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
83421             Ulrich Drepper  <drepper@gmail.com>
83423         * sysdeps/x86_64/memset.S: After aligning destination, code
83424         branches to different locations depending on the value of
83425         misalignment, when multiarch is enabled. Fix this.
83427 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
83429         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
83430         Set _x86_64_preferred_memory_instruction for AMD processsors.
83431         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83432         Set bit_Prefer_SSE_for_memop for AMD processors.
83434 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
83436         * libio/fmemopen.c (fmemopen): Optimize a bit.
83438 2011-03-03  Andreas Schwab  <schwab@redhat.com>
83440         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
83442 2011-03-03  Roland McGrath  <roland@redhat.com>
83444         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
83446 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
83448         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
83449         __bzero_ultra1 instead of __memset_ultra1.
83451 2011-02-23  Andreas Schwab  <schwab@redhat.com>
83452             Ulrich Drepper  <drepper@gmail.com>
83454         [BZ #12509]
83455         * include/link.h (struct link_map): Add l_orig_initfini.
83456         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
83457         returning unsuccessfully.
83458         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
83459         close of a file loaded at startup, restore the original l_initfini
83460         list.
83461         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
83462         list, store the pointer.
83463         * elf/Makefile ($(objpfx)noload-mem): New rule.
83464         (noload-ENV): Define.
83465         (tests): Add $(objpfx)noload-mem.
83466         * elf/noload.c: Include <memcheck.h>.
83467         (main): Call mtrace.  Close all opened handles.
83469 2011-02-17  Andreas Schwab  <schwab@redhat.com>
83471         [BZ #12454]
83472         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
83473         dependencies are missing.
83475 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83477         Fix __if_freereq crash: Unlike the generic version which uses free,
83478         Hurd needs munmap.
83479         * sysdeps/mach/hurd/ifreq.h: New file.
83481 2011-01-27  Petr Baudis  <pasky@suse.cz>
83482             Ulrich Drepper  <drepper@gmail.com>
83484         [BZ 12445]#
83485         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
83486         to extend_alloca().
83487         * stdio-common/bug23.c: New file.
83488         * stdio-common/Makefile (tests): Add bug23.
83490 2010-09-28  Andreas Schwab  <schwab@redhat.com>
83491             Ulrich Drepper  <drepper@gmail.com>
83493         [BZ #12489]
83494         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
83495         before performing relro protection.  At old place add assertion
83496         to make sure nothing changed.
83498 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
83499             Glauber de Oliveira Costa  <glommer@gmail.com>
83501         * elf/elf.h: Add new ARM TLS relocs.
83503 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
83505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
83506         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
83507         cast from r3.
83508         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
83509         'tests' variable.
83510         * sysdeps/wordsize-64/tst-writev.c: New file.
83512 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
83514         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
83515         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
83516         insns in _dl_start to prevent a TOC reference before relocs are
83517         resolved.
83519 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
83521         [BZ #12469]
83522         * Makeconfig: Remove RANLIB definition.
83523         * Makerules: Don't use RANLIB.
83524         * aclocal.m4: Remove ranlib test.
83525         * configure.in: No need to check for ranlib.
83526         * elf/rtld-Rules: Don't use RANLIB.
83528 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83530         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
83531         protection macro.
83532         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
83533         inclusion protection macro.
83535         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
83536         SIGRTMIN and SIGRTMAX and print information in that case only when
83537         SIGRTMIN is defined.
83539 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
83541         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
83542         arginfo fn returning -1.
83544         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
83545         and thousands string is zero terminated.
83547 2011-02-03  Andreas Schwab  <schwab@redhat.com>
83549         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
83550         sysdeps/unix/sysv/linux/bits/socket.h.
83552 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83554         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
83555         (__CPU_COUNT): Remove old macros.
83556         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
83557         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
83558         (__CPU_ALLOC, __CPU_FREE): Add macros.
83559         (__sched_cpualloc, __sched_cpufree): Add declarations.
83561 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
83563         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
83564         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
83565         * nscd/aicache.c (addhstaiX): Return timeout of added value.
83566         (readdhstai): Return value of addhstaiX call.
83567         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
83568         (addgrbyX): Return value returned by cache_addgr.
83569         (readdgrbyname): Return value returned by addgrbyX.
83570         (readdgrbygid): Likewise.
83571         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
83572         (addpwbyX): Return value returned by cache_addpw.
83573         (readdpwbyname): Return value returned by addhstbyX.
83574         (readdpwbyuid): Likewise.
83575         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
83576         (addservbyX): Return value returned by cache_addserv.
83577         (readdservbyname): Return value returned by addservbyX:
83578         (readdservbyport): Likewise.
83579         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
83580         (addhstbyX): Return value returned by cache_addhst.
83581         (readdhstbyname): Return value returned by addhstbyX.
83582         (readdhstbyaddr): Likewise.
83583         (readdhstbynamev6): Likewise.
83584         (readdhstbyaddrv6): Likewise.
83585         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
83586         (readdinitgroups): Return value returned by addinitgroupsX.
83587         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
83588         (prune_cache): Keep track of timeout value of re-added entries.
83589         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
83590         * nscd/nscd.h: Adjust prototypes of readd* functions.
83592 2011-02-04  Roland McGrath  <roland@redhat.com>
83594         * nis/nis_server.c (nis_servstate): Use the right name for 0.
83595         (nis_stats): Likewise.
83596         * nis/nis_modify.c (nis_modify): Likewise.
83597         * nis/nis_remove.c (nis_remove): Likewise.
83598         * nis/nis_add.c (nis_add): Likewise.
83600         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
83602         * posix/fnmatch_loop.c: Add some consts.
83604         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
83606 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
83608         [BZ #12460]
83609         * config.make.in (config-cflags-novzeroupper): Define.
83610         * configure.in: Substitute libc_cv_cc_novzeroupper.
83611         * elf/Makefile (AVX-CFLAGS): Define.
83612         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
83613         (CFLAGS-tst-auditmod4a.c): Likewise.
83614         (CFLAGS-tst-auditmod4b.c): Likewise.
83615         (CFLAGS-tst-auditmod6b.c): Likewise.
83616         (CFLAGS-tst-auditmod6c.c): Likewise.
83617         (CFLAGS-tst-auditmod7b.c): Likewise.
83618         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
83620 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
83622         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
83623         function to the callback.
83624         Patch partly by Jiri Olsa <jolsa@redhat.com>.
83626 2011-02-02  Andreas Schwab  <schwab@redhat.com>
83628         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
83629         of errno.
83631 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
83633         [BZ #11724]
83634         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
83635         of constructors.
83636         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
83637         of destructors.
83638         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
83640         [BZ #11724]
83641         * elf/Makefile: Add rules to build and run new test.
83642         * elf/tst-initorder.c: New file.
83643         * elf/tst-initorder.exp: New file.
83644         * elf/tst-initordera1.c: New file.
83645         * elf/tst-initordera2.c: New file.
83646         * elf/tst-initordera3.c: New file.
83647         * elf/tst-initordera4.c: New file.
83648         * elf/tst-initorderb1.c: New file.
83649         * elf/tst-initorderb2.c: New file.
83650         * elf/tst-order-a1.c: New file.
83651         * elf/tst-order-a2.c: New file.
83652         * elf/tst-order-a3.c: New file.
83653         * elf/tst-order-a4.c: New file.
83654         * elf/tst-order-b1.c: New file.
83655         * elf/tst-order-b2.c: New file.
83656         * elf/tst-order-main.c: New file.
83657         New test case by George Gensure <werkt0@gmail.com>.
83659 2010-10-01  Andreas Schwab  <schwab@redhat.com>
83661         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
83662         decoding ACE if AI_CANONIDN.
83664 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
83666         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
83668 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
83670         * version.h (RELEASE): Bump for 2.13 release.
83671         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
83673         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
83675         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
83676         MADV_NOHUGEPAGE.
83677         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
83678         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
83679         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
83680         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
83681         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
83682         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
83684         * posix/getconf.c: Update copyright year.
83685         * catgets/gencat.c: Likewise.
83686         * csu/version.c: Likewise.
83687         * debug/catchsegv.sh: Likewise.
83688         * debug/xtrace.sh: Likewise.
83689         * elf/ldconfig.c: Likewise.
83690         * elf/ldd.bash.in: Likewise.
83691         * elf/sprof.c (print_version): Likewise.
83692         * iconv/iconv_prog.c: Likewise.
83693         * iconv/iconvconfig.c: Likewise.
83694         * locale/programs/locale.c: Likewise.
83695         * locale/programs/localedef.c: Likewise.
83696         * malloc/memusage.sh: Likewise.
83697         * malloc/mtrace.pl: Likewise.
83698         * nscd/nscd.c (print_version): Likewise.
83699         * nss/getent.c: Likewise.
83701         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
83702         PF_CAIF, and PF_ALG.
83703         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
83705 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
83707         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
83708         (modules-names): Use them.
83709         (ifunc-test-modules, ifunc-pie-tests): Define.
83710         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
83711         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
83712         (test-extras): Likewise.
83713         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
83714         $(compile-command.c).
83715         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
83716         (all-built-dso): Define.
83717         (check-textrel.out, check-execstack.out): Depend on it.
83719         * configure.in: Don't override --enable-multi-arch.
83721 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
83723         [BZ #6812]
83724         * nscd/hstcache.c (tryagain): Define.
83725         (cache_addhst): Return tryagain not notfound for temporary errors.
83726         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
83727         failed.
83729 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
83731         [BZ #10563]
83732         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
83733         to make the syscall.
83734         * sysdeps/unix/sysv/linux/setgroups.c: New file.
83736         [BZ #12378]
83737         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
83738         and fall back to matching as normal character if the string ends before
83739         the matching ']' is found.  This is what POSIX requires.
83740         * posix/testfnm.c: Adjust test result.
83741         * posix/globtest.sh: Adjust test result.  Add new test.
83742         * posix/tst-fnmatch.input: Likewise.
83743         * posix/tst-fnmatch2.c: Add new test.
83745 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
83747         * elf/Makefile (check-execstack): Revert last change.  Depend on
83748         check-execstack.h.
83749         (check-execstack.h): New target.
83750         (generated): Add check-execstack.h.
83751         * elf/check-execstack.c: Include "check-execstack.h".
83752         (main): Revert last change.
83753         (handle_file): Return zero if GNU_STACK is absent and
83754         DEFAULT_STACK_PERMS doesn't include PF_X.
83756 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
83758         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
83759         in child fails because the descriptor is already closed.
83760         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
83761         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
83762         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
83764         [BZ #12397]
83765         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
83766         syscall.
83768         [BZ #10484]
83769         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
83770         temporary buffer used to handle multi lookups locally.
83771         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
83773 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
83775         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
83776         loader is ld.so.
83778 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
83780         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
83781         alignment for SSE2.
83783 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
83785         [BZ #12394]
83786         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
83787         characters.  When rounding increased number of integer digits recompute
83788         number of groups.
83789         * stdio-common/tst-grouping.c: New file.
83790         * stdio-common/Makefile: Add rules to build and run tst-grouping.
83792 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
83794         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
83795         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
83797         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
83798         void.
83799         * bits/select.h: Likewise.
83801 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
83803         * po/ja.po: Update from translation team.
83805 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
83807         [BZ #11155]
83808         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
83809         implementation just like for lxstat, fxstatat, et al.
83811 2010-12-27  Jim Meyering  <meyering@redhat.com>
83813         [BZ #12348]
83814         * posix/regexec.c (build_trtable): Return failure indication upon
83815         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
83817 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
83819         [BZ #12201]
83820         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
83821         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
83822         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
83823         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
83825         [BZ #12207]
83826         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
83828         [BZ #12204]
83829         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
83830         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
83832 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
83834         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
83835         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
83836         script has SORT_BY_INIT_PRIORITY.
83837         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
83838         NO_CTORS_DTORS_SECTIONS is defined.
83839         * elf/soinit.c: Likewise.
83840         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
83841         NO_CTORS_DTORS_SECTIONS is defined.
83842         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
83843         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
83844         * sysdeps/sh/init-first.c: Likewise.
83845         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
83847 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
83849         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
83850         always use the slow path.
83852 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
83854         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
83855         similar rule which adds the sysdep directories to the header search in
83856         order to pick up the correct platform stackinfo.h.
83857         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
83858         perform test if it is, otherwise return successfully without testing.
83859         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
83860         DEFAULT_STACK_PERMS define in stackinfo.h.
83861         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
83862         defined in stackinfo.h.
83863         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
83864         DEFAULT_STACK_PERMS defined in stackinfo.h.
83865         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
83866         * sysdeps/ia64/stackinfo.h: Likewise.
83867         * sysdeps/s390/stackinfo.h: Likewise.
83868         * sysdeps/sh/stackinfo.h: Likewise.
83869         * sysdeps/sparc/stackinfo.h: Likewise.
83870         * sysdeps/x86_64/stackinfo.h: Likewise.
83871         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
83872         PF_X for powerpc64.  Retain PF_X for powerpc32.
83874 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
83876         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
83877         accurately.
83878         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
83879         GETDENTS_64BIT_ALIGNED.
83881 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
83883         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
83885 2010-12-10  Andreas Schwab  <schwab@redhat.com>
83887         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
83888         _GNU_SOURCE.
83890         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
83891         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
83892         Remove __restrict.
83893         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
83894         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
83896 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
83898         [BZ #11655]
83899         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
83900         are initialized.
83902 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
83904         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
83906 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
83908         * po/it.po: Update from translation team.
83910 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
83912         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
83913         unused codes.
83915 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
83917         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
83919 2010-11-24  Andreas Schwab  <schwab@redhat.com>
83921         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
83922         specially.
83923         (gaih_getanswer_slice): Likewise.
83925 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
83927         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
83929 2010-05-31  Petr Baudis  <pasky@suse.cz>
83931         [BZ #11149]
83932         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
83933         silently even in the chroot mode.
83935 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
83937         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
83938         last patch a bit.  Pretty printing
83940 2010-05-31  Petr Baudis <pasky@suse.cz>
83942         [BZ #10085]
83943         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
83944         initialization of skip_initgroups_dyn.
83946 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
83948         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
83949         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
83951 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
83953         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
83955 2010-11-11  Andreas Schwab  <schwab@redhat.com>
83957         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
83958         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
83959         (tst-fnmatch-ENV): Set MALLOC_TRACE.
83960         ($(objpfx)tst-fnmatch-mem): New rule.
83961         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
83962         * posix/tst-fnmatch.c (main): Call mtrace.
83964 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
83966         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83967         Support Intel processor model 6 and model 0x2c.
83969 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
83971         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
83972           signed comparison.
83974 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
83976         [BZ #12205]
83977         * string/test-strncasecmp.c (check_result): New function.
83978         (do_one_test): Use it.
83979         (check1): New function.
83980         (test_main): Use it.
83981         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
83982         Support strcasecmp and strncasecmp.
83984 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
83986         [BZ #12194]
83987         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
83988         * sysdeps/x86_64/bits/byteswap.h: Likewise.
83990 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
83992         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
83993         IFUNC support.
83994         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83995         memset-x86-64.
83996         * sysdeps/x86_64/multiarch/bzero.S: New file.
83997         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
83998         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
83999         * sysdeps/x86_64/multiarch/memset.S: New file.
84000         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
84001         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84002         Set bit_Prefer_SSE_for_memop for Intel processors.
84003         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
84004         Define.
84005         (index_Prefer_SSE_for_memop): Define.
84006         (HAS_PREFER_SSE_FOR_MEMOP): Define.
84008 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
84010         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
84011         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
84013 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
84015         [BZ #12191]
84016         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
84017         (__x86_64_raw_data_cache_size_half): Likewise.
84018         (__x86_64_raw_shared_cache_size): Likewise.
84019         (__x86_64_raw_shared_cache_size_half): Likewise.
84021         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
84022         (__x86_64_raw_data_cache_size_half): Likewise.
84023         (__x86_64_raw_shared_cache_size): Likewise.
84024         (__x86_64_raw_shared_cache_size_half): Likewise.
84025         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
84026         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
84027         and __x86_64_raw_shared_cache_size_half.  Round
84028         __x86_64_data_cache_size_half, __x86_64_data_cache_size
84029         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
84030         to multiple of 256 bytes.
84032 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
84034         [BZ #12167]
84035         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
84036         of inacessible symlinks.  Verify result of symlink before returning it.
84037         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
84038         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
84040 2010-10-28  Erich Ritz  <erichritz@gmail.com>
84042         * math/math.h (isinf): Fix typo in comment.
84044 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
84046         * po/da.po: Update from translation team.
84048 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
84050         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
84051         is added to the list.
84053 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84054             Ulrich Drepper  <drepper@gmail.com>
84056         * elf/dl-object.c (_dl_new_object): Don't append the new object to
84057         the global list here.  Move code to...
84058         (_dl_add_to_namespace_list): ...here.  New function.
84059         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
84060         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
84061         * elf/dl-load.c (lose): Don't remove the element from the list.
84062         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
84063         (_dl_map_object): Likewise.
84065 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
84067         [BZ #12159]
84068         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
84069         into all bytes of SSE register.
84070         Patch by Richard Li <richardpku@gmail.com>.
84072 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
84074         [BZ #12140]
84075         * malloc/malloc.c (_int_free): Fill correct number of bytes when
84076         perturbing.
84078 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
84080         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
84081         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
84082         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
84083         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
84084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
84085         submachine.
84086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
84088 2010-10-22  Andreas Schwab  <schwab@redhat.com>
84090         * include/dlfcn.h (__RTLD_SECURE): Define.
84091         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
84092         mode & __RTLD_SECURE instead.
84093         (open_path): Rename preloaded parameter to secure.
84094         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
84095         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
84096         * elf/dl-deps.c (openaux): Likewise.
84097         * elf/rtld.c (struct map_args): Remove is_preloaded.
84098         (map_doit): Don't use it.
84099         (dl_main): Likewise.
84100         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
84101         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
84103 2010-09-09  Andreas Schwab  <schwab@redhat.com>
84105         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
84106         (sysd-rules-targets): Remove duplicates.
84107         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
84108         rtld-%.$o dependency.
84110 2010-10-18  Andreas Schwab  <schwab@redhat.com>
84112         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
84113         _dl_map_object do it.
84115 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
84117         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
84118         fast fma builtins, define the macros in the C99 standard.
84119         (FP_FAST_FMAF): Likewise.
84120         (FP_FAST_FMAL): Likewise.
84121         * sysdeps/x86_64/bits/mathdef.h: Likewise.
84123         * bits/mathdef.h: Update copyright year.
84124         * sysdeps/powerpc/bits/mathdef.h: Likewise.
84126 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
84128         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
84129         builtins, define the macros in the C99 standard.
84130         (FP_FAST_FMAF): Likewise.
84131         (FP_FAST_FMAL): Likewise.
84132         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
84133         multiply/add.
84134         (FP_FAST_FMAF): Likewise.
84136 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
84138         [BZ #3268]
84139         * math/libm-test.inc (fma_test): Some new testcases.
84140         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
84141         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
84142         y and infinite z.  Do multiplication by C already in long double.
84143         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
84144         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
84145         y and infinite z.  Do bitwise or of inexact bit into u.d.
84146         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
84147         * sysdeps/i386/fpu/s_fmaf.S: Removed.
84148         * sysdeps/i386/fpu/s_fma.S: Removed.
84149         * sysdeps/i386/fpu/s_fmal.S: Removed.
84151 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
84153         [BZ #3268]
84154         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
84155         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
84156         computation is not scheduled after fetestexcept.  Fix value
84157         of minimum denormal long double.
84159 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
84161         [BZ #3268]
84162         * math/libm-test.inc (fma_test): Add some more tests.
84163         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
84164         correctly.
84166 2010-10-15  Andreas Schwab  <schwab@redhat.com>
84168         * scripts/data/localplt-s390-linux-gnu.data: New file.
84169         * scripts/data/localplt-s390x-linux-gnu.data: New file.
84171 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
84173         [BZ #3268]
84174         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
84175         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
84176         instead of dbl-64.
84177         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
84178         inlines.
84179         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
84180         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
84181         if one of x and y is very large and the other is subnormal.
84182         * sysdeps/s390/fpu/s_fmaf.c: New file.
84183         * sysdeps/s390/fpu/s_fma.c: New file.
84184         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
84185         * sysdeps/powerpc/fpu/s_fma.S: New file.
84186         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
84187         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
84188         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
84190 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
84192         [BZ #3268]
84193         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
84194         fma tests.
84195         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
84196         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
84197         * sysdeps/i386/i686/multiarch/s_fma.c: Include
84198         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
84199         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
84200         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
84201         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
84203 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
84205         [BZ #12078]
84206         * posix/regcomp.c (parse_branch): One more memory leak plugged.
84207         * posix/bug-regex31.input: Add test case.
84209 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
84211         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
84212         * posix/bug-regex31.input: New file.
84214         [BZ #12078]
84215         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
84216         (parse_sub_exp): Fix last change, use postorder.
84218         * posix/bug-regex31.c: New file.
84219         * posix/Makefile: Add rules to build and run bug-regex31.
84221         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
84223         [BZ #12078]
84224         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
84226         [BZ #12108]
84227         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
84228         to have entries in sys_siglist.
84230         [BZ #12093]
84231         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
84232         be NULL.
84234 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
84236         [BZ #3268]
84237         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
84238         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
84239         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
84240         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
84241         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
84242         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
84243         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
84244         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
84245         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
84246         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
84247         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
84248         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
84249         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
84250         * math/ftestexcept.c (fetestexcept): Likewise.
84251         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
84252         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
84253         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
84254         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
84255         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
84256         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
84257         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
84259 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
84261         [BZ #12107]
84262         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
84263         newline.
84265 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
84267         * string/bug-strstr1.c: New file.
84268         * string/Makefile: Add rules to build and run bug-strstr1.
84270 2010-10-05  Eric Blake  <eblake@redhat.com>
84272         [BZ #12092]
84273         * string/str-two-way.h (two_way_long_needle): Always clear memory
84274         when skipping input due to the shift table.
84276 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
84278         [BZ #12005]
84279         * malloc/mcheck.c: Handle large requests.
84281         [BZ #12077]
84282         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
84283         for strncmp and strncasecmp.
84284         * string/stratcliff.c: Add tests for strcmp and strncmp.
84285         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
84287 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
84289         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
84290         __set_fpscr.
84292 2010-09-30  Andreas Jaeger  <aj@suse.de>
84294         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
84295         (CGROUP_SUPER_MAGIC): Define.
84296         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
84297         Handle btrfs and cgroup file systems.
84298         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
84299         Likewise.
84301 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
84303         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
84304         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
84306 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84308         [BZ #12067]
84309         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
84310         trying to locate the ELF header.
84312 2010-09-27  Andreas Schwab  <schwab@redhat.com>
84314         [BZ #11611]
84315         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
84316         Mask out sign-bit copies when constructing f_fsid.
84318 2010-09-24  Petr Baudis <pasky@suse.cz>
84320         * debug/stack_chk_fail_local.c: Add missing licence exception.
84321         * debug/warning-nop.c: Likewise.
84323 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
84325         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
84326         implementing getdents64 using getdents syscall, set d_type if
84327         __ASSUME_GETDENTS32_D_TYPE.
84329 2010-09-16  Andreas Schwab  <schwab@redhat.com>
84331         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
84332         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
84334 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
84336         [BZ #12037]
84337         * posix/unistd.h: Undo change of feature selection for ftruncate from
84338         2010-01-11.
84340 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
84342         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
84343         detection.
84345 2010-09-20  Andreas Schwab  <schwab@redhat.com>
84347         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
84348         fanotify_mark.
84349         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
84351 2010-09-14  Andreas Schwab  <schwab@redhat.com>
84353         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
84354         variables after CHECK_SP call.
84355         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
84357 2010-09-13  Andreas Schwab  <schwab@redhat.com>
84358             Ulrich Drepper  <drepper@redhat.com>
84360         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
84361         re-relocationg ld.so.
84362         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
84363         _dl_init_paths call.
84364         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
84365         here anymore.
84367 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
84369         * resolv/res_init.c (__res_vinit): Count the default server we added.
84371 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
84372             Ulrich Drepper  <drepper@redhat.com>
84374         [BZ #11968]
84375         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
84376         (____longjmp_chk): Use %ebx for saving value across system call.
84377         Add unwind info.
84379 2010-09-06  Andreas Schwab  <schwab@redhat.com>
84381         * manual/Makefile: Don't mix pattern rules with normal rules.
84383 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
84385         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
84386         operation.
84387         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
84388         * libio/iofopncook.c (_IO_cookie_init): Likewise.
84389         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
84390         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
84391         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
84392         Likewise.
84394 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
84396         [BZ #11979]
84397         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
84398         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
84400 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
84402         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
84403         * sysdeps/x86_64/addmul_1.S: Likewise.
84404         * sysdeps/x86_64/lshift.S: Likewise.
84405         * sysdeps/x86_64/mul_1.S: Likewise.
84406         * sysdeps/x86_64/rshift.S: Likewise.
84407         * sysdeps/x86_64/sub_n.S: Likewise.
84408         * sysdeps/x86_64/submul_1.S: Likewise.
84410 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84412         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
84413         Define __sched_param instead of SCHED_* and sched_param when
84414         <bits/sched.h> is included with __need_schedparam defined.
84415         * bits/sched.h [__need_schedparam]
84416         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
84417         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
84418         (__defined_schedparam): Define to 1.
84419         (__sched_param): New structure, identical to sched_param.
84420         (__need_schedparam): Undefine.
84422 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
84424         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
84425         (epoll_create1): Declare.
84427         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
84429 2010-08-31  Andreas Schwab  <schwab@redhat.com>
84431         [BZ #7066]
84432         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
84433         shifting retval into place.
84435 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
84437         * nis/rpcsvc/nis.h: Update copyright notice.
84438         * nis/rpcsvc/nis.x: Likewise.
84439         * nis/rpcsvc/nis_callback.h: Likewise.
84440         * nis/rpcsvc/nis_callback.x: Likewise.
84441         * nis/rpcsvc/nis_object.x: Likewise.
84442         * nis/rpcsvc/nis_tags.h: Likewise.
84443         * nis/rpcsvc/yp.h: Likewise.
84444         * nis/rpcsvc/yp.x: Likewise.
84445         * nis/rpcsvc/ypupd.h: Likewise.
84446         * nis/yp_xdr.c: Likewise.
84447         * nis/ypupdate_xdr.c: Likewise.
84449         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
84450         mainly the body of pmap_getport.  Add parameters to specify timeouts.
84451         (pmap_getport): Use __libc_rpc_getport.
84452         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
84453         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
84454         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
84456 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
84458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
84459         fanotify_mark.
84461 2010-08-27  Roland McGrath  <roland@redhat.com>
84463         * sysdeps/i386/i686/multiarch/Makefile
84464         (CFLAGS-varshift.c): New variable.
84466 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
84468         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
84469         * sysdeps/i386/i686/multiarch/varshift.c: New file.
84471         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
84473         * sysdeps/x86_64/strlen.S: Minimal code improvement.
84475 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
84477         * sysdeps/x86_64/strlen.S: Unroll the loop.
84478         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84479         strlen-sse2 strlen-sse2-bsf.
84480         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
84481         __strlen_no_bsf if bit_Slow_BSF is set.
84482         (__strlen_sse42): Removed.
84483         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
84484         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
84486 2010-08-25  Roland McGrath  <roland@redhat.com>
84488         * sysdeps/x86_64/multiarch/varshift.S: File removed.
84489         * sysdeps/x86_64/multiarch/varshift.c: New file.
84490         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
84491         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
84492         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
84493         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
84495 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
84497         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84498         strlen-sse2 strlen-sse2-bsf.
84499         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
84500         __strlen_sse2_bsf if bit_Slow_BSF is unset.
84501         (__strlen_sse2): Removed.
84502         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
84503         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
84504         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
84505         bit_Slow_BSF for Atom.
84506         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
84507         (index_Slow_BSF): Define.
84508         (HAS_SLOW_BSF): Define.
84510 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
84512         [BZ #10851]
84513         * resolv/res_init.c (__res_vinit): When no server address at all
84514         is given default to loopback.
84516 2010-08-24  Roland McGrath  <roland@redhat.com>
84518         * configure.in: Remove config-name.h generation.
84519         * configure: Regenerated.
84520         * config-name.in: File removed.
84521         * scripts/config-uname.sh: New file.
84522         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
84523         ($(objdir)config-name.h): New target.
84525         * sunrpc/rpc_parse.h: Avoid nested comment.
84527 2010-08-24  Richard Henderson  <rth@redhat.com>
84528             Ulrich Drepper  <drepper@redhat.com>
84529             H.J. Lu  <hongjiu.lu@intel.com>
84531         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
84532         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
84533         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
84534         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
84535         _mm_alignr_epi8 with _mm_loadu_si128.
84536         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
84537         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
84538         (__m128i_shift_right): Removed.
84539         * sysdeps/i386/i686/multiarch/varshift.h: New file.
84540         * sysdeps/i386/i686/multiarch/varshift.S: New file.
84541         * sysdeps/x86_64/multiarch/varshift.h: New file.
84542         * sysdeps/x86_64/multiarch/varshift.S: New file.
84544 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
84546         * configure.in: Move assembler checks to before sysdep dir checking.
84548 2010-08-20  Petr Baudis  <pasky@suse.cz>
84550         * LICENSES: Sync the sunrpc license.
84552 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
84554         * sunrpc/auth_des.c: Update copyright notice once again.
84555         * sunrpc/auth_none.c: Likewise.
84556         * sunrpc/auth_unix.c: Likewise.
84557         * sunrpc/authdes_prot.c: Likewise.
84558         * sunrpc/authuxprot.c: Likewise.
84559         * sunrpc/bindrsvprt.c: Likewise.
84560         * sunrpc/clnt_gen.c: Likewise.
84561         * sunrpc/clnt_perr.c: Likewise.
84562         * sunrpc/clnt_raw.c: Likewise.
84563         * sunrpc/clnt_simp.c: Likewise.
84564         * sunrpc/clnt_tcp.c: Likewise.
84565         * sunrpc/clnt_udp.c: Likewise.
84566         * sunrpc/clnt_unix.c: Likewise.
84567         * sunrpc/des_crypt.c: Likewise.
84568         * sunrpc/des_soft.c: Likewise.
84569         * sunrpc/get_myaddr.c: Likewise.
84570         * sunrpc/getrpcport.c: Likewise.
84571         * sunrpc/key_call.c: Likewise.
84572         * sunrpc/key_prot.c: Likewise.
84573         * sunrpc/openchild.c: Likewise.
84574         * sunrpc/pm_getmaps.c: Likewise.
84575         * sunrpc/pm_getport.c: Likewise.
84576         * sunrpc/pmap_clnt.c: Likewise.
84577         * sunrpc/pmap_prot.c: Likewise.
84578         * sunrpc/pmap_prot2.c: Likewise.
84579         * sunrpc/pmap_rmt.c: Likewise.
84580         * sunrpc/rpc/auth.h: Likewise.
84581         * sunrpc/rpc/auth_unix.h: Likewise.
84582         * sunrpc/rpc/clnt.h: Likewise.
84583         * sunrpc/rpc/des_crypt.h: Likewise.
84584         * sunrpc/rpc/key_prot.h: Likewise.
84585         * sunrpc/rpc/netdb.h: Likewise.
84586         * sunrpc/rpc/pmap_clnt.h: Likewise.
84587         * sunrpc/rpc/pmap_prot.h: Likewise.
84588         * sunrpc/rpc/pmap_rmt.h: Likewise.
84589         * sunrpc/rpc/rpc.h: Likewise.
84590         * sunrpc/rpc/rpc_des.h: Likewise.
84591         * sunrpc/rpc/rpc_msg.h: Likewise.
84592         * sunrpc/rpc/svc.h: Likewise.
84593         * sunrpc/rpc/svc_auth.h: Likewise.
84594         * sunrpc/rpc/types.h: Likewise.
84595         * sunrpc/rpc/xdr.h: Likewise.
84596         * sunrpc/rpc_clntout.c: Likewise.
84597         * sunrpc/rpc_cmsg.c: Likewise.
84598         * sunrpc/rpc_common.c: Likewise.
84599         * sunrpc/rpc_cout.c: Likewise.
84600         * sunrpc/rpc_dtable.c: Likewise.
84601         * sunrpc/rpc_hout.c: Likewise.
84602         * sunrpc/rpc_main.c: Likewise.
84603         * sunrpc/rpc_parse.c: Likewise.
84604         * sunrpc/rpc_parse.h: Likewise.
84605         * sunrpc/rpc_prot.c: Likewise.
84606         * sunrpc/rpc_sample.c: Likewise.
84607         * sunrpc/rpc_scan.c: Likewise.
84608         * sunrpc/rpc_scan.h: Likewise.
84609         * sunrpc/rpc_svcout.c: Likewise.
84610         * sunrpc/rpc_tblout.c: Likewise.
84611         * sunrpc/rpc_util.c: Likewise.
84612         * sunrpc/rpc_util.h: Likewise.
84613         * sunrpc/rpcinfo.c: Likewise.
84614         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
84615         * sunrpc/rpcsvc/key_prot.x: Likewise.
84616         * sunrpc/rpcsvc/klm_prot.x: Likewise.
84617         * sunrpc/rpcsvc/mount.x: Likewise.
84618         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
84619         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
84620         * sunrpc/rpcsvc/rex.x: Likewise.
84621         * sunrpc/rpcsvc/rstat.x: Likewise.
84622         * sunrpc/rpcsvc/rusers.x: Likewise.
84623         * sunrpc/rpcsvc/sm_inter.x: Likewise.
84624         * sunrpc/rpcsvc/spray.x: Likewise.
84625         * sunrpc/rpcsvc/yppasswd.x: Likewise.
84626         * sunrpc/rtime.c: Likewise.
84627         * sunrpc/svc.c: Likewise.
84628         * sunrpc/svc_auth.c: Likewise.
84629         * sunrpc/svc_authux.c: Likewise.
84630         * sunrpc/svc_raw.c: Likewise.
84631         * sunrpc/svc_run.c: Likewise.
84632         * sunrpc/svc_simple.c: Likewise.
84633         * sunrpc/svc_tcp.c: Likewise.
84634         * sunrpc/svc_udp.c: Likewise.
84635         * sunrpc/svc_unix.c: Likewise.
84636         * sunrpc/svcauth_des.c: Likewise.
84637         * sunrpc/xcrypt.c: Likewise.
84638         * sunrpc/xdr.c: Likewise.
84639         * sunrpc/xdr_array.c: Likewise.
84640         * sunrpc/xdr_float.c: Likewise.
84641         * sunrpc/xdr_mem.c: Likewise.
84642         * sunrpc/xdr_rec.c: Likewise.
84643         * sunrpc/xdr_ref.c: Likewise.
84644         * sunrpc/xdr_sizeof.c: Likewise.
84645         * sunrpc/xdr_stdio.c: Likewise.
84647         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
84648         handling.
84650 2010-08-19  Andreas Schwab  <schwab@redhat.com>
84652         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
84654 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
84656         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
84657         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
84658         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
84659         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
84660         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
84661         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
84662         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
84663         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
84664         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
84665         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
84666         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
84667         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
84668         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
84669         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
84671 2010-07-26  Anton Blanchard  <anton@samba.org>
84673         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
84674         * malloc/arena.c (heap_trim): Likewise.
84676 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
84678         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
84679         here.  Not...
84680         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
84681         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
84683 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
84685         * sysdeps/i386/elf/Makefile: New file.
84687 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
84689         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
84690         from fanotify_init.
84691         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
84692         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
84694 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
84696         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
84697         of strncasecmp_l.
84698         * sysdeps/multiarch/strcmp.S: Likewise.
84700 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
84702         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
84703         strncase_l-nonascii.
84704         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
84705         Add strncase_l-ssse3.
84706         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
84707         * sysdeps/x86_64/strcmp.S: Likewise.
84708         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
84709         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
84710         * sysdeps/x86_64/strncase.S: New file.
84711         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
84712         * sysdeps/x86_64/strncase_l.S: New file.
84713         * string/Makefile (strop-tests): Add strncasecmp.
84714         * string/test-strncasecmp.c: New file.
84716         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
84717         warning.
84719         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
84720         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
84722 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
84724         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
84726 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
84728         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
84729         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
84730         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
84732 2010-05-01  Alan Modra  <amodra@gmail.com>
84734         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
84735         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
84736         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
84737         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
84738         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
84739         tidying.  Don't tail-call __sigjmp_save for static lib.
84740         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
84741         save location.
84742         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
84743         (CALL_MCOUNT): Add eh info, and nop after bl.
84744         (TAIL_CALL_SYSCALL_ERROR): New macro.
84745         (PSEUDO_RET): Use it.
84746         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
84747         Correct save location of integer regs and cr.
84748         (_dl_profile_resolve): Correct cr save location.  Delete nops
84749         after bl when SHARED.  Reduce cfi size a little by better
84750         placement of cfi directives.
84751         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
84752         make a stack frame.  Instead use parm save area as a temp.
84753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
84754         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
84755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
84756         Don't make a stack frame for parent, use parm save area.
84757         Increase child stack frame to 112 bytes.  Don't save unused reg,
84758         and adjust reg usage.  Set up cfi on error recovery and
84759         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
84760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
84761         (__makecontext): Add dummy nop after jump to exit.
84762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
84763         Use correct parm save area and cr save, reduce stack frame.
84764         Correct cfi for possible PSEUDO_RET frame setup.
84765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
84766         Branch to local label emitted by PSEUDO_RET rather than
84767         __syscall_error.
84769 2010-08-12  Andreas Schwab  <schwab@redhat.com>
84771         [BZ #11904]
84772         * locale/programs/locale.c (print_assignment): New function.
84773         (show_locale_vars): Use it.
84775 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
84777         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
84778         field.
84779         (struct statfs64): Likewise.
84780         (_STATFS_F_FLAGS): Define.
84781         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
84782         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
84783         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
84784         (ST_VALID): Define locally.
84785         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
84786         __statvfs_getflags, use the provided value.
84787         * sysdeps/unix/sysv/linux/kernel-features.h: Define
84788         __ASSUME_STATFS_F_FLAGS.
84790         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
84792         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
84793         Add sys/fanotify.h.
84794         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
84795         fanotify_mask for GLIBC_2.13.
84796         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
84797         fanotify_init and fanotify_mark.
84798         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
84799         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
84801         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
84802         Add prlimit.
84803         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
84804         prlimit64 for GLIBC_2.13.
84805         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
84806         prlimit64.
84807         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
84808         syscall.
84809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
84810         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
84811         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
84812         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
84813         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
84814         add prlimit alias.
84815         * sysdeps/unix/sysv/linux/prlimit.c: New file.
84817         [BZ #11903]
84818         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
84819         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
84821         * nss/Makefile: Add rules to build and run tst-nss-test1.
84822         * shlib-versions: Add entry for libnss_test1.
84823         * nss/nss_test1.c: New file.
84824         * nss/tst-nss-test1.c: New file.
84826         * nss/nsswitch.c (__nss_database_custom): Define new variable.
84827         (__nss_configure_lookup): Set appropriate entry in
84828         __nss_configure_lookup to true.
84829         * nss/nsswitch.h: Define enum with indeces of databases in
84830         databases and __nss_database_custom arrays.  Declare
84831         __nss_database_custom.
84832         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
84833         to avoid using nscd when custom rules are installed.
84834         * nss/getXXbyYY_r.c: Likewise.
84835         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
84837         * nss/nss_files/files-parse.c: Whitespace fixes.
84839 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
84841         [BZ #11883]
84842         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
84843         * posix/fnmatch_loop.c: Likewise.
84845 2010-07-17  Andi Kleen  <ak@linux.intel.com>
84847         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
84848         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
84849         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
84850         * Versions.def [GLIBC_2.13]: Add.
84852 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
84854         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
84855         Also fail if tpwd after pwuid call is NULL.
84857 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84859         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
84860         when converting to ms.
84862 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84864         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
84865         EOPNOTSUPP errors with ENOTTY.
84866         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
84867         EOPNOTSUPP errors with ENOTTY.
84869 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
84871         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
84872         Add strcasecmp_l-ssse3.
84873         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
84874         strcasecmp.
84875         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
84876         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
84877         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
84879 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
84881         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
84883         * string/Makefile (strop-tests): Add strcasecmp.
84884         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
84885         strcasecmp_l-nonascii.
84886         (gen-as-const-headers): Add locale-defines.sym.
84887         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
84888         * sysdeps/x86_64/strcasecmp.S: New file.
84889         * sysdeps/x86_64/strcasecmp_l.S: New file.
84890         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
84891         * sysdeps/x86_64/locale-defines.sym: New file.
84892         * string/test-strcasecmp.c: New file.
84894         * string/test-strcasestr.c: Test both ends of the range of characters.
84895         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
84897 2010-07-29  Roland McGrath  <roland@redhat.com>
84899         [BZ #11856]
84900         * manual/locale.texi (Yes-or-No Questions): Fix example code.
84902 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
84904         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
84905         for ld.so.
84907 2010-07-27  Andreas Schwab  <schwab@redhat.com>
84909         * manual/memory.texi (Malloc Tunable Parameters): Document
84910         M_PERTURB.
84912 2010-07-26  Roland McGrath  <roland@redhat.com>
84914         [BZ #11840]
84915         * configure.in (-fgnu89-inline check): Set and substitute
84916         gnu89_inline, not libc_cv_gnu89_inline.
84917         * configure: Regenerated.
84918         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
84920 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
84922         * string/test-strnlen.c: New file.
84923         * string/Makefile (strop-tests): Add strnlen.
84924         * string/tester.c (test_strnlen): Add a few more test cases.
84925         * string/tst-strlen.c: Better error reporting.
84927         * sysdeps/x86_64/strnlen.S: New file.
84929 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
84931         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
84932         lower-latency instructions.
84934 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
84936         * string/test-strcasestr.c: New file.
84937         * string/test-strstr.c: New file.
84938         * string/Makefile (strop-tests): Add strstr and strcasestr.
84939         * string/str-two-way.h: Don't undefine MAX.
84940         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
84942 2010-07-21  Andreas Schwab  <schwab@redhat.com>
84944         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84945         strcasestr-nonascii.
84946         (CFLAGS-strcasestr-nonascii.c): Define.
84947         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
84948         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
84949         Remove unused attribute.
84951 2010-07-20  Roland McGrath  <roland@redhat.com>
84953         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
84954         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
84955         ld.so.cache was broken.  With it, there is no way to disable dsocaps
84956         like LD_HWCAP_MASK can disable hwcaps.
84958 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
84960         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
84962 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
84964         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
84965         call in strcasestr.
84966         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
84967         __strcasestr_sse42_nonascii.
84968         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
84969         strcasestr-nonascii.c.
84970         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
84972 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
84974         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
84975         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
84976         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
84977         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
84979 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
84981         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
84982         fcntl.
84984 2010-07-06  Andreas Schwab  <schwab@redhat.com>
84986         [BZ #11577]
84987         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
84988         dl_signal_cerror.
84990 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
84992         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
84993         _PC_PIPE_BUF using F_GETPIPE_SZ.
84995 2010-07-05  Roland McGrath  <roland@redhat.com>
84997         * manual/arith.texi (Rounding Functions): Fix rint description
84998         implicit in round description.
85000 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
85002         * elf/Makefile: Fix linking for a few tests to make recent linker
85003         happy.
85005 2010-06-30  Andreas Schwab  <schwab@redhat.com>
85007         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
85008         $(common-objpfx)libc_nonshared.a.
85010 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
85012         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
85013         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
85014         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
85015         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
85016         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
85017         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
85018         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
85019         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
85020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
85021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
85022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
85023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
85024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
85025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
85026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
85027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
85028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
85029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
85030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
85031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
85032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
85033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
85034         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
85035         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
85036         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
85037         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
85038         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
85039         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
85040         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
85041         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
85042         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
85043         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
85044         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
85045         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
85046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
85047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
85048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
85049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
85050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
85051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
85052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
85053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
85054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
85055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
85056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
85057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
85058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
85059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
85061 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
85063         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
85064         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
85065         * string/memmove.c (memmove): Renamed to ...
85066         (MEMMOVE): ...this.  Default to memmove.
85067         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
85068         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
85069         (END_CHK): Define.
85070         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85071         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
85072         mempcpy-ssse3-back memmove-ssse3-back.
85073         * sysdeps/x86_64/multiarch/bcopy.S: New file .
85074         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
85075         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
85076         * sysdeps/x86_64/multiarch/memcpy.S: New file.
85077         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
85078         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
85079         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
85080         * sysdeps/x86_64/multiarch/memmove.c: New file.
85081         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
85082         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
85083         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
85084         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
85085         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
85086         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
85087         Define.
85088         (index_Fast_Copy_Backward): Define.
85089         (HAS_ARCH_FEATURE): Define.
85090         (HAS_FAST_REP_STRING): Define.
85091         (HAS_FAST_COPY_BACKWARD): Define.
85093 2010-06-21  Andreas Schwab  <schwab@redhat.com>
85095         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
85096         Restore proper fallback handling.
85098 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
85100         [BZ #11701]
85101         * posix/group_member.c (__group_member): Correct checking loop.
85103         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
85104         OOM in getpwuid_r correctly.  Return error number when the caller
85105         should return, otherwise -1.
85106         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
85107         call returning > 0 value.
85108         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
85110 2010-06-07  Andreas Schwab  <schwab@redhat.com>
85112         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
85113         libc_nonshared.a from targets in modules-names.
85115 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
85117         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
85118         requires it.
85120 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
85122         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
85123         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
85124         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
85125         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
85127 2010-06-02  Andreas Schwab  <schwab@redhat.com>
85129         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
85131 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
85133         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
85134         and F_GETPIPE_SZ.
85135         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
85136         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85137         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85138         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85139         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85140         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85142 2010-06-14  Roland McGrath  <roland@redhat.com>
85144         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
85146 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
85148         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
85149         __REDIRECT followed by __THROW.
85150         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
85151         * posix/getopt.h (getopt): Likewise.
85153 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
85155         * hurd/lookup-at.c (__file_name_lookup_at): Accept
85156         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
85157         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
85158         in AT_FLAGS.
85159         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
85160         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
85162 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
85164         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
85166 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
85168         [BZ #11640]
85169         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85170         Properly check family and model.
85172 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
85174         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
85176 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
85178         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
85180 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
85182         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
85183         symbol reference.
85185 2010-05-19  Andreas Schwab  <schwab@redhat.com>
85187         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
85188         symbol reference.
85190 2010-05-21  Andreas Schwab  <schwab@redhat.com>
85192         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
85193         and internal_recvmmsg.
85194         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
85195         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
85196         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
85197         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
85199         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
85200         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
85201         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
85203 2010-05-20  Andreas Schwab  <schwab@redhat.com>
85205         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
85207 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
85209         POWER7 optimizations.
85210         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
85211         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
85213 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
85215         * version.h: Update for 2.13 development version.
85217 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
85219         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
85220         exceptions.  Return 0.
85222 2010-05-07  Roland McGrath  <roland@redhat.com>
85224         * elf/ldconfig.c (main): Add a const.
85226 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
85228         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
85229         (args_options): Add no-idn option.
85230         (ahosts_keys_int): Add idn_flags to ai_flags.
85231         (parse_option): Handle 'i' option to clear idn_flags.
85233         * malloc/malloc.c (_int_free): Possible race in the most recently
85234         added check.  Only act on the data if no current modification
85235         happened.
85237 See ChangeLog.17 for earlier changes.